From 82364bae1690d0f4421afa0116441d99ce35b92a Mon Sep 17 00:00:00 2001 From: Mike Klein Date: Mon, 24 Oct 2016 16:49:15 -0400 Subject: Build for Android from Windows, work in progress. Pretty vanilla stuff here, mostly just making the gcc-like toolchain Windows friendly. I was having trouble getting rm -r {{output}} && $ar rcs {{output}} @$rspfile to work without deleting my ar.exe, so I chickened out the usual way by adding gn/ar.py. I've also updated bin/droid to work with Git Bash on Windows. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=3751 Change-Id: I04c34ccc91e6a291c11ac4e7a7a0ffe41d879fe6 Reviewed-on: https://skia-review.googlesource.com/3751 Reviewed-by: Brian Osman Commit-Queue: Mike Klein --- bin/droid | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'bin/droid') diff --git a/bin/droid b/bin/droid index b1644c6049..c633181766 100755 --- a/bin/droid +++ b/bin/droid @@ -16,6 +16,7 @@ args=$@ set -e set -x -adb push $path /data/local/tmp/ -adb push resources /data/local/tmp/ -adb shell "cd /data/local/tmp; ./$name $args" +adb push $path //data/local/tmp/ +adb push resources //data/local/tmp/ +adb shell "chmod +x //data/local/tmp/$name" +adb shell "cd //data/local/tmp; ./$name $args" -- cgit v1.2.3