From 1e1f61b9e6461cef21cf23979ff4fab7a6c914bd Mon Sep 17 00:00:00 2001 From: Steven Le Rouzic Date: Sun, 2 Mar 2025 23:32:33 +0100 Subject: License handling with rules_license, and upgrade SDL --- vendor/vulkan/BUILD.bazel | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'vendor/vulkan/BUILD.bazel') 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"], ) -- cgit