summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJustin Koh <justinkoh@google.com>2013-01-17 00:11:44 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-01-17 00:11:44 +0000
commitba1992f8e9e50ca58f007ff528d2f6d2c2b18223 (patch)
tree06714fadeacf6a173aa1816df524e63cb12de1b7 /tools
parentb61121d2a162493e97530fc7a6cbfce47c014b00 (diff)
parent3944abbb506bb94d8e70b8b62f30225777f50648 (diff)
downloadframeworks_base-ba1992f8e9e50ca58f007ff528d2f6d2c2b18223.zip
frameworks_base-ba1992f8e9e50ca58f007ff528d2f6d2c2b18223.tar.gz
frameworks_base-ba1992f8e9e50ca58f007ff528d2f6d2c2b18223.tar.bz2
Merge "Remove doSingleCrunch call DO NOT MERGE" into jb-mr1-aah-dev
Diffstat (limited to 'tools')
-rw-r--r--tools/aapt/Command.cpp19
1 files changed, 0 insertions, 19 deletions
diff --git a/tools/aapt/Command.cpp b/tools/aapt/Command.cpp
index 08d6554..0a5e590 100644
--- a/tools/aapt/Command.cpp
+++ b/tools/aapt/Command.cpp
@@ -1839,25 +1839,6 @@ int doCrunch(Bundle* bundle)
return NO_ERROR;
}
-/*
- * Do PNG Crunching on a single flag
- * -i points to a single png file
- * -o points to a single png output file
- */
-int doSingleCrunch(Bundle* bundle)
-{
- fprintf(stdout, "Crunching single PNG file: %s\n", bundle->getSingleCrunchInputFile());
- fprintf(stdout, "\tOutput file: %s\n", bundle->getSingleCrunchOutputFile());
-
- String8 input(bundle->getSingleCrunchInputFile());
- String8 output(bundle->getSingleCrunchOutputFile());
- if (preProcessImageToCache(bundle, input, output) != NO_ERROR) {
- // we can't return the status_t as it gets truncate to the lower 8 bits.
- return 42;
- }
- return NO_ERROR;
-}
-
char CONSOLE_DATA[2925] = {
32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32,
32, 32, 32, 32, 32, 32, 32, 95, 46, 32, 32, 32, 32, 32, 32, 32, 32, 32,