Index: third_party/harfbuzz/harfbuzz.gyp |
diff --git a/third_party/harfbuzz/harfbuzz.gyp b/third_party/harfbuzz/harfbuzz.gyp |
index bb7be865a276d70269095b1c2194cf1e67c852a9..b8e7a97dd87ffe7eedea9e701f99ba2dff9966d0 100644 |
--- a/third_party/harfbuzz/harfbuzz.gyp |
+++ b/third_party/harfbuzz/harfbuzz.gyp |
@@ -60,6 +60,18 @@ |
'../../build/linux/system.gyp:freetype2', |
], |
}], |
+ ['OS == "android" and clang == 0', { |
+ # The Android NDK compilers in the GCC 4.2 and 4.6 toolchains will |
+ # show a warning about incompatible pointer signedness, but this |
+ # warning cannot be disabled through an individual flag. To stop |
+ # showing it, disable all warnings. Coverage is provided through |
+ # clang builders, as well as Linux non-clang builders. |
+ # TODO(beverloo): Re-enable warnings once the toolchains provide a |
+ # way of disabling the specific warning. |
+ 'cflags_c': [ |
+ '-w', |
Nico
2012/08/16 15:06:10
nit: unless gcc emits this warning only for c file
|
+ ], |
+ }], |
['clang == 1', { |
'xcode_settings': { |
'WARNING_CFLAGS': [ |