summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2021-02-18 02:02:12 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2021-02-18 02:02:12 +0000
commit502630ce0d22ba1416d53ebc0c3a9ca4c01d39aa (patch)
treeb782d00fe649a94c768de4804e38c87cb5e5a3c9
parentaaa29edc5e6bef79be564f64edb5fce8c3649a2f (diff)
parent23f2a64e6f2c448e7adca9733f277da0fd5fa9e6 (diff)
downloadexpat-502630ce0d22ba1416d53ebc0c3a9ca4c01d39aa.tar.gz
Snap for 7152399 from 23f2a64e6f2c448e7adca9733f277da0fd5fa9e6 to sc-d1-release
Change-Id: Ie43b963d2ae4ee2020b9257f9e9b6992a07b4904
-rw-r--r--Android.bp36
1 files changed, 36 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 40f82d91..fcf2ca15 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,6 +1,42 @@
// We need to build this for both the device (as a shared library)
// and the host (as a static library for tools to use).
+// *** THIS PACKAGE HAS SPECIAL LICENSING CONDITIONS. PLEASE
+// CONSULT THE OWNERS AND opensource-licensing@google.com BEFORE
+// DEPENDING ON IT IN YOUR PROJECT. ***
+package {
+ default_applicable_licenses: ["external_expat_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_expat_license",
+ visibility: [":__subpackages__"],
+ license_kinds: [
+ "SPDX-license-identifier-CC0-1.0",
+ "SPDX-license-identifier-GFDL", // by exception only
+ "SPDX-license-identifier-MIT",
+ "legacy_notice",
+ "legacy_unencumbered",
+ ],
+ license_text: [
+ "COPYING",
+ ],
+}
+
cc_library {
name: "libexpat",
vendor_available: true,