License handling with rules_license, and upgrade SDL

This commit is contained in:
2025-03-02 23:32:33 +01:00
parent f2e6a3fe77
commit 1e1f61b9e6
7 changed files with 239 additions and 5 deletions

View File

@ -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"],
)