summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Badour <bbadour@google.com>2021-02-04 00:01:31 -0800
committerMichael Bestas <mkbestas@lineageos.org>2021-10-09 17:34:10 +0300
commit40d900a5a4f5d1941a2f9045a19bb9fba51f7deb (patch)
treef3e8c6dc468e6c8ab7bbf6b82da8e1e73171a92b
parent7ab6103fe7e9e373d4260d01a3066f38f943e0c1 (diff)
[LSC] Add LOCAL_LICENSE_KINDS to packages/apps/DeskClock
Added SPDX-license-identifier-Apache-2.0 to: Android.bp tests/Android.bp Bug: 68860345 Bug: 151177513 Bug: 151953481 Test: m all Exempt-From-Owner-Approval: janitorial work Change-Id: I605c2d1781712593ee32b1443f05220e3319f721
-rw-r--r--Android.bp17
-rw-r--r--tests/Android.bp8
2 files changed, 25 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 0e49ab5f1..436c0d4bd 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,3 +1,20 @@
+package {
+ default_applicable_licenses: ["packages_apps_DeskClock_license"],
+}
+
+// Added automatically by a large-scale-change
+// http://go/android-license-faq
+license {
+ name: "packages_apps_DeskClock_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-Apache-2.0",
+ ],
+ license_text: [
+ "NOTICE",
+ ],
+}
+
android_app {
name: "DeskClock",
resource_dirs: ["res"],
diff --git a/tests/Android.bp b/tests/Android.bp
index c8e807e6b..2bfdfed5a 100644
--- a/tests/Android.bp
+++ b/tests/Android.bp
@@ -1,3 +1,11 @@
+package {
+ // http://go/android-license-faq
+ // A large-scale-change added 'default_applicable_licenses' to import
+ // the below license kinds from "packages_apps_DeskClock_license":
+ // SPDX-license-identifier-Apache-2.0
+ default_applicable_licenses: ["packages_apps_DeskClock_license"],
+}
+
android_test {
name: "DeskClockTests",
libs: [