]> git.saurik.com Git - android/aapt.git/commit - Main.cpp
Added Caching for PreProcessed PNGs
authorJosiah Gaskin <josiahgaskin@google.com>
Tue, 7 Jun 2011 00:00:35 +0000 (17:00 -0700)
committerJosiah Gaskin <josiahgaskin@google.com>
Wed, 20 Jul 2011 22:20:26 +0000 (15:20 -0700)
commitdddb1fc74cc15f34219c2b4eda474245335cdc90
tree8b1a71e8e20afcb5817a447982a734def6cbdc6e
parentb5a473dad502a67a09d3978b455dc4cbfafcc920
Added Caching for PreProcessed PNGs

Added a cache management system for pre-processed PNG files
along with unit tests. The cache system will be used if
the --no-crunch flag is passed to AAPT during the package
phase. The cache can be updated by a call to 'aapt crunch'
(see usage statement). Also put in benchmarking code.

Change-Id: I58271fb2ee2f5f9075fd74d4ff6f15e7afabd05c
20 files changed:
Android.mk
Bundle.h
CacheUpdater.h [new file with mode: 0644]
Command.cpp
CrunchCache.cpp [new file with mode: 0644]
CrunchCache.h [new file with mode: 0644]
DirectoryWalker.h [new file with mode: 0644]
FileFinder.cpp [new file with mode: 0644]
FileFinder.h [new file with mode: 0644]
Images.cpp
Images.h
Main.cpp
Main.h
Package.cpp
Resource.cpp
tests/CrunchCache_test.cpp [new file with mode: 0644]
tests/FileFinder_test.cpp [new file with mode: 0644]
tests/MockCacheUpdater.h [new file with mode: 0644]
tests/MockDirectoryWalker.h [new file with mode: 0644]
tests/MockFileFinder.h [new file with mode: 0644]