summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/webrtc/tools/loopback_test/run-server.sh
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/webrtc/tools/loopback_test/run-server.sh')
-rwxr-xr-xchromium/third_party/webrtc/tools/loopback_test/run-server.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/chromium/third_party/webrtc/tools/loopback_test/run-server.sh b/chromium/third_party/webrtc/tools/loopback_test/run-server.sh
new file mode 100755
index 00000000000..35c0797c24d
--- /dev/null
+++ b/chromium/third_party/webrtc/tools/loopback_test/run-server.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+#
+# Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
+#
+# Use of this source code is governed by a BSD-style license
+# that can be found in the LICENSE file in the root of the source
+# tree. An additional intellectual property rights grant can be found
+# in the file PATENTS. All contributing project authors may
+# be found in the AUTHORS file in the root of the source tree.
+#
+# This script is used to launch a simple http server for files in the same
+# location as the script itself.
+cd "`dirname \"$0\"`"
+echo "Starting http server in port 8080."
+exec python -m SimpleHTTPServer 8080