summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Badour <bbadour@google.com>2021-02-12 17:41:02 -0800
committerBob Badour <bbadour@google.com>2021-02-12 17:41:02 -0800
commit2ea005d8cfe6235e1afb22b8c5f5049adf01ec89 (patch)
tree2a3d89e20851f72879b89396838d8497fc7749a2
parent8443c456c0b7dd91422c0d87c40190e062b41b44 (diff)
downloadCallLogProvider-2ea005d8cfe6235e1afb22b8c5f5049adf01ec89.tar.gz
[LSC] Add LOCAL_LICENSE_KINDS to packages/providers/CallLogProvider
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: If6bbd44870c0a74c1903e9290e37c768ee87c5b3
-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 9da72a0..4230af4 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,3 +1,20 @@
+package {
+ default_applicable_licenses: ["packages_providers_CallLogProvider_license"],
+}
+
+// Added automatically by a large-scale-change
+// See: http://go/android-license-faq
+license {
+ name: "packages_providers_CallLogProvider_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-Apache-2.0",
+ ],
+ license_text: [
+ "NOTICE",
+ ],
+}
+
android_app {
name: "CallLogBackup",
// Only compile source java files in this apk.
diff --git a/tests/Android.bp b/tests/Android.bp
index a9944dd..ad2aa84 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_providers_CallLogProvider_license"
+ // to get the below license kinds:
+ // SPDX-license-identifier-Apache-2.0
+ default_applicable_licenses: ["packages_providers_CallLogProvider_license"],
+}
+
android_test {
name: "CallLogBackupTests",
static_libs: ["mockito-target"],