Index: webrtc/modules/BUILD.gn |
diff --git a/webrtc/modules/BUILD.gn b/webrtc/modules/BUILD.gn |
index ff0918e6d4d7c8b06cc15251aa6d580d23297b7b..17da35dff4da8f811ee2193d2a4b319ce0b0ef98 100644 |
--- a/webrtc/modules/BUILD.gn |
+++ b/webrtc/modules/BUILD.gn |
@@ -106,7 +106,7 @@ if (rtc_include_tests) { |
deps += [ ":modules_tests_bundle_data" ] |
} |
- if (is_clang) { |
+ 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" ] |
} |
@@ -258,7 +258,7 @@ if (rtc_include_tests) { |
deps += [ "audio_coding:ana_config_proto" ] |
defines = [ "WEBRTC_AUDIO_NETWORK_ADAPTOR_DEBUG_DUMP" ] |
} |
- if (is_clang) { |
+ 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" ] |
} |
@@ -607,7 +607,7 @@ if (rtc_include_tests) { |
# TODO(jschuh): bugs.webrtc.org/1348: fix this warning. |
configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
- if (is_clang) { |
+ 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" ] |
} |
@@ -715,7 +715,7 @@ if (rtc_include_tests) { |
"remote_bitrate_estimator/bwe_simulations.cc", |
] |
- if (is_clang) { |
+ 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" ] |
} |