From 25e25596566ea199a88b0c22a8707bfe982e48f5 Mon Sep 17 00:00:00 2001 From: Mike Klein Date: Thu, 28 Jun 2018 11:19:23 -0400 Subject: 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 Commit-Queue: Hal Canary Auto-Submit: Mike Klein Reviewed-by: Hal Canary --- bin/droid | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin') 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" -- cgit v1.2.3