aboutsummaryrefslogtreecommitdiffhomepage
path: root/BUILD.gn
diff options
context:
space:
mode:
authorGravatar Herb Derby <herb@google.com>2018-05-29 15:53:40 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-05-30 04:04:07 +0000
commit264182c3f7d282e57a4b1d46fde3ef702b81c5c3 (patch)
tree85c68bfa138662fd60cc3ab3bcad26f83cb9b80d /BUILD.gn
parent09725b0c3fd52b008743c63feb09ec1ab8bc2eea (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.gn28
1 files changed, 4 insertions, 24 deletions
diff --git a/BUILD.gn b/BUILD.gn
index d0c6755555..d871e782b5 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -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",
]
}