Rolling libwebp broke our iOS builds. Silence warnings instead.
authormtklein <mtklein@chromium.org>
Mon, 15 Dec 2014 20:59:07 +0000 (12:59 -0800)
committerCommit bot <commit-bot@chromium.org>
Mon, 15 Dec 2014 20:59:07 +0000 (12:59 -0800)
BUG=skia:

Review URL: https://codereview.chromium.org/803213002

gyp/libwebp.gyp

index 64ad971..f5fda6b 100644 (file)
@@ -36,6 +36,7 @@
             '../third_party/externals/libwebp/src/dec/webp.c',
           ],
           'cflags': [ '-w' ],
+          'xcode_settings': { 'WARNING_CFLAGS': [ '-w' ] },
         },
         {
           'target_name': 'libwebp_demux',
@@ -47,6 +48,7 @@
             '../third_party/externals/libwebp/src/demux/demux.c',
           ],
           'cflags': [ '-w' ],
+          'xcode_settings': { 'WARNING_CFLAGS': [ '-w' ] },
         },
         {
           'target_name': 'libwebp_dsp',
@@ -66,6 +68,7 @@
             '../third_party/externals/libwebp/src/dsp/yuv.c',
           ],
           'cflags': [ '-w' ],
+          'xcode_settings': { 'WARNING_CFLAGS': [ '-w' ] },
           'conditions': [
             ['skia_os == "android"', {
               'dependencies' : [
             '../third_party/externals/libwebp/src/enc/webpenc.c',
           ],
           'cflags': [ '-w' ],
+          'xcode_settings': { 'WARNING_CFLAGS': [ '-w' ] },
         },
         {
           'target_name': 'libwebp_utils',
             '../third_party/externals/libwebp/src/utils/utils.c',
           ],
           'cflags': [ '-w' ],
+          'xcode_settings': { 'WARNING_CFLAGS': [ '-w' ] },
         },
         {
           'target_name': 'libwebp',