summaryrefslogtreecommitdiff
path: root/pdfium.gni
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-10-13 09:27:27 -0700
committerTom Sepez <tsepez@chromium.org>2015-10-13 09:27:27 -0700
commit452b4f3f0ce1411350d57373528ccde77e40727d (patch)
treedb9049209ff1f754026e680e6c18361ae4bc1a85 /pdfium.gni
parente865ed12c4a476a4c74bf1ae97d3a6fa8ca06f0a (diff)
downloadpdfium-452b4f3f0ce1411350d57373528ccde77e40727d.tar.xz
Merge to XFA: Allow compiling PDFium without V8.
Original Review URL: https://codereview.chromium.org/1395733006 . (cherry picked from commit f1c713663192368d26031a4caed1f9705f4510af) Conflicts: BUILD.gn fpdfsdk/src/fpdfview.cpp fpdfsdk/src/javascript/JS_Runtime.cpp pdfium.gyp samples/BUILD.gn samples/samples.gyp BUG=pdfium:211 R=thestig@chromium.org Review URL: https://codereview.chromium.org/1393833006 .
Diffstat (limited to 'pdfium.gni')
-rw-r--r--pdfium.gni6
1 files changed, 5 insertions, 1 deletions
diff --git a/pdfium.gni b/pdfium.gni
index 8e99e5f26a..afb1d7b217 100644
--- a/pdfium.gni
+++ b/pdfium.gni
@@ -9,9 +9,13 @@ declare_args() {
# methods are used from it.
pdfium_bundle_freetype = !is_linux
+ # Build PDFium either with or without v8 support.
+ pdf_enable_v8 = true
+
# Build PDFium either with or without XFA Forms support.
pdf_enable_xfa = true
# Build PDFium against skia (experimental) rather than agg.
pdf_use_skia = false
-} \ No newline at end of file
+}
+