summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
authorJohn Abd-El-Malek <jam@chromium.org>2015-02-01 16:19:29 -0800
committerJohn Abd-El-Malek <jam@chromium.org>2015-02-01 16:19:29 -0800
commitb3a788e5e37955620b26be5b6e3048d37b605e00 (patch)
tree6735c7d573ec1259485ecadaf159d0af59a9f4b5 /BUILD.gn
parentf8af67788cbe2f4b4f40a707e6cdc29a1a2187fb (diff)
downloadpdfium-b3a788e5e37955620b26be5b6e3048d37b605e00.tar.xz
Fix GN PDFium build when building all.chromium/2294chromium/2293
The problem was FT_INTERNAL_DEBUG_H wasn't being defined because FT2_BUILD_LIBRARY wasn't set. So even if PDFium isn't using bundled FreeType, the FreeType target needs FT2_BUILD_LIBRARY defined. The GYP build was already correct. BUG=453844 TBR=brettw Review URL: https://codereview.chromium.org/891993003
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn4
1 files changed, 0 insertions, 4 deletions
diff --git a/BUILD.gn b/BUILD.gn
index b52913b977..988ca7ee6f 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -43,10 +43,6 @@ config("pdfium_config") {
"/wd4345",
]
}
-
- if (bundle_freetype) {
- defines += [ "FT2_BUILD_LIBRARY" ]
- }
}
static_library("pdfium") {