X-Git-Url: https://git.saurik.com/android/aapt.git/blobdiff_plain/07a3e200a0aa8d6c1e3356bfdf97ff54dd0df488..17f321193829cfb0d99b4d839d32e8904e013cb1:/Command.cpp?ds=inline diff --git a/Command.cpp b/Command.cpp index c3a0930..0a5e590 100644 --- a/Command.cpp +++ b/Command.cpp @@ -7,7 +7,6 @@ #include "Bundle.h" #include "ResourceFilter.h" #include "ResourceTable.h" -#include "Images.h" #include "XMLNode.h" #include @@ -1840,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,