From 7b70189491e211a0340a110eceddc06a307ac820 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Tue, 28 Mar 2017 13:56:29 -0700 Subject: Default to using bundled FreeType on Linux. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add override option for embedders. BUG=pdfium:143 Change-Id: If8e97fddf46127ba387e4165a973b78a8a642028 Reviewed-on: https://pdfium-review.googlesource.com/3190 Commit-Queue: Lei Zhang Reviewed-by: Nicolás Peña --- build_overrides/pdfium.gni | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'build_overrides') 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 -- cgit v1.2.3