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

Unified Diff: webrtc/media/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/libjingle/xmpp/BUILD.gn ('k') | webrtc/modules/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/media/BUILD.gn
diff --git a/webrtc/media/BUILD.gn b/webrtc/media/BUILD.gn
index df4e3d2d0021d8d9e1ed3da6e512d94ee3f00aa0..1a526a6a49f622e2655185687d22509ee3c5a864 100644
--- a/webrtc/media/BUILD.gn
+++ b/webrtc/media/BUILD.gn
@@ -8,7 +8,6 @@
import("//build/config/linux/pkg_config.gni")
import("../build/webrtc.gni")
-import("//testing/test.gni")
group("media") {
deps = [
@@ -43,7 +42,7 @@ if (is_linux && rtc_use_gtk) {
}
}
-source_set("rtc_media") {
+rtc_source_set("rtc_media") {
defines = []
libs = []
deps = []
@@ -127,7 +126,7 @@ source_set("rtc_media") {
if (is_clang) {
# Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
- configs -= [
+ suppressed_configs += [
"//build/config/clang:extra_warnings",
"//build/config/clang:find_bad_constructs",
]
@@ -227,7 +226,7 @@ if (rtc_include_tests) {
}
}
- source_set("rtc_unittest_main") {
+ rtc_source_set("rtc_unittest_main") {
testonly = true
include_dirs = []
@@ -268,7 +267,7 @@ if (rtc_include_tests) {
if (is_clang) {
# Suppress warnings from the Chromium Clang plugin.
# 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 += [
@@ -320,7 +319,7 @@ if (rtc_include_tests) {
}
}
- test("rtc_media_unittests") {
+ rtc_test("rtc_media_unittests") {
testonly = true
defines = []
@@ -369,7 +368,7 @@ if (rtc_include_tests) {
if (is_clang) {
# Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
- configs -= [
+ suppressed_configs += [
"//build/config/clang:extra_warnings",
"//build/config/clang:find_bad_constructs",
]
« no previous file with comments | « webrtc/libjingle/xmpp/BUILD.gn ('k') | webrtc/modules/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698