commit | c972832f10252902737e8b5acb9cecc02f23cb99 | [log] [tgz] |
---|---|---|
author | Dave Moore <davemoore@chromium.org> | Thu Oct 23 20:55:51 2014 -0700 |
committer | Dave Moore <davemoore@chromium.org> | Thu Oct 23 20:55:51 2014 -0700 |
tree | 8b8355f46f503567115c708701f3d1bc6e5dbfe7 | |
parent | 0acbdb3f1b274b3221061d10c444b8559ad246fe [diff] |
Add gn support for generating mojo_shell_apk BUG= R=jamesr@chromium.org Review URL: https://codereview.chromium.org/674013002
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