• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2022 The Bazel Authors. All rights reserved.
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7#    http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15"""License declaration and compliance checking tools."""
16
17package(
18    default_applicable_licenses = ["//:license", "//:package_info"],
19    default_visibility = ["//visibility:public"],
20)
21
22licenses(["notice"])
23
24filegroup(
25    name = "standard_package",
26    srcs = glob(["**"]),
27    visibility = ["//distro:__pkg__"],
28)
29
30exports_files(["diff_test.sh"])
31
32py_binary(
33    name = "checker_demo",
34    srcs = ["checker_demo.py"],
35    python_version = "PY3",
36    visibility = ["//visibility:public"],
37)
38
39py_binary(
40    name = "write_sbom",
41    srcs = ["write_sbom.py"],
42    python_version = "PY3",
43    visibility = ["//visibility:public"],
44)
45