Snap for 7178253 from 4d92c8b63100061a92d63e186ccdae0f76f2e5c6 to sc-release

Change-Id: If40af00c1821a491a88a287365ede73e5e198c51
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 @@
         },
     },
 }
-
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",