summaryrefslogtreecommitdiffstats
path: root/tools/aapt/tests
Commit message (Collapse)AuthorAgeFilesLines
* AAPT: Filtering resource fixAdam Lesinski2014-08-221-0/+37
| | | | | | | | | | | | | | | | | | | | | Previously, when filtering resources from an APK using -c option, if one qualifier matched, we would keep the resource. However, in the case of something like -c fr-FR,sw360dp and with a resource in the APK like so drawable-fr-FR-sw600dp-v13 we would want this resource to be excluded, as it does not match the sw360dp qualifier (must be less than or equal to it). This CL fixed the behavior of the filter to require that all defined qualifier axis be matched. Bug:17142358 Change-Id: Ie48f3d516a0e610abc7ba8a7ced4eb3ab52534d4
* AAPT: mipmaps should not end up in SplitsAdam Lesinski2014-08-211-0/+35
| | | | | | | | Mipmaps are never filtered, and so they will always end up in the base APK. Make sure they get omitted from any split. Change-Id: Id24b082bc9bd2d3f031a58bd0de4d30b4f0de7e0
* Add support for building split APKsAdam Lesinski2014-05-114-0/+293
| | | | | | | | | | | | | | Build multiple APKs, each containing a disjoint subset of configurations. These can then be loaded into the device AssetManager and should operate as if they were never split. Use the idea of building multiple sets of files, where each set represents an APK. An ApkBuilder can place files in a set based on its configuration, but you can actually add directly to a set, in the case of the resources.arsc and generated AndroidManifest.xml for splits. Change-Id: Ic65d3f0ac1bbd290185695b9971d425c85ab1de3
* Revert "Move frameworks/base/tools/ to frameworks/tools/"Adam Lesinski2014-01-278-0/+406
| | | | This reverts commit 9f6a119c8aa276432ece4fe2118bd8a3c9b1067e.
* Move frameworks/base/tools/ to frameworks/tools/Mike Lockwood2013-08-288-406/+0
| | | | Change-Id: I3ffafdab27cc4aca256c3a5806b630795b75d5c8
* Added Caching for PreProcessed PNGsJosiah Gaskin2011-07-205-0/+378
| | | | | | | | | | 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
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-033-0/+28
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-033-28/+0
|
* Initial ContributionThe Android Open Source Project2008-10-213-0/+28