xref: /aosp_15_r20/prebuilts/runtime/Android.bp (revision 924841fff420cd6b931e1027ee46b85e0a18fe17)
1*924841ffSAndroid Build Coastguard Worker//
2*924841ffSAndroid Build Coastguard Worker// Copyright (C) 2021 The Android Open Source Project
3*924841ffSAndroid Build Coastguard Worker//
4*924841ffSAndroid Build Coastguard Worker// Licensed under the Apache License, Version 2.0 (the "License");
5*924841ffSAndroid Build Coastguard Worker// you may not use this file except in compliance with the License.
6*924841ffSAndroid Build Coastguard Worker// You may obtain a copy of the License at
7*924841ffSAndroid Build Coastguard Worker//
8*924841ffSAndroid Build Coastguard Worker//      http://www.apache.org/licenses/LICENSE-2.0
9*924841ffSAndroid Build Coastguard Worker//
10*924841ffSAndroid Build Coastguard Worker// Unless required by applicable law or agreed to in writing, software
11*924841ffSAndroid Build Coastguard Worker// distributed under the License is distributed on an "AS IS" BASIS,
12*924841ffSAndroid Build Coastguard Worker// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13*924841ffSAndroid Build Coastguard Worker// See the License for the specific language governing permissions and
14*924841ffSAndroid Build Coastguard Worker// limitations under the License.
15*924841ffSAndroid Build Coastguard Worker
16*924841ffSAndroid Build Coastguard Workerpackage {
17*924841ffSAndroid Build Coastguard Worker    default_applicable_licenses: ["prebuilts_runtime_license"],
18*924841ffSAndroid Build Coastguard Worker}
19*924841ffSAndroid Build Coastguard Worker
20*924841ffSAndroid Build Coastguard Worker// Added automatically by a large-scale-change that took the approach of
21*924841ffSAndroid Build Coastguard Worker// 'apply every license found to every target'. While this makes sure we respect
22*924841ffSAndroid Build Coastguard Worker// every license restriction, it may not be entirely correct.
23*924841ffSAndroid Build Coastguard Worker//
24*924841ffSAndroid Build Coastguard Worker// e.g. GPL in an MIT project might only apply to the contrib/ directory.
25*924841ffSAndroid Build Coastguard Worker//
26*924841ffSAndroid Build Coastguard Worker// Please consider splitting the single license below into multiple licenses,
27*924841ffSAndroid Build Coastguard Worker// taking care not to lose any license_kind information, and overriding the
28*924841ffSAndroid Build Coastguard Worker// default license using the 'licenses: [...]' property on targets as needed.
29*924841ffSAndroid Build Coastguard Worker//
30*924841ffSAndroid Build Coastguard Worker// For unused files, consider creating a 'fileGroup' with "//visibility:private"
31*924841ffSAndroid Build Coastguard Worker// to attach the license to, and including a comment whether the files may be
32*924841ffSAndroid Build Coastguard Worker// used in the current project.
33*924841ffSAndroid Build Coastguard Worker// See: http://go/android-license-faq
34*924841ffSAndroid Build Coastguard Workerlicense {
35*924841ffSAndroid Build Coastguard Worker    name: "prebuilts_runtime_license",
36*924841ffSAndroid Build Coastguard Worker    visibility: [":__subpackages__"],
37*924841ffSAndroid Build Coastguard Worker    license_kinds: [
38*924841ffSAndroid Build Coastguard Worker        "SPDX-license-identifier-Apache-2.0",
39*924841ffSAndroid Build Coastguard Worker        "SPDX-license-identifier-BSD",
40*924841ffSAndroid Build Coastguard Worker        "SPDX-license-identifier-ISC",
41*924841ffSAndroid Build Coastguard Worker        "SPDX-license-identifier-MIT",
42*924841ffSAndroid Build Coastguard Worker        "SPDX-license-identifier-Unicode-DFS",
43*924841ffSAndroid Build Coastguard Worker        "legacy_unencumbered",
44*924841ffSAndroid Build Coastguard Worker    ],
45*924841ffSAndroid Build Coastguard Worker    // large-scale-change unable to identify any license_text files
46*924841ffSAndroid Build Coastguard Worker}
47