summaryrefslogtreecommitdiff
path: root/xfa.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa.gyp')
-rw-r--r--xfa.gyp8
1 files changed, 5 insertions, 3 deletions
diff --git a/xfa.gyp b/xfa.gyp
index a4a6247694..ead79d3c15 100644
--- a/xfa.gyp
+++ b/xfa.gyp
@@ -1,5 +1,6 @@
{
"variables": {
+ "chromium_code": 1,
"pdf_enable_v8%": 1,
},
"target_defaults": {
@@ -7,9 +8,7 @@
"PDF_ENABLE_XFA",
],
'msvs_disabled_warnings': [
- 4005, 4018, 4146, 4333, 4345, 4267,
- # TODO(thestig): Fix all instances, remove this, pdfium:29
- 4245, 4310, 4389, 4701, 4702, 4706, 4800,
+ 4267,
],
},
"targets":[
@@ -699,6 +698,9 @@
"conditions": [
["clang==1" , {
}],
+ ["os_posix==1 and clang==0", { # When GCC
+ 'cflags': [ '-Wno-error=strict-overflow' ],
+ }],
["pdf_enable_v8==1", {
'dependencies': [
'<(DEPTH)/v8/src/v8.gyp:v8',