aboutsummaryrefslogtreecommitdiffhomepage
path: root/bin
diff options
context:
space:
mode:
authorGravatar Mike Klein <mtklein@chromium.org>2018-06-28 11:19:23 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-06-28 15:46:57 +0000
commit25e25596566ea199a88b0c22a8707bfe982e48f5 (patch)
tree2e535e7da53efa302622c84d60f5d48ce2aaa118 /bin
parent701a35812e86f6c64d916d87d69e42c304fb7be2 (diff)
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>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/droid4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/droid b/bin/droid
index c633181766..cb48e366fa 100755
--- a/bin/droid
+++ b/bin/droid
@@ -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"