aboutsummaryrefslogtreecommitdiff
path: root/go/android/go_marlin_exec
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2018-09-18 09:34:45 -0700
committerStephen Hines <srhines@google.com>2018-09-18 09:34:45 -0700
commit310ded5b2fa5acaf489da276a28eccbb78041e1e (patch)
tree34dfb28b62189e83f44c3f5ae8b5271e71d19dcc /go/android/go_marlin_exec
parentec1dfabf71cfe08796ba80ae03f4857b2797f5f9 (diff)
parent6f7acfe655ed82355582cbd4f4130de9c25b22cb (diff)
downloadtoolchain-utils-310ded5b2fa5acaf489da276a28eccbb78041e1e.tar.gz
Merge remote-tracking branch 'aosp/mirror-chromium-master' into update_utils
Change-Id: Ia627b264f23935d8ae852e259c90c46377783abd
Diffstat (limited to 'go/android/go_marlin_exec')
-rwxr-xr-xgo/android/go_marlin_exec8
1 files changed, 8 insertions, 0 deletions
diff --git a/go/android/go_marlin_exec b/go/android/go_marlin_exec
new file mode 100755
index 00000000..9f4c06d4
--- /dev/null
+++ b/go/android/go_marlin_exec
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+# Copy and remotely execute a binary on the marlin device.
+#
+# For this to work, the corresponding adb_marlin wrapper
+# must exist to tell adb the serial number of the device.
+
+GOOS="android" GOARCH="arm64" exec go_target_exec marlin "$@"