]> git.saurik.com Git - android/aapt.git/commit - Main.cpp
add "junk path" -k option to aapt (DO NOT MERGE)
authorDoug Zongker <dougz@android.com>
Tue, 20 Oct 2009 00:04:21 +0000 (17:04 -0700)
committerDoug Zongker <dougz@android.com>
Tue, 20 Oct 2009 00:04:21 +0000 (17:04 -0700)
commit5c71c5c30b3e71e70972b55ceda8f123d3b628de
tree07a1b63bf38e80c36256b903f044744601a96dde
parentce7043662fd164473ca829e06a75310a9dcde230
add "junk path" -k option to aapt (DO NOT MERGE)

Adds a "junk path" option to aapt so that you can do:

   aapt add -k archive.zip path/to/some.file

and have the file stored in the zip under the name "some.file"
(without the path).  Needed so that we can use 'aapt add' in place of
'zip -j' when building jar files, which will lead to smaller
incremental OTAs.

(This is a cherry-pick of a change already submitted to eclair-mr2;
the change was approved for mr1.)
Bundle.h
Command.cpp
Main.cpp