| 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 bfa75a068d49f33735fbee92e6d2e6197df41710..8f983a6844304b9386434d24d6a0c805a74ae578 100644
|
| --- a/webrtc/modules/remote_bitrate_estimator/BUILD.gn
|
| +++ b/webrtc/modules/remote_bitrate_estimator/BUILD.gn
|
| @@ -39,8 +39,8 @@ rtc_static_library("remote_bitrate_estimator") {
|
| defines = [ "BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0" ]
|
| }
|
|
|
| - if (is_clang) {
|
| - # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163).
|
| + if (!build_with_chromium && is_clang) {
|
| + # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
|
| suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
|
| }
|
|
|
| @@ -89,8 +89,8 @@ if (rtc_include_tests) {
|
| defines = [ "BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0" ]
|
| }
|
|
|
| - if (is_clang) {
|
| - # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163).
|
| + if (!build_with_chromium && is_clang) {
|
| + # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
|
| suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
|
| }
|
|
|
|
|