Index: webrtc/audio/BUILD.gn |
diff --git a/webrtc/audio/BUILD.gn b/webrtc/audio/BUILD.gn |
index 762eb5f86e0cbddb30deb39e48db85b8496d061b..ead25f8e3bc175fc95d5fdbe0a60bfcbd8cf8c12 100644 |
--- a/webrtc/audio/BUILD.gn |
+++ b/webrtc/audio/BUILD.gn |
@@ -8,7 +8,7 @@ |
import("../build/webrtc.gni") |
-source_set("audio") { |
+rtc_source_set("audio") { |
sources = [ |
"audio_receive_stream.cc", |
"audio_receive_stream.h", |
@@ -26,7 +26,7 @@ source_set("audio") { |
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" ] |
} |
deps = [ |
@@ -37,7 +37,7 @@ source_set("audio") { |
] |
} |
if (rtc_include_tests) { |
- source_set("audio_tests") { |
+ rtc_source_set("audio_tests") { |
testonly = true |
sources = [ |
"audio_receive_stream_unittest.cc", |
@@ -52,7 +52,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" ] |
} |
} |
} |