resolved conflicts for merge of dd52dfed to jb-mr1.1-ub-dev

Change-Id: I839981af97e54c39f0ea0b8141a4dd02959263a0
This commit is contained in:
Xavier Ducrohet
2013-01-15 14:24:56 -08:00

View File

@@ -1839,6 +1839,25 @@ 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,