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