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

Unified Diff: webrtc/base/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/audio/BUILD.gn ('k') | webrtc/build/webrtc.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/base/BUILD.gn
diff --git a/webrtc/base/BUILD.gn b/webrtc/base/BUILD.gn
index 5da158a4a55039798b094e287d3d27fe0cbc2e59..075e4ccaf4e78ffd2b43156acbea16cd810c31b4 100644
--- a/webrtc/base/BUILD.gn
+++ b/webrtc/base/BUILD.gn
@@ -90,7 +90,7 @@ if (!rtc_build_ssl) {
}
# The subset of rtc_base approved for use outside of libjingle.
-static_library("rtc_base_approved") {
+rtc_static_library("rtc_base_approved") {
defines = []
libs = []
deps = []
@@ -198,7 +198,7 @@ config("enable_libevent_config") {
defines = [ "WEBRTC_BUILD_LIBEVENT" ]
}
-static_library("rtc_task_queue") {
+rtc_static_library("rtc_task_queue") {
public_deps = [
":rtc_base_approved",
]
@@ -258,7 +258,7 @@ config("rtc_base_warnings_config") {
}
}
-static_library("rtc_base") {
+rtc_static_library("rtc_base") {
cflags = []
cflags_cc = []
libs = []
@@ -428,7 +428,7 @@ static_library("rtc_base") {
# TODO(henrike): issue 3307, make rtc_base build with the Chromium default
# compiler settings.
- configs -= [ "//build/config/compiler:chromium_code" ]
+ suppressed_configs += [ "//build/config/compiler:chromium_code" ]
configs += [ "//build/config/compiler:no_chromium_code" ]
if (!is_win) {
cflags += [ "-Wno-uninitialized" ]
@@ -681,11 +681,11 @@ static_library("rtc_base") {
}
if (is_win && is_clang) {
# Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
- configs -= [ "//build/config/clang:find_bad_constructs" ]
+ suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
}
}
-source_set("gtest_prod") {
+rtc_source_set("gtest_prod") {
sources = [
"gtest_prod_util.h",
]
@@ -706,7 +706,7 @@ if (rtc_include_tests) {
}
}
- source_set("rtc_base_tests_utils") {
+ rtc_source_set("rtc_base_tests_utils") {
testonly = true
sources = [
# Also use this as a convenient dumping ground for misc files that are
@@ -743,7 +743,7 @@ if (rtc_include_tests) {
if (is_clang) {
# Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
- configs -= [ "//build/config/clang:find_bad_constructs" ]
+ suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
}
}
}
« no previous file with comments | « webrtc/audio/BUILD.gn ('k') | webrtc/build/webrtc.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698