You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.7 KiB

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
​
  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. Updating prebuilt_apprtc.zip:
  4. - Follow AppRTC instructions:
  5. - `git clone https://github.com/webrtc/apprtc`
  6. - Install NodeJS:
  7. - Download <https://nodejs.org/> and extract it
  8. - `export PATH="$(pwd)/node-v6.10.3-linux-x64/bin:$PATH"`
  9. - `cd apprtc`
  10. - `npm install`
  11. - `export PATH="$(pwd)/node_modules/.bin:$PATH"`
  12. - `pip install --user --upgrade pip setuptools` - needed only on old systems
  13. - `grunt`
  14. - Vendor collider's dependencies:
  15. - `ln -s "$(pwd)/src/collider" src/src`
  16. - `GOPATH="$(pwd)/src" go get -d collidermain`
  17. - `rm src/src`
  18. - Install additional components:
  19. - `python temp/google-cloud-sdk/bin/dev_appserver.py out/app_engine`
  20. - Stop it and run the suggestion: `./temp/google-cloud-sdk/bin/gcloud
  21. components install app-engine-python-extras`
  22. - Remove largest unneeded files:
  23. - `rm -rf .git node_modules browsers
  24. temp/google-cloud-sdk/.install/.{backup,download}
  25. temp/google-cloud-sdk/platform/google_appengine/lib/django-*`
  26. - `zip -r prebuilt_apprtc.zip apprtc/`
  27. - `mv prebuilt_apprtc.zip webrtc/src/rtc_tools/testing/prebuilt_apprtc.zip`
  28. Updating golang/*:
  29. - Go to <https://golang.org/dl/>
  30. - Download these files:
  31. - go*.linux-amd64.tar.gz -> golang/linux/go.tar.gz
  32. - go*.darwin-amd64.tar.gz -> golang/mac/go.tar.gz
  33. - go*.windows-amd64.zip -> golang/windows/go.zip
  34. After updating the archives:
  35. - `cd webrtc/src/rtc_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`