Clone this repo:

Branches

  1. a43ba80 Roll base to 9e74307b276b2f9988005c0e97e85ee222586f79. by Viet-Trung Luu · 9 years ago master
  2. 4a4a345 Roll base to 0032c8e1a72eb85d947d8df8de503caa62b4d0a8. by Viet-Trung Luu · 9 years ago
  3. b4d999c Roll base to ec59756cc1ad02cc835bcca10056a621c9eb346c. by Viet-Trung Luu · 9 years ago
  4. 19300c2 Roll base to 3ed5621c3408ce7109597b81faa0c27f1085a2cb. by Viet-Trung Luu · 9 years ago
  5. f1f0afe Roll mojo to 33735f7c49286fa6834e0f6acb92889fd0afa6d9. by Viet-Trung Luu · 9 years ago

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:

  1. Install depot_tools and add it to your PATH.

  2. 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
    
  3. 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
    
  4. Install the android SDK.

    $ cd src
    $ ./build/install-android-sdks.sh
    
  5. Build and test using the claude.py helper script.

    $ ./claude.py gn
    $ ./claude.py build
    $ ./claude.py test
    
  6. Upload patches for review.

    $ git checkout -b my_branch
    (make changes)
    $ git commit -m "What this patch does"
    $ git cl upload
    
  7. Land patches (after you get an LGTM).

    $ git cl land
    
  8. Make a Release build and test it using the claude.py helper script (clobber for paranoia's sake).

    $ rm -rf out/android_Release/ out/Release/
    $ ./claude.py gn --release
    $ ./claude.py build --release
    $ ./claude.py test --release
    
  9. Upload binary artifacts to Google Cloud storage.

    $ ./claude.py upload --release
    

The code in //net is the code from https://chromium.googlesource.com/chromium/src/net/ at commit 79dc59ac7602413181079ecb463873e29a1d7d0a with net_patch.diff applied. Similarly for the code in //crypto.