summaryrefslogtreecommitdiff
path: root/pdfium.gyp
diff options
context:
space:
mode:
authorJohn Abd-El-Malek <jam@chromium.org>2015-02-01 11:22:25 -0800
committerJohn Abd-El-Malek <jam@chromium.org>2015-02-01 11:22:25 -0800
commitf8af67788cbe2f4b4f40a707e6cdc29a1a2187fb (patch)
treec8b8f02f1b0324392ac9af81aa8f97b47f28b879 /pdfium.gyp
parent7dc63e6c53add27084929ffe52436b7bb6667a80 (diff)
downloadpdfium-f8af67788cbe2f4b4f40a707e6cdc29a1a2187fb.tar.xz
Always use the FreeType headers included in PDFium.
The problem with trying to use the system headers sometimes is that we'll need to use pkg-config which is pretty slow. BUG=453844 TBR=brettw Review URL: https://codereview.chromium.org/865333003
Diffstat (limited to 'pdfium.gyp')
-rw-r--r--pdfium.gyp10
1 files changed, 3 insertions, 7 deletions
diff --git a/pdfium.gyp b/pdfium.gyp
index 8b13321ab9..2b21e9d9aa 100644
--- a/pdfium.gyp
+++ b/pdfium.gyp
@@ -16,21 +16,17 @@
'_NO_GDIPLUS_', # workaround text rendering issues on Windows
'OPJ_STATIC',
],
+ 'include_dirs': [
+ 'third_party/freetype/include',
+ ],
'conditions': [
['pdf_use_skia==1', {
'defines': ['_SKIA_SUPPORT_'],
}],
['bundle_freetype==1', {
- 'include_dirs': [
- 'third_party/freetype/include',
- ],
'defines' : [
'FT2_BUILD_LIBRARY',
],
- }, {
- 'include_dirs' : [
- '/usr/include/freetype2',
- ],
}],
['OS=="linux"', {
'conditions': [