| OLD | NEW |
| (Empty) |
| 1 This directory contains prebuilt tools used during end-to-end tests. | |
| 2 They will be downloaded by their SHA1 hash, and are not meant to be checked in. | |
| 3 | |
| 4 Updating prebuilt_apprtc.zip: | |
| 5 | |
| 6 - Follow AppRTC instructions: | |
| 7 - `git clone https://github.com/webrtc/apprtc` | |
| 8 - Install NodeJS: | |
| 9 - Download <https://nodejs.org/> and extract it | |
| 10 - `export PATH="$(pwd)/node-v6.10.3-linux-x64/bin:$PATH"` | |
| 11 - `cd apprtc` | |
| 12 - `npm install` | |
| 13 - `export PATH="$(pwd)/node_modules/.bin:$PATH"` | |
| 14 - `pip install --user --upgrade pip setuptools` - needed only on old systems | |
| 15 - `grunt` | |
| 16 - Vendor collider's dependencies: | |
| 17 - `ln -s "$(pwd)/src/collider" src/src` | |
| 18 - `GOPATH="$(pwd)/src" go get -d collidermain` | |
| 19 - `rm src/src` | |
| 20 - Remove unneeded files: | |
| 21 - `rm -rf .git node_modules browsers` | |
| 22 - `zip -r prebuilt_apprtc.zip apprtc/` | |
| 23 - `mv prebuilt_apprtc.zip webrtc/src/webrtc/tools/testing/prebuilt_apprtc.zip` | |
| 24 | |
| 25 Updating golang/*: | |
| 26 | |
| 27 - Go to <https://golang.org/dl/> | |
| 28 - Download these files: | |
| 29 - go*.linux-amd64.tar.gz -> golang/linux/go.tar.gz | |
| 30 - go*.darwin-amd64.tar.gz -> golang/mac/go.tar.gz | |
| 31 - go*.windows-amd64.zip -> golang/windows/go.zip | |
| 32 | |
| 33 After updating the archives: | |
| 34 | |
| 35 - `cd webrtc/src/webrtc/tools/testing` | |
| 36 - For each updated archive: | |
| 37 - `upload_to_google_storage.py file.zip --bucket=chromium-webrtc-resources` | |
| 38 - `git commit -a && git cl upload` | |
| OLD | NEW |