Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(700)

Unified Diff: webrtc/examples/BUILD.gn

Issue 2460343002: Moving stun_prober target from webrtc/p2p to webrtc/examples (Closed)
Patch Set: Removed './' from deps path Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webrtc/examples/stunprober/main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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",
+ ]
+ }
+}
« no previous file with comments | « no previous file | webrtc/examples/stunprober/main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698