• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1package(default_visibility = ["//visibility:private"])
2
3filegroup(
4    name = "base-hdrs",
5    srcs = [
6        "GrBackendDrawableInfo.h",
7        "GrBackendSemaphore.h",
8        "GrBackendSurface.h",
9        "GrBackendSurfaceMutableState.h",
10        "GrConfig.h",
11        "GrContextOptions.h",
12        "GrContextThreadSafeProxy.h",
13        "GrDirectContext.h",
14        "GrDriverBugWorkarounds.h",
15        "GrDriverBugWorkaroundsAutogen.h",
16        "GrRecordingContext.h",
17        "GrSurfaceInfo.h",
18        "GrTypes.h",
19        "GrYUVABackendTextures.h",
20    ],
21)
22
23filegroup(
24    name = "direct3d-hdrs",
25    srcs = [
26        "d3d/GrD3DBackendContext.h",
27        "d3d/GrD3DTypes.h",
28    ],
29)
30
31filegroup(
32    name = "dawn-hdrs",
33    srcs = [
34        "dawn/GrDawnTypes.h",
35    ],
36)
37
38filegroup(
39    name = "gl-hdrs",
40    srcs = [
41        "gl/GrGLAssembleHelpers.h",
42        "gl/GrGLAssembleInterface.h",
43        "gl/GrGLConfig.h",
44        "gl/GrGLConfig_chrome.h",
45        "gl/GrGLExtensions.h",
46        "gl/GrGLFunctions.h",
47        "gl/GrGLInterface.h",
48        "gl/GrGLTypes.h",
49    ],
50)
51
52filegroup(
53    name = "egl-hdrs",
54    srcs = [
55        "gl/egl/GrGLMakeEGLInterface.h",
56    ],
57)
58
59filegroup(
60    name = "glx-hdrs",
61    srcs = [
62        "gl/glx/GrGLMakeGLXInterface.h",
63    ],
64)
65
66filegroup(
67    name = "mock-hdrs",
68    srcs = [
69        "mock/GrMockTypes.h",
70    ],
71    visibility = ["//:__subpackages__"],
72)
73
74filegroup(
75    name = "metal-hdrs",
76    srcs = [
77        "mtl/GrMtlBackendContext.h",
78        "mtl/GrMtlTypes.h",
79    ],
80)
81
82filegroup(
83    name = "vulkan-hdrs",
84    srcs = [
85        "vk/GrVkBackendContext.h",
86        "vk/GrVkExtensions.h",
87        "vk/GrVkMemoryAllocator.h",
88        "vk/GrVkTypes.h",
89        "vk/GrVkVulkan.h",
90    ],
91)
92
93filegroup(
94    name = "hdrs",
95    srcs = [
96        ":base-hdrs",
97    ] + select({
98        "//bazel/common_config_settings:gl_backend": [":gl-hdrs"],
99        "//conditions:default": [],
100    }) + select({
101        "//bazel/common_config_settings:vulkan_backend": [":vulkan-hdrs"],
102        "//conditions:default": [],
103    }),
104    visibility = ["//:__subpackages__"],
105)
106