Debian Codegraph @

include/gpu/ganesh/mtl/BUILD.bazel

raw
1 load("//bazel:skia_rules.bzl", "generate_cpp_files_for_headers", "skia_filegroup")
2
3 package(
4 default_applicable_licenses = ["//:license"],
5 )
6
7 licenses(["notice"])
8
9 PUBLIC_HEADERS = [
10 "GrMtlBackendContext.h",
11 "GrMtlBackendSemaphore.h",
12 "GrMtlBackendSurface.h",
13 "GrMtlDirectContext.h",
14 "GrMtlTypes.h",
15 "SkSurfaceMetal.h",
16 ]
17
18 skia_filegroup(
19 name = "public_hdrs",
20 srcs = PUBLIC_HEADERS,
21 visibility = [
22 "//include/gpu/ganesh:__pkg__",
23 "//src/gpu/ganesh/mtl:__pkg__",
24 ],
25 )
26
27 generate_cpp_files_for_headers(
28 name = "headers_to_compile",
29 headers = PUBLIC_HEADERS,
30 )