Merge "[LSC] Add LOCAL_LICENSE_KINDS to packages/apps/Gallery" am: d6e23e4d83 am: c03fa8b990
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Gallery/+/1588409
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I5423492705a6dac8a81caf23430875ff1b76d023
diff --git a/Android.bp b/Android.bp
index 5217736..f498677 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,3 +1,20 @@
+package {
+ default_applicable_licenses: ["packages_apps_Gallery_license"],
+}
+
+// Added automatically by a large-scale-change
+// See: http://go/android-license-faq
+license {
+ name: "packages_apps_Gallery_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-Apache-2.0",
+ ],
+ license_text: [
+ "NOTICE",
+ ],
+}
+
android_app {
name: "Gallery",
srcs: ["src/**/*.java"],
diff --git a/tests/Android.bp b/tests/Android.bp
index e5879ac..53bde64 100644
--- a/tests/Android.bp
+++ b/tests/Android.bp
@@ -1,3 +1,12 @@
+package {
+ // See: http://go/android-license-faq
+ // A large-scale-change added 'default_applicable_licenses' to import
+ // all of the 'license_kinds' from "packages_apps_Gallery_license"
+ // to get the below license kinds:
+ // SPDX-license-identifier-Apache-2.0
+ default_applicable_licenses: ["packages_apps_Gallery_license"],
+}
+
android_test {
name: "GalleryTests",
certificate: "media",