commit | 73f390145d02aef3a9538060c61aad255d7d2cbf | [log] [tgz] |
---|---|---|
author | Benjamin Prosnitz <bprosnitz@google.com> | Mon Nov 30 11:35:40 2015 +0800 |
committer | Benjamin Prosnitz <bprosnitz@google.com> | Mon Nov 30 11:35:40 2015 +0800 |
tree | ef38cd2e6c6171c7e0bad0a9528f8d721507016a | |
parent | e701e1d5ee99bfbdd0013bcd134d6ad3a1b89307 [diff] |
v23proxy: fix struct offset allocation The previous implementation worked fine in one direction, but did not properly account for value order in the other. This adds a shared method that computes the mapping between vdl and mojo struct field position. Change-Id: Icc83b5115dddb535203002092950a44d57e23927
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.