summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Badour <bbadour@google.com>2021-03-01 17:26:19 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-03-01 17:26:19 +0000
commit71fc857c9f94ae423a076f05080074f7dc7c47d0 (patch)
treec0115a8b4a21d204ab8de36b503435fe4307467c
parent5199e87c63492ba39aa9b07006b7306eba82b877 (diff)
parent4d92c8b63100061a92d63e186ccdae0f76f2e5c6 (diff)
downloadv28-71fc857c9f94ae423a076f05080074f7dc7c47d0.tar.gz
[LSC] Add LOCAL_LICENSE_KINDS to prebuilts/vndk/v28 am: cd19db4289 am: 6f4a105ff2 am: 81fda64cd8 am: 4d92c8b631android-mainline-12.0.0_r5android-mainline-12.0.0_r39android-mainline-12.0.0_r22android-mainline-12.0.0_r19
Original change: https://android-review.googlesource.com/c/platform/prebuilts/vndk/v28/+/1609814 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Id87248559a9d2495c6e17f191f00c2c6710decbb
-rw-r--r--Android.bp39
-rw-r--r--arm/Android.bp4
-rw-r--r--arm/binder32/Android.bp4
-rw-r--r--arm64/Android.bp4
-rw-r--r--common/Android.bp20
-rw-r--r--x86/Android.bp4
-rw-r--r--x86/binder32/Android.bp4
-rw-r--r--x86_64/Android.bp4
8 files changed, 82 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp
index d7e6c64..683c24c 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_v28_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_v28_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-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",
+ "SPDX-license-identifier-Zlib",
+ "legacy_permissive",
+ ],
+ // large-scale-change unable to identify any license_text files
+}
+
prebuilt_etc {
name: "llndk.libraries.28.txt",
target: {
@@ -155,4 +193,3 @@ cc_prebuilt_library_shared {
},
},
}
-
diff --git a/arm/Android.bp b/arm/Android.bp
index 7e57f8d..5543e5d 100644
--- a/arm/Android.bp
+++ b/arm/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.displayservice@1.0",
version: "28",
diff --git a/arm/binder32/Android.bp b/arm/binder32/Android.bp
index afba24d..0c67f56 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.displayservice@1.0",
version: "28",
diff --git a/arm64/Android.bp b/arm64/Android.bp
index 5c3853c..0ceadc4 100644
--- a/arm64/Android.bp
+++ b/arm64/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.displayservice@1.0",
version: "28",
diff --git a/common/Android.bp b/common/Android.bp
index fd96901..e3ec25a 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_v28_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-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
+ // SPDX-license-identifier-Zlib
+ // legacy_permissive
+ default_applicable_licenses: ["prebuilts_vndk_v28_license"],
+}
+
filegroup {
name: "vndk-v28-libaudioroute.so-notice",
srcs: ["NOTICE_FILES/libaudioroute.so.txt"],
diff --git a/x86/Android.bp b/x86/Android.bp
index 8fd25a8..8267527 100644
--- a/x86/Android.bp
+++ b/x86/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.displayservice@1.0",
version: "28",
diff --git a/x86/binder32/Android.bp b/x86/binder32/Android.bp
index 87a36c0..8622abe 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.displayservice@1.0",
version: "28",
diff --git a/x86_64/Android.bp b/x86_64/Android.bp
index 6794e98..fddda87 100644
--- a/x86_64/Android.bp
+++ b/x86_64/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.displayservice@1.0",
version: "28",