| 1 |
# This file will be copied into //third_party/externals/vulkan_headers via the git_repository |
| 2 |
# rule in WORKSPACE.bazel, so all files should be relative to that path. |
| 3 |
|
| 4 |
load("@rules_cc//cc:cc_library.bzl", "cc_library") |
| 5 |
|
| 6 |
cc_library( |
| 7 |
name = "vulkan_headers", |
| 8 |
srcs = [ |
| 9 |
# As of https://github.com/KhronosGroup/Vulkan-Headers/commit/00671c64ba5c488ade22ad572a0ef81d5e64c803 |
| 10 |
# these are included by vulkan_core.h, but Skia doesn't need to include them directly. |
| 11 |
"include/vk_video/vulkan_video_codec_av1std.h", |
| 12 |
"include/vk_video/vulkan_video_codec_av1std_decode.h", |
| 13 |
"include/vk_video/vulkan_video_codec_av1std_encode.h", |
| 14 |
"include/vk_video/vulkan_video_codec_h264std.h", |
| 15 |
"include/vk_video/vulkan_video_codec_h264std_decode.h", |
| 16 |
"include/vk_video/vulkan_video_codec_h264std_encode.h", |
| 17 |
"include/vk_video/vulkan_video_codec_h265std.h", |
| 18 |
"include/vk_video/vulkan_video_codec_h265std_decode.h", |
| 19 |
"include/vk_video/vulkan_video_codec_h265std_encode.h", |
| 20 |
"include/vk_video/vulkan_video_codecs_common.h", |
| 21 |
# As of https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Headers/+/2642d51e1e9230720a74d8c76bc7b301e69881bf |
| 22 |
# these are also included by vulkan_core.h but not required for Skia. |
| 23 |
"include/vk_video/vulkan_video_codec_vp9std_decode.h", |
| 24 |
"include/vk_video/vulkan_video_codec_vp9std.h", |
| 25 |
], |
| 26 |
hdrs = [ |
| 27 |
"include/vulkan/vk_platform.h", |
| 28 |
"include/vulkan/vulkan.h", |
| 29 |
"include/vulkan/vulkan_android.h", |
| 30 |
"include/vulkan/vulkan_core.h", |
| 31 |
"include/vulkan/vulkan_xcb.h", |
| 32 |
], |
| 33 |
includes = ["include"], |
| 34 |
visibility = ["//visibility:public"], |
| 35 |
) |