aboutsummaryrefslogtreecommitdiffhomepage
path: root/BUILD.gn
diff options
context:
space:
mode:
authorGravatar halcanary <halcanary@google.com>2016-09-10 07:01:53 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-09-10 07:01:53 -0700
commit3eee9d941e773d576917d4a5e89fd4b2b8f53253 (patch)
tree328a7d5c59e6804a0b75827947522331513a2642 /BUILD.gn
parent4a56318d4c771de50194700083cc1acee0a66fa4 (diff)
SkPDF: SkShaper_primitive uses new textblob API
This will enable me to test the new API in unit tests without depending on HarfBuzz (after https://crrev.com/2322403002 lands). TBR= BUG=skia:5434 Review-Url: https://codereview.chromium.org/2332473003
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn12
1 files changed, 11 insertions, 1 deletions
diff --git a/BUILD.gn b/BUILD.gn
index f1439c7857..e770c5bfaa 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -786,7 +786,7 @@ if (skia_enable_tools) {
}
if (current_cpu != "mipsel") { # Clang 3.8 crashes while compiling hb-icu.cc for mipsel.
- executable("sktexttopdf") {
+ executable("sktexttopdf-hb") {
sources = [
"tools/SkShaper_harfbuzz.cpp",
"tools/using_skia_and_harfbuzz.cpp",
@@ -798,4 +798,14 @@ if (skia_enable_tools) {
testonly = true
}
}
+ executable("sktexttopdf") {
+ sources = [
+ "tools/SkShaper_primitive.cpp",
+ "tools/using_skia_and_harfbuzz.cpp",
+ ]
+ deps = [
+ ":skia",
+ ]
+ testonly = true
+ }
}