Update monet.

Note: Stuff updated from the Mojo repo are from revision
d26dd21f9bf81fca64a5c1c6d50837c41ae2d87c.

* Copy //build from the Mojo repo, including //build/{config,toolchain}
  (don't deps these in anymore).
* Roll buildtools to the same version as in the Mojo repo.
* Deps in base (same revision as in the Mojo repo).
* Roll the Mojo SDK and devtools.
* Update //testing (to be the same as in the Mojo repo).
* Update //tools (to be the same as in the Mojo repo).
* Download android_tools and sdkextras as in the Mojo repo.
* Roll ICU (as in the Mojo repo).
* Pull in the mojom_tool (as in the Mojo repo).
* Update //third_party/zlib (as in the Mojo repo).
* Add "-Wno-inconsistent-missing-override" for gmock (in
  //build/secondary/testing/gmock/BUILD.gn -- not sure why Chromium
  //doesn't seem to need this; note that rolling gmock doesn't help).
* Update //mojo/common, etc. (//mojo/common was split in the Mojo repo
  -- so bring in all the new things we need).
* Update //crypto to 8671da6fbbbbacc09e473b8dc1b6c1ce4bb446ec
  (corresponds to the last sync of //base from Chromium), and just check
  it in instead of deps-ing it in).
* Tons of base:: namespace updates (related to the //base update). Also
  MessageLoopProxy removal.
* Disable a few things that we (probably) don't care about, like
  "net_javatests". (It'd require work to get it to build with the
  Android SDK 23.)

R=jamesr@chromium.org

Review URL: https://codereview.chromium.org/1841863002 .
929 files changed
tree: 46dabe508ab4734be85bbc6206db1e05e032cafb
  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.