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", |
] |