1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Copyright 2025 Steven Le Rouzic
#
# SPDX-License-Identifier: BSD-3-Clause
load("@rules_license//rules:license.bzl", "license")
license(
name = "license",
license_kinds = [
"@rules_license//licenses/spdx:Apache-2.0",
],
license_text = "LICENSE.txt",
package_name = "Vulkan",
package_url = "https://github.com/KhronosGroup/Vulkan-Docs",
)
cc_library(
name = "vulkan",
hdrs = [
"vk_platform.h",
"vulkan.h",
"vulkan_core.h",
],
defines = [
"VK_NO_STDDER_H",
"VK_NO_STDINT_H",
"VK_NO_PROTOTYPES",
],
includes = [
".",
],
visibility = ["//:__subpackages__"],
applicable_licenses = [":license"],
)
|