diff options
author | Bob Badour <bbadour@google.com> | 2021-02-17 15:53:57 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-02-17 15:53:57 +0000 |
commit | 9bf6732dfb7a7ae80dd79b4c88202c7171477958 (patch) | |
tree | b782d00fe649a94c768de4804e38c87cb5e5a3c9 | |
parent | f9285a9b368d174e60fab635aae3c118a4c35929 (diff) | |
parent | 37db65ec529e1896daa253979995401cb1dcbbfd (diff) | |
download | expat-9bf6732dfb7a7ae80dd79b4c88202c7171477958.tar.gz |
Merge "[LSC] Add LOCAL_LICENSE_KINDS to external/expat" am: 37db65ec52
Original change: https://android-review.googlesource.com/c/platform/external/expat/+/1588622
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Iaad2008a20da5a51b68d684155f662935c72a0b1
-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, |