Index: webrtc/api/BUILD.gn |
diff --git a/webrtc/api/BUILD.gn b/webrtc/api/BUILD.gn |
index bd701790b288c0b7c69fb97a525deee5417bc0ff..e2df5262861ab7737f456db7f2252634a9946f1d 100644 |
--- a/webrtc/api/BUILD.gn |
+++ b/webrtc/api/BUILD.gn |
@@ -117,7 +117,7 @@ rtc_static_library("libjingle_peerconnection") { |
configs += [ ":libjingle_peerconnection_warnings_config" ] |
- 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" ] |
} |
@@ -186,7 +186,7 @@ if (is_android && !build_with_chromium) { |
configs += [ ":libjingle_peerconnection_jni_warnings_config" ] |
- 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:extra_warnings", |
@@ -382,7 +382,7 @@ if (rtc_include_tests) { |
configs += [ ":peerconnection_unittests_config" ] |
- 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" ] |
} |