summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-03-16 15:53:31 -0700
committerCommit bot <commit-bot@chromium.org>2016-03-16 22:54:39 +0000
commited07b3773e3aad4a44a79a48c17162ef57ca82ee (patch)
tree4e8313eb9ade77fbc349c26e1bc9ffa022ce3e8b /build
parent4e1da39cc90c4a335bb1fa777c7ab25f50d8f22f (diff)
downloadchromium_src-ed07b3773e3aad4a44a79a48c17162ef57ca82ee.zip
chromium_src-ed07b3773e3aad4a44a79a48c17162ef57ca82ee.tar.gz
chromium_src-ed07b3773e3aad4a44a79a48c17162ef57ca82ee.tar.bz2
Re-land: Enable XFA-Forms for the PDFium plugin.
This reverts commit 13fe4645b7199ed2da4f1810d4c96262eaecea5f. See https://codereview.chromium.org/1761673002/ TBR=thakis@chromium.org Review URL: https://codereview.chromium.org/1811743002 Cr-Commit-Position: refs/heads/master@{#381573}
Diffstat (limited to 'build')
-rw-r--r--build/common.gypi8
1 files changed, 7 insertions, 1 deletions
diff --git a/build/common.gypi b/build/common.gypi
index 5f389b2..d4b1cc5 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -891,11 +891,15 @@
'chromium_win_pch%': 1
}],
- # Whether PDF plugin is enabled.
+ # Whether PDF plugin is enabled, and which options it supports.
['OS=="android" or OS=="ios" or (embedded==1 and chromecast==0)', {
'enable_pdf%': 0,
+ 'pdf_enable_v8%': 0,
+ 'pdf_enable_xfa%': 0,
}, {
'enable_pdf%': 1,
+ 'pdf_enable_v8%': 1,
+ 'pdf_enable_xfa%': 1,
}],
['chromeos==1 or OS=="android" or OS=="ios" or desktop_linux==1', {
@@ -1226,6 +1230,8 @@
'order_text_section%': '<(order_text_section)',
'enable_extensions%': '<(enable_extensions)',
'enable_pdf%': '<(enable_pdf)',
+ 'pdf_enable_v8%': '<(pdf_enable_v8)',
+ 'pdf_enable_xfa%': '<(pdf_enable_xfa)',
'enable_plugin_installation%': '<(enable_plugin_installation)',
'enable_plugins%': '<(enable_plugins)',
'enable_session_service%': '<(enable_session_service)',