diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2021-07-15 01:31:22 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2021-07-15 01:31:22 +0000 |
commit | 8ead93b8de4c06d92d759e000d299f58cc19bdbd (patch) | |
tree | 134faa56762a17c775fa18d4b4784aeea3e352ae | |
parent | c6c36df1fce6e8d61865d934d405804b1e2893ed (diff) | |
parent | b70917a06af5a5e0687049d49cb1238681d427f4 (diff) | |
download | bzip2-android12-mainline-statsd-release.tar.gz |
Snap for 7550844 from b70917a06af5a5e0687049d49cb1238681d427f4 to mainline-os-statsd-releaseandroid-mainline-12.0.0_r84android-mainline-12.0.0_r58android12-mainline-statsd-release
Change-Id: Ia0b5f903ae379e868841c5358dfc79929c38ed52
-rw-r--r-- | Android.bp | 35 | ||||
-rw-r--r-- | METADATA | 11 | ||||
-rw-r--r-- | NOTICE | 42 |
3 files changed, 46 insertions, 42 deletions
@@ -12,6 +12,40 @@ // See the License for the specific language governing permissions and // limitations under the License. +package { + default_applicable_licenses: ["external_bzip2_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 filtered out the below license kinds as false-positives: +// SPDX-license-identifier-GPL +// SPDX-license-identifier-OFL +// See: http://go/android-license-faq +license { + name: "external_bzip2_license", + visibility: [":__subpackages__"], + license_kinds: [ + "SPDX-license-identifier-BSD", + "legacy_unencumbered", + ], + license_text: [ + "LICENSE", + ], +} + cc_library_static { name: "libbz", host_supported: true, @@ -22,6 +56,7 @@ cc_library_static { "//external/bsdiff:__subpackages__", "//external/puffin:__subpackages__", "//system/update_engine:__subpackages__", + "//system/core/fs_mgr/libsnapshot:__subpackages__", ], arch: { arm: { diff --git a/METADATA b/METADATA new file mode 100644 index 0000000..3cd3d0d --- /dev/null +++ b/METADATA @@ -0,0 +1,11 @@ +name: "bzip2" + +third_party { + url { + type: GIT + value: "https://sourceware.org/git/bzip2.git" + } + version: "bzip2-1.0.8" + license_type: NOTICE + last_upgrade_date { year: 2021 month: 2 day: 8 } +} @@ -1,42 +0,0 @@ - --------------------------------------------------------------------------- - -This program, "bzip2", the associated library "libbzip2", and all -documentation, are copyright (C) 1996-2010 Julian R Seward. All -rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - -1. Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - -2. The origin of this software must not be misrepresented; you must - not claim that you wrote the original software. If you use this - software in a product, an acknowledgment in the product - documentation would be appreciated but is not required. - -3. Altered source versions must be plainly marked as such, and must - not be misrepresented as being the original software. - -4. The name of the author may not be used to endorse or promote - products derived from this software without specific prior written - permission. - -THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS -OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED -WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY -DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE -GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING -NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS -SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -Julian Seward, jseward@bzip.org -bzip2/libbzip2 version 1.0.6 of 6 September 2010 - --------------------------------------------------------------------------- |