| Index: webrtc/examples/BUILD.gn
|
| diff --git a/webrtc/examples/BUILD.gn b/webrtc/examples/BUILD.gn
|
| index 64ff05b43057076fbe6382f5c925f15be2fb2dd5..3945e560c26ff8f361c51c80f685e6cb2660f814 100644
|
| --- a/webrtc/examples/BUILD.gn
|
| +++ b/webrtc/examples/BUILD.gn
|
| @@ -31,6 +31,10 @@ group("examples") {
|
| ]
|
| }
|
|
|
| + if (!build_with_chromium) {
|
| + public_deps += [ ":stun_prober" ]
|
| + }
|
| +
|
| if (is_ios || (is_mac && target_cpu != "x86")) {
|
| public_deps += [ ":AppRTCMobile" ]
|
| }
|
| @@ -539,3 +543,24 @@ if (is_linux || is_win) {
|
| }
|
| }
|
| }
|
| +
|
| +if (!build_with_chromium) {
|
| + # Doesn't build within Chrome on Win.
|
| + rtc_executable("stun_prober") {
|
| + sources = [
|
| + "stunprober/main.cc",
|
| + ]
|
| +
|
| + 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",
|
| + ]
|
| + }
|
| +}
|
|
|