mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 10:41:31 +00:00
R=ehmaldonado@chromium.org Bug: 1065582 Change-Id: I434db17d4113cdf623ad733b65aa66b770766fb4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2131468 Reviewed-by: Edward Lesmes <ehmaldonado@chromium.org> Commit-Queue: Josip Sokcevic <sokcevic@google.com>
13 lines
603 B
Batchfile
13 lines
603 B
Batchfile
@echo off
|
|
:: Copyright 2019 The Chromium Authors. All rights reserved.
|
|
:: Use of this source code is governed by a BSD-style license that can be
|
|
:: found in the LICENSE file.
|
|
|
|
:: TODO(crbug.com/1003139): Remove.
|
|
:: Add Python 3 to PATH to work around crbug.com/1003139.
|
|
for /f %%i in (%~dp0python3_bin_reldir.txt) do set PYTHON3_BIN_RELDIR=%%i
|
|
set PATH=%~dp0%PYTHON3_BIN_RELDIR%;%~dp0%PYTHON3_BIN_RELDIR%\Scripts;%~dp0%PYTHON3_BIN_RELDIR%\DLLs;%PATH%
|
|
|
|
call "%~dp0\cipd_bin_setup.bat" > nul 2>&1
|
|
"%~dp0\.cipd_bin\vpython3.exe" -vpython-interpreter "%~dp0\%PYTHON3_BIN_RELDIR%\python3.exe" %*
|