summaryrefslogtreecommitdiff
path: root/pdfium.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'pdfium.gyp')
-rw-r--r--pdfium.gyp14
1 files changed, 13 insertions, 1 deletions
diff --git a/pdfium.gyp b/pdfium.gyp
index 1445871499..cc3b225623 100644
--- a/pdfium.gyp
+++ b/pdfium.gyp
@@ -1,5 +1,7 @@
{
'variables': {
+ # TODO(thakis): Enable this, pdfium:29
+ #'chromium_code': 1,
'pdf_use_skia%': 0,
'pdf_enable_v8%': 1,
'pdf_enable_xfa%': 1,
@@ -48,8 +50,18 @@
}],
],
'msvs_disabled_warnings': [
- 4005, 4018, 4146, 4333, 4345, 4267
+ 4005, 4018, 4146, 4333, 4345, 4267,
+ # 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': [
{