v23proxy: Add Dart End to End Test Client and Server

Update tests and benchmarks to do cross Go and Dart runs as well.
This verifies that Go => Dart, Dart => Go, and Dart => Dart works.

Modify the Makefile slightly so that we don't overgenerate .mojom.dart
files.

Additionally, modify the Makefile so that we can alternately depend
on live mojo_sdk (0.2.15) or on the mojo-dev profile.

Change-Id: I3c70114f20399399c09fa46fdfc9eaffdd0c63e1
9 files changed
tree: 147a7918b9796da20e0a96fc103796dc1b60144c
  1. dart-examples/
  2. dart-tests/
  3. go/
  4. lib/
  5. mojom/
  6. .gitignore
  7. AUTHORS
  8. CONTRIBUTING.md
  9. CONTRIBUTORS
  10. LICENSE
  11. Makefile
  12. mojoconfig
  13. PATENTS
  14. pubspec-dev.yaml
  15. pubspec.yaml
  16. README.md
  17. VERSION
README.md

Mojo + v23 RPCs

This repository implements the proposal outlined here that enables communication between Mojo applications on different devices.

Prerequisites

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.

Quick start

You must always make build first. (The Makefile is not very good currently.)

  • For desktop: make build
  • For android: 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.

Updating v23proxy to the latest version of mojo

Prefix all commands with USE_MOJO_DEV_PROFILE=1 in order to run with the mojo-dev profile instead of mojo.