History log of /build/make/tools/zipalign/ZipAlign.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
404fd5bc4abc48ec7e0ef4f769846876b21db803 17-Oct-2016 Mark Salyzyn <salyzyn@google.com> zipalign missing header

Remove assumptions about header side effects

Test: compile
Bug: 30465923
Change-Id: I117567b0f99814b9d9a955b39c56f43f7972cf62
/build/make/tools/zipalign/ZipAlign.cpp
01d6b59dcf72767885c4e8a878a99bb4ecef77a0 29-Apr-2016 Alex Klyubin <klyubin@google.com> zipalign supports -p also when checking alignment.

This updates the usage banner of zipalign to state that the -p switch
is supported in check alignment mode.

Change-Id: I119026b0e09e5a2528646e88a9b58dbb79c0c17c
/build/make/tools/zipalign/ZipAlign.cpp
b589ae4e2661d42cbdc0a44193e2df384424e483 29-Oct-2015 Dan Willemsen <dwillemsen@google.com> Revert "Remove changing uids/timestamps from zip/jar files"

This reverts commit 3c2c064c8791ed2d4b9d6780d7b87f406ab78f10.

zipalign depends on libandroidfw, and some setups don't include frameworks/base.

Bug: 24201956
Change-Id: I48ee95808924f6b2221f0a49ab205c2565096b1f
/build/make/tools/zipalign/ZipAlign.cpp
3c2c064c8791ed2d4b9d6780d7b87f406ab78f10 28-Oct-2015 Dan Willemsen <dwillemsen@google.com> Remove changing uids/timestamps from zip/jar files

Pass -X to zip so that Unix UID/GID and extra timestamps aren't
saved into the zip files.

Add a new option to zipalign, -t, to replace all timestamps with static
timestamps (2008 Jan 1 00:00:00). Use this for all non-APK zip files.
APK zip timestamps are set based on the certificate date in SignApk.

Bug: 24201956
Change-Id: Ifb619fc499ba9d99fc624f2acd5f8de36d78ef8e
/build/make/tools/zipalign/ZipAlign.cpp
e0b8d19f3159edbeecb7eea4b3d18ffeca3dd33d 26-Feb-2015 Narayan Kamath <narayan@google.com> Fix zipalign README file and usage strings.

Addresses comments from change 13e5965306.

Change-Id: I0a2c0048781858d3aa06347a77220547cfcdcebe
/build/make/tools/zipalign/ZipAlign.cpp
13e5965306212a9051772ff1d5bc3a88e5fb519a 24-Jul-2014 Dmitriy Ivanov <dimitry@google.com> Store native libs aligned to PAGE_SIZE

- Add a new flag to zipalign (-p) that page aligns shared
libraries (zip entries ending with ".so") in the archive.

- Add a new build variable LOCAL_PAGE_ALIGN_SHARED_LIBRARIES
to turn on this behaviour in zipalign.

- Add a new LOCAL_JNI_SHARED_LIBRARIES_ZIP_OPTIONS to control
zip behaviour.

Bug: 8076853
Bug: 19330157

Co-Authored-By: Simon Baldwin <simonb@google.com>
Co-Authored-By: Dimitry Ivanov <dimitry@google.com>
Change-Id: I1aa2c039bb2a590ae72f256acc9ba5401c2c59b1
/build/make/tools/zipalign/ZipAlign.cpp
093d04c631aa2a4af3317912e9561672c5642bb8 08-Jul-2014 Raph Levien <raph@google.com> Add Zopfli-recompress option to zipalign

Zopfli provides compression roughly 5% better than zlib, while remaining
completely compatible with zlib decoders. This patch adds a "-z" option
to zipalign, recompressing all compressed files within the zip archive.

Change-Id: If177ca4b82ec701b7446861b2cfe08c6bd403813
/build/make/tools/zipalign/ZipAlign.cpp
303213915dc15d3136c5410d2eeea10f5555d3bb 18-Aug-2012 Jingwen Owen Ou <jingweno@gmail.com> Fix reporting wrong error message for zipalign output file

The problem is due to using variable inFileName instead of outFileName for printing out error message for output file.

Change-Id: Ie53a21b077fea5e7cd106fe6884cea159d2629a2
/build/make/tools/zipalign/ZipAlign.cpp
95ed76bd3e044f3812ddf42a26cb718879dd143c 29-Sep-2009 Andy McFadden <fadden@android.com> Update usage and readme for zipalign.

Added the "-c" flag to the README, and added a short description of the
flag meanings to the usage output. Threw in an AOSP copyright one-liner
for good measure.
/build/make/tools/zipalign/ZipAlign.cpp
3344b2e9b27466111524dfcfb64d7258153e0cb7 05-Jun-2009 Mathias Agopian <mathias@google.com> break dependency on utils/ZipEntry.h and utils/ZipFile.h
/build/make/tools/zipalign/ZipAlign.cpp
3f2933b2091e388a4d5e9c09b0d69ffe691cf674 16-Apr-2009 Doug Zongker <dougz@android.com> add check mode to zipalign

Add a -c flag to zipalign to do nothing but check the input zip file
for alignment (with or without verbosity).
/build/make/tools/zipalign/ZipAlign.cpp
88b607994a148f4af5bffee163e39ce8296750c6 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/build/make/tools/zipalign/ZipAlign.cpp
05806d7af62e07c6225b2e7103a1b115ecf6c9ad 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/build/make/tools/zipalign/ZipAlign.cpp
b6c1cf6de79035f58b512f4400db458c8401379a 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/build/make/tools/zipalign/ZipAlign.cpp