Skip to content
This repository was archived by the owner on Dec 21, 2024. It is now read-only.

Commit eef2238

Browse files
committed
Merge remote-tracking branch 'upstream/master'
* upstream/master: [LSC] Add LOCAL_LICENSE_KINDS to external/sqlite
2 parents b6b248f + 22c6056 commit eef2238

File tree

3 files changed

+75
-0
lines changed

3 files changed

+75
-0
lines changed

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: ["external_sqlite_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: "external_sqlite_license",
21+
visibility: [":__subpackages__"],
22+
license_kinds: [
23+
"SPDX-license-identifier-Apache-2.0",
24+
"legacy_permissive",
25+
],
26+
// large-scale-change unable to identify any license_text files
27+
}
28+
129
subdirs = [
230
"android",
331
"dist",

android/Android.bp

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
package {
2+
default_applicable_licenses: ["external_sqlite_android_license"],
3+
}
4+
5+
// Added automatically by a large-scale-change
6+
// See: http://go/android-license-faq
7+
license {
8+
name: "external_sqlite_android_license",
9+
visibility: [":__subpackages__"],
10+
license_kinds: [
11+
"SPDX-license-identifier-Apache-2.0",
12+
],
13+
license_text: [
14+
"NOTICE",
15+
],
16+
}
17+
118
cc_library_static {
219
name: "libsqlite3_android",
320
vendor_available: true,

dist/Android.bp

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,36 @@
44
//
55
//
66

7+
package {
8+
default_applicable_licenses: ["external_sqlite_dist_license"],
9+
}
10+
11+
// Added automatically by a large-scale-change that took the approach of
12+
// 'apply every license found to every target'. While this makes sure we respect
13+
// every license restriction, it may not be entirely correct.
14+
//
15+
// e.g. GPL in an MIT project might only apply to the contrib/ directory.
16+
//
17+
// Please consider splitting the single license below into multiple licenses,
18+
// taking care not to lose any license_kind information, and overriding the
19+
// default license using the 'licenses: [...]' property on targets as needed.
20+
//
21+
// For unused files, consider creating a 'fileGroup' with "//visibility:private"
22+
// to attach the license to, and including a comment whether the files may be
23+
// used in the current project.
24+
// See: http://go/android-license-faq
25+
license {
26+
name: "external_sqlite_dist_license",
27+
visibility: [":__subpackages__"],
28+
license_kinds: [
29+
"legacy_permissive",
30+
"legacy_unencumbered",
31+
],
32+
license_text: [
33+
"NOTICE",
34+
],
35+
}
36+
737
cc_defaults {
838
name: "sqlite-minimal-defaults",
939
host_supported: true,

0 commit comments

Comments
 (0)