Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
golang/ | 23-Nov-2023 | - | 3 | 3 | ||
README.md | D | 23-Nov-2023 | 1.7 KiB | 45 | 38 | |
build_apprtc.py | D | 23-Nov-2023 | 2.2 KiB | 68 | 40 | |
download_apprtc.py | D | 23-Nov-2023 | 1.9 KiB | 59 | 32 | |
prebuilt_apprtc.zip.sha1 | D | 23-Nov-2023 | 40 | 1 | 1 | |
setup_apprtc.py | D | 23-Nov-2023 | 1.4 KiB | 46 | 23 | |
utils.py | D | 23-Nov-2023 | 3.9 KiB | 129 | 92 |
README.md
1This 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- Install additional components: 21 - `python temp/google-cloud-sdk/bin/dev_appserver.py out/app_engine` 22 - Stop it and run the suggestion: `./temp/google-cloud-sdk/bin/gcloud 23 components install app-engine-python-extras` 24- Remove largest unneeded files: 25 - `rm -rf .git node_modules browsers 26 temp/google-cloud-sdk/.install/.{backup,download} 27 temp/google-cloud-sdk/platform/google_appengine/lib/django-*` 28- `zip -r prebuilt_apprtc.zip apprtc/` 29- `mv prebuilt_apprtc.zip webrtc/src/rtc_tools/testing/prebuilt_apprtc.zip` 30 31Updating golang/*: 32 33- Go to <https://golang.org/dl/> 34- Download these files: 35 - go*.linux-amd64.tar.gz -> golang/linux/go.tar.gz 36 - go*.darwin-amd64.tar.gz -> golang/mac/go.tar.gz 37 - go*.windows-amd64.zip -> golang/windows/go.zip 38 39After updating the archives: 40 41- `cd webrtc/src/rtc_tools/testing` 42- For each updated archive: 43 - `upload_to_google_storage.py file.zip --bucket=chromium-webrtc-resources` 44- `git commit -a && git cl upload` 45