blob: 5fab3ff066aa899fbd82fe44e1933e82ca45690e [file] [log] [blame]
load("//bazel:skia_rules.bzl", "exports_files_legacy", "skia_filegroup")
package(
default_applicable_licenses = ["//:license"],
)
licenses(["notice"])
exports_files_legacy()
# This is a separate gropu to make it easier to enforce that Graphite does not
# include Ganesh-specific Vulkan headers.
skia_filegroup(
name = "shared_public_hdrs",
srcs = [
"VulkanBackendContext.h",
"VulkanExtensions.h",
"VulkanMemoryAllocator.h",
"VulkanMutableTextureState.h",
"VulkanTypes.h",
],
)
# These are Ganesh specific. In a perfect world, we'd move these to
# //include/gpu/ganesh/vk, but that involves updating several clients.
skia_filegroup(
name = "ganesh_public_hdrs",
srcs = [
"GrVkBackendContext.h",
"GrVkExtensions.h",
"GrVkMemoryAllocator.h",
"GrVkTypes.h",
],
)
# Group is exported to //gn/gpu.gni:skia_gpu_vk_public.
skia_filegroup(
name = "public_hdrs",
srcs = [
":ganesh_public_hdrs",
":shared_public_hdrs",
],
visibility = [
"//include/gpu:__pkg__",
"//src/gpu/ganesh/vk:__pkg__",
],
)