diff options
author | Sasha Smundak <asmundak@google.com> | 2022-09-17 03:07:33 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2022-09-17 03:07:33 +0000 |
commit | 8a99d2b6dff36f04be445f3c5e8f69874da57a04 (patch) | |
tree | c87a7c540efe9da13cb94870d8e09efeba88f63f /BUILD | |
parent | 56590b14f8ec08644614fa10ac9cdc17abd8eee9 (diff) | |
parent | df3b8d7aa1d57f6ee108a023e90860f1e372cb4b (diff) | |
download | bazelbuild-rules_license-8a99d2b6dff36f04be445f3c5e8f69874da57a04.tar.gz |
Merge remote-tracking branch 'aosp/upstream-main' into notice am: d5f1fc8147 am: 64bd397324 am: 50783bf43b am: e66c3e756d am: df3b8d7aa1
Original change: https://android-review.googlesource.com/c/platform/external/bazelbuild-rules_license/+/2189019
Change-Id: Ia6eec35387b885fdb37d7dda99722511a43e093b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'BUILD')
-rw-r--r-- | BUILD | 52 |
1 files changed, 52 insertions, 0 deletions
@@ -0,0 +1,52 @@ +# Copyright 2022 The Bazel Authors. All rights reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +load("@rules_license//rules:license.bzl", "license") + +package( + default_applicable_licenses = [":license"], + default_visibility = ["//visibility:public"], +) + +license( + name = "license", + license_kinds = [ + "@rules_license//licenses/spdx:Apache-2.0", + ], + license_text = "LICENSE", +) + +exports_files( + ["WORKSPACE"], + visibility = ["//visibility:public"], +) + +exports_files( + glob([ + "*.bzl", + ]), + visibility = ["//visibility:public"], +) + +filegroup( + name = "standard_package", + srcs = glob([ + "*.bzl", + "*.md", + ]) + [ + "BUILD", + "LICENSE", + ], + visibility = ["//distro:__pkg__"], +) |