aboutsummaryrefslogtreecommitdiff
path: root/licenses/generic/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'licenses/generic/BUILD')
-rw-r--r--licenses/generic/BUILD20
1 files changed, 15 insertions, 5 deletions
diff --git a/licenses/generic/BUILD b/licenses/generic/BUILD
index ba95d52..def2334 100644
--- a/licenses/generic/BUILD
+++ b/licenses/generic/BUILD
@@ -37,16 +37,18 @@
# of the well known licenses in @rules_license//licenses/spdx:*
load("@rules_license//rules:license_kind.bzl", "license_kind")
-filegroup(
- name = "standard_package",
- srcs = ["BUILD"],
-)
-
package(
default_applicable_licenses = ["//:license"],
default_visibility = ["//visibility:public"],
)
+licenses(["notice"])
+
+filegroup(
+ name = "standard_package",
+ srcs = ["BUILD"],
+)
+
# "none" should be used for packages which are distributed with no license of
# any kind. You can use this no-op license as a positive indication that the
# code's license terms were reviewed, so that linters will not flag it later as
@@ -84,6 +86,14 @@ license_kind(
],
)
+# See: https://opensource.google/docs/thirdparty/licenses/#restricted
+license_kind(
+ name = "restricted",
+ conditions = [
+ "restricted",
+ ],
+)
+
# See: https://opensource.google/docs/thirdparty/licenses/#ByExceptionOnly
license_kind(
name = "by_exception_only",