License handling with rules_license, and upgrade SDL
This commit is contained in:
13
vendor/vulkan/BUILD.bazel
vendored
13
vendor/vulkan/BUILD.bazel
vendored
@ -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"],
|
||||
)
|
||||
|
Reference in New Issue
Block a user