| commit | 0bb2d538d59d14bf0a3c964747deaf7263a54043 | [log] [tgz] |
|---|---|---|
| author | Anand K. Mistry <amistry@chromium.org> | Wed Nov 05 11:29:57 2014 +1100 |
| committer | Anand K. Mistry <amistry@chromium.org> | Wed Nov 05 11:29:57 2014 +1100 |
| tree | a992ba48e63b07516672b56b4e43017583b08baa | |
| parent | c048b7f8a247c52992b43ca88517a1fcb21b02e5 [diff] |
Implement a MOJO_READ_DATA_FLAG_PEEK flag for data pipes. MOJO_READ_DATA_FLAG_PEEK allows the user to read data from a pipe without removing it. The data will be available for the next read. R=viettrungluu@chromium.org Review URL: https://codereview.chromium.org/703573002
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 .