From 3944abbb506bb94d8e70b8b62f30225777f50648 Mon Sep 17 00:00:00 2001 From: Justin Koh Date: Wed, 16 Jan 2013 14:51:29 -0800 Subject: Remove doSingleCrunch call DO NOT MERGE Remove doSingleCrunch call as it's breaking jb-mr1-aah-dev. Change-Id: I0d8ee55344792fd868e74e07f31641a85e71168a --- tools/aapt/Command.cpp | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'tools') 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, -- cgit v1.1