• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1load("//bazel:skia_rules.bzl", "exports_files_legacy", "generate_cpp_files_for_headers", "skia_filegroup")
2
3package(
4    default_applicable_licenses = ["//:license"],
5)
6
7licenses(["notice"])
8
9exports_files_legacy()
10
11# In own group for mapping to //gn/gpu.gni:skia_direct3d_sources.
12skia_filegroup(
13    name = "d3d_private_hdrs",
14    srcs = ["GrD3DTypesMinimal.h"],
15)
16
17skia_filegroup(
18    name = "private_hdrs",
19    srcs = [
20        "GrContext_Base.h",
21        "GrImageContext.h",
22        "GrTextureGenerator.h",
23        "GrTypesPriv.h",
24    ],
25    visibility = [
26        "//include/private/gpu:__pkg__",
27        "//src/gpu/ganesh:__pkg__",
28    ],
29)
30
31generate_cpp_files_for_headers(
32    name = "headers_to_compile",
33    headers = [
34        "GrTextureGenerator.h",
35        "GrTypesPriv.h",
36    ],
37)
38