Index: BUILD.gn |
diff --git a/BUILD.gn b/BUILD.gn |
index 0780f1b52298c64c964ccde142a5c01902bf2b13..b6f7a8b6e9428ca5deb0f151c37b34204edcc6a4 100644 |
--- a/BUILD.gn |
+++ b/BUILD.gn |
@@ -65,6 +65,8 @@ config("skia_private") { |
"SK_HAS_PNG_LIBRARY", |
"SK_HAS_WEBP_LIBRARY", |
+ "SK_SFNTLY_SUBSETTER=\"font_subsetter.h\"", # TODO(halcanary): remove |
+ |
"TURBO_HAS_565", |
"TURBO_HAS_CROP", |
"TURBO_HAS_SKIP", |
@@ -172,6 +174,7 @@ component("skia") { |
"//third_party/libpng", |
"//third_party/libwebp", |
"//third_party/zlib", |
+ "//third_party/sfntly", |
mtklein
2016/08/03 20:06:50
please run gn fmt --in-place on all your changed f
hal.canary
2016/08/03 21:35:59
Done.
|
] |
libs = [ "pthread" ] |
@@ -543,4 +546,18 @@ if (!is_component_build) { # Our test tools use many non-SK_API APIs... |
] |
testonly = true |
} |
+ |
+ |
+ executable("sktexttopdf") { |
+ sources = [ |
+ "tools/using_skia_and_harfbuzz.cpp", |
+ "tools/SkShaper_harfbuzz.cpp", |
+ ] |
+ deps = [ |
+ ":skia", |
+ "//third_party/harfbuzz", |
+ ] |
+ testonly = true |
+ } |
+ |
} |