From 984f1d877ac59315f4c070b1d63c9f651221760b Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Fri, 31 Mar 2017 16:11:55 -0700 Subject: 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 Commit-Queue: Lei Zhang --- pdfium.gni | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'pdfium.gni') 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. -- cgit v1.2.3