xref: /aosp_15_r20/system/security/Android.bp (revision e1997b9af69e3155ead6e072d106a0077849ffba)
1*e1997b9aSAndroid Build Coastguard Workerpackage {
2*e1997b9aSAndroid Build Coastguard Worker    default_applicable_licenses: ["system_security_license"],
3*e1997b9aSAndroid Build Coastguard Worker}
4*e1997b9aSAndroid Build Coastguard Worker
5*e1997b9aSAndroid Build Coastguard Worker// Added automatically by a large-scale-change that took the approach of
6*e1997b9aSAndroid Build Coastguard Worker// 'apply every license found to every target'. While this makes sure we respect
7*e1997b9aSAndroid Build Coastguard Worker// every license restriction, it may not be entirely correct.
8*e1997b9aSAndroid Build Coastguard Worker//
9*e1997b9aSAndroid Build Coastguard Worker// e.g. GPL in an MIT project might only apply to the contrib/ directory.
10*e1997b9aSAndroid Build Coastguard Worker//
11*e1997b9aSAndroid Build Coastguard Worker// Please consider splitting the single license below into multiple licenses,
12*e1997b9aSAndroid Build Coastguard Worker// taking care not to lose any license_kind information, and overriding the
13*e1997b9aSAndroid Build Coastguard Worker// default license using the 'licenses: [...]' property on targets as needed.
14*e1997b9aSAndroid Build Coastguard Worker//
15*e1997b9aSAndroid Build Coastguard Worker// For unused files, consider creating a 'fileGroup' with "//visibility:private"
16*e1997b9aSAndroid Build Coastguard Worker// to attach the license to, and including a comment whether the files may be
17*e1997b9aSAndroid Build Coastguard Worker// used in the current project.
18*e1997b9aSAndroid Build Coastguard Worker// See: http://go/android-license-faq
19*e1997b9aSAndroid Build Coastguard Workerlicense {
20*e1997b9aSAndroid Build Coastguard Worker    name: "system_security_license",
21*e1997b9aSAndroid Build Coastguard Worker    visibility: [":__subpackages__"],
22*e1997b9aSAndroid Build Coastguard Worker    license_kinds: [
23*e1997b9aSAndroid Build Coastguard Worker        "SPDX-license-identifier-Apache-2.0",
24*e1997b9aSAndroid Build Coastguard Worker        "SPDX-license-identifier-BSD",
25*e1997b9aSAndroid Build Coastguard Worker    ],
26*e1997b9aSAndroid Build Coastguard Worker    license_text: [
27*e1997b9aSAndroid Build Coastguard Worker        "NOTICE",
28*e1997b9aSAndroid Build Coastguard Worker    ],
29*e1997b9aSAndroid Build Coastguard Worker}
30*e1997b9aSAndroid Build Coastguard Worker
31*e1997b9aSAndroid Build Coastguard Workersubdirs = ["*"]
32