Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1078)

Unified Diff: gyp/images.gyp

Issue 1400343005: Reenable warnings in src/codec (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Response to comments Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | gyp/libwebp.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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': [
« no previous file with comments | « no previous file | gyp/libwebp.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698