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

Unified Diff: pdf/pdf.gyp

Issue 705823002: Add pdf layer code for PDFium XFA module (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove pdfium_engine.h Created 6 years, 1 month 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 | pdf/pdfium/pdfium_engine.h » ('j') | pdf/pdfium/pdfium_engine.h » ('J')
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 f1e8e3e658db0dbc95bdde88350f95f14c3d80b1..e3a07959f746493545e107b527c18c37ab0b8732 100644
--- a/pdf/pdf.gyp
+++ b/pdf/pdf.gyp
@@ -2,6 +2,7 @@
'variables': {
'chromium_code': 1,
'pdf_engine%': 0, # 0 PDFium
+ 'pdf_use_xfa%': 0,
Lei Zhang 2014/11/05 22:45:09 You need to make the corresponding change in pdf/B
Bo Xu 2014/11/06 01:26:20 Done.
},
'target_defaults': {
'cflags': [
@@ -69,6 +70,9 @@
'../content/common/page_zoom.cc',
],
'conditions': [
+ ['pdf_use_xfa==1', {
+ 'defines': ['_TEST_XFA_'],
Tom Sepez 2014/11/05 22:44:47 nit: the #define should be PDF_USE_XFA for consist
Bo Xu 2014/11/06 01:26:20 Done.
+ }],
['pdf_engine==0', {
'sources': [
'pdfium/pdfium_assert_matching_enums.cc',
« no previous file with comments | « no previous file | pdf/pdfium/pdfium_engine.h » ('j') | pdf/pdfium/pdfium_engine.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698