Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(949)

Unified Diff: webrtc/tools/py_event_log_analyzer/rtp_analyzer.sh

Issue 1999113002: New rtc dump analyzing tool in Python (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Added protobuf dependency back. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/tools/py_event_log_analyzer/rtp_analyzer.py ('k') | webrtc/tools/tools.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/tools/py_event_log_analyzer/rtp_analyzer.sh
diff --git a/tools/python_charts/webrtc/__init__.py b/webrtc/tools/py_event_log_analyzer/rtp_analyzer.sh
old mode 100644
new mode 100755
similarity index 56%
copy from tools/python_charts/webrtc/__init__.py
copy to webrtc/tools/py_event_log_analyzer/rtp_analyzer.sh
index 674c80f373c9f80e6425a3eafe35adf5b4aba566..7727d597d2275c029f44ddfa271c54add962f661
--- a/tools/python_charts/webrtc/__init__.py
+++ b/webrtc/tools/py_event_log_analyzer/rtp_analyzer.sh
@@ -1,8 +1,16 @@
-#!/usr/bin/env python
-# Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
+#!/bin/sh
+# Copyright (c) 2016 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.
+set -e
+cd $(dirname $0)
+PYTHONPATH="../../third_party/protobuf/python/"
+if [ -z ${PYTHON_EXECUTABLE+x} ]
+then
+ PYTHON_EXECUTABLE=python3
+fi
+exec $PYTHON_EXECUTABLE "rtp_analyzer.py" $@
« no previous file with comments | « webrtc/tools/py_event_log_analyzer/rtp_analyzer.py ('k') | webrtc/tools/tools.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698