blob: 7d5c774cf04613f5b83be3551deec5fc9fba1762 [file] [log] [blame] [view]
oprypin5b2b33a2017-05-16 12:36:151This directory contains prebuilt tools used during end-to-end tests.
2They will be downloaded by their SHA1 hash, and are not meant to be checked in.
3
4Updating 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/`
kjellandere51fcf72017-06-30 10:04:5923- `mv prebuilt_apprtc.zip webrtc/src/webrtc/rtc_tools/testing/prebuilt_apprtc.zip`
oprypin5b2b33a2017-05-16 12:36:1524
25Updating 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
33After updating the archives:
34
kjellandere51fcf72017-06-30 10:04:5935- `cd webrtc/src/webrtc/rtc_tools/testing`
oprypin5b2b33a2017-05-16 12:36:1536- For each updated archive:
37 - `upload_to_google_storage.py file.zip --bucket=chromium-webrtc-resources`
38- `git commit -a && git cl upload`