Speed up device_utils's zip pushing, and don't use a constant temp file
commitff506f629332dbeb3efb3df73cf8ff5b168312e8
authoragrieve <agrieve@chromium.org>
Fri, 4 Sep 2015 20:11:10 +0000 (4 13:11 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 4 Sep 2015 20:11:40 +0000 (4 20:11 +0000)
tree2ddc614b063cba3c5060e97ae9904fab0fc4786e
parentf87a122ef4d0ecf0632b7de1c4850d128d322b79
Speed up device_utils's zip pushing, and don't use a constant temp file

- Defers running of a few adb commands so that they happen while the host zip is being constructed.
- Combines unzip & chmod into a single command

Reduces time to re-push all .so files from 23s->21s

BUG=520082

Review URL: https://codereview.chromium.org/1325893002

Cr-Commit-Position: refs/heads/master@{#347478}
build/android/devil/android/device_utils.py
build/android/devil/android/device_utils_test.py
build/android/pylib/device/commands/install_commands.py