xref: /aosp_15_r20/external/skia/src/gpu/graphite/compute/BUILD.bazel (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
1load("//bazel:skia_rules.bzl", "skia_filegroup", "split_srcs_and_hdrs")
2
3package(
4    default_applicable_licenses = ["//:license"],
5)
6
7licenses(["notice"])
8
9CORE_FILES = [
10    "ComputeStep.cpp",
11    "ComputeStep.h",
12    "DispatchGroup.cpp",
13    "DispatchGroup.h",
14]
15
16split_srcs_and_hdrs(
17    name = "core",
18    files = CORE_FILES,
19)
20
21VELLO_FILES = [
22    "VelloComputeSteps.cpp",
23    "VelloComputeSteps.h",
24    "VelloRenderer.cpp",
25    "VelloRenderer.h",
26]
27
28split_srcs_and_hdrs(
29    name = "vello",
30    files = VELLO_FILES,
31)
32
33skia_filegroup(
34    name = "compute_hdrs",
35    srcs = [":core_hdrs"],
36    visibility = ["//src/gpu/graphite:__pkg__"],
37)
38
39skia_filegroup(
40    name = "compute_srcs",
41    srcs = [":core_srcs"],
42    visibility = ["//src/gpu/graphite:__pkg__"],
43)
44