commit | e43d85e22e814c65ca91b564a48c328f9a05d8b8 | [log] [tgz] |
---|---|---|
author | Michael Wasserman <msw@chromium.org> | Wed Oct 29 12:33:44 2014 -0700 |
committer | Michael Wasserman <msw@chromium.org> | Wed Oct 29 12:33:44 2014 -0700 |
tree | b2a38f17bffac9a9e466ffd2e016dde0e1da7ca1 | |
parent | fdb507cfb4f74b382e1798f38cdc75fc4012569d [diff] |
Split application_test_main.cc out of *_base.cc. Move MojoMain for apptests to a new file. Add mojo::test accessors for the shell handle. BUG=392646 TEST="mojo_shell mojo:example_apptests" still works. R=viettrungluu@chromium.org Review URL: https://codereview.chromium.org/680263004
This repo uses gclient to manage dependencies, so to build things from this repo you have to first download depot_tools and make sure it is in your path:
http://www.chromium.org/developers/how-tos/install-depot-tools
Then, create a directory somewhere for your checkout, cd into it, and run the following commands:
$ fetch mojo # use --target_os=android if you want an Android build. $ cd src $ ./build/install-build-deps.sh
This creates a directory called ‘src’ under your checkout directory, clones the repository and its dependencies, and installs any packages needed to build.
You can then build Mojo by running:
$ gn gen out/Debug $ ninja -C out/Debug root
If you're a Googler and want to use Goma:
$ gn args out/Debug
and add
use_goma = true
Assuming Goma is installed in the default location (~/goma).
Run the tests:
mojo/tools/mojob.sh test
To land a patch:
$ git cl land
Don't break build! Waterfall is here: http://build.chromium.org/p/client.mojo/waterfall .