skia2/tools/graphite/BUILD.bazel
Kevin Lubick a3ff876e16 [bazel] Add CQ job to warn if Bazel files need to be regenerated.
This adds Housekeeper-PerCommit-CheckGeneratedBazelFiles

Error and resolution http://screen/38UwJ28vtucu75Z

Change-Id: If12a6a98900fc492f0809b28fc688789c18edc15
Bug: skia:12541
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/525237
Reviewed-by: Joe Gregorio <jcgregorio@google.com>
Commit-Queue: Kevin Lubick <kjlubick@google.com>
2022-03-28 22:16:30 +00:00

48 lines
1.3 KiB
Python

load("//bazel:macros.bzl", "generated_cc_atom")
generated_cc_atom(
name = "ContextFactory_hdr",
hdrs = ["ContextFactory.h"],
visibility = ["//:__subpackages__"],
deps = [
":GraphiteTestContext_hdr",
"//experimental/graphite/include:GraphiteTypes_hdr",
"//include/core:SkRefCnt_hdr",
],
)
generated_cc_atom(
name = "ContextFactory_src",
srcs = ["ContextFactory.cpp"],
visibility = ["//:__subpackages__"],
deps = [
":ContextFactory_hdr",
"//experimental/graphite/include:Context_hdr",
"//tools/graphite/mtl:GraphiteMtlTestContext_hdr",
],
)
generated_cc_atom(
name = "GraphiteTestContext_hdr",
hdrs = ["GraphiteTestContext.h"],
visibility = ["//:__subpackages__"],
deps = [
"//experimental/graphite/include:GraphiteTypes_hdr",
"//include/core:SkRefCnt_hdr",
],
)
generated_cc_atom(
name = "GraphiteTestContext_src",
srcs = ["GraphiteTestContext.cpp"],
visibility = ["//:__subpackages__"],
deps = [
":GraphiteTestContext_hdr",
"//experimental/graphite/include:Context_hdr",
"//experimental/graphite/include:GraphiteTypes_hdr",
"//experimental/graphite/include:Recording_hdr",
"//src/core:SkTraceEvent_hdr",
"//tools/gpu:FlushFinishTracker_hdr",
],
)