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

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

Issue 2050153003: Update Unit test for AppRTCMobile app (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Updates based on comments Created 4 years, 2 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 | « AUTHORS ('k') | webrtc/examples/objc/AppRTCMobile/tests/ARDAppClientTest.mm » ('j') | no next file with comments »
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("../build/webrtc.gni") 9 import("../build/webrtc.gni")
10 if (is_android) { 10 if (is_android) {
(...skipping 341 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 "//build/config/compiler:enable_arc", 352 "//build/config/compiler:enable_arc",
353 ":socketrocket_warning_config", 353 ":socketrocket_warning_config",
354 ] 354 ]
355 public_configs = [ ":socketrocket_include_config" ] 355 public_configs = [ ":socketrocket_include_config" ]
356 356
357 libs = [ 357 libs = [
358 "CFNetwork.framework", 358 "CFNetwork.framework",
359 "icucore", 359 "icucore",
360 ] 360 ]
361 } 361 }
362
363 config("rtc_apprtcmobile_config") {
364 defines = [ "GTEST_RELATIVE_PATH" ]
365 }
366
367 rtc_test("test_apprtcmobile") {
368 deps = [
369 ":apprtc_signaling",
370 "//testing/gtest",
371 "//third_party/ocmock",
372 ]
373
374 sources = [
375 "objc/AppRTCMobile/tests/ARDAppClientTest.mm",
376 ]
377
378 configs += [
379 ":rtc_apprtcmobile_config",
380 "//build/config/compiler:enable_arc",
381 ]
382
383 if (is_ios) {
384 deps += [ ":test_support_unittests_bundle_data" ]
385 }
386 }
kthelgason 2016/10/19 07:58:32 Both the config and the target should be wrapped i
362 } 387 }
363 388
364 if (is_linux || is_win) { 389 if (is_linux || is_win) {
365 if (is_linux) { 390 if (is_linux) {
366 pkg_config("gtk2_config") { 391 pkg_config("gtk2_config") {
367 # Gtk requires gmodule, but it does not list it as a dependency in some 392 # Gtk requires gmodule, but it does not list it as a dependency in some
368 # misconfigured systems. 393 # misconfigured systems.
369 packages = [ 394 packages = [
370 "gmodule-2.0", 395 "gmodule-2.0",
371 "gtk+-2.0", 396 "gtk+-2.0",
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
512 "//webrtc/pc:rtc_pc", 537 "//webrtc/pc:rtc_pc",
513 "//webrtc/system_wrappers:field_trial_default", 538 "//webrtc/system_wrappers:field_trial_default",
514 "//webrtc/system_wrappers:metrics_default", 539 "//webrtc/system_wrappers:metrics_default",
515 ] 540 ]
516 if (!build_with_chromium && is_clang) { 541 if (!build_with_chromium && is_clang) {
517 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 542 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
518 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 543 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
519 } 544 }
520 } 545 }
521 } 546 }
OLDNEW
« no previous file with comments | « AUTHORS ('k') | webrtc/examples/objc/AppRTCMobile/tests/ARDAppClientTest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698