diff --git a/webrtc/p2p/BUILD.gn b/webrtc/p2p/BUILD.gn index 7866f0aee8..5f0f5220b4 100644 --- a/webrtc/p2p/BUILD.gn +++ b/webrtc/p2p/BUILD.gn @@ -163,21 +163,25 @@ source_set("libstunprober") { ] } -executable("stun_prober") { - sources = [ - "stunprober/main.cc", - ] +if (!build_with_chromium) { + # Doesn't build within Chrome on Win. - configs += [ "..:common_config" ] - 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. - configs -= [ "//build/config/clang:find_bad_constructs" ] + executable("stun_prober") { + sources = [ + "stunprober/main.cc", + ] + + configs += [ "..:common_config" ] + 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. + configs -= [ "//build/config/clang:find_bad_constructs" ] + } + + deps = [ + ":libstunprober", + ":rtc_p2p", + "../system_wrappers:field_trial_default", + ] } - - deps = [ - ":libstunprober", - ":rtc_p2p", - "../system_wrappers:field_trial_default", - ] }