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:
@ -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",
|
||||
|
||||
Reference in New Issue
Block a user