Try again to suppress mac warnings.
TBR=ochang@chromium.org
Review URL: https://codereview.chromium.org/1766043002 .
diff --git a/xfa.gyp b/xfa.gyp
index a974fcf..e51d4d9 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":[
{