X-Git-Url: https://git.saurik.com/android/aapt.git/blobdiff_plain/c1b83bdbc6526f4c8f366bc3716f46b4ad93b0fd..1beaac92e4594d6d76c2da521341c1effd1d2313:/Images.cpp?ds=sidebyside diff --git a/Images.cpp b/Images.cpp index 311ceea..ffbe875 100644 --- a/Images.cpp +++ b/Images.cpp @@ -980,6 +980,10 @@ status_t preProcessImage(Bundle* bundle, const sp& assets, String8 printableName(file->getPrintableSource()); + if (bundle->getVerbose()) { + printf("Processing image: %s\n", printableName.string()); + } + png_structp read_ptr = NULL; png_infop read_info = NULL; FILE* fp; @@ -1094,6 +1098,10 @@ status_t preProcessImageToCache(Bundle* bundle, String8 source, String8 dest) status_t error = UNKNOWN_ERROR; + if (bundle->getVerbose()) { + printf("Processing image to cache: %s => %s\n", source.string(), dest.string()); + } + // Get a file handler to read from fp = fopen(source.string(),"rb"); if (fp == NULL) {