summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Badour <bbadour@google.com>2021-02-12 17:34:19 -0800
committerBob Badour <bbadour@google.com>2021-02-12 17:34:19 -0800
commit62ea31e141750e52110e05ebacaa122d1e4fd87f (patch)
tree05c55b9c8c85f857809dd287ab4e80a9ff0b3bc9
parentb76fe0607eabf862ea13fab53e9b6c46d817052f (diff)
downloadCalendarProvider-62ea31e141750e52110e05ebacaa122d1e4fd87f.tar.gz
[LSC] Add LOCAL_LICENSE_KINDS to packages/providers/CalendarProvider
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: I3f3e4fc4e83f581aa0f154382c6065515860d23e
-rw-r--r--Android.bp19
-rw-r--r--tests/Android.bp11
2 files changed, 30 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index fa2fb50..0c29652 100644
--- a/Android.bp
+++ b/Android.bp
@@ -14,6 +14,25 @@
// limitations under the License.
//
+package {
+ default_applicable_licenses: [
+ "packages_providers_CalendarProvider_license",
+ ],
+}
+
+// Added automatically by a large-scale-change
+// See: http://go/android-license-faq
+license {
+ name: "packages_providers_CalendarProvider_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-Apache-2.0",
+ ],
+ license_text: [
+ "NOTICE",
+ ],
+}
+
android_app {
name: "CalendarProvider",
static_libs: [
diff --git a/tests/Android.bp b/tests/Android.bp
index 4f57e37..3f49177 100644
--- a/tests/Android.bp
+++ b/tests/Android.bp
@@ -1,3 +1,14 @@
+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_CalendarProvider_license"
+ // to get the below license kinds:
+ // SPDX-license-identifier-Apache-2.0
+ default_applicable_licenses: [
+ "packages_providers_CalendarProvider_license",
+ ],
+}
+
android_test {
name: "CalendarProviderTests",
// Include all test java files.