commit | 71b86c620184e33ec7cfb897135b132e6a5a4478 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Wed Mar 29 12:17:36 2017 -0700 |
committer | Colin Cross <ccross@android.com> | Fri Mar 31 18:39:33 2017 -0700 |
tree | 7cbef1d9606219ff0b9e2f7d5854fc92afc4f3cb | |
parent | 37a1d5bc93018a3543ee4204989c96b5a98879b5 [diff] |
Optimize out extra jar copies Don't copy jar files for disabled stages. Instead, set the name of the output to the name of the input so the next stage will directly pick up the output of the previous stage. Test: m -j ANDROID_COMPILE_WITH_JACK=false java Change-Id: Ib7268cbff7ea7ff2ad2caf994aa145e1b7a12b83 (cherry picked from commit 0e537340355db21c264aaa95e531cd68913e1306)