summaryrefslogtreecommitdiff
path: root/build_overrides
diff options
context:
space:
mode:
authorDominik Röttsches <drott@chromium.org>2017-03-30 11:07:43 +0300
committerChromium commit bot <commit-bot@chromium.org>2017-03-30 08:45:37 +0000
commit4b0671ab3e795bbb5e6aaf6305cae3171d73d241 (patch)
tree494c9d053197c1902fd9a4073d75b010b635b7a5 /build_overrides
parent1831ca9439ece65b54bb2bcdaec777729689b9f9 (diff)
downloadpdfium-4b0671ab3e795bbb5e6aaf6305cae3171d73d241.tar.xz
Allow configuration of external embedder FreeType
Add a public config to fxfreetype to make includes visible and provide a freetype_common group as a public dependency on fxcrt. freetype_common switches between fxfreetype and //build/config/freetype, which gives embedders the flexibility to configure the source of FreeType. BUG=chromium:700926 Change-Id: I73ae26979dcf69a419485def23c7a13dffa2a15d Reviewed-on: https://pdfium-review.googlesource.com/2971 Commit-Queue: Lei Zhang <thestig@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'build_overrides')
-rw-r--r--build_overrides/pdfium.gni4
1 files changed, 2 insertions, 2 deletions
diff --git a/build_overrides/pdfium.gni b/build_overrides/pdfium.gni
index d6bcc850cd..a8ce2cff24 100644
--- a/build_overrides/pdfium.gni
+++ b/build_overrides/pdfium.gni
@@ -12,8 +12,8 @@ pdf_enable_v8_override = true
# Default: Without XFA support.
pdf_enable_xfa_override = false
-# Build PDFium either using the bundled FreeType, or using the system FreeType.
-# System FreeType only exists on Linux.
+# Build PDFium either using the bundled FreeType, or using a third-party
+# FreeType, configured by the embedder in //build/config/freetype.
# Default: Use the bundled FreeType.
pdf_bundle_freetype_override = true