GN: build sfntly, icu, harfbuzz
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2200833010
Review-Url: https://codereview.chromium.org/2200833010
diff --git a/BUILD.gn b/BUILD.gn
index 3fae151..0d15f31 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -65,6 +65,9 @@
"SK_HAS_PNG_LIBRARY",
"SK_HAS_WEBP_LIBRARY",
+ # TODO(halcanary): make this the default; this is the value Android uses.
+ "SK_SFNTLY_SUBSETTER=\"sample/chromium/font_subsetter.h\"",
+
"TURBO_HAS_565",
"TURBO_HAS_CROP",
"TURBO_HAS_SKIP",
@@ -171,6 +174,7 @@
"//third_party/libjpeg_turbo",
"//third_party/libpng",
"//third_party/libwebp",
+ "//third_party/sfntly",
"//third_party/zlib",
]
@@ -544,4 +548,16 @@
]
testonly = true
}
+
+ executable("sktexttopdf") {
+ sources = [
+ "tools/SkShaper_harfbuzz.cpp",
+ "tools/using_skia_and_harfbuzz.cpp",
+ ]
+ deps = [
+ ":skia",
+ "//third_party/harfbuzz",
+ ]
+ testonly = true
+ }
}