c123b5a93d
This may look like a lot, but //modules/canvaskit/BUILD.bazel
is nearly identical to how it was with gazelle:
162dfca340/modules/canvaskit/BUILD.bazel
I removed the "wasm_gm_tests" targets from it, because they
had bitrotted slightly and fixing them is its own task.
CanvasKit depends on Skottie and Particles, which depend on
the SkParagraph, SkShaper, SkUnicode, and SkResources modules.
I've structured the BUILD.bazel files in the //modules directory
in a similar fashion as the "hierarchical filegroup"
introduced in https://skia-review.googlesource.com/c/skia/+/543977
Suggested Review Order
- //modules/skottie/...
- //modules/skparagraph/...
- all other modules.
- Note that modules/canvaskit/go/gold_test_env/BUILD.bazel is
generated from gazelle, because we like how gazelle handles
golang files and deps.
- All other files in any order.
Change-Id: I0aa9e6f81dba2c00f15cae7b19fe49a2027dcf1d
Bug: skia:12541
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/544676
Reviewed-by: Leandro Lovisolo <lovisolo@google.com>
36 lines
799 B
Python
36 lines
799 B
Python
load("//bazel:macros.bzl", "cc_library", "exports_files_legacy", "py_binary")
|
|
|
|
licenses(["notice"])
|
|
|
|
exports_files_legacy()
|
|
|
|
cc_library(
|
|
name = "tool_utils",
|
|
testonly = True,
|
|
srcs = [
|
|
"Resources.cpp",
|
|
"ToolUtils.cpp",
|
|
"ResourceFactory.h",
|
|
"Resources.h",
|
|
"//tools/flags:core_srcs",
|
|
# TODO(kjlubick, bungeman): We should split out the font stuff into its own set of files
|
|
"//tools/fonts:test_font_manager_srcs",
|
|
],
|
|
hdrs = [
|
|
"ToolUtils.h",
|
|
],
|
|
textual_hdrs = [
|
|
"//tools/fonts:test_fonts",
|
|
],
|
|
visibility = ["//:__subpackages__"],
|
|
deps = [
|
|
"//:skia_core",
|
|
],
|
|
)
|
|
|
|
py_binary(
|
|
name = "embed_resources",
|
|
srcs = ["embed_resources.py"],
|
|
visibility = ["//:__subpackages__"],
|
|
)
|