From 264182c3f7d282e57a4b1d46fde3ef702b81c5c3 Mon Sep 17 00:00:00 2001 From: Herb Derby Date: Tue, 29 May 2018 15:53:40 -0400 Subject: Make SkShaper a module Change-Id: I3709e49ba865f14260660cc07a762b9ac837cb3c Reviewed-on: https://skia-review.googlesource.com/130602 Reviewed-by: Herb Derby Commit-Queue: Herb Derby --- BUILD.gn | 28 ++++------------------------ 1 file changed, 4 insertions(+), 24 deletions(-) (limited to 'BUILD.gn') 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", ] } -- cgit v1.2.3