From: Justin Koh Date: Thu, 17 Jan 2013 00:21:28 +0000 (-0800) Subject: am ba1992f8: Merge "Remove doSingleCrunch call DO NOT MERGE" into jb-mr1-aah-dev X-Git-Url: https://git.saurik.com/android/aapt.git/commitdiff_plain/17f321193829cfb0d99b4d839d32e8904e013cb1?hp=ed8baa85e6f416caecee472376c6430cf8ca1eb5 am ba1992f8: Merge "Remove doSingleCrunch call DO NOT MERGE" into jb-mr1-aah-dev * commit 'ba1992f8e9e50ca58f007ff528d2f6d2c2b18223': Remove doSingleCrunch call DO NOT MERGE --- diff --git a/Command.cpp b/Command.cpp index 08d6554..0a5e590 100644 --- a/Command.cpp +++ b/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,