Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(157)

Unified Diff: BUILD.gn

Issue 1401253002: Fix XFA GN build (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: BUILD.gn
diff --git a/BUILD.gn b/BUILD.gn
index cf07c33d8d611bb088bc3e2ba5478884850bc890..23e9f9a8ff200abfa0b72ac1377830af8f2dc809 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" ]
}
« no previous file with comments | « no previous file | third_party/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698