From f4bf0f6e49bcb68a106c6de18b5167b6703fd71d Mon Sep 17 00:00:00 2001 From: Jason Simmons Date: Thu, 1 Sep 2016 11:38:50 -0700 Subject: [PATCH] Revert to using SkFontMgr_FontConfigInterface after the latest Skia roll (flutter/engine#2994) In older versions of Skia, there were two files named SkFontMgr_fontconfig.cpp. We want to use the one that contains SkFontMgr_FCI. That file was renamed to SkFontMgr_FontConfigInterface.cpp This caused the assert in https://github.com/flutter/flutter/issues/5694 --- engine/src/flutter/skia/BUILD.gn | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/engine/src/flutter/skia/BUILD.gn b/engine/src/flutter/skia/BUILD.gn index 41f91776d8..ba3139dc87 100644 --- a/engine/src/flutter/skia/BUILD.gn +++ b/engine/src/flutter/skia/BUILD.gn @@ -288,8 +288,8 @@ component("skia") { "//third_party/skia/src/ports/SkFontMgr_android_factory.cpp", "//third_party/skia/src/ports/SkFontMgr_android_parser.cpp", "//third_party/skia/src/ports/SkFontMgr_android.cpp", - "//third_party/skia/src/ports/SkFontMgr_fontconfig.cpp", - "//third_party/skia/src/ports/SkFontMgr_fontconfig_factory.cpp", + "//third_party/skia/src/ports/SkFontMgr_FontConfigInterface.cpp", + "//third_party/skia/src/ports/SkFontMgr_FontConfigInterface_factory.cpp", "//third_party/skia/src/ports/SkFontMgr_win_dw.cpp", "//third_party/skia/src/ports/SkGlobalInitialization_default.cpp", "//third_party/skia/src/ports/SkImageEncoder_none.cpp", @@ -437,8 +437,8 @@ component("skia") { sources -= [ "//third_party/skia/src/ports/SkFontConfigInterface_direct_factory.cpp", "//third_party/skia/src/ports/SkFontConfigInterface_direct.cpp", - "//third_party/skia/src/ports/SkFontMgr_fontconfig.cpp", - "//third_party/skia/src/ports/SkFontMgr_fontconfig_factory.cpp", + "//third_party/skia/src/ports/SkFontMgr_FontConfigInterface.cpp", + "//third_party/skia/src/ports/SkFontMgr_FontConfigInterface_factory.cpp", ] }