webrtc/rtc_tools/testing
Henrik Kjellander 51f8fa3664 Partial revert of "Update scripts to use DEPS-pinned depot_tools"
Revert the change to rtc_tools/testing/utils.py in
https://webrtc-review.googlesource.com/c/src/+/12540
because it breaks downstream build pipeline.

TBR=phoglund@webrtc.org

Bug: webrtc:8393,b/67931921
Change-Id: Iee77f6b9b15fe03894ee63b48c07eaf3dce40c99
No-try: True
Reviewed-on: https://webrtc-review.googlesource.com/13101
Reviewed-by: Henrik Kjellander <kjellander@webrtc.org>
Commit-Queue: Henrik Kjellander <kjellander@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#20337}
2017-10-18 13:06:58 +00:00
..
golang Moving src/webrtc into src/. 2017-09-15 04:25:06 +00:00
build_apprtc.py Moving src/webrtc into src/. 2017-09-15 04:25:06 +00:00
download_apprtc.py Moving src/webrtc into src/. 2017-09-15 04:25:06 +00:00
prebuilt_apprtc.zip.sha1 Moving src/webrtc into src/. 2017-09-15 04:25:06 +00:00
README.md Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
setup_apprtc.py Moving src/webrtc into src/. 2017-09-15 04:25:06 +00:00
utils.py Partial revert of "Update scripts to use DEPS-pinned depot_tools" 2017-10-18 13:06:58 +00:00

This directory contains prebuilt tools used during end-to-end tests. They will be downloaded by their SHA1 hash, and are not meant to be checked in.

Updating prebuilt_apprtc.zip:

  • Follow AppRTC instructions:
    • git clone https://github.com/webrtc/apprtc
    • Install NodeJS:
      • Download https://nodejs.org/ and extract it
      • export PATH="$(pwd)/node-v6.10.3-linux-x64/bin:$PATH"
    • cd apprtc
    • npm install
    • export PATH="$(pwd)/node_modules/.bin:$PATH"
    • pip install --user --upgrade pip setuptools - needed only on old systems
    • grunt
  • Vendor collider's dependencies:
    • ln -s "$(pwd)/src/collider" src/src
    • GOPATH="$(pwd)/src" go get -d collidermain
    • rm src/src
  • Remove unneeded files:
    • rm -rf .git node_modules browsers
  • zip -r prebuilt_apprtc.zip apprtc/
  • mv prebuilt_apprtc.zip webrtc/src/rtc_tools/testing/prebuilt_apprtc.zip

Updating golang/*:

  • Go to https://golang.org/dl/
  • Download these files:
    • go*.linux-amd64.tar.gz -> golang/linux/go.tar.gz
    • go*.darwin-amd64.tar.gz -> golang/mac/go.tar.gz
    • go*.windows-amd64.zip -> golang/windows/go.zip

After updating the archives:

  • cd webrtc/src/rtc_tools/testing
  • For each updated archive:
    • upload_to_google_storage.py file.zip --bucket=chromium-webrtc-resources
  • git commit -a && git cl upload