summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2016-03-04 13:23:40 -0800
committerTom Sepez <tsepez@chromium.org>2016-03-04 13:23:40 -0800
commitc91f42a7ec3fdc57c76a9b175914ecfbd24a9a03 (patch)
treee8666c4ba15639a3b82d8a03a6285302b3de43b6
parentf896da0bc3b3839de9ed339bff5fefb6dd4fd219 (diff)
downloadpdfium-c91f42a7ec3fdc57c76a9b175914ecfbd24a9a03.tar.xz
Try again to suppress mac warnings.
TBR=ochang@chromium.org Review URL: https://codereview.chromium.org/1766043002 .
-rw-r--r--xfa.gyp8
1 files changed, 8 insertions, 0 deletions
diff --git a/xfa.gyp b/xfa.gyp
index a974fcf716..e51d4d9946 100644
--- a/xfa.gyp
+++ b/xfa.gyp
@@ -11,6 +11,14 @@
# TODO(thestig): Fix all instances, remove this, pdfium:29
4245, 4310, 4389, 4701, 4702, 4706, 4800,
],
+ 'variables': {
+ 'clang_warning_flags': [
+ # TODO(thestig): Fix all instances, remove this, pdfium:29
+ '-Wno-sign-compare',
+ ],
+ # Make sure Chromium's build/common.gypi doesn't re-add the flag on linux.
+ 'cflags_cc!': [ '-Wsign-compare' ],
+ },
},
"targets":[
{