diff options
Diffstat (limited to 'BUILD.gn')
-rw-r--r-- | BUILD.gn | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -2,6 +2,7 @@ # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. +import("//build/config/freetype/freetype.gni") import("//testing/test.gni") import("pdfium.gni") @@ -1070,9 +1071,9 @@ static_library("fxge") { ] defines = [ "DEFINE_PS_TABLES" ] - if (is_component_build) { + 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. + # need it defined in component builds and builds using system freetype. defines += [ "DEFINE_PS_TABLES_DATA" ] } |