Chromium Code Reviews| Index: webrtc/examples/BUILD.gn |
| diff --git a/webrtc/examples/BUILD.gn b/webrtc/examples/BUILD.gn |
| index 64ff05b43057076fbe6382f5c925f15be2fb2dd5..ca60a2759bb69f690720a8f4e238d73053641153 100644 |
| --- a/webrtc/examples/BUILD.gn |
| +++ b/webrtc/examples/BUILD.gn |
| @@ -31,6 +31,11 @@ group("examples") { |
| ] |
| } |
| + if (!build_with_chromium) { |
| + # TODO(kjellander): Move this to examples or tools. |
| + public_deps += [ ":stun_prober" ] |
| + } |
| + |
| if (is_ios || (is_mac && target_cpu != "x86")) { |
| public_deps += [ ":AppRTCMobile" ] |
| } |
| @@ -539,3 +544,24 @@ if (is_linux || is_win) { |
| } |
| } |
| } |
| + |
| +if (!build_with_chromium) { |
| + # Doesn't build within Chrome on Win. |
| + rtc_executable("stun_prober") { |
| + sources = [ |
| + "main.cc", |
|
kjellander_webrtc
2016/10/31 11:47:57
Create a stun_prober directory to contain this fil
|
| + ] |
| + |
| + if (!build_with_chromium && is_clang) { |
| + # Suppress warnings from Chrome's Clang plugins. |
| + # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
| + suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| + } |
| + |
| + deps = [ |
| + "../p2p:libstunprober", |
| + "../p2p:rtc_p2p", |
| + "../system_wrappers:field_trial_default", |
| + ] |
| + } |
| +} |