[LSC] Add LOCAL_LICENSE_KINDS to prebuilts/vndk/v29 am: 869ac77cf4

Original change: https://android-review.googlesource.com/c/platform/prebuilts/vndk/v29/+/1609794

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I1223464d58b6f8d2a89dc7b1a47bea0f3b064a83
diff --git a/Android.bp b/Android.bp
index b32eb77..55d9679 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,6 +1,45 @@
 // 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",
+        "SPDX-license-identifier-Zlib",
+        "legacy_permissive",
+    ],
+    // large-scale-change unable to identify any license_text files
+}
+
 prebuilt_etc {
     name: "llndk.libraries.29.txt",
     target: {
@@ -90,4 +129,3 @@
         },
     },
 }
-
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..742c2ba 100644
--- a/common/Android.bp
+++ b/common/Android.bp
@@ -1,6 +1,27 @@
 // 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
+    //   SPDX-license-identifier-Zlib
+    //   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",