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

Unified Diff: webrtc/p2p/BUILD.gn

Issue 2289563002: Fix multiple definitions of BasicPacketSocketFactory error and add stunprober in GN. (Closed)
Patch Set: Add field_trial_default. Created 4 years, 4 months 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/p2p/stunprober/main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/p2p/BUILD.gn
diff --git a/webrtc/p2p/BUILD.gn b/webrtc/p2p/BUILD.gn
index 32b7fa4c53eddd51d5b2ef75013f04f9cadeb82b..ddd295651eaa82f3b6da16887250b7ec8abbc463 100644
--- a/webrtc/p2p/BUILD.gn
+++ b/webrtc/p2p/BUILD.gn
@@ -162,3 +162,21 @@ source_set("libstunprober") {
"../base:rtc_base",
]
}
+
+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.
+ configs -= [ "//build/config/clang:find_bad_constructs" ]
+ }
+
+ deps = [
+ ":libstunprober",
+ ":rtc_p2p",
+ "../system_wrappers:field_trial_default",
+ ]
+}
« no previous file with comments | « no previous file | webrtc/p2p/stunprober/main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698