| commit | 2153f1486170f06e40b7b033f9fd0f0d764aa948 | [log] [tgz] |
|---|---|---|
| author | James Robinson <jamesr@chromium.org> | Wed Oct 15 13:22:00 2014 -0700 |
| committer | James Robinson <jamesr@chromium.org> | Wed Oct 15 13:22:00 2014 -0700 |
| tree | 95f6fb3b6d771ee8e33b2346b3caf2bfdd253882 | |
| parent | e2ac7e8b68fc01e88f0c062120e8147b0ba6da0a [diff] |
filter gyp out of build/landmines.py
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 build by running:
$ gn gen out/Debug $ ninja -C out/Debug mojo