summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rw-r--r--build/common.gypi11
1 files changed, 10 insertions, 1 deletions
diff --git a/build/common.gypi b/build/common.gypi
index 5f389b2..ac255aa 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -891,11 +891,18 @@
'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,
}, {
'enable_pdf%': 1,
+ 'pdf_enable_v8%': 1,
+ }],
+ ['chromeos==1 or OS=="android" or OS=="ios" or (embedded==1 and chromecast==0)', {
+ 'pdf_enable_xfa%': 0,
+ }, {
+ 'pdf_enable_xfa%': 1,
}],
['chromeos==1 or OS=="android" or OS=="ios" or desktop_linux==1', {
@@ -1226,6 +1233,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)',