• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

golang/23-Nov-2023-33

README.mdD23-Nov-20231.7 KiB4538

build_apprtc.pyD23-Nov-20232.2 KiB6840

download_apprtc.pyD23-Nov-20231.9 KiB5932

prebuilt_apprtc.zip.sha1D23-Nov-202340 11

setup_apprtc.pyD23-Nov-20231.4 KiB4623

utils.pyD23-Nov-20233.9 KiB12992

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