diff options
author | 2016-09-10 07:01:53 -0700 | |
---|---|---|
committer | 2016-09-10 07:01:53 -0700 | |
commit | 3eee9d941e773d576917d4a5e89fd4b2b8f53253 (patch) | |
tree | 328a7d5c59e6804a0b75827947522331513a2642 /BUILD.gn | |
parent | 4a56318d4c771de50194700083cc1acee0a66fa4 (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.gn | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -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 + } } |