mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 02:31:29 +00:00
Similar to https://crrev.com/c/6395717, but for siso wrapper. This allows the build steps to use the bundled Python. Change-Id: I57d56622f204cb26e025f164f90c079089314180 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/6395718 Auto-Submit: Junji Watanabe <jwata@google.com> Commit-Queue: Junji Watanabe <jwata@google.com> Reviewed-by: Fumitoshi Ukai <ukai@google.com>
15 lines
447 B
Batchfile
15 lines
447 B
Batchfile
@echo off
|
|
:: Copyright 2023 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.
|
|
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
|
|
|
|
set scriptdir=%~dp0
|
|
|
|
:: Defer control.
|
|
@call %scriptdir%python-bin\python3 "%~dp0\siso.py" "%*"
|