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

Unified Diff: pdf/BUILD.gn

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
« no previous file with comments | « no previous file | pdf/pdf.gyp » ('j') | pdf/pdfium/pdfium_engine.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pdf/BUILD.gn
diff --git a/pdf/BUILD.gn b/pdf/BUILD.gn
index 5e1f165b1c3fef9dfb4d30147f679f9dd9143572..5a6d4e2f29ec03477bae9e7b5832fb74c16a2a3f 100644
--- a/pdf/BUILD.gn
+++ b/pdf/BUILD.gn
@@ -3,6 +3,7 @@
# found in the LICENSE file.
pdf_engine = 0 # 0 PDFium
+pdf_use_xfa = 0
# TODO(GYP) need support for loadable modules
shared_library("pdf") {
@@ -70,6 +71,10 @@ shared_library("pdf") {
cflags = [ "/wd4267" ] # TODO(jschuh) size_t to int truncations.
}
+ if (pdf_use_xfa == 1) {
+ defines += [ "PDF_USE_XFA" ]
+ }
+
if (is_mac) {
# TODO(GYP)
#'mac_bundle': 1,
« no previous file with comments | « no previous file | pdf/pdf.gyp » ('j') | pdf/pdfium/pdfium_engine.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698