Debian Codegraph @

src/gpu/graphite/compute/BUILD.bazel

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