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

Unified Diff: webrtc/p2p/BUILD.gn

Issue 2301053002: GN: Introduce templates. (Closed)
Patch Set: Rebase Created 4 years, 3 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 | « webrtc/modules/video_processing/BUILD.gn ('k') | webrtc/pc/BUILD.gn » ('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 5f0f5220b4dc16503dcfda3a097cb051510a41e5..ac267794e8f3e58e1fe614c6da4ca1018ea39187 100644
--- a/webrtc/p2p/BUILD.gn
+++ b/webrtc/p2p/BUILD.gn
@@ -18,7 +18,7 @@ config("rtc_p2p_inherited_config") {
defines = [ "FEATURE_ENABLE_VOICEMAIL" ]
}
-source_set("rtc_p2p") {
+rtc_source_set("rtc_p2p") {
sources = [
"base/asyncstuntcpsocket.cc",
"base/asyncstuntcpsocket.h",
@@ -122,7 +122,7 @@ source_set("rtc_p2p") {
if (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" ]
+ suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
}
}
@@ -146,7 +146,7 @@ source_set("rtc_p2p") {
}
}
-source_set("libstunprober") {
+rtc_source_set("libstunprober") {
sources = [
"stunprober/stunprober.cc",
]
@@ -154,7 +154,7 @@ source_set("libstunprober") {
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" ]
+ suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
}
deps = [
@@ -165,8 +165,7 @@ source_set("libstunprober") {
if (!build_with_chromium) {
# Doesn't build within Chrome on Win.
-
- executable("stun_prober") {
+ rtc_executable("stun_prober") {
sources = [
"stunprober/main.cc",
]
@@ -175,7 +174,7 @@ if (!build_with_chromium) {
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" ]
+ suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
}
deps = [
« no previous file with comments | « webrtc/modules/video_processing/BUILD.gn ('k') | webrtc/pc/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698