diff --git a/gyp/libwebp.gyp b/gyp/libwebp.gyp index 64ad971798..f5fda6b65d 100644 --- a/gyp/libwebp.gyp +++ b/gyp/libwebp.gyp @@ -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' : [ @@ -123,6 +126,7 @@ '../third_party/externals/libwebp/src/enc/webpenc.c', ], 'cflags': [ '-w' ], + 'xcode_settings': { 'WARNING_CFLAGS': [ '-w' ] }, }, { 'target_name': 'libwebp_utils', @@ -144,6 +148,7 @@ '../third_party/externals/libwebp/src/utils/utils.c', ], 'cflags': [ '-w' ], + 'xcode_settings': { 'WARNING_CFLAGS': [ '-w' ] }, }, { 'target_name': 'libwebp',