commit | 9f87eac48abea87d0dd9bc95d03deed60e6400fa | [log] [tgz] |
---|---|---|
author | Alex Fandrianto <alexfandrianto@google.com> | Fri Nov 13 14:43:16 2015 -0800 |
committer | Alex Fandrianto <alexfandrianto@google.com> | Fri Nov 13 14:43:16 2015 -0800 |
tree | 98cfc5dfaadc57ab3d7a42ae58308cd3986b0e09 | |
parent | 911985854fbe5125a9c14f133c0afb384fb3af58 [diff] |
mojo/v23proxy: Add support for running on Android devices We also switch to passing in args rather than environment variables. The reason is that Android won't accept/forward those over. Further, stdout/stderr only appears on rooted phones, so this isn't very easy to use on Android yet. The issue is here: https://github.com/domokit/mojo/issues/531 UPDATE: This issue has been solved. You can see the go output on non-rooted phones now! Change-Id: I7a6a7cccd6885fc2d064114fd3a861cb96a7bbc4
This repository implements the proposal outlined here that enables communication between Mojo applications on different devices.
make build
ANDROID=1 make build
The commands above build the .mojo
shared library that can be run by mojo shells. For example:
make start-v23proxy
HOME=/tmp make ARGS="{see Makefile}" start-echo-client
You can also run these with Android devices. Use an ANDROID={N}
prefix to run on the Nth
Android device connected to your machine. N
must be a positive integer.
Note: To run these examples, the devices used must run mojo_shell on the same local network.