commit | 11fa7848543fa8060b7e5ca06190849e24cda0a3 | [log] [tgz] |
---|---|---|
author | Hans Muller <hansmuller@chromium.org> | Mon Nov 10 10:59:40 2014 -0800 |
committer | Hans Muller <hansmuller@chromium.org> | Mon Nov 10 10:59:40 2014 -0800 |
tree | 298844ead486406693615c5404962ba67764c550 | |
parent | 874d72396d23160e586cde461dbe7133c3df965f [diff] |
Moved the JS content handler, the gl and monotonic_clock modules from mojo/apps/js to services/js. Added the following main directories: mojo/services/public/js - The JS content handler client module. services/js - The JS content handler implementation. services/js/modules - The gl and clock modules. examples/js - Mostly a TBD. Added js_services_unittests. This should the last big file shuffle for JS in Mojo. BUG=430520 R=jamesr@chromium.org Review URL: https://codereview.chromium.org/703023004
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 directory somewhere for your checkout, cd into it, and run the following commands:
$ fetch mojo # use --target_os=android if you want an Android build. $ cd src $ ./build/install-build-deps.sh
This creates a directory called ‘src’ under your checkout directory, clones the repository and its dependencies, and installs any packages needed to build.
You can then build Mojo by running:
$ gn gen out/Debug $ ninja -C out/Debug root
If you're a Googler and want to use Goma:
$ gn args out/Debug
and add
use_goma = true
Assuming Goma is installed in the default location (~/goma).
Run a demo:
mojo/tools/mojo_demo.sh --browser
Run the tests:
mojo/tools/mojob.sh test
To land a patch:
$ git cl land
Don't break build! Waterfall is here: http://build.chromium.org/p/client.mojo/waterfall .