| commit | ad9a3ba951d4c05d8fafc44b16774e9dd8bd54d5 | [log] [tgz] |
|---|---|---|
| author | Hixie <github.com@spam.hixie.ch> | Fri Oct 24 13:53:15 2014 -0700 |
| committer | Hixie <github.com@spam.hixie.ch> | Fri Oct 24 13:53:15 2014 -0700 |
| tree | 37b3a632b242f55aff9c62da354a71799da4f89b | |
| parent | 2ff05391561bad2a2e646be8aa46aa80a3fbc783 [diff] |
Specs: Module overview Review URL: https://codereview.chromium.org/678803002
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