Index: webrtc/modules/desktop_capture/BUILD.gn |
diff --git a/webrtc/modules/desktop_capture/BUILD.gn b/webrtc/modules/desktop_capture/BUILD.gn |
index 17135ccb86d49b51a678b8d41aa06f56c268ce06..aa33993192a01154cec2d7b3e4d086233d29cff9 100644 |
--- a/webrtc/modules/desktop_capture/BUILD.gn |
+++ b/webrtc/modules/desktop_capture/BUILD.gn |
@@ -127,7 +127,7 @@ source_set("desktop_capture") { |
configs += [ "../..:common_config" ] |
public_configs = [ "../..:common_inherited_config" ] |
- if (is_clang) { |
+ 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" ] |