summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-10-12 15:38:22 -0700
committerTom Sepez <tsepez@chromium.org>2015-10-12 15:38:22 -0700
commit0dfd03060be722485f44446f18e2e4eaf9344595 (patch)
tree7eb87df41149be743c2fd23045bfc44e3e846ae9 /BUILD.gn
parent181b7c40b18eda3c84c6a8bf0397b06fc1792d12 (diff)
downloadpdfium-0dfd03060be722485f44446f18e2e4eaf9344595.tar.xz
Fix XFA GN build
R=thestig@chromium.org Review URL: https://codereview.chromium.org/1401253002 .
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn6
1 files changed, 3 insertions, 3 deletions
diff --git a/BUILD.gn b/BUILD.gn
index cf07c33d8d..23e9f9a8ff 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -9,7 +9,7 @@ pdf_use_skia = false
declare_args() {
# On Android there's no system FreeType. On Windows and Mac, only a few
# methods are used from it.
- bundle_freetype = !is_linux
+ pdfium_bundle_freetype = !is_linux
}
config("pdfium_config") {
@@ -125,8 +125,8 @@ static_library("pdfium") {
libs += [ "AppKit.framework", "CoreFoundation.framework" ]
}
- if (bundle_freetype) {
- deps += [ "third_party:freetype" ]
+ if (pdfium_bundle_freetype) {
+ deps += [ "third_party:fx_freetype" ]
} else {
libs += [ "freetype" ]
}