commit | c60368c4442458f2d53e7cd199003624ff6fbc3f | [log] [tgz] |
---|---|---|
author | Hans Muller <hansmuller@chromium.org> | Fri Nov 07 07:35:50 2014 -0800 |
committer | Hans Muller <hansmuller@chromium.org> | Fri Nov 07 07:35:50 2014 -0800 |
tree | 9b12dcc9d83b12bddb67fa1673abfedb2d61c1d5 | |
parent | 80d677f93d959a6225041ec708e7867c5a41ca38 [diff] |
Move mojo/apps/js tests et al to mojo/edk/js/test,tests The apps_js_unitttests test executable is now called js_integration_tests. The connection_unittests are now included in the JS unittests. To enable that the threading module, which just provides a quit method, was added to mojo/public/js. Its implementation is mojo/edk/js. Integration tests are in the edk/js/tests directory and test support code is in edk/js/test. BUG=430520 R=jamesr@chromium.org Review URL: https://codereview.chromium.org/709603002
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 .