commit | a99c2467e2e80827b60e7a7efb1456fcf9d53a7e | [log] [tgz] |
---|---|---|
author | Nicolas Lacasse <nlacasse@google.com> | Thu Jul 30 17:04:02 2015 -0700 |
committer | Nicolas Lacasse <nlacasse@google.com> | Thu Jul 30 17:04:04 2015 -0700 |
tree | 751db1bfd0e0e4e95168cf7bc87f44522e8a957e | |
parent | 1fb1564bff5e1291492b6b108c812c697614c0e8 [diff] |
Replace Go echo client with Dart echo client. Now we have a Dart echo client talking to a Go echo server, which parallels the way our syncbase client and server will work. The next step is to set up a test harness that asserts that the client can talk to the server. Change-Id: Iaa6887e78c754fd1aea30dd89843bbfa0bd10ad3
This project exposes Syncbase as a Mojo service.
Read the architecture proposal.
You must have the Mojo repo in $MOJO_DIR.
This section only needs to be run once.
See the mojo readme for more comprehensive instructions.
Install depot tools.
Install Goma.
Put the following in your .bashrc:
export PATH=${PATH}:${HOME}/dev/depot_tools export GOMA_DIR=${HOME}/goma
export MOJO_DIR=${HOME}/mojo
$ mkdir $MOJO_DIR && cd $MOJO_DIR # NOTE: This step takes about 10 min. $ fetch mojo --target_os=android,linux # NOTE: This step also takes about 10 min. Furthermore, the script uses # 'sudo', so you will need to enter your password. $ cd src && ./build/install-build-deps-android.sh
This updates the Mojo repo to HEAD, and builds the Mojo resources needed to compile Ether.
Run this while you grab your morning coffee.
Start by updating the repo.
$ cd $MOJO_DIR/src $ git checkout master $ git pull $ gclient sync
Compile for Linux. Built resources will be in $MOJO_DIR/src/out/Debug
$ ./mojo/tools/mojob.py gn $ ./mojo/tools/mojob.py build # NOTE: This can take up to 10 minutes.
Compile for Android. Built resources will be in $MOJO_DIR/src/out/android_Debug
$ ./mojo/tools/mojob.py gn --android $ ./mojo/tools/mojob.py build --android # NOTE: This can take up to 10 minutes.