Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(334)

Side by Side Diff: webrtc/examples/BUILD.gn

Issue 2656833002: AppRTCMobile links against framework target. (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | webrtc/sdk/BUILD.gn » ('j') | webrtc/sdk/BUILD.gn » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license 3 # Use of this source code is governed by a BSD-style license
4 # that can be found in the LICENSE file in the root of the source 4 # that can be found in the LICENSE file in the root of the source
5 # tree. An additional intellectual property rights grant can be found 5 # tree. An additional intellectual property rights grant can be found
6 # in the file PATENTS. All contributing project authors may 6 # in the file PATENTS. All contributing project authors may
7 # be found in the AUTHORS file in the root of the source tree. 7 # be found in the AUTHORS file in the root of the source tree.
8 8
9 import("../webrtc.gni") 9 import("../webrtc.gni")
10 if (is_android) { 10 if (is_android) {
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 "objc/AppRTCMobile/ios/main.m", 293 "objc/AppRTCMobile/ios/main.m",
294 ] 294 ]
295 295
296 info_plist = "objc/AppRTCMobile/ios/Info.plist" 296 info_plist = "objc/AppRTCMobile/ios/Info.plist"
297 297
298 configs += [ "..:common_config" ] 298 configs += [ "..:common_config" ]
299 public_configs = [ "..:common_inherited_config" ] 299 public_configs = [ "..:common_inherited_config" ]
300 300
301 deps = [ 301 deps = [
302 ":AppRTCMobile_ios_bundle_data", 302 ":AppRTCMobile_ios_bundle_data",
303 ":AppRTCMobile_ios_frameworks",
303 ":AppRTCMobile_lib", 304 ":AppRTCMobile_lib",
304 ] 305 ]
305 306
306 if (target_cpu == "x86") { 307 if (target_cpu == "x86") {
307 deps += [ "//testing/iossim:iossim" ] 308 deps += [ "//testing/iossim:iossim" ]
308 } 309 }
309 } 310 }
310 311
312 bundle_data("AppRTCMobile_ios_frameworks") {
313 public_deps = [
314 "//webrtc/sdk:rtc_sdk_framework_objc+link",
315 ]
316 sources = [
317 "$root_out_dir/WebRTC.framework",
318 ]
319 outputs = [
320 "{{bundle_resources_dir}}/Frameworks/{{source_file_part}}",
321 ]
322 }
323
311 bundle_data("AppRTCMobile_ios_bundle_data") { 324 bundle_data("AppRTCMobile_ios_bundle_data") {
312 sources = [ 325 sources = [
313 "objc/AppRTCMobile/ios/resources/Roboto-Regular.ttf", 326 "objc/AppRTCMobile/ios/resources/Roboto-Regular.ttf",
314 "objc/AppRTCMobile/ios/resources/iPhone5@2x.png", 327 "objc/AppRTCMobile/ios/resources/iPhone5@2x.png",
315 "objc/AppRTCMobile/ios/resources/iPhone6@2x.png", 328 "objc/AppRTCMobile/ios/resources/iPhone6@2x.png",
316 "objc/AppRTCMobile/ios/resources/iPhone6p@3x.png", 329 "objc/AppRTCMobile/ios/resources/iPhone6p@3x.png",
317 "objc/AppRTCMobile/ios/resources/ic_call_end_black_24dp.png", 330 "objc/AppRTCMobile/ios/resources/ic_call_end_black_24dp.png",
318 "objc/AppRTCMobile/ios/resources/ic_call_end_black_24dp@2x.png", 331 "objc/AppRTCMobile/ios/resources/ic_call_end_black_24dp@2x.png",
319 "objc/AppRTCMobile/ios/resources/ic_clear_black_24dp.png", 332 "objc/AppRTCMobile/ios/resources/ic_clear_black_24dp.png",
320 "objc/AppRTCMobile/ios/resources/ic_clear_black_24dp@2x.png", 333 "objc/AppRTCMobile/ios/resources/ic_clear_black_24dp@2x.png",
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
609 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 622 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
610 } 623 }
611 624
612 deps = [ 625 deps = [
613 "../p2p:libstunprober", 626 "../p2p:libstunprober",
614 "../p2p:rtc_p2p", 627 "../p2p:rtc_p2p",
615 "../system_wrappers:field_trial_default", 628 "../system_wrappers:field_trial_default",
616 ] 629 ]
617 } 630 }
618 } 631 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/sdk/BUILD.gn » ('j') | webrtc/sdk/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698