2022-05-27 19:12:31 +00:00
|
|
|
load("//bazel:macros.bzl", "cc_library", "exports_files_legacy", "py_binary")
|
2022-05-27 18:47:29 +00:00
|
|
|
|
|
|
|
licenses(["notice"])
|
|
|
|
|
|
|
|
exports_files_legacy()
|
2022-05-27 19:03:36 +00:00
|
|
|
|
|
|
|
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 = [
|
2022-06-01 18:45:46 +00:00
|
|
|
"//:skia_internal",
|
2022-05-27 19:03:36 +00:00
|
|
|
],
|
|
|
|
)
|
2022-05-27 19:12:31 +00:00
|
|
|
|
|
|
|
py_binary(
|
|
|
|
name = "embed_resources",
|
|
|
|
srcs = ["embed_resources.py"],
|
|
|
|
visibility = ["//:__subpackages__"],
|
|
|
|
)
|