skia2/tools/graphite/BUILD.bazel
Jim Van Verth ae5e846047 [graphite] Move Graphite into Skia base directories.
Change-Id: Ie0fb74f3766a8b33387c145bd1151344c25808cb
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/528708
Reviewed-by: Kevin Lubick <kjlubick@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Jim Van Verth <jvanverth@google.com>
2022-04-08 20:46:40 +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",
"//include/core:SkRefCnt_hdr",
"//include/gpu/graphite:GraphiteTypes_hdr",
],
)
generated_cc_atom(
name = "ContextFactory_src",
srcs = ["ContextFactory.cpp"],
visibility = ["//:__subpackages__"],
deps = [
":ContextFactory_hdr",
"//include/gpu/graphite:Context_hdr",
"//tools/graphite/mtl:GraphiteMtlTestContext_hdr",
],
)
generated_cc_atom(
name = "GraphiteTestContext_hdr",
hdrs = ["GraphiteTestContext.h"],
visibility = ["//:__subpackages__"],
deps = [
"//include/core:SkRefCnt_hdr",
"//include/gpu/graphite:GraphiteTypes_hdr",
],
)
generated_cc_atom(
name = "GraphiteTestContext_src",
srcs = ["GraphiteTestContext.cpp"],
visibility = ["//:__subpackages__"],
deps = [
":GraphiteTestContext_hdr",
"//include/gpu/graphite:Context_hdr",
"//include/gpu/graphite:GraphiteTypes_hdr",
"//include/gpu/graphite:Recording_hdr",
"//src/core:SkTraceEvent_hdr",
"//tools/gpu:FlushFinishTracker_hdr",
],
)