Index: gyp/common_conditions.gypi |
diff --git a/gyp/common_conditions.gypi b/gyp/common_conditions.gypi |
index c0b901eb000db249b29c644c728e1981b6279591..7a91c461798555b90e58eff81052e5330de5cfe0 100644 |
--- a/gyp/common_conditions.gypi |
+++ b/gyp/common_conditions.gypi |
@@ -655,6 +655,15 @@ |
[ 'skia_profile_enabled == 1', { |
'cflags': ['-g', '-fno-omit-frame-pointer', '-marm', '-mapcs'], |
}], |
+ [ 'skia_clang_build', { |
+ 'cflags': [ |
+ '-Wno-unknown-warning-option', # Allows unknown warnings |
+ # These flags that are on by default for only the android |
+ # toolchain and no other platforms. |
+ '-Wno-tautological-compare', |
+ '-Wno-unused-command-line-argument', |
+ ], |
+ }], |
], |
}, |
], |