platform_build/tools/ziptime
Dan Willemsen 48a621c277 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 tool, ziptime, that uses a very stripped down copy of
zipalign. It no longer depends on libandroidfw, and now rewrites the
timestamps in place instead of making a copy of the zipfile. This should
improve speed and reduce disk requirements, especially with the large
packaging zip files.

Bug: 24201956
Change-Id: I50f68669f659da1b4393e964ad40b6aafb00c1e7
2015-11-02 14:51:54 -08:00
..
Android.mk Remove changing uids/timestamps from zip/jar files 2015-11-02 14:51:54 -08:00
README.txt Remove changing uids/timestamps from zip/jar files 2015-11-02 14:51:54 -08:00
ZipEntry.cpp Remove changing uids/timestamps from zip/jar files 2015-11-02 14:51:54 -08:00
ZipEntry.h Remove changing uids/timestamps from zip/jar files 2015-11-02 14:51:54 -08:00
ZipFile.cpp Remove changing uids/timestamps from zip/jar files 2015-11-02 14:51:54 -08:00
ZipFile.h Remove changing uids/timestamps from zip/jar files 2015-11-02 14:51:54 -08:00
ZipTime.cpp Remove changing uids/timestamps from zip/jar files 2015-11-02 14:51:54 -08:00

README.txt

ziptime -- zip timestamp tool

usage: ziptime file.zip

  file.zip is an existing Zip archive to rewrite


This tools replaces the timestamps in the zip headers with a static time
(Jan 1 2008). The extra fields are not changed, so you'll need to use the
-X option to zip so that it doesn't create the 'universal time' extra.