summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Badour <bbadour@google.com>2021-10-29 19:55:26 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-10-29 19:55:26 +0000
commit9626329128cbd735eb66fad1a001868a6de7aef7 (patch)
treeb79f680d4485c995334973ab32f07ba0e620549f
parent2a2cbd70b313ef99a74365a64a0e28cae2523df3 (diff)
parent14fca490b450c6de1356235a4bcb77e4ca2768cf (diff)
downloadv29-9626329128cbd735eb66fad1a001868a6de7aef7.tar.gz
[LSC] Add LOCAL_LICENSE_KINDS to prebuilts/vndk/v29 am: 6997a4abea am: 355b30e8bb am: 14fca490b4
Original change: https://android-review.googlesource.com/c/platform/prebuilts/vndk/v29/+/1875054 Change-Id: I30748e5989eb4ce3403091cfcb2a296fdf48ddad
-rw-r--r--Android.bp39
-rw-r--r--arm/Android.bp10
-rw-r--r--arm/binder32/Android.bp4
-rw-r--r--arm64/Android.bp10
-rw-r--r--common/Android.bp20
-rw-r--r--x86/Android.bp10
-rw-r--r--x86/binder32/Android.bp4
-rw-r--r--x86_64/Android.bp10
8 files changed, 106 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp
index b32eb77..9d7533d 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,6 +1,44 @@
// THIS FILE IS AUTOGENERATED BY development/vndk/snapshot/gen_buildfiles.py
// DO NOT EDIT
+package {
+ default_applicable_licenses: ["prebuilts_vndk_v29_license"],
+}
+
+// Added automatically by a large-scale-change that took the approach of
+// 'apply every license found to every target'. While this makes sure we respect
+// every license restriction, it may not be entirely correct.
+//
+// e.g. GPL in an MIT project might only apply to the contrib/ directory.
+//
+// Please consider splitting the single license below into multiple licenses,
+// taking care not to lose any license_kind information, and overriding the
+// default license using the 'licenses: [...]' property on targets as needed.
+//
+// For unused files, consider creating a 'fileGroup' with "//visibility:private"
+// to attach the license to, and including a comment whether the files may be
+// used in the current project.
+// See: http://go/android-license-faq
+license {
+ name: "prebuilts_vndk_v29_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-Apache-2.0",
+ "SPDX-license-identifier-BSD",
+ "SPDX-license-identifier-GPL",
+ "SPDX-license-identifier-GPL-2.0",
+ "SPDX-license-identifier-ISC",
+ "SPDX-license-identifier-LGPL",
+ "SPDX-license-identifier-LGPL-2.1",
+ "SPDX-license-identifier-LGPL-3.0",
+ "SPDX-license-identifier-MIT",
+ "SPDX-license-identifier-NCSA",
+ "SPDX-license-identifier-OpenSSL",
+ "legacy_permissive",
+ ],
+ // large-scale-change unable to identify any license_text files
+}
+
prebuilt_etc {
name: "llndk.libraries.29.txt",
target: {
@@ -90,4 +128,3 @@ prebuilt_etc {
},
},
}
-
diff --git a/arm/Android.bp b/arm/Android.bp
index 71f7740..049c482 100644
--- a/arm/Android.bp
+++ b/arm/Android.bp
@@ -1,6 +1,16 @@
// THIS FILE IS AUTOGENERATED BY development/vndk/snapshot/gen_buildfiles.py
// DO NOT EDIT
+package {
+ // See: http://go/android-license-faq
+ // A large-scale-change added 'default_applicable_licenses' to import
+ // all of the 'license_kinds' from "prebuilts_vndk_v29_license"
+ // to get the below license kinds:
+ // SPDX-license-identifier-BSD
+ // SPDX-license-identifier-MIT
+ default_applicable_licenses: ["prebuilts_vndk_v29_license"],
+}
+
vndk_prebuilt_shared {
name: "android.frameworks.cameraservice.common@2.0",
version: "29",
diff --git a/arm/binder32/Android.bp b/arm/binder32/Android.bp
index a21e08a..a19e038 100644
--- a/arm/binder32/Android.bp
+++ b/arm/binder32/Android.bp
@@ -1,6 +1,10 @@
// THIS FILE IS AUTOGENERATED BY development/vndk/snapshot/gen_buildfiles.py
// DO NOT EDIT
+package {
+ default_applicable_licenses: ["Android-Apache-2.0"],
+}
+
vndk_prebuilt_shared {
name: "android.frameworks.cameraservice.common@2.0",
version: "29",
diff --git a/arm64/Android.bp b/arm64/Android.bp
index 088a0fa..81b6667 100644
--- a/arm64/Android.bp
+++ b/arm64/Android.bp
@@ -1,6 +1,16 @@
// THIS FILE IS AUTOGENERATED BY development/vndk/snapshot/gen_buildfiles.py
// DO NOT EDIT
+package {
+ // See: http://go/android-license-faq
+ // A large-scale-change added 'default_applicable_licenses' to import
+ // all of the 'license_kinds' from "prebuilts_vndk_v29_license"
+ // to get the below license kinds:
+ // SPDX-license-identifier-BSD
+ // SPDX-license-identifier-MIT
+ default_applicable_licenses: ["prebuilts_vndk_v29_license"],
+}
+
vndk_prebuilt_shared {
name: "android.frameworks.cameraservice.common@2.0",
version: "29",
diff --git a/common/Android.bp b/common/Android.bp
index 5c1718b..6fc3f66 100644
--- a/common/Android.bp
+++ b/common/Android.bp
@@ -1,6 +1,26 @@
// THIS FILE IS AUTOGENERATED BY development/vndk/snapshot/gen_buildfiles.py
// DO NOT EDIT
+package {
+ // See: http://go/android-license-faq
+ // A large-scale-change added 'default_applicable_licenses' to import
+ // all of the 'license_kinds' from "prebuilts_vndk_v29_license"
+ // to get the below license kinds:
+ // SPDX-license-identifier-Apache-2.0
+ // SPDX-license-identifier-BSD
+ // SPDX-license-identifier-GPL
+ // SPDX-license-identifier-GPL-2.0
+ // SPDX-license-identifier-ISC
+ // SPDX-license-identifier-LGPL
+ // SPDX-license-identifier-LGPL-2.1
+ // SPDX-license-identifier-LGPL-3.0
+ // SPDX-license-identifier-MIT
+ // SPDX-license-identifier-NCSA
+ // SPDX-license-identifier-OpenSSL
+ // legacy_permissive
+ default_applicable_licenses: ["prebuilts_vndk_v29_license"],
+}
+
filegroup {
name: "vndk-v29-libaudioroute.so-notice",
srcs: ["NOTICE_FILES/libaudioroute.so.txt"],
diff --git a/x86/Android.bp b/x86/Android.bp
index 5f4b9ee..922f9f6 100644
--- a/x86/Android.bp
+++ b/x86/Android.bp
@@ -1,6 +1,16 @@
// THIS FILE IS AUTOGENERATED BY development/vndk/snapshot/gen_buildfiles.py
// DO NOT EDIT
+package {
+ // See: http://go/android-license-faq
+ // A large-scale-change added 'default_applicable_licenses' to import
+ // all of the 'license_kinds' from "prebuilts_vndk_v29_license"
+ // to get the below license kinds:
+ // SPDX-license-identifier-BSD
+ // SPDX-license-identifier-MIT
+ default_applicable_licenses: ["prebuilts_vndk_v29_license"],
+}
+
vndk_prebuilt_shared {
name: "android.frameworks.cameraservice.common@2.0",
version: "29",
diff --git a/x86/binder32/Android.bp b/x86/binder32/Android.bp
index 94f5234..5eac1bf 100644
--- a/x86/binder32/Android.bp
+++ b/x86/binder32/Android.bp
@@ -1,6 +1,10 @@
// THIS FILE IS AUTOGENERATED BY development/vndk/snapshot/gen_buildfiles.py
// DO NOT EDIT
+package {
+ default_applicable_licenses: ["Android-Apache-2.0"],
+}
+
vndk_prebuilt_shared {
name: "android.frameworks.cameraservice.common@2.0",
version: "29",
diff --git a/x86_64/Android.bp b/x86_64/Android.bp
index b210c0f..aac96e3 100644
--- a/x86_64/Android.bp
+++ b/x86_64/Android.bp
@@ -1,6 +1,16 @@
// THIS FILE IS AUTOGENERATED BY development/vndk/snapshot/gen_buildfiles.py
// DO NOT EDIT
+package {
+ // See: http://go/android-license-faq
+ // A large-scale-change added 'default_applicable_licenses' to import
+ // all of the 'license_kinds' from "prebuilts_vndk_v29_license"
+ // to get the below license kinds:
+ // SPDX-license-identifier-BSD
+ // SPDX-license-identifier-MIT
+ default_applicable_licenses: ["prebuilts_vndk_v29_license"],
+}
+
vndk_prebuilt_shared {
name: "android.frameworks.cameraservice.common@2.0",
version: "29",