summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Badour <bbadour@google.com>2021-02-12 15:27:41 -0800
committerBob Badour <bbadour@google.com>2021-02-12 15:27:41 -0800
commit4b2a238842b362282297e1347f1e941514a57e58 (patch)
tree8c5e6acc2fb2b1e33b38ecf45d8366a839e4cb23
parent4e0faaeced8f6321a4f1f852084505eaab909b94 (diff)
downloadMusic-4b2a238842b362282297e1347f1e941514a57e58.tar.gz
[LSC] Add LOCAL_LICENSE_KINDS to packages/apps/Music
Added SPDX-license-identifier-Apache-2.0 to: Android.bp kotlin/Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: I9899f4b8fd1626c803bc1c031a0d4fe5564f592c
-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"],