| OLD | NEW |
| 1 This repository contains the network service implementation for Mojo. | 1 This repository contains the network service implementation for Mojo. |
| 2 | 2 |
| 3 This repository uses gclient to manage dependencies so to work with it follow | 3 This repository uses gclient to manage dependencies so to work with it follow |
| 4 these instructions instead of cloning the repo directly: | 4 these instructions instead of cloning the repo directly: |
| 5 | 5 |
| 6 0.) Install depot_tools and add them to your PATH: https://www.chromium.org/deve
lopers/how-tos/install-depot-tools | 6 0.) Install depot_tools and add them to your PATH: https://www.chromium.org/deve
lopers/how-tos/install-depot-tools |
| 7 | 7 |
| 8 1.) Make a directory for monet and add a .gclient file: | 8 1.) Make a directory for monet and add a .gclient file: |
| 9 ``` | 9 ``` |
| 10 $ mkdir monet | 10 $ mkdir monet |
| 11 $ cat <<EOF > dot_gclient | 11 $ cd monet |
| 12 $ cat <<EOF > .gclient |
| 12 solutions = [ | 13 solutions = [ |
| 13 { | 14 { |
| 14 u'managed': False, | 15 u'managed': False, |
| 15 u'name': u'src', | 16 u'name': u'src', |
| 16 u'url': u'https://github.com/domokit/monet.git', | 17 u'url': u'https://github.com/domokit/monet.git', |
| 17 u'custom_deps': {}, | 18 u'custom_deps': {}, |
| 18 u'deps_file': u'DEPS', | 19 u'deps_file': u'DEPS', |
| 19 u'safesync_url': u''} | 20 u'safesync_url': u''} |
| 20 ] | 21 ] |
| 21 target_os = [u'android'] | 22 target_os = [u'android'] |
| 22 EOF | 23 EOF |
| 23 ``` | 24 ``` |
| 24 | 25 |
| 25 2.) Use gclient to pull down the monet repository and dependencies. This will | 26 2.) Use gclient to pull down the monet repository and dependencies. This will |
| 26 create a directory under monet called 'src' containing the main repository. | 27 create a directory under monet called 'src' containing the main repository. |
| 27 ``` | 28 ``` |
| 28 $ cd monet | |
| 29 $ gclient sync | 29 $ gclient sync |
| 30 ``` | 30 ``` |
| 31 | 31 |
| 32 3.) Install the android SDK. | 32 3.) Install the android SDK. |
| 33 ``` | 33 ``` |
| 34 $ cd src | 34 $ cd src |
| 35 $ ./build/install-android-sdks.sh | 35 $ ./build/install-android-sdks.sh |
| 36 ``` | 36 ``` |
| 37 | 37 |
| 38 | 38 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 56 $ git cl land | 56 $ git cl land |
| 57 ``` | 57 ``` |
| 58 | 58 |
| 59 7.) Upload binary artifacts to Google Cloud storage | 59 7.) Upload binary artifacts to Google Cloud storage |
| 60 ``` | 60 ``` |
| 61 $ ./claude.py upload | 61 $ ./claude.py upload |
| 62 ``` | 62 ``` |
| 63 | 63 |
| 64 The code in //net is the code from https://chromium.googlesource.com/chromium/sr
c/net/ | 64 The code in //net is the code from https://chromium.googlesource.com/chromium/sr
c/net/ |
| 65 at commit 9249e230ffc9c0ef2f6f269a8d8cd39deba2c4d4 with net_patch.diff applied. | 65 at commit 9249e230ffc9c0ef2f6f269a8d8cd39deba2c4d4 with net_patch.diff applied. |
| OLD | NEW |