diff options
author | Bob Badour <bbadour@google.com> | 2021-02-05 23:30:57 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-02-05 23:30:57 +0000 |
commit | e44cb7199edde89ae42d44c188fd859652fa11d0 (patch) | |
tree | 066e3b713c82c0144e4ce24b77de5231b5b1b49c | |
parent | 52e3f7bbea25b959e37e0794f1131dcf2891396b (diff) | |
parent | 8637d0c2c9bad61506e1633cb221a418421c9f02 (diff) | |
download | zopfli-e44cb7199edde89ae42d44c188fd859652fa11d0.tar.gz |
[LSC] Add LOCAL_LICENSE_KINDS to external/zopfli am: 462a053a91 am: 54a67e9a8c am: a6a22f44fe am: 8637d0c2c9
Original change: https://android-review.googlesource.com/c/platform/external/zopfli/+/1576047
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I8f4fafc8f8be44a9df5e84c9362d70d7df4b5fcd
-rw-r--r-- | Android.bp | 36 |
1 files changed, 36 insertions, 0 deletions
@@ -1,3 +1,39 @@ +package { + default_applicable_licenses: ["external_zopfli_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. +// +// large-scale-change included anything that looked like it might be a license +// text as a license_text. e.g. LICENSE, NOTICE, COPYING etc. +// +// Please consider removing redundant or irrelevant files from 'license_text:'. +// http://go/android-license-faq +license { + name: "external_zopfli_license", + visibility: [":__subpackages__"], + license_kinds: [ + "SPDX-license-identifier-Apache-2.0", + "SPDX-license-identifier-Zlib", + ], + license_text: [ + "COPYING", + "NOTICE", + ], +} + cc_library { name: "libzopfli", host_supported: true, |