commit | dffc411c2a2d1c3bf02be3c402b8b9327cca06cd | [log] [tgz] |
---|---|---|
author | James Robinson <jamesr@chromium.org> | Tue Oct 21 14:16:02 2014 -0700 |
committer | James Robinson <jamesr@chromium.org> | Tue Oct 21 14:16:02 2014 -0700 |
tree | d47966bcca2c8b28c0e3c8d4710fb7d66d7375a9 | |
parent | ff0b07afb2d2a61072beb754b8d9ddd852c1efe0 [diff] |
Add tools/checkperms/ from the chromium repo This is referenced by the presubmit. R=viettrungluu@chromium.org Review URL: https://codereview.chromium.org/670763003
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 file called ‘.gclient’ that has the following contents:
solutions = [ { "name" : "src", "url" : "https://github.com/domokit/mojo.git", "deps_file" : "DEPS", "managed" : False, "safesync_url": "", }, ] # Include the following line only if you're interested in building for android. target_os = ['android']
Then run ‘gclient sync’ from the directory containing the .gclient file. This will clone this repository into a subdirectory called ‘src’. From that directory, you can then ensure you have all the dependencies installed by running:
$ ./build/install-build-deps.sh
You can then build by running:
$ gn gen out/Debug $ ninja -C out/Debug mojo