commit | 0060e3883cf1c5fb57acf55ebbd7d1946b6b8442 | [log] [tgz] |
---|---|---|
author | Matt Perry <mpcomplete@chromium.org> | Tue Oct 21 16:34:57 2014 -0400 |
committer | Matt Perry <mpcomplete@chromium.org> | Tue Oct 21 16:34:57 2014 -0400 |
tree | 666259722b1dab273d62fcf06f1f1aa2af48b568 | |
parent | 828c88737149446d34f499e6e110f5557a1e4ca9 [diff] |
Add instructions to mojo README to cover installing build dependencies. R=jamesr@chromium.org Review URL: https://codereview.chromium.org/667173002
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