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

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: More styling Created 4 years, 1 month 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/ARDAppClient.m » ('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 if (rtc_include_tests) {
364 config("rtc_apprtcmobile_config") {
365 defines = [ "GTEST_RELATIVE_PATH" ]
366 }
367
368 rtc_test("apprtcmobile_tests") {
369 deps = [
370 ":apprtc_signaling",
371 "//testing/gtest",
372 "//third_party/ocmock",
373 ]
374
375 sources = [
376 "objc/AppRTCMobile/tests/ARDAppClientTest.mm",
377 ]
378
379 if (is_ios) {
380 info_plist = "objc/AppRTCMobile/ios/Info.plist"
381 }
382
383 configs += [
384 ":rtc_apprtcmobile_config",
385 "//build/config/compiler:enable_arc",
386 ]
387 }
388 }
362 } 389 }
363 390
364 if (is_linux || is_win) { 391 if (is_linux || is_win) {
365 if (is_linux) { 392 if (is_linux) {
366 pkg_config("gtk2_config") { 393 pkg_config("gtk2_config") {
367 # Gtk requires gmodule, but it does not list it as a dependency in some 394 # Gtk requires gmodule, but it does not list it as a dependency in some
368 # misconfigured systems. 395 # misconfigured systems.
369 packages = [ 396 packages = [
370 "gmodule-2.0", 397 "gmodule-2.0",
371 "gtk+-2.0", 398 "gtk+-2.0",
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
512 "//webrtc/pc:rtc_pc", 539 "//webrtc/pc:rtc_pc",
513 "//webrtc/system_wrappers:field_trial_default", 540 "//webrtc/system_wrappers:field_trial_default",
514 "//webrtc/system_wrappers:metrics_default", 541 "//webrtc/system_wrappers:metrics_default",
515 ] 542 ]
516 if (!build_with_chromium && is_clang) { 543 if (!build_with_chromium && is_clang) {
517 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 544 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
518 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 545 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
519 } 546 }
520 } 547 }
521 } 548 }
OLDNEW
« no previous file with comments | « AUTHORS ('k') | webrtc/examples/objc/AppRTCMobile/ARDAppClient.m » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698