Android system core libraries and tools

From Free Software Directory
 
Jump to: navigation, search

[edit]

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.





Licensing

License

Verified by

Verified on

Notes

License

Other

Verified by

Debian: Hans-Christoph Steiner <hans@eds.org>

Verified on

25 November 2014

Notes

License: apache-2.0

Verified by

Debian: Hans-Christoph Steiner <hans@eds.org>

Verified on

28 November 2014

Notes

License: bsd-3-clause

License

Other

Verified by

Debian: Hans-Christoph Steiner <hans@eds.org>

Verified on

25 November 2014

Notes

License: yahoo-bsd

Verified by

Debian: Hans-Christoph Steiner <hans@eds.org>

Verified on

28 November 2014

Notes

License: isc

License

Other

Verified by

Debian: Hans-Christoph Steiner <hans@eds.org>

Verified on

25 November 2014

Notes

License: mit

Verified by

Debian: Hans-Christoph Steiner <hans@eds.org>

Verified on

25 November 2014

Notes

License: gpl-2+

License

Other

Verified by

Debian: Hans-Christoph Steiner <hans@eds.org>

Verified on

28 November 2014

Notes

License: apache-2.0

Verified by

Debian: Hans-Christoph Steiner <hans@eds.org>

Verified on

28 November 2014

Notes

License: bsd-2-clause

License

Other

Verified by

Debian: Hans-Christoph Steiner <hans@eds.org>

Verified on

28 November 2014

Notes

License: gpl-2+-with-bison-exception




Leaders and contributors

Contact(s)Role
https://source.android.com/compatibility/contact-us.html contact


Resources and communication

AudienceResource typeURI
Downloadhttps://android.googlesource.com/platform/system/core
Debian (Ref) (R)https://tracker.debian.org/pkg/android-platform-build


Software prerequisites

This entry (in part or in whole) was last reviewed on 7 March 2018.



Entry




Property "Submitted by" (as page type) with input value "{{{Submitted by}}}" contains invalid characters or is incomplete and therefore can cause unexpected results during a query or annotation process.









































"contact" is not in the list (Maintainer, Contributor, Developer, Sponsor, Unknown) of allowed values for the "Role" property.



"contact" is not in the list (Maintainer, Contributor, Developer, Sponsor, Unknown) of allowed values for the "Role" property.


"Debian (Ref) (R)" is not in the list (General, Help, Bug Tracking, Support, Developer) of allowed values for the "Resource audience" property.








Date 2015-07-17
Source Debian
Source link http://packages.debian.org/sid/android-platform-build

[[Category:]]



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.