summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Badour <bbadour@google.com>2021-02-18 23:43:48 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2021-02-18 23:43:48 +0000
commitd6e23e4d83ed4b6bad9ff1f5be5aef86392da6ce (patch)
tree6958bcc76b4425b782d9666f1979589e058108bd
parent9d5406dc05238c72434ba29375e0cb25eb85d21b (diff)
parent3dbf810b52a24d3cf2df6bbc9afb42b94bcce5db (diff)
downloadGallery-d6e23e4d83ed4b6bad9ff1f5be5aef86392da6ce.tar.gz
Merge "[LSC] Add LOCAL_LICENSE_KINDS to packages/apps/Gallery"
-rw-r--r--Android.bp17
-rw-r--r--tests/Android.bp9
2 files changed, 26 insertions, 0 deletions
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",