diff options
author | Bob Badour <bbadour@google.com> | 2021-02-17 17:22:18 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-02-17 17:22:18 +0000 |
commit | 23f2a64e6f2c448e7adca9733f277da0fd5fa9e6 (patch) | |
tree | b782d00fe649a94c768de4804e38c87cb5e5a3c9 | |
parent | 6edaadd0baa3084cf407e6ecf08f45c1b5c48412 (diff) | |
parent | d635a5d16977ff43be8be355716003c7ee2c5688 (diff) | |
download | expat-23f2a64e6f2c448e7adca9733f277da0fd5fa9e6.tar.gz |
Merge "[LSC] Add LOCAL_LICENSE_KINDS to external/expat" am: 37db65ec52 am: 9bf6732dfb am: d635a5d169
Original change: https://android-review.googlesource.com/c/platform/external/expat/+/1588622
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ic1bc3e89a8b5301327207ddcabe02e601304be32
-rw-r--r-- | Android.bp | 36 |
1 files changed, 36 insertions, 0 deletions
@@ -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, |