commit | 25430fcd291f99e168bcb356b588157473f4686b | [log] [tgz] |
---|---|---|
author | James Robinson <jamesr@chromium.org> | Thu Oct 23 18:09:00 2014 -0700 |
committer | James Robinson <jamesr@chromium.org> | Thu Oct 23 18:09:00 2014 -0700 |
tree | 361ffbb094c6751b263661eb3ff1115d2e71065d | |
parent | f9851eae5f1b9af41de7501d1556db35aac4ffd6 [diff] |
Add sandbox/linux and other necessary deps to pull from chromium This adds sandbox/linux/ and sandbox/sandbox_export.h along with a few other directories that are needed on chromium ToT. TBR=abarth@chromium.org Review URL: https://codereview.chromium.org/679543002
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