AppRTCMobile links against framework target.

BUG=None

Review-Url: https://codereview.webrtc.org/2656833002
Cr-Commit-Position: refs/heads/master@{#16287}
This commit is contained in:
kthelgason
2017-01-26 01:14:04 -08:00
committed by Commit bot
parent 8e775e16eb
commit d3adbfb13c
2 changed files with 18 additions and 1 deletions

View File

@ -300,6 +300,7 @@ if (is_ios || (is_mac && target_cpu != "x86")) {
deps = [
":AppRTCMobile_ios_bundle_data",
":AppRTCMobile_ios_frameworks",
":AppRTCMobile_lib",
]
@ -308,6 +309,18 @@ if (is_ios || (is_mac && target_cpu != "x86")) {
}
}
bundle_data("AppRTCMobile_ios_frameworks") {
public_deps = [
"//webrtc/sdk:rtc_sdk_framework_objc+link",
]
sources = [
"$root_out_dir/WebRTC.framework",
]
outputs = [
"{{bundle_resources_dir}}/Frameworks/{{source_file_part}}",
]
}
bundle_data("AppRTCMobile_ios_bundle_data") {
sources = [
"objc/AppRTCMobile/ios/resources/Roboto-Regular.ttf",