diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/aapt/Command.cpp | 19 | ||||
-rw-r--r-- | tools/aapt/Resource.cpp | 2 |
2 files changed, 1 insertions, 20 deletions
diff --git a/tools/aapt/Command.cpp b/tools/aapt/Command.cpp index c3a0930..f7083a9 100644 --- a/tools/aapt/Command.cpp +++ b/tools/aapt/Command.cpp @@ -1840,25 +1840,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, diff --git a/tools/aapt/Resource.cpp b/tools/aapt/Resource.cpp index 77168f9..9c2e1b9 100644 --- a/tools/aapt/Resource.cpp +++ b/tools/aapt/Resource.cpp @@ -1946,7 +1946,7 @@ static status_t writeTextLayoutClasses( const bool pub = (typeSpecFlags&ResTable_typeSpec::SPEC_PUBLIC) != 0; fprintf(fp, - "int styleable %s_%s %d\n", + "int styleable.%s_%s %d\n", nclassName.string(), String8(name).string(), (int)pos); } |