summaryrefslogtreecommitdiff
path: root/tools/aapt/Main.cpp
diff options
context:
space:
mode:
author Android (Google) Code Review <android-gerrit@google.com> 2009-10-13 16:41:21 -0400
committer Android (Google) Code Review <android-gerrit@google.com> 2009-10-13 16:41:21 -0400
commitafbf8afa858a78b66c19f11cfda030e913b34085 (patch)
treeca31311b647e81b597e4792f86de8c796b71bf49 /tools/aapt/Main.cpp
parentb10036b39003b6961c57f87f65236c1d5d0d1e52 (diff)
parentdbe7a68cc13ae135b33769918932838d2d447169 (diff)
Merge change I564b5b00 into eclair-mr2
* changes: add "junk path" -k option to aapt
Diffstat (limited to 'tools/aapt/Main.cpp')
-rw-r--r--tools/aapt/Main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/aapt/Main.cpp b/tools/aapt/Main.cpp
index e61010cd695f..98286c02d7e7 100644
--- a/tools/aapt/Main.cpp
+++ b/tools/aapt/Main.cpp
@@ -99,6 +99,7 @@ void usage(void)
" -f force overwrite of existing files\n"
" -g specify a pixel tolerance to force images to grayscale, default 0\n"
" -j specify a jar or zip file containing classes to include\n"
+ " -k junk path of file(s) added\n"
" -m make package directories under location specified by -J\n"
#if 0
" -p pseudolocalize the default configuration\n"
@@ -236,6 +237,9 @@ int main(int argc, char* const argv[])
bundle.setGrayscaleTolerance(tolerance);
printf("%s: Images with deviation <= %d will be forced to grayscale.\n", prog, tolerance);
break;
+ case 'k':
+ bundle.setJunkPath(true);
+ break;
case 'm':
bundle.setMakePackageDirs(true);
break;