Loading tools/zipalign/README.txt +4 −0 Original line number Diff line number Diff line zipalign -- zip archive alignment tool usage: zipalign [-f] [-v] <align> infile.zip outfile.zip zipalign -c [-v] <align> infile.zip -c : check alignment only (does not modify file) -f : overwrite existing outfile.zip -v : verbose output <align> is in bytes, e.g. "4" provides 32-bit alignment Loading Loading @@ -29,3 +31,5 @@ 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. tools/zipalign/ZipAlign.cpp +8 −1 Original line number Diff line number Diff line Loading @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ /* * Zip alignment tool */ Loading @@ -29,9 +30,15 @@ using namespace android; void usage(void) { fprintf(stderr, "Zip alignment utility\n"); fprintf(stderr, "Copyright (C) 2009 The Android Open Source Project\n\n"); fprintf(stderr, "Usage: zipalign [-f] [-v] <align> infile.zip outfile.zip\n" " zipalign -c [-v] <align> infile.zip\n" ); " zipalign -c [-v] <align> infile.zip\n\n" ); fprintf(stderr, " <align>: alignment in bytes, e.g. '4' provides 32-bit alignment\n"); fprintf(stderr, " -c: check alignment only (does not modify file)\n"); fprintf(stderr, " -f: overwrite existing outfile.zip\n"); fprintf(stderr, " -v: verbose output\n"); } /* Loading Loading
tools/zipalign/README.txt +4 −0 Original line number Diff line number Diff line zipalign -- zip archive alignment tool usage: zipalign [-f] [-v] <align> infile.zip outfile.zip zipalign -c [-v] <align> infile.zip -c : check alignment only (does not modify file) -f : overwrite existing outfile.zip -v : verbose output <align> is in bytes, e.g. "4" provides 32-bit alignment Loading Loading @@ -29,3 +31,5 @@ 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.
tools/zipalign/ZipAlign.cpp +8 −1 Original line number Diff line number Diff line Loading @@ -13,6 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ /* * Zip alignment tool */ Loading @@ -29,9 +30,15 @@ using namespace android; void usage(void) { fprintf(stderr, "Zip alignment utility\n"); fprintf(stderr, "Copyright (C) 2009 The Android Open Source Project\n\n"); fprintf(stderr, "Usage: zipalign [-f] [-v] <align> infile.zip outfile.zip\n" " zipalign -c [-v] <align> infile.zip\n" ); " zipalign -c [-v] <align> infile.zip\n\n" ); fprintf(stderr, " <align>: alignment in bytes, e.g. '4' provides 32-bit alignment\n"); fprintf(stderr, " -c: check alignment only (does not modify file)\n"); fprintf(stderr, " -f: overwrite existing outfile.zip\n"); fprintf(stderr, " -v: verbose output\n"); } /* Loading