35 lines
754 B
Python
35 lines
754 B
Python
# 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"],
|
|
)
|