commit | 5562f1d6c5279d94b44465ed701bc25835812316 | [log] [tgz] |
---|---|---|
author | James Robinson <jamesr@chromium.org> | Tue Oct 14 15:03:43 2014 -0700 |
committer | James Robinson <jamesr@chromium.org> | Tue Oct 14 15:03:43 2014 -0700 |
tree | 79acfaab45b01d8cca634ff0cacca7f92a104934 | |
parent | ba1e658a7ddb9cbf7518ffbbb6cbbd332490d97e [diff] |
Add checkout directions to README
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": "", }, ]
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 doing
src$ gn gen out/Debug src$ ninja -C out/Debug mojo