summaryrefslogtreecommitdiff
path: root/third_party/third_party.gyp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2016-02-24 14:09:55 -0500
committerDan Sinclair <dsinclair@chromium.org>2016-02-24 14:09:55 -0500
commit4ca48d1b10998f6c77683f184b8c8c53c7121b9b (patch)
tree52e49c690ea750810a9270c96b0114c4919e0c8f /third_party/third_party.gyp
parent76ed0e30bd35f38b5f558417dfb3f6b34beef940 (diff)
downloadpdfium-4ca48d1b10998f6c77683f184b8c8c53c7121b9b.tar.xz
Silence shift-negative-value warnings in third_party
These are in third_party libraries so should be fixed upstream. Silencing the warning in our build. R=thestig@chromium.org, tsepez@chromium.org Review URL: https://codereview.chromium.org/1734663002 .
Diffstat (limited to 'third_party/third_party.gyp')
-rw-r--r--third_party/third_party.gyp8
1 files changed, 8 insertions, 0 deletions
diff --git a/third_party/third_party.gyp b/third_party/third_party.gyp
index 97deacf49c..0208fa14e3 100644
--- a/third_party/third_party.gyp
+++ b/third_party/third_party.gyp
@@ -230,6 +230,9 @@
'libjpeg/jversion.h',
'libjpeg/transupp.h',
],
+ 'cflags': [
+ '-Wno-shift-negative-value',
+ ],
'conditions': [
['os_posix==1', {
'cflags': [
@@ -313,6 +316,11 @@
'zlib_v128/uncompr.c',
'zlib_v128/zutil.c',
],
+ 'cflags': [
+ # TODO(dsinclair): Remove if fixed upstream. https://crbug.com/507712
+ '-Wno-shift-negative-value',
+ ],
+
},
{
'target_name': 'pdfium_base',