diff options
author | Bob Badour <bbadour@google.com> | 2021-02-17 15:31:55 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2021-02-17 15:31:55 +0000 |
commit | 37db65ec529e1896daa253979995401cb1dcbbfd (patch) | |
tree | b782d00fe649a94c768de4804e38c87cb5e5a3c9 | |
parent | 68cf3737216f66a8bd7a28a6102c27e86330c108 (diff) | |
parent | 28070508b0f0b5078ff83cc3e784cc51527276f3 (diff) | |
download | expat-37db65ec529e1896daa253979995401cb1dcbbfd.tar.gz |
Merge "[LSC] Add LOCAL_LICENSE_KINDS to external/expat"android-s-preview-1
-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, |