| commit | d5ac37c9367f06d66e18ef47849e6681d25c7807 | [log] [tgz] |
|---|---|---|
| author | James Robinson <jamesr@chromium.org> | Tue Oct 14 20:57:27 2014 -0700 |
| committer | James Robinson <jamesr@chromium.org> | Tue Oct 14 20:57:27 2014 -0700 |
| tree | 5970a9f4b9b64ae597153ffdadcea5a8d15733f4 | |
| parent | 08e361a4de8457050f321a69eb8ca80c2917844d [diff] |
Add setup directions for pulling android deps
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