Debian Codegraph @

include/gpu/vk/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 # This is a separate gropu to make it easier to enforce that Graphite does not
10 # include Ganesh-specific Vulkan headers.
11 PUBLIC_HEADERS = [
12 "VulkanBackendContext.h",
13 "VulkanExtensions.h",
14 "VulkanMemoryAllocator.h",
15 "VulkanMutableTextureState.h",
16 "VulkanPreferredFeatures.h",
17 "VulkanTypes.h",
18 ]
19
20 skia_filegroup(
21 name = "shared_public_hdrs",
22 srcs = PUBLIC_HEADERS,
23 visibility = [
24 "//src/gpu/ganesh/vk:__pkg__",
25 "//src/gpu/vk:__pkg__",
26 ],
27 )
28
29 generate_cpp_files_for_headers(
30 name = "headers_to_compile",
31 headers = PUBLIC_HEADERS,
32 )