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

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: Naming, comment 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
Index: pdf/pdf.gyp
diff --git a/pdf/pdf.gyp b/pdf/pdf.gyp
index f1e8e3e658db0dbc95bdde88350f95f14c3d80b1..787d04b164db3a4896197db5eb5bbf8a05bad2ea 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,
},
'target_defaults': {
'cflags': [
@@ -69,6 +70,9 @@
'../content/common/page_zoom.cc',
],
'conditions': [
+ ['pdf_use_xfa==1', {
+ 'defines': ['PDF_USE_XFA'],
+ }],
['pdf_engine==0', {
'sources': [
'pdfium/pdfium_assert_matching_enums.cc',
« no previous file with comments | « pdf/BUILD.gn ('k') | pdf/pdfium/pdfium_engine.h » ('j') | pdf/pdfium/pdfium_engine.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698