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

Unified Diff: pdf/pdf.gyp

Issue 1511443004: Keep pdf_engine in sync with PDF_ENABLE_XFA. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Blank line. Created 5 years 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 | « pdf/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pdf/pdf.gyp
diff --git a/pdf/pdf.gyp b/pdf/pdf.gyp
index ee745249b260411c9e5ac695d1e4761ebb2e3536..f70f1935bd566d1c923f69ca7f5aec25bf8eaa61 100644
--- a/pdf/pdf.gyp
+++ b/pdf/pdf.gyp
@@ -1,6 +1,7 @@
{
'variables': {
'chromium_code': 1,
+ 'pdf_enable_xfa%': 0,
'pdf_engine%': 0, # 0 PDFium
},
'targets': [
@@ -55,6 +56,11 @@
'pdfium/pdfium_range.h',
],
}],
+ ['pdf_enable_xfa==1', {
+ 'defines': [
+ 'PDF_ENABLE_XFA',
+ ]
+ }],
['OS=="win"', {
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
'msvs_disabled_warnings': [ 4267, ],
« no previous file with comments | « pdf/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698