add --sync to adb push in bin/droid

This skips pushing files that are already present.

Change-Id: Ibe86be1e553da3cbe9d02d00764164d9e0745f8d
Reviewed-on: https://skia-review.googlesource.com/138164
Commit-Queue: Mike Klein <mtklein@chromium.org>
Commit-Queue: Hal Canary <halcanary@google.com>
Auto-Submit: Mike Klein <mtklein@chromium.org>
Reviewed-by: Hal Canary <halcanary@google.com>
This commit is contained in:
Mike Klein 2018-06-28 11:19:23 -04:00 committed by Skia Commit-Bot
parent 701a35812e
commit 25e2559656

View File

@ -16,7 +16,7 @@ args=$@
set -e
set -x
adb push $path //data/local/tmp/
adb push resources //data/local/tmp/
adb push --sync $path //data/local/tmp/
adb push --sync resources //data/local/tmp/
adb shell "chmod +x //data/local/tmp/$name"
adb shell "cd //data/local/tmp; ./$name $args"