Skip to content

Instantly share code, notes, and snippets.

@abarth
Created September 8, 2016 18:32
Show Gist options
  • Save abarth/c403cc544c57fb72c8ac9fc94bdd36fe to your computer and use it in GitHub Desktop.
Save abarth/c403cc544c57fb72c8ac9fc94bdd36fe to your computer and use it in GitHub Desktop.
diff --git a/BUILD.gn b/BUILD.gn
index 90f531f..c7735bb 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -461,9 +461,15 @@ component("skia") {
}
if (is_fuchsia) {
+ deps += [
+ "//third_party/freetype2:freetype",
+ ]
sources += [
"src/gpu/gl/GrGLCreateNativeInterface_none.cpp",
- "src/ports/SkFontMgr_empty_factory.cpp",
+ "src/ports/SkFontHost_FreeType.cpp",
+ "src/ports/SkFontHost_FreeType_common.cpp",
+ "src/ports/SkFontMgr_custom.cpp",
+ "src/ports/SkFontMgr_custom_empty_factory.cpp",
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment