| 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 13 matching lines...) Expand all Loading... |
| 24 testonly = true | 24 testonly = true |
| 25 public_deps = [] | 25 public_deps = [] |
| 26 | 26 |
| 27 if (is_android) { | 27 if (is_android) { |
| 28 public_deps += [ | 28 public_deps += [ |
| 29 ":AppRTCMobile", | 29 ":AppRTCMobile", |
| 30 ":AppRTCMobileTest", | 30 ":AppRTCMobileTest", |
| 31 ] | 31 ] |
| 32 } | 32 } |
| 33 | 33 |
| 34 if (!build_with_chromium) { |
| 35 public_deps += [ ":stun_prober" ] |
| 36 } |
| 37 |
| 34 if (is_ios || (is_mac && target_cpu != "x86")) { | 38 if (is_ios || (is_mac && target_cpu != "x86")) { |
| 35 public_deps += [ ":AppRTCMobile" ] | 39 public_deps += [ ":AppRTCMobile" ] |
| 36 } | 40 } |
| 37 | 41 |
| 38 if (is_linux || is_win) { | 42 if (is_linux || is_win) { |
| 39 public_deps += [ | 43 public_deps += [ |
| 40 ":peerconnection_client", | 44 ":peerconnection_client", |
| 41 ":peerconnection_server", | 45 ":peerconnection_server", |
| 42 ":relayserver", | 46 ":relayserver", |
| 43 ":stunserver", | 47 ":stunserver", |
| (...skipping 488 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 532 "//webrtc/pc:rtc_pc", | 536 "//webrtc/pc:rtc_pc", |
| 533 "//webrtc/system_wrappers:field_trial_default", | 537 "//webrtc/system_wrappers:field_trial_default", |
| 534 "//webrtc/system_wrappers:metrics_default", | 538 "//webrtc/system_wrappers:metrics_default", |
| 535 ] | 539 ] |
| 536 if (!build_with_chromium && is_clang) { | 540 if (!build_with_chromium && is_clang) { |
| 537 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 541 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 538 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 542 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 539 } | 543 } |
| 540 } | 544 } |
| 541 } | 545 } |
| 546 |
| 547 if (!build_with_chromium) { |
| 548 # Doesn't build within Chrome on Win. |
| 549 rtc_executable("stun_prober") { |
| 550 sources = [ |
| 551 "stunprober/main.cc", |
| 552 ] |
| 553 |
| 554 if (!build_with_chromium && is_clang) { |
| 555 # Suppress warnings from Chrome's Clang plugins. |
| 556 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
| 557 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 558 } |
| 559 |
| 560 deps = [ |
| 561 "../p2p:libstunprober", |
| 562 "../p2p:rtc_p2p", |
| 563 "../system_wrappers:field_trial_default", |
| 564 ] |
| 565 } |
| 566 } |
| OLD | NEW |