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