summaryrefslogtreecommitdiff
path: root/build_overrides/pdfium.gni
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-03-28 13:56:29 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-03-29 00:18:20 +0000
commit7b70189491e211a0340a110eceddc06a307ac820 (patch)
treee49f90917840779d0bf6d93339d98686a090b431 /build_overrides/pdfium.gni
parentec1843d2f61a85a7484627b828da317e4dd9c0a4 (diff)
downloadpdfium-7b70189491e211a0340a110eceddc06a307ac820.tar.xz
Default to using bundled FreeType on Linux.
Add override option for embedders. BUG=pdfium:143 Change-Id: If8e97fddf46127ba387e4165a973b78a8a642028 Reviewed-on: https://pdfium-review.googlesource.com/3190 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Nicolás Peña <npm@chromium.org>
Diffstat (limited to 'build_overrides/pdfium.gni')
-rw-r--r--build_overrides/pdfium.gni16
1 files changed, 14 insertions, 2 deletions
diff --git a/build_overrides/pdfium.gni b/build_overrides/pdfium.gni
index 18e6a87399..d6bcc850cd 100644
--- a/build_overrides/pdfium.gni
+++ b/build_overrides/pdfium.gni
@@ -5,16 +5,28 @@
# This file contains PDFium-related build overrides.
# Build PDFium either with or without v8 support.
+# Default: With V8 support.
pdf_enable_v8_override = true
# Build PDFium either with or without XFA Forms support.
+# Default: Without XFA support.
pdf_enable_xfa_override = false
-# Build PDFium against skia (experimental) rather than agg, replacing all PDFium graphics.
+# Build PDFium either using the bundled FreeType, or using the system FreeType.
+# System FreeType only exists on Linux.
+# Default: Use the bundled FreeType.
+pdf_bundle_freetype_override = true
+
+# Build PDFium against skia (experimental) rather than agg, replacing all PDFium
+# graphics.
+# Default: Use agg.
pdf_use_skia_override = false
-# Build PDFium against skia (experimental) rather than agg, adding only path support.
+# Build PDFium against skia (experimental) rather than agg, adding only path
+# support.
+# Default: Use agg.
pdf_use_skia_paths_override = false
# Build PDFium either with or without experimental win32 GDI APIs.
+# Default: Without experimental win32 GDI APIs.
pdf_use_win32_gdi_override = false