commit | 160190dce116a2c27b1308d2cd0e8b738b616218 | [log] [tgz] |
---|---|---|
author | Alex Fandrianto <alexfandrianto@google.com> | Tue Nov 17 15:51:41 2015 -0800 |
committer | Alex Fandrianto <alexfandrianto@google.com> | Tue Nov 17 15:51:41 2015 -0800 |
tree | 1de278aa7d11f6a91fa32c10a3d03f45bfdb3d4f | |
parent | f6513f24c233aec42a65c333ebc22d8f5962d4a7 [diff] |
mojo/v23proxy: Add Dart client library (and echo + fortune examples) Note that this is heavily dependent on the corresponding CL in Mojo that generates type information in Dart. Room for improvement: - README.md needed with easier instructions for those who are only curious about how to run the examples. - Makefile needs help. - Need to be able to specify a name to mount at for v23proxy. - Stop using REMOTE_ENDPOINT envvar; use an argument instead. - Android support (--android flag and potentially different variables need to be sent to mojo_run) - May need to modify the dependency override for the Dart packages because it's relative to my Mojo setup, not necessarily everyone's Change-Id: I5faa1fe85b890a4bc7d3dda95d75a97b8ba0b90d
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.