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