commit | ea1629e788a0a32bc6eacfbdaa40c41e11903470 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Fri Oct 06 13:55:48 2017 -0700 |
committer | Colin Cross <ccross@android.com> | Fri Oct 06 14:26:25 2017 -0700 |
tree | b745af1b0b56ff80a8cb9a741d4cd9aa72366dfb | |
parent | c6465f5d1724ec568f9ccee4962e5192e69382d1 [diff] |
Refactor removing classes.dex for dexpreopt Combining $(call dexpreopt-remove-classes.dex) into a $(call copy-one-file) rule is hacky and error prone. Make a helper dexpreopt-copy-jar function that takes LOCAL_DEX_PREOPT and copies the jar, removing the dex files if necessary. Test: only description message changes to out/build-${TARGET_PRODUCT}.ninja Change-Id: Id2fa2d18571ca01bc81302c912b8de25f3dde7a1