diff options
author | Herb Derby <herb@google.com> | 2018-05-29 15:53:40 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-05-30 04:04:07 +0000 |
commit | 264182c3f7d282e57a4b1d46fde3ef702b81c5c3 (patch) | |
tree | 85c68bfa138662fd60cc3ab3bcad26f83cb9b80d /BUILD.gn | |
parent | 09725b0c3fd52b008743c63feb09ec1ab8bc2eea (diff) |
Make SkShaper a module
Change-Id: I3709e49ba865f14260660cc07a762b9ac837cb3c
Reviewed-on: https://skia-review.googlesource.com/130602
Reviewed-by: Herb Derby <herb@google.com>
Commit-Queue: Herb Derby <herb@google.com>
Diffstat (limited to 'BUILD.gn')
-rw-r--r-- | BUILD.gn | 28 |
1 files changed, 4 insertions, 24 deletions
@@ -1474,7 +1474,7 @@ if (skia_enable_tools) { "src/utils/SkLuaCanvas.cpp", ] deps = [ - ":skshaper", + "modules/skshaper", "//third_party/lua", ] } @@ -1535,11 +1535,11 @@ if (skia_enable_tools) { ":experimental_svg_model", ":flags", ":gm", - ":skshaper", ":tool_utils", ":views", ":xml", "modules/sksg:samples", + "modules/skshaper", ] if (skia_use_lua) { @@ -1629,33 +1629,13 @@ if (skia_enable_tools) { } } - test_lib("skshaper") { - public_include_dirs = [ "tools/shape" ] - deps = [ - ":skia", - ] - - if (target_cpu == "wasm") { - sources = [ - "tools/shape/SkShaper_primitive.cpp", - ] - } else { - sources = [ - "tools/shape/SkShaper_harfbuzz.cpp", - ] - deps += [ - "//third_party/harfbuzz", - "//third_party/icu", - ] - } - } test_app("sktexttopdf") { sources = [ - "tools/shape/using_skia_and_harfbuzz.cpp", + "tools/using_skia_and_harfbuzz.cpp", ] deps = [ ":skia", - ":skshaper", + "modules/skshaper", ] } |