blob: 14b685809371db59af517ea5c2b9aa7e99a90f72 [file] [log] [blame]
Jeremy Leconte4fc9bd92022-03-18 10:21:07 +01001#!/usr/bin/env vpython3
2
3# Copyright (c) 2022 The WebRTC project authors. All Rights Reserved.
4#
5# Use of this source code is governed by a BSD-style license
6# that can be found in the LICENSE file in the root of the source
7# tree. An additional intellectual property rights grant can be found
8# in the file PATENTS. All contributing project authors may
9# be found in the AUTHORS file in the root of the source tree.
10"""Calls process_perf_results.py with a python 3 interpreter."""
11
12import sys
13import subprocess
14
15
16# TODO(crbug.com/webrtc/13835): Delete this file and use
17# process_perf_results.py instead.
18def main():
19 cmd = sys.argv[0].replace('_py2', '')
20 print('Calling "%s" with py3 in case this script was called with py2.' % cmd)
21 return subprocess.call(['vpython3', cmd] + sys.argv[1:])
22
23
24if __name__ == '__main__':
25 sys.exit(main())