mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 18:51:29 +00:00
This adds reclient_metrics and reclient_metrics.bat to make it easier to run reclient_metrics.py. In particular this lets the script be run without caring about its location and without (on Windows) having to prefix the script with "python3". This slightly simplifies the reclient instructions. Bug: None Change-Id: Ied58f452edb13cf257873ddee043817a765eee3c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/4764130 Auto-Submit: Bruce Dawson <brucedawson@chromium.org> Reviewed-by: Ben Segall <bentekkie@google.com> Commit-Queue: Scott Lee <ddoman@chromium.org> Reviewed-by: Scott Lee <ddoman@chromium.org>
13 lines
388 B
Batchfile
Executable File
13 lines
388 B
Batchfile
Executable File
@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" "%*"
|