commit | c20c57e58964bd3201c40d776bdb6f577a91ff37 | [log] [tgz] |
---|---|---|
author | Viet-Trung Luu <viettrungluu@chromium.org> | Thu Jun 02 10:10:50 2016 -0700 |
committer | Viet-Trung Luu <viettrungluu@chromium.org> | Thu Jun 02 10:10:50 2016 -0700 |
tree | 704fc175400e4855c60284db8edc5b6ded8dfa04 | |
parent | 9fa1af07c4c79260b6c32bd6ad8f8816a3cb6f99 [diff] |
[monet] Roll/update net!!!!!1!!1!!one!! Let X = Chromium revision 79dc59ac7602413181079ecb463873e29a1d7d0a. Let Y = Mojo revision cf0693186c68c5b1269107e92ef855d1d3f2c411, say. * Roll //base to 5e00da80f6adb7082d1c0e88d3274cf87cc43bc5 (which is X), the same as in Mojo at Y. * Update (copy in) //net and //crypto from X. * Pull //url (a.k.a. gurl) via DEPS at 718eee97ed6a4df41d14726eb2eddc871d9eaaa3, which is X. * Roll boringssl to 2deb984187ce8f6c739c780e7fe95e859e93b3da (which is the same as in Chromium at X). * Roll gtest to 00a70a9667d92a4695d84e4fa36b64f611f147da (which is the same as in Mojo at Y). * Make necessary local changes to the things copied in (//crypto is especially sad, since it's a one-line fix to its BUILD.gn). Note: All (I hope!) local changes are marked with "TODO(monet)" to make future updates easier. * Copy in build/config/BUILD.gn and testing/android/native_test/java/src/org/chromium/native_test/NativeTestActivity.java from the Mojo repo at Y. * Make necessary fixes to actual local code. TBR=jamesr@chromium.org Review URL: https://codereview.chromium.org/2033803002 .
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.