skia2/tools/graphite/BUILD.bazel
Kevin Lubick c3a448ec61 [bazel] Put licenses() after legacy_exports
G3 prefers license() first.

This was done mechanically with a big find/replace

Change-Id: I8c33c7bc10a6bec42e966cad81c259954e841811
Bug: skia:13211
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/535898
Reviewed-by: Ben Wagner <bungeman@google.com>
2022-05-02 15:04:33 +00:00

52 lines
1.3 KiB
Python

load("//bazel:macros.bzl", "exports_files_legacy", "generated_cc_atom")
licenses(["notice"])
exports_files_legacy()
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",
],
)