Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(65)

Unified Diff: BUILD.gn

Issue 2318133003: GN: fontmgr_custom (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: BUILD.gn
diff --git a/BUILD.gn b/BUILD.gn
index 1b900485b74a5624ed279e6f7f07667c3d8102de..5ea18dd3475b84889dd4e2528d230be5583d0611 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -224,6 +224,18 @@ optional("fontmgr_android") {
]
}
+optional("fontmgr_custom") {
+ enabled = is_linux && skia_use_freetype && !skia_use_fontconfig
+
+ deps = [
+ "//third_party/freetype2",
+ ]
+ sources = [
+ "src/ports/SkFontMgr_custom.cpp",
+ "src/ports/SkFontMgr_custom_directory_factory.cpp",
+ ]
+}
+
optional("fontmgr_fontconfig") {
enabled = skia_use_freetype && skia_use_fontconfig
@@ -347,6 +359,7 @@ component("skia") {
":crc32",
":dsp",
":fontmgr_android",
+ ":fontmgr_custom",
":fontmgr_fontconfig",
":gif",
":jpeg",
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698