commit | 067095a3e7ffdf9db8bd231fdf11abdea3dea295 | [log] [tgz] |
---|---|---|
author | Alex Fandrianto <alexfandrianto@google.com> | Thu Jan 14 15:40:24 2016 -0800 |
committer | Alex Fandrianto <alexfandrianto@google.com> | Fri Jan 29 10:50:07 2016 -0800 |
tree | 94a613daea49740c15360c014f73ff854816c62a | |
parent | 58235b859116091e2e89f21a7b78e7c238832864 [diff] |
mojo/v23proxy: Update Dart to work with Dart Mojom Types If we generate Dart Mojom types with the Mojo CL here, https://codereview.chromium.org/1539673003/ then the Dart echo and fortune examples will work again with this change. Note: We also now must specify --generate-type-info manually when invoking the mojom compiler. So this is MultiPart with the shared repo. MultiPart: 1/2 Change-Id: I71084b20900ec3234c1ced6d67a88ea6fc1afc3c
This repository implements the proposal outlined here that enables communication between Mojo applications on different devices.
You must have the jiri
tool installed with the base
and mojo
v23-profiles.
To update v23proxy to the latest version of mojo, you will need to also have the mojo-dev
profile.
You must always make build
first. (The Makefile is not very good currently.)
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.
Prefix all commands with USE_MOJO_DEV_PROFILE=1
in order to run with the mojo-dev
profile instead of mojo
.