Index: webrtc/modules/remote_bitrate_estimator/BUILD.gn |
diff --git a/webrtc/modules/remote_bitrate_estimator/BUILD.gn b/webrtc/modules/remote_bitrate_estimator/BUILD.gn |
index bbf74aba7ccbcb06d55eb56275443291df7c9add..ea4f38e88f1938c252a290a6c82f0cbc2b505d07 100644 |
--- a/webrtc/modules/remote_bitrate_estimator/BUILD.gn |
+++ b/webrtc/modules/remote_bitrate_estimator/BUILD.gn |
@@ -7,14 +7,13 @@ |
# be found in the AUTHORS file in the root of the source tree. |
import("../../build/webrtc.gni") |
-import("//testing/test.gni") |
declare_args() { |
# Set this to true to enable BWE test logging. |
rtc_enable_bwe_test_logging = false |
} |
-source_set("remote_bitrate_estimator") { |
+rtc_source_set("remote_bitrate_estimator") { |
sources = [ |
"aimd_rate_control.cc", |
"aimd_rate_control.h", |
@@ -52,7 +51,7 @@ source_set("remote_bitrate_estimator") { |
if (is_clang) { |
# Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163). |
- configs -= [ "//build/config/clang:find_bad_constructs" ] |
+ suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
} |
deps = [ |
@@ -63,7 +62,7 @@ source_set("remote_bitrate_estimator") { |
} |
if (rtc_include_tests) { |
- source_set("bwe_simulator") { |
+ rtc_source_set("bwe_simulator") { |
testonly = true |
sources = [ |
"test/bwe.cc", |
@@ -106,7 +105,7 @@ if (rtc_include_tests) { |
if (is_clang) { |
# Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163). |
- configs -= [ "//build/config/clang:find_bad_constructs" ] |
+ suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
} |
if (is_win) { |