commit | ff0b07afb2d2a61072beb754b8d9ddd852c1efe0 | [log] [tgz] |
---|---|---|
author | Viet-Trung Luu <viettrungluu@chromium.org> | Tue Oct 21 14:08:53 2014 -0700 |
committer | Viet-Trung Luu <viettrungluu@chromium.org> | Tue Oct 21 14:08:53 2014 -0700 |
tree | b0ba1c68393780be98d394522e7b3271683e2450 | |
parent | 08549a52e0dd4764f60f532e3e7323a1e6634d3a [diff] |
Remove --debug-and-release support from mojob.sh. (The fewer features it has, the easier it'll be to rewrite in Python.) Also rename --use-goma/--no-use-goma to --goma/--no-goma. Also, undo what I did for the default settings. (Oops, I landed the wrong change previously.) R=jamesr@chromium.org Review URL: https://codereview.chromium.org/660343005
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