skia2/tools/flags/BUILD.bazel
Kevin Lubick 83cee23c98 [bazel] Run buildifier on BUILD.bazel files
buildifier --lint=fix -r .

Change-Id: I6a41858270d20137978f8271c8f6160b51120777
Bug: skia:12541
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/529751
Reviewed-by: Ben Wagner <bungeman@google.com>
2022-04-14 18:13:43 +00:00

107 lines
2.6 KiB
Python

load("//bazel:macros.bzl", "generated_cc_atom")
licenses(["notice"])
generated_cc_atom(
name = "CommandLineFlags_hdr",
hdrs = ["CommandLineFlags.h"],
visibility = ["//:__subpackages__"],
deps = [
"//include/core:SkString_hdr",
"//include/private:SkTArray_hdr",
"//include/private:SkTDArray_hdr",
],
)
generated_cc_atom(
name = "CommandLineFlags_src",
srcs = ["CommandLineFlags.cpp"],
visibility = ["//:__subpackages__"],
deps = [
":CommandLineFlags_hdr",
"//include/private:SkTDArray_hdr",
"//src/core:SkTSort_hdr",
],
)
generated_cc_atom(
name = "CommonFlagsAA_src",
srcs = ["CommonFlagsAA.cpp"],
visibility = ["//:__subpackages__"],
deps = [
":CommonFlags_hdr",
"//src/core:SkScan_hdr",
],
)
generated_cc_atom(
name = "CommonFlagsConfig_hdr",
hdrs = ["CommonFlagsConfig.h"],
visibility = ["//:__subpackages__"],
deps = [
":CommandLineFlags_hdr",
"//tools/gpu:GrContextFactory_hdr",
"//tools/graphite:ContextFactory_hdr",
],
)
generated_cc_atom(
name = "CommonFlagsConfig_src",
srcs = ["CommonFlagsConfig.cpp"],
visibility = ["//:__subpackages__"],
deps = [
":CommonFlagsConfig_hdr",
"//include/core:SkImageInfo_hdr",
"//include/core:SkSurfaceProps_hdr",
"//include/private:SkTHash_hdr",
"//src/core:SkColorSpacePriv_hdr",
"//src/core:SkSurfacePriv_hdr",
],
)
generated_cc_atom(
name = "CommonFlagsFontMgr_src",
srcs = ["CommonFlagsFontMgr.cpp"],
visibility = ["//:__subpackages__"],
deps = [
":CommandLineFlags_hdr",
":CommonFlags_hdr",
"//include/ports:SkTypeface_win_hdr",
"//src/core:SkFontMgrPriv_hdr",
"//tools/fonts:TestFontMgr_hdr",
],
)
generated_cc_atom(
name = "CommonFlagsGpu_src",
srcs = ["CommonFlagsGpu.cpp"],
visibility = ["//:__subpackages__"],
deps = [
":CommonFlags_hdr",
"//include/core:SkExecutor_hdr",
"//include/gpu:GrContextOptions_hdr",
],
)
generated_cc_atom(
name = "CommonFlagsImages_src",
srcs = ["CommonFlagsImages.cpp"],
visibility = ["//:__subpackages__"],
deps = [
":CommonFlags_hdr",
"//src/core:SkOSFile_hdr",
"//src/utils:SkOSPath_hdr",
],
)
generated_cc_atom(
name = "CommonFlags_hdr",
hdrs = ["CommonFlags.h"],
visibility = ["//:__subpackages__"],
deps = [
":CommandLineFlags_hdr",
"//include/core:SkString_hdr",
"//include/private:SkTArray_hdr",
],
)