Monet: Roll mojo_sdk to 3762c8c0b74b48b00786a42fca8f7db7f761935f.

This is the latest mojo_sdk, and should be up to date with mojo.git at
b7dbc87691e8f9ddb85e2ae367293dace441776d.

Also update:
* //mojo/{application,common,services/{public,tracing}} (from mojo.git)
* //third_party/mojo/MOJO_VERSION
* //mojo/data_pipe_utils/BUILD.gn
* various things in //mojo/services/network, to use new
  mojo::ConnectToService() and avoid the old
  ApplicationImpl::ConnectToApplication(), etc.

(All things mojo from mojo.git at
b7dbc87691e8f9ddb85e2ae367293dace441776d, except for the fix for
//mojo/data_pipe_utils/BUILD.gn which landed at
//12c8df4e201fdcd096f2ab4608008cd35f072d05.)

TBR=jamesr@chromium.org,vardhan@google.com

Review URL: https://codereview.chromium.org/1954263003 .
18 files changed
tree: 5269a5106beb02a9008e4505f08a4c2dde38a2ac
  1. build/
  2. crypto/
  3. gpu/
  4. mojo/
  5. net/
  6. sdch/
  7. testing/
  8. third_party/
  9. tools/
  10. url/
  11. .clang-format
  12. .gitignore
  13. .gn
  14. BUILD.gn
  15. claude.py
  16. codereview.settings
  17. DEPS
  18. LICENSE
  19. net_patch.diff
  20. README.md
README.md

This repository contains the network service implementation for Mojo.

This repository uses gclient to manage dependencies so to work with it follow these instructions instead of cloning the repo directly:

0.) Install depot_tools and add them to your PATH: https://www.chromium.org/developers/how-tos/install-depot-tools

1.) Make a directory for monet and add a .gclient file:

$ mkdir monet
$ cd monet
$ cat <<EOF > .gclient
solutions = [
{
  u'managed': False,
  u'name': u'src',
  u'url': u'https://github.com/domokit/monet.git',
  u'custom_deps': {},
  u'deps_file': u'DEPS',
  u'safesync_url': u''}
]
target_os = [u'android']
EOF

2.) Use gclient to pull down the monet repository and dependencies. This will create a directory under monet called ‘src’ containing the main repository.

$ gclient sync

3.) Install the android SDK.

$ cd src
$ ./build/install-android-sdks.sh

4.) Build and test using the claude.py helper script

$ ./claude.py gn
$ ./claude.py build
$ ./claude.py test

5.) Upload patches for review

$ git checkout -b my_branch
(make changes)
$ git commit -m "What this patch does"
$ git cl upload

6.) Land patches (after you get an LGTM)

$ git cl land

7.) Upload binary artifacts to Google Cloud storage

$ ./claude.py upload

The code in //net is the code from https://chromium.googlesource.com/chromium/src/net/ at commit 9249e230ffc9c0ef2f6f269a8d8cd39deba2c4d4 with net_patch.diff applied.