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

Unified Diff: BUILD.gn

Issue 2200833010: GN: build sfntly, icu, harfbuzz (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 4 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 | gn/BUILD.gn » ('j') | gn/BUILD.gn » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
+ }
+
}
« no previous file with comments | « no previous file | gn/BUILD.gn » ('j') | gn/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698