Chromium Code Reviews| 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 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 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) { | |
|
kthelgason
2016/10/24 08:57:27
This needs a custom plist to work with the iOS 10
| |
| 364 config("rtc_apprtcmobile_config") { | |
| 365 defines = [ "GTEST_RELATIVE_PATH" ] | |
| 366 } | |
| 367 | |
| 368 rtc_test("test_apprtcmobile") { | |
| 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 configs += [ | |
| 380 ":rtc_apprtcmobile_config", | |
| 381 "//build/config/compiler:enable_arc", | |
| 382 ] | |
| 383 } | |
| 384 } | |
| 362 } | 385 } |
| 363 | 386 |
| 364 if (is_linux || is_win) { | 387 if (is_linux || is_win) { |
| 365 if (is_linux) { | 388 if (is_linux) { |
| 366 pkg_config("gtk2_config") { | 389 pkg_config("gtk2_config") { |
| 367 # Gtk requires gmodule, but it does not list it as a dependency in some | 390 # Gtk requires gmodule, but it does not list it as a dependency in some |
| 368 # misconfigured systems. | 391 # misconfigured systems. |
| 369 packages = [ | 392 packages = [ |
| 370 "gmodule-2.0", | 393 "gmodule-2.0", |
| 371 "gtk+-2.0", | 394 "gtk+-2.0", |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 512 "//webrtc/pc:rtc_pc", | 535 "//webrtc/pc:rtc_pc", |
| 513 "//webrtc/system_wrappers:field_trial_default", | 536 "//webrtc/system_wrappers:field_trial_default", |
| 514 "//webrtc/system_wrappers:metrics_default", | 537 "//webrtc/system_wrappers:metrics_default", |
| 515 ] | 538 ] |
| 516 if (!build_with_chromium && is_clang) { | 539 if (!build_with_chromium && is_clang) { |
| 517 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 540 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 518 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 541 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 519 } | 542 } |
| 520 } | 543 } |
| 521 } | 544 } |
| OLD | NEW |