OLD | NEW |
---|---|
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 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
347 "//build/config/compiler:enable_arc", | 347 "//build/config/compiler:enable_arc", |
348 ":socketrocket_warning_config", | 348 ":socketrocket_warning_config", |
349 ] | 349 ] |
350 public_configs = [ ":socketrocket_include_config" ] | 350 public_configs = [ ":socketrocket_include_config" ] |
351 | 351 |
352 libs = [ | 352 libs = [ |
353 "CFNetwork.framework", | 353 "CFNetwork.framework", |
354 "icucore", | 354 "icucore", |
355 ] | 355 ] |
356 } | 356 } |
357 | |
358 config("rtc_apprtcmobile_config") { | |
359 defines = [ "GTEST_RELATIVE_PATH" ] | |
360 } | |
361 | |
362 rtc_test("test_apprtcmobile") { | |
363 deps = [] | |
364 sources = [ | |
365 "objc/AppRTCMobile/tests/ARDAppClientTest.mm", | |
366 ] | |
367 | |
368 configs += [ | |
369 ":rtc_apprtcmobile_config", | |
370 "//build/config/compiler:enable_arc", | |
371 ] | |
372 | |
373 if (is_ios) { | |
374 deps += [ ":test_support_unittests_bundle_data" ] | |
375 } | |
376 | |
377 deps += [ | |
378 ":apprtc_signaling", | |
379 "//testing/gtest", | |
380 "//third_party/ocmock", | |
381 ] | |
kthelgason
2016/10/17 08:27:37
This should be the declaration of deps at the top
| |
382 } | |
357 } | 383 } |
358 | 384 |
359 if (is_linux || is_win) { | 385 if (is_linux || is_win) { |
360 if (is_linux) { | 386 if (is_linux) { |
361 pkg_config("gtk2_config") { | 387 pkg_config("gtk2_config") { |
362 # Gtk requires gmodule, but it does not list it as a dependency in some | 388 # Gtk requires gmodule, but it does not list it as a dependency in some |
363 # misconfigured systems. | 389 # misconfigured systems. |
364 packages = [ | 390 packages = [ |
365 "gmodule-2.0", | 391 "gmodule-2.0", |
366 "gtk+-2.0", | 392 "gtk+-2.0", |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
512 "//webrtc/system_wrappers:field_trial_default", | 538 "//webrtc/system_wrappers:field_trial_default", |
513 "//webrtc/system_wrappers:metrics_default", | 539 "//webrtc/system_wrappers:metrics_default", |
514 ] | 540 ] |
515 if (is_clang) { | 541 if (is_clang) { |
516 # Suppress warnings from the Chromium Clang plugin. | 542 # Suppress warnings from the Chromium Clang plugin. |
517 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 543 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
518 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 544 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
519 } | 545 } |
520 } | 546 } |
521 } | 547 } |
OLD | NEW |