aboutsummaryrefslogtreecommitdiff
path: root/webrtc/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'webrtc/BUILD.gn')
-rw-r--r--webrtc/BUILD.gn6
1 files changed, 6 insertions, 0 deletions
diff --git a/webrtc/BUILD.gn b/webrtc/BUILD.gn
index b26d29f2ee..be824b7bc7 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") {