commit | 8a7b4cb99290ec8c1b7d7df4f6e64999a9f4de6e | [log] [tgz] |
---|---|---|
author | Pierre Lecesne <lecesne@google.com> | Tue Jan 31 23:58:27 2017 +0000 |
committer | Pierre Lecesne <lecesne@google.com> | Wed Feb 01 18:49:19 2017 +0000 |
tree | 19ec30b335440f6fd50e7b371c55261083bd5adc | |
parent | df7278d842eb89e24b94305890c3932c77e27cf2 [diff] |
Backbone of the new aapt2 strip command. The strip command takes an APK as argument and a --target-densities flag which contains the list of screen densities for which to optimize the APK. All the resources that would be unused for a device having the given densities are stripped from the APK leaving only the ones actually being used. Test: Manual. Change-Id: I68368b00876a18ccdbbfc0a8dd265bd361117933