diff --git a/reclient_metrics b/reclient_metrics new file mode 100755 index 0000000000..830b81c1c4 --- /dev/null +++ b/reclient_metrics @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +# Copyright 2023 The Chromium Authors +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +base_dir=$(dirname "$0") +PYTHONDONTWRITEBYTECODE=1 exec python3 "$base_dir/reclient_metrics.py" "$@" diff --git a/reclient_metrics.bat b/reclient_metrics.bat new file mode 100755 index 0000000000..7e69abf8b9 --- /dev/null +++ b/reclient_metrics.bat @@ -0,0 +1,12 @@ +@echo off +:: Copyright 2023 The Chromium Authors +:: Use of this source code is governed by a BSD-style license that can be +:: found in the LICENSE file. +setlocal + +:: Ensure that "depot_tools" is somewhere in PATH so this tool can be used +:: standalone, but allow other PATH manipulations to take priority. +set PATH=%PATH%;%~dp0 + +:: Defer control. +python3 "%~dp0\reclient_metrics.py" "%*"