Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(232)

Unified Diff: build/common.gypi

Issue 1775173002: Re-land: Enable XFA-Forms for the PDFium plugin. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index e8042fea050ca0797c35939cf401baf0b2a6604e..8713010f930e4f605cd80488fae743a1e9c8a75c 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -892,11 +892,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', {
@@ -1227,6 +1231,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)',
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698