Index: gyp/images.gyp |
diff --git a/gyp/images.gyp b/gyp/images.gyp |
index 8dd34492c1a4aebfd6f3f5518f183a9256625be6..3c46ec1a8f0bf659bedc21feea5f1ab9278a5ed9 100644 |
--- a/gyp/images.gyp |
+++ b/gyp/images.gyp |
@@ -131,6 +131,13 @@ |
'dependencies': [ |
'android_deps.gyp:png', |
], |
+ 'cflags' : [ |
+ # SkImageDecoder_libpng includes png.h. |
+ # In the version of libpng that we use on Android (1.2.46), |
+ # there is a missing space between a literal and an identifier |
+ # in png.h, triggering a warning in C++11. |
+ '-Wno-literal-suffix', |
+ ], |
'conditions': [ |
[ 'skia_android_framework == 0', { |
'export_dependent_settings': [ |