summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
authorAndrew Weintraub <asweintraub@google.com>2018-01-24 23:54:02 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-01-24 23:54:02 +0000
commit5a21af6cf90ccb2eb18823130e16666a76d9ecba (patch)
tree598d5f94c9d0511328ec8659f10204632c00032c /BUILD.gn
parentf9f1a5dd73b918d50bcd3a4b461b87544260b9f8 (diff)
downloadpdfium-5a21af6cf90ccb2eb18823130e16666a76d9ecba.tar.xz
Put required DEFINE_PS_TABLES define in fx_freetype.cpp where it's used.chromium/3332chromium/3331
This makes things more self-contained since we don't need the define in the BUILD.gn file. Change-Id: I27138f409521751f4994e6e9dc3c1a029e679836 Reviewed-on: https://pdfium-review.googlesource.com/23550 Reviewed-by: Lei Zhang <thestig@chromium.org> Reviewed-by: dsinclair <dsinclair@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn3
1 files changed, 1 insertions, 2 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 9795f254a3..839fffc0b8 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -1083,11 +1083,10 @@ jumbo_static_library("fxge") {
":fxcrt",
]
- defines = [ "DEFINE_PS_TABLES" ]
if (is_component_build || use_system_freetype) {
# ft_adobe_glyph_list is not exported from the Freetype shared library so we
# need it defined in component builds and builds using system freetype.
- defines += [ "DEFINE_PS_TABLES_DATA" ]
+ defines = [ "DEFINE_PS_TABLES_DATA" ]
}
if (pdf_enable_xfa) {