Moving stun_prober target from webrtc/p2p to webrtc/examples
BUG=webrtc:6440 NOTRY=True Review-Url: https://codereview.webrtc.org/2460343002 Cr-Commit-Position: refs/heads/master@{#14869}
This commit is contained in:
@ -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",
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -13,10 +13,6 @@ group("p2p") {
|
||||
":libstunprober",
|
||||
":rtc_p2p",
|
||||
]
|
||||
if (!build_with_chromium) {
|
||||
# TODO(kjellander): Move this to examples or tools.
|
||||
public_deps += [ ":stun_prober" ]
|
||||
}
|
||||
}
|
||||
|
||||
config("rtc_p2p_inherited_config") {
|
||||
@ -159,24 +155,3 @@ rtc_static_library("libstunprober") {
|
||||
"../base:rtc_base",
|
||||
]
|
||||
}
|
||||
|
||||
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 = [
|
||||
":libstunprober",
|
||||
":rtc_p2p",
|
||||
"../system_wrappers:field_trial_default",
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -128,17 +128,6 @@
|
||||
'stunprober/stunprober.cc',
|
||||
],
|
||||
},
|
||||
{
|
||||
'target_name': 'stun_prober',
|
||||
'type': 'executable',
|
||||
'dependencies': [
|
||||
'libstunprober',
|
||||
'rtc_p2p'
|
||||
],
|
||||
'sources': [
|
||||
'stunprober/main.cc',
|
||||
],
|
||||
},
|
||||
], # targets
|
||||
}
|
||||
|
||||
|
@ -465,6 +465,17 @@
|
||||
'../build/android/test_runner.gypi',
|
||||
],
|
||||
},
|
||||
{
|
||||
'target_name': 'stun_prober',
|
||||
'type': 'executable',
|
||||
'dependencies': [
|
||||
'p2p:libstunprober',
|
||||
'p2p:rtc_p2p'
|
||||
],
|
||||
'sources': [
|
||||
'examples/stunprober/main.cc',
|
||||
],
|
||||
},
|
||||
], # targets
|
||||
}], # OS=="android"
|
||||
],
|
||||
|
Reference in New Issue
Block a user