summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--BUILD.gn5
1 files changed, 5 insertions, 0 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 9dc2362aa6..cd2b0b05db 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -1070,6 +1070,11 @@ static_library("fxge") {
]
defines = [ "DEFINE_PS_TABLES" ]
+ if (is_component_build) {
+ # ft_adobe_glyph_list is not exported from the Freetype shared library so we
+ # need it defined in component builds.
+ defines += [ "DEFINE_PS_TABLES_DATA" ]
+ }
if (pdf_enable_xfa) {
sources += [