| OLD | NEW |
| 1 #!/bin/bash | 1 #!/bin/bash |
| 2 # Copyright 2014 The Chromium Authors. All rights reserved. | 2 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 # URL from which the latest version of this script can be downloaded. | 6 # URL from which the latest version of this script can be downloaded. |
| 7 # Gitiles returns the result as base64 formatted, so the result needs to be | 7 # Gitiles returns the result as base64 formatted, so the result needs to be |
| 8 # decoded. See https://code.google.com/p/gitiles/issues/detail?id=7 for | 8 # decoded. See https://code.google.com/p/gitiles/issues/detail?id=7 for |
| 9 # more information about this security precaution. | 9 # more information about this security precaution. |
| 10 script_url="https://chromium.googlesource.com/chromium/src.git/+/master" | 10 script_url="https://chromium.googlesource.com/chromium/src.git/+/master" |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 adb start-server | 81 adb start-server |
| 82 | 82 |
| 83 # Forward various ports from the remote host to the local host: | 83 # Forward various ports from the remote host to the local host: |
| 84 # 5037: adb | 84 # 5037: adb |
| 85 # 8001: http server | 85 # 8001: http server |
| 86 # 9031: sync server | 86 # 9031: sync server |
| 87 # 9041: search by image server | 87 # 9041: search by image server |
| 88 # 9051: policy server | 88 # 9051: policy server |
| 89 # 10000: net unittests | 89 # 10000: net unittests |
| 90 # 10201: net unittests | 90 # 10201: net unittests |
| 91 ssh -C \ | 91 ssh -4 -C \ |
| 92 -R 5037:localhost:5037 \ | 92 -R 5037:localhost:5037 \ |
| 93 -L 8001:localhost:8001 \ | 93 -L 8001:localhost:8001 \ |
| 94 -L 9031:localhost:9031 \ | 94 -L 9031:localhost:9031 \ |
| 95 -L 9041:localhost:9041 \ | 95 -L 9041:localhost:9041 \ |
| 96 -L 9051:localhost:9051 \ | 96 -L 9051:localhost:9051 \ |
| 97 -R 10000:localhost:10000 \ | 97 -R 10000:localhost:10000 \ |
| 98 -R 10201:localhost:10201 \ | 98 -R 10201:localhost:10201 \ |
| 99 "$remote_host" | 99 "$remote_host" |
| OLD | NEW |