aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Aiuto <aiuto@google.com>2023-03-21 16:32:58 -0400
committerTony Aiuto <aiuto@google.com>2023-03-21 16:32:58 -0400
commite6d8fbab69597623e499350d548f069ace2b6c29 (patch)
tree78535976c467b82b1ffb983da45e1ba00ea70523
parent601716257153d373b4545e6fe0a990ac920b351f (diff)
downloadbazelbuild-rules_license-e6d8fbab69597623e499350d548f069ace2b6c29.tar.gz
remove duplicate definition of the licnense rule because it is confusing
-rw-r--r--rules/license_impl.bzl34
1 files changed, 0 insertions, 34 deletions
diff --git a/rules/license_impl.bzl b/rules/license_impl.bzl
index 457af13..03477c6 100644
--- a/rules/license_impl.bzl
+++ b/rules/license_impl.bzl
@@ -45,37 +45,3 @@ def license_rule_impl(ctx):
)
_debug(0, provider)
return [provider]
-
-license_impl = rule(
- implementation = license_rule_impl,
- attrs = {
- "license_kinds": attr.label_list(
- mandatory = False,
- doc = "License kind(s) of this license. If multiple license kinds are" +
- " listed in the LICENSE file, and they all apply, then all" +
- " should be listed here. If the user can choose a single one" +
- " of many, then only list one here.",
- providers = [LicenseKindInfo],
- cfg = "exec",
- ),
- "copyright_notice": attr.string(
- doc = "Copyright notice.",
- ),
- "license_text": attr.label(
- allow_single_file = True,
- default = "LICENSE",
- doc = "The license file.",
- ),
- "package_name": attr.string(
- doc = "A human readable name identifying this package." +
- " This may be used to produce an index of OSS packages used by" +
- " an applicatation.",
- ),
- "namespace": attr.string(
- doc = "A human readable name used to organize licenses into categories." +
- " This is used in google3 to differentiate third party licenses used" +
- " for compliance versus internal licenses used by SLAsan for internal" +
- " teams' SLAs.",
- ),
- },
-)