Skip to content

Commit d69ad69

Browse files
committed
[LSC] Add LOCAL_LICENSE_KINDS to system/core
Added SPDX-license-identifier-Apache-2.0 to: bootstat/Android.bp cli-test/Android.bp code_coverage/Android.bp cpio/Android.bp debuggerd/crasher/Android.bp debuggerd/proto/Android.bp diagnose_usb/Android.bp fs_mgr/libdm/Android.bp fs_mgr/libfiemap/Android.bp fs_mgr/liblp/Android.bp fs_mgr/libsnapshot/Android.bp fs_mgr/libstorage_literals/Android.bp fs_mgr/libvbmeta/Android.bp fs_mgr/tests/Android.bp fs_mgr/tools/Android.bp gatekeeperd/Android.bp healthd/Android.bp healthd/testdata/Android.bp init/Android.bp init/Android.mk init/sysprop/Android.bp init/test_kill_services/Android.bp init/test_service/Android.bp libappfuse/Android.bp libasyncio/Android.bp libbinderwrapper/Android.bp libcrypto_utils/Android.bp libcrypto_utils/tests/Android.bp libdiskconfig/Android.bp libgrallocusage/Android.bp libkeyutils/mini_keyctl/Android.bp libmodprobe/Android.bp libnetutils/Android.bp libpackagelistparser/Android.bp libprocessgroup/Android.bp libprocessgroup/cgrouprc/Android.bp libprocessgroup/cgrouprc_format/Android.bp libprocessgroup/profiles/Android.bp libprocessgroup/setup/Android.bp libqtaguid/Android.bp libsparse/Android.bp libstats/push_compat/Android.bp libsuspend/Android.bp libsync/Android.bp libsystem/Android.bp libsysutils/Android.bp libusbhost/Android.bp libutils/Android.bp libvndksupport/Android.bp libvndksupport/tests/Android.bp llkd/Android.bp llkd/tests/Android.bp property_service/libpropertyinfoparser/Android.bp property_service/libpropertyinfoserializer/Android.bp property_service/property_info_checker/Android.bp qemu_pipe/Android.bp reboot/Android.bp rootdir/Android.bp rootdir/Android.mk rootdir/avb/Android.bp rootdir/avb/Android.mk run-as/Android.bp sdcard/Android.bp set-verity-state/Android.bp shell_and_utilities/Android.bp storaged/Android.bp toolbox/Android.bp trusty/apploader/Android.bp trusty/confirmationui/Android.bp trusty/confirmationui/fuzz/Android.bp trusty/coverage/Android.bp trusty/fuzz/Android.bp trusty/fuzz/test/Android.bp trusty/gatekeeper/Android.bp trusty/gatekeeper/fuzz/Android.bp trusty/keymaster/Android.bp trusty/keymaster/fuzz/Android.bp trusty/libtrusty/Android.bp trusty/libtrusty/tipc-test/Android.bp trusty/secure_dpu/Android.bp trusty/storage/interface/Android.bp trusty/storage/lib/Android.bp trusty/storage/proxy/Android.bp trusty/storage/tests/Android.bp trusty/utils/spiproxyd/Android.bp trusty/utils/trusty-ut-ctrl/Android.bp usbd/Android.bp watchdogd/Android.bp Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD to: debuggerd/Android.bp fastboot/Android.bp libkeyutils/Android.bp Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD SPDX-license-identifier-MIT to: libcutils/Android.bp Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-MIT to: fs_mgr/Android.bp fs_mgr/libfs_avb/Android.bp trusty/Android.bp trusty/utils/rpmb_dev/Android.bp Added SPDX-license-identifier-BSD to: fastboot/fuzzy_fastboot/Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: Id740a7d2884556081fdb68876584b25eb95e1bef
1 parent d57652f commit d69ad69

File tree

97 files changed

+695
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

97 files changed

+695
-2
lines changed

bootstat/Android.bp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
// limitations under the License.
1515
//
1616

17+
package {
18+
default_applicable_licenses: ["Android-Apache-2.0"],
19+
}
20+
1721
bootstat_lib_src_files = [
1822
"boot_event_record_store.cpp",
1923
]

