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

Unified Diff: BUILD.gn

Issue 865333003: Always use the FreeType headers included in PDFium. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 5 years, 11 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 | pdfium.gyp » ('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 9c58b0396c15726934f3cc9ab819ddbefd6ff036..b52913b977c599017b5b2d12bc66ccb0995553eb 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -14,6 +14,7 @@ declare_args() {
config("pdfium_config") {
cflags = []
+ include_dirs = [ "third_party/freetype/include" ]
defines = [
"_FPDFSDK_LIB",
"_NO_GDIPLUS_", # workaround text rendering issues on Windows
@@ -44,10 +45,7 @@ config("pdfium_config") {
}
if (bundle_freetype) {
- include_dirs = [ "third_party/freetype/include" ]
defines += [ "FT2_BUILD_LIBRARY" ]
- } else {
- include_dirs = [ "/usr/include/freetype2" ]
}
}
« no previous file with comments | « no previous file | pdfium.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698