aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Badour <bbadour@google.com>2021-04-21 20:01:09 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-04-21 20:01:09 +0000
commit28cc9c463ee98ba9fcb2ad7d73779cae9d9f4f5b (patch)
treef5892baf2cc94fac7f616815528c7028dc45d032
parent31b68eda6b2dad471446fb7c89c1898838274477 (diff)
parent471cd37ef9abe96c5bea9ec47f03ad864850f83c (diff)
downloadlottie-28cc9c463ee98ba9fcb2ad7d73779cae9d9f4f5b.tar.gz
[LSC] Add LOCAL_LICENSE_KINDS to external/lottie am: 9877147c83 am: c7deaa2f6e am: 471cd37ef9
Original change: https://android-review.googlesource.com/c/platform/external/lottie/+/1682265 Change-Id: Ie178b259018b7cd4f4cf6c408df396c4a707ee72
-rw-r--r--Android.bp30
1 files changed, 30 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 00dbced2..bb271882 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,3 +1,33 @@
+package {
+ default_applicable_licenses: ["external_lottie_license"],
+}
+
+// Added automatically by a large-scale-change that took the approach of
+// 'apply every license found to every target'. While this makes sure we respect
+// every license restriction, it may not be entirely correct.
+//
+// e.g. GPL in an MIT project might only apply to the contrib/ directory.
+//
+// Please consider splitting the single license below into multiple licenses,
+// taking care not to lose any license_kind information, and overriding the
+// default license using the 'licenses: [...]' property on targets as needed.
+//
+// For unused files, consider creating a 'fileGroup' with "//visibility:private"
+// to attach the license to, and including a comment whether the files may be
+// used in the current project.
+// See: http://go/android-license-faq
+license {
+ name: "external_lottie_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-Apache-2.0",
+ "SPDX-license-identifier-CC-BY-SA",
+ ],
+ license_text: [
+ "LICENSE",
+ ],
+}
+
android_library {
name: "lottie",
srcs: [