Index: webrtc/BUILD.gn |
diff --git a/webrtc/BUILD.gn b/webrtc/BUILD.gn |
index b26d29f2ee6e2c7dd81873f774dbb097b8653244..be824b7bc70beaf38316e15945054352c5d06b8f 100644 |
--- a/webrtc/BUILD.gn |
+++ b/webrtc/BUILD.gn |
@@ -238,6 +238,12 @@ source_set("webrtc_common") { |
configs += [ ":common_config" ] |
public_configs = [ ":common_inherited_config" ] |
+ |
+ if (is_clang && !is_nacl) { |
+ # 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" ] |
+ } |
} |
source_set("gtest_prod") { |