From b0c9e2c9e4d6a198caff0298e4718f9b2b056ba4 Mon Sep 17 00:00:00 2001 From: Jason Simmons Date: Mon, 18 Nov 2024 20:00:14 +0000 Subject: [PATCH] Update the Skia build scripts for a refactoring of the Fontconfig font manager Skia is reorganizing some font managers, and the Flutter engine's build scripts need to match the changes made to Skia. See https://skia-review.googlesource.com/c/skia/+/915316 --- skia/BUILD.gn | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/skia/BUILD.gn b/skia/BUILD.gn index 82941e62279cb..734c69e8486dc 100644 --- a/skia/BUILD.gn +++ b/skia/BUILD.gn @@ -270,6 +270,11 @@ optional("fontmgr_custom_empty") { sources = skia_ports_fontmgr_empty_sources } +skia_source_set("typeface_proxy") { + configs = [ ":skia_public" ] + sources = skia_ports_typeface_proxy_sources +} + optional("fontmgr_fontconfig") { enabled = skia_enable_fontmgr_fontconfig public_defines = [ "SK_FONTMGR_FONTCONFIG_AVAILABLE" ] @@ -277,7 +282,10 @@ optional("fontmgr_fontconfig") { # The public header includes fontconfig.h and uses FcConfig* public_deps = [ "//third_party:fontconfig" ] public = skia_ports_fontmgr_fontconfig_public - deps = [ ":typeface_freetype" ] + deps = [ + ":typeface_freetype", + ":typeface_proxy", + ] sources = skia_ports_fontmgr_fontconfig_sources }