From 452b4f3f0ce1411350d57373528ccde77e40727d Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Tue, 13 Oct 2015 09:27:27 -0700 Subject: 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 . --- pdfium.gni | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'pdfium.gni') 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 +} + -- cgit v1.2.3