diff options
author | tsepez <tsepez@chromium.org> | 2016-03-17 15:37:06 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-17 22:39:22 +0000 |
commit | 8ecd31ca0b8549f27f9b0f5a3d07d4eed1101538 (patch) | |
tree | 495fe2e2f65f827e7091725e078c6695066c5985 /build | |
parent | 862cf4ef5b23488264fe51e019f2ba203de297fc (diff) | |
download | chromium_src-8ecd31ca0b8549f27f9b0f5a3d07d4eed1101538.zip chromium_src-8ecd31ca0b8549f27f9b0f5a3d07d4eed1101538.tar.gz chromium_src-8ecd31ca0b8549f27f9b0f5a3d07d4eed1101538.tar.bz2 |
Re-land: Enable XFA-Forms for the PDFium plugin.
But not on Chrome OS.
This reverts commit 7812fb8ba8271fbc542fd5716498517b82ba821a.
BUG=62400
Review URL: https://codereview.chromium.org/1811613005
Cr-Commit-Position: refs/heads/master@{#381811}
Diffstat (limited to 'build')
-rw-r--r-- | build/common.gypi | 11 |
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)', |