summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Badour <bbadour@google.com>2021-02-18 23:43:49 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2021-02-18 23:43:49 +0000
commit1a227ef78008293ca43fa3bb070765a854f7248b (patch)
tree8c5e6acc2fb2b1e33b38ecf45d8366a839e4cb23
parent4e0faaeced8f6321a4f1f852084505eaab909b94 (diff)
parent4b2a238842b362282297e1347f1e941514a57e58 (diff)
downloadMusic-1a227ef78008293ca43fa3bb070765a854f7248b.tar.gz
Merge "[LSC] Add LOCAL_LICENSE_KINDS to packages/apps/Music"
-rw-r--r--Android.bp17
-rw-r--r--kotlin/Android.bp9
2 files changed, 26 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index f9afa8a..846c407 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,3 +1,20 @@
+package {
+ default_applicable_licenses: ["packages_apps_Music_license"],
+}
+
+// Added automatically by a large-scale-change
+// See: http://go/android-license-faq
+license {
+ name: "packages_apps_Music_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-Apache-2.0",
+ ],
+ license_text: [
+ "NOTICE",
+ ],
+}
+
android_app {
name: "Music",
srcs: ["src/**/*.java"],
diff --git a/kotlin/Android.bp b/kotlin/Android.bp
index 3788111..1eb13de 100644
--- a/kotlin/Android.bp
+++ b/kotlin/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_Music_license"
+ // to get the below license kinds:
+ // SPDX-license-identifier-Apache-2.0
+ default_applicable_licenses: ["packages_apps_Music_license"],
+}
+
android_app {
name: "MusicKotlin",
srcs: ["src/**/*.kt"],