cli-test/Android.bp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
package {
2+
default_applicable_licenses: ["Android-Apache-2.0"],
3+
}
4+
15
cc_binary {
26
name: "cli-test",
37
host_supported: true,

code_coverage/Android.bp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11

2+
package {
3+
default_applicable_licenses: ["Android-Apache-2.0"],
4+
}
5+
26
prebuilt_etc {
37
name: "code_coverage.policy",
48
sub_dir: "seccomp_policy",

cpio/Android.bp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
// Copyright 2005 The Android Open Source Project
22

3+
package {
4+
default_applicable_licenses: ["Android-Apache-2.0"],
5+
}
6+
37
cc_binary_host {
48
name: "mkbootfs",
59
srcs: ["mkbootfs.c"],

debuggerd/Android.bp

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,31 @@
1+
package {
2+
default_applicable_licenses: ["system_core_debuggerd_license"],
3+
}
4+
5+
// Added automatically by a large-scale-change that took the approach of
6+
// 'apply every license found to every target'. While this makes sure we respect
7+
// every license restriction, it may not be entirely correct.
8+
//
9+
// e.g. GPL in an MIT project might only apply to the contrib/ directory.
10+
//
11+
// Please consider splitting the single license below into multiple licenses,
12+
// taking care not to lose any license_kind information, and overriding the
13+
// default license using the 'licenses: [...]' property on targets as needed.
14+
//
15+
// For unused files, consider creating a 'fileGroup' with "//visibility:private"
16+
// to attach the license to, and including a comment whether the files may be
17+
// used in the current project.
18+
// See: http://go/android-license-faq
19+
license {
20+
name: "system_core_debuggerd_license",
21+
visibility: [":__subpackages__"],
22+
license_kinds: [
23+
"SPDX-license-identifier-Apache-2.0",
24+
"SPDX-license-identifier-BSD",
25+
],
26+
// large-scale-change unable to identify any license_text files
27+
}
28+
129
cc_defaults {
230
name: "debuggerd_defaults",
331
cflags: [

debuggerd/crasher/Android.bp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
package {
2+
default_applicable_licenses: ["Android-Apache-2.0"],
3+
}
4+
15
cc_defaults {
26
name: "crasher-defaults",
37

debuggerd/proto/Android.bp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
package {
2+
default_applicable_licenses: ["Android-Apache-2.0"],
3+
}
4+
15
filegroup {
26
name: "libtombstone_proto-src",
37
srcs: ["tombstone.proto"],

diagnose_usb/Android.bp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
package {
2+
default_applicable_licenses: ["Android-Apache-2.0"],
3+
}
4+
15
cc_library_static {
26
name: "libdiagnose_usb",
37
cflags: ["-Wall", "-Wextra", "-Werror"],

fastboot/Android.bp

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,34 @@
1414

1515
// This is required because no Android.bp can include a library defined in an
1616
// Android.mk. Eventually should kill libfastboot (defined in Android.mk)
17+
package {
18+
default_applicable_licenses: ["system_core_fastboot_license"],
19+
}
20+
21+
// Added automatically by a large-scale-change that took the approach of
22+
// 'apply every license found to every target'. While this makes sure we respect
23+
// every license restriction, it may not be entirely correct.
24+
//
25+
// e.g. GPL in an MIT project might only apply to the contrib/ directory.
26+
//
27+
// Please consider splitting the single license below into multiple licenses,
28+
// taking care not to lose any license_kind information, and overriding the
29+
// default license using the 'licenses: [...]' property on targets as needed.
30+
//
31+
// For unused files, consider creating a 'fileGroup' with "//visibility:private"
32+
// to attach the license to, and including a comment whether the files may be
33+
// used in the current project.
34+
// See: http://go/android-license-faq
35+
license {
36+
name: "system_core_fastboot_license",
37+
visibility: [":__subpackages__"],
38+
license_kinds: [
39+
"SPDX-license-identifier-Apache-2.0",
40+
"SPDX-license-identifier-BSD",
41+
],
42+
// large-scale-change unable to identify any license_text files
43+
}
44+
1745
cc_library_host_static {
1846
name: "libfastboot2",
1947

fastboot/fuzzy_fastboot/Android.bp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
package {
2+
// See: http://go/android-license-faq
3+
// A large-scale-change added 'default_applicable_licenses' to import
4+
// all of the 'license_kinds' from "system_core_fastboot_license"
5+
// to get the below license kinds:
6+
// SPDX-license-identifier-BSD
7+
default_applicable_licenses: ["system_core_fastboot_license"],
8+
}
9+
110
cc_test_host {
211
name: "fuzzy_fastboot",
312
compile_multilib: "first",

0 commit comments

Comments
 (0)