Difference between revisions of "Android system core libraries and tools"
(Added Debian link) |
m (Text replacement - "|License=GPLv2orlater" to "|License=GPL-2.0-or-later") |
||
Line 44: | Line 44: | ||
}} | }} | ||
{{Project license | {{Project license | ||
− | |License= | + | |License=GPL-2.0-or-later |
|License copyright=Copyright 2008, Tom Rodenberg <tarodenberg gmail com> | |License copyright=Copyright 2008, Tom Rodenberg <tarodenberg gmail com> | ||
|License verified by=Debian: Hans-Christoph Steiner <hans@eds.org> | |License verified by=Debian: Hans-Christoph Steiner <hans@eds.org> |
Revision as of 20:13, 16 August 2018
Android system/core libraries and tools
https://android.googlesource.com/platform/build
Align zip/jar/apk along byte boundaries
The purpose of zipalign is to ensure that all uncompressed data starts with a particular alignment relative to the start of the file. This allows those portions to be accessed directly with mmap() even if they contain binary data with alignment restrictions.
Some data needs to be word-aligned for easy access, others might benefit from being page-aligned. The adjustment is made by altering the size of the "extra" field in the zip Local File Header sections. Existing data in the "extra" fields may be altered by this process.
Compressed data isn't very useful until it's uncompressed, so there's no need to adjust its alignment.
Alterations to the archive, such as renaming or deleting entries, will potentially disrupt the alignment of the modified entry and all later entries. Files added to an "aligned" archive will not be aligned.
By default, zipalign will not overwrite an existing output file. With the "-f" flag, an existing file will be overwritten.
You can use the "-c" flag to test whether a zip archive is properly aligned.
Download
Categories
Licensing
License
Verified by
Verified on
Notes
License
Verified by
Debian: Hans-Christoph Steiner <hans@eds.org>
Verified on
28 November 2014
Notes
License: bsd-3-clause
License
Verified by
Debian: Hans-Christoph Steiner <hans@eds.org>
Verified on
25 November 2014
Notes
License: yahoo-bsd
License
Verified by
Debian: Hans-Christoph Steiner <hans@eds.org>
Verified on
28 November 2014
Notes
License: bsd-2-clause
License
Verified by
Debian: Hans-Christoph Steiner <hans@eds.org>
Verified on
28 November 2014
Notes
License: gpl-2+-with-bison-exception
License
Verified by
Debian: Hans-Christoph Steiner <hans@eds.org>
Verified on
25 November 2014
Notes
License: apache-2.0
License
Verified by
Debian: Hans-Christoph Steiner <hans@eds.org>
Verified on
25 November 2014
Notes
License: mit
License
Verified by
Debian: Hans-Christoph Steiner <hans@eds.org>
Verified on
28 November 2014
Notes
License: apache-2.0
License
Verified by
Debian: Hans-Christoph Steiner <hans@eds.org>
Verified on
28 November 2014
Notes
License: isc
License
Verified by
Debian: Hans-Christoph Steiner <hans@eds.org>
Verified on
25 November 2014
Notes
License: gpl-2+
Leaders and contributors
Contact(s) | Role |
---|---|
https://source.android.com/compatibility/contact-us.html | contact |
Resources and communication
Audience | Resource type | URI |
---|---|---|
Download | https://android.googlesource.com/platform/system/core | |
Debian (Ref) (R) | https://tracker.debian.org/pkg/android-platform-build |
Software prerequisites
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.
The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.