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