summaryrefslogtreecommitdiff
path: root/pdfium.gni
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-03-31 16:11:55 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-04-01 01:11:06 +0000
commit984f1d877ac59315f4c070b1d63c9f651221760b (patch)
tree1331e5f64a079fb33eb8db4dc972f7ed6ce0bc14 /pdfium.gni
parent3cf9ec4e29ddb19f1ade22e1de5ad6b0e9829fd8 (diff)
downloadpdfium-984f1d877ac59315f4c070b1d63c9f651221760b.tar.xz
Use absolute paths for FreeType source code.
After moving to a DEPS based FreeType checkout, integration with Chromium no longer works correctly when pdf_bundle_freetype is set to true, because relative paths would point to third_party/pdfium/third_party/freetype, and that no longer exists. BUG=pdfium:688 TBR=drott@chromium.org,dsinclair@chromium.org,npm@chromium.org Change-Id: I346072ddc1052d25be58ca1610f6d1c002fc03ef Reviewed-on: https://pdfium-review.googlesource.com/3556 Reviewed-by: Lei Zhang <thestig@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'pdfium.gni')
-rw-r--r--pdfium.gni8
1 files changed, 6 insertions, 2 deletions
diff --git a/pdfium.gni b/pdfium.gni
index 1829831b08..5fda06f5f0 100644
--- a/pdfium.gni
+++ b/pdfium.gni
@@ -7,8 +7,12 @@ import("//build_overrides/pdfium.gni")
# This file contains PDFium-related build flags.
declare_args() {
- # Build PDFium either using the bundled FreeType, or using a third-party
- # FreeType, configured by the embedder in //build/config/freetype.
+ # Build PDFium either:
+ # 1) When set to true, with a bundled FreeType, built from FreeType source
+ # code in //third_party/freetype and PDFium's FreeType configs in
+ # third_party/freetype/include.
+ # 2) When set to false, use whatever FreeType target is defined in
+ # //build/config/freetype.
pdf_bundle_freetype = pdf_bundle_freetype_override
# Build PDFium either with or without v8 support.