Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 4aea53222a54b1bbfe15f2a4c8cccbfc19a5e24c..3bc906fcc474dd8b302837827a014fdfabac2fb1 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -3087,6 +3087,11 @@ |
'variables': { 'clang_warning_flags': ['-Wexit-time-destructors']}, |
}], |
['chromium_code==0', { |
+ 'variables': { |
+ 'clang_warning_flags': [ |
+ '-Wno-incompatible-pointer-types', |
+ ] |
+ }, |
'conditions': [ |
[ 'os_posix==1 and OS!="mac" and OS!="ios"', { |
# We don't want to get warnings from third-party code, |
@@ -5703,7 +5708,6 @@ |
'-Wno-empty-body', # http://crbug.com/504661 |
'-Wno-extra-tokens', # http://crbug.com/504663 |
'-Wno-ignored-attributes', # http://crbug.com/504695 |
- '-Wno-incompatible-pointer-types', # http://crbug.com/504696 |
'-Wno-int-to-void-pointer-cast', # http://crbug.com/504697 |
'-Wno-invalid-noreturn', # http://crbug.com/504698 |
'-Wno-logical-op-parentheses', # http://crbug.com/504699 |