diff options
author | 2016-05-23 14:02:54 -0700 | |
---|---|---|
committer | 2016-05-23 14:02:54 -0700 | |
commit | 3d5942e8a4fe8845c49a7afaf8248c4e9b5b7520 (patch) | |
tree | 2586e89a54c5b01da16495d6ac5c364e50ed5149 /gyp/zlib.gyp | |
parent | c75d6a8e43891eb197c369b508862bf990957aee (diff) |
gyp: clean up warnings with clang-3.8
Also: update zlib DEPS.
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2002233002
Review-Url: https://codereview.chromium.org/2002233002
Diffstat (limited to 'gyp/zlib.gyp')
-rw-r--r-- | gyp/zlib.gyp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/gyp/zlib.gyp b/gyp/zlib.gyp index 43cf6abfd2..6263c6697b 100644 --- a/gyp/zlib.gyp +++ b/gyp/zlib.gyp @@ -19,8 +19,14 @@ }, }, { 'type': 'static_library', - 'cflags': [ '-Wno-unused-value' ], - 'xcode_settings': { 'WARNING_CFLAGS': [ '-Wno-unused-value', ], }, + 'variables': { + 'skia_zlib_flags' : [ + '-Wno-unused-value', + '-Wno-shift-negative-value', + ], + }, + 'cflags': [ '<@(skia_zlib_flags)' ], + 'xcode_settings': { 'WARNING_CFLAGS': [ '<@(skia_zlib_flags)' ], }, 'sources': [ '../third_party/externals/zlib/adler32.c', '../third_party/externals/zlib/compress.c', |