xref: /aosp_15_r20/external/skia/include/gpu/vk/BUILD.bazel (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
1load("//bazel:skia_rules.bzl", "generate_cpp_files_for_headers", "skia_filegroup")
2
3package(
4    default_applicable_licenses = ["//:license"],
5)
6
7licenses(["notice"])
8
9# This is a separate gropu to make it easier to enforce that Graphite does not
10# include Ganesh-specific Vulkan headers.
11skia_filegroup(
12    name = "shared_public_hdrs",
13    srcs = [
14        "VulkanBackendContext.h",
15        "VulkanExtensions.h",
16        "VulkanMemoryAllocator.h",
17        "VulkanMutableTextureState.h",
18        "VulkanTypes.h",
19    ],
20    visibility = [
21        "//src/gpu/ganesh/vk:__pkg__",
22        "//src/gpu/vk:__pkg__",
23    ],
24)
25
26generate_cpp_files_for_headers(
27    name = "headers_to_compile",
28    headers = [
29        "VulkanBackendContext.h",
30        "VulkanMemoryAllocator.h",
31        "VulkanTypes.h",
32    ],
33)
34