summaryrefslogtreecommitdiff
path: root/vendor/vulkan/BUILD.bazel
diff options
context:
space:
mode:
authorSteven Le Rouzic <steven.lerouzic@gmail.com>2025-03-02 23:32:33 +0100
committerSteven Le Rouzic <steven.lerouzic@gmail.com>2025-03-02 23:32:33 +0100
commit1e1f61b9e6461cef21cf23979ff4fab7a6c914bd (patch)
treec615b1dc4173a07bccf63e137fd45bc769c5459c /vendor/vulkan/BUILD.bazel
parentf2e6a3fe77c4cce806c9b78b853554c9230c5d49 (diff)
License handling with rules_license, and upgrade SDL
Diffstat (limited to 'vendor/vulkan/BUILD.bazel')
-rw-r--r--vendor/vulkan/BUILD.bazel13
1 files changed, 13 insertions, 0 deletions
diff --git a/vendor/vulkan/BUILD.bazel b/vendor/vulkan/BUILD.bazel
index 791ed15..0a1a15a 100644
--- a/vendor/vulkan/BUILD.bazel
+++ b/vendor/vulkan/BUILD.bazel
@@ -2,6 +2,18 @@
#
# 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 = [
@@ -13,4 +25,5 @@ cc_library(
".",
],
visibility = ["//:__subpackages__"],
+ applicable_licenses = [":license"],
)