summaryrefslogtreecommitdiffstats
path: root/tools/zipalign/README.txt
diff options
context:
space:
mode:
authorNarayan Kamath <narayan@google.com>2015-02-26 17:57:55 +0000
committerNarayan Kamath <narayan@google.com>2015-02-27 14:17:17 +0000
commite0b8d19f3159edbeecb7eea4b3d18ffeca3dd33d (patch)
treec84badd1144b08e44248cb1681d5721099e5ae6c /tools/zipalign/README.txt
parent095c451541765c7efb9d5a8152f8ef15626ccedb (diff)
downloadbuild-e0b8d19f3159edbeecb7eea4b3d18ffeca3dd33d.zip
build-e0b8d19f3159edbeecb7eea4b3d18ffeca3dd33d.tar.gz
build-e0b8d19f3159edbeecb7eea4b3d18ffeca3dd33d.tar.bz2
Fix zipalign README file and usage strings.
Addresses comments from change 13e5965306. Change-Id: I0a2c0048781858d3aa06347a77220547cfcdcebe
Diffstat (limited to 'tools/zipalign/README.txt')
-rw-r--r--tools/zipalign/README.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/zipalign/README.txt b/tools/zipalign/README.txt
index 9c7d07e..0b80b35 100644
--- a/tools/zipalign/README.txt
+++ b/tools/zipalign/README.txt
@@ -5,6 +5,7 @@ usage: zipalign [-f] [-v] <align> infile.zip outfile.zip
-c : check alignment only (does not modify file)
-f : overwrite existing outfile.zip
+ -p : page align stored shared object files
-v : verbose output
<align> is in bytes, e.g. "4" provides 32-bit alignment
infile.zip is an existing Zip archive
@@ -33,3 +34,7 @@ By default, zipalign will not overwrite an existing output file. With the
You can use the "-c" flag to test whether a zip archive is properly aligned.
+The "-p" flag aligns any file with a ".so" extension, and which is stored
+uncompressed in the zip archive, to a 4096-byte page boundary. This
+facilitates directly loading shared libraries from inside a zip archive.
+