Apply licenses with rules_license
This commit is contained in:
15
vendor/dragonbox/BUILD.bazel
vendored
15
vendor/dragonbox/BUILD.bazel
vendored
@ -2,9 +2,24 @@
|
||||
#
|
||||
# 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 = "Dragonbox",
|
||||
package_url = "https://github.com/jk-jeon/dragonbox",
|
||||
)
|
||||
|
||||
cc_library(
|
||||
name = "dragonbox",
|
||||
hdrs = ["dragonbox.h"],
|
||||
includes = ["."],
|
||||
visibility = ["//:__subpackages__"],
|
||||
applicable_licenses = [
|
||||
":license",
|
||||
],
|
||||
)
|
||||
|
Reference in New Issue
Block a user