mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 10:41:31 +00:00
Bug: 939847 Change-Id: Ic5f87c7423ab72086ca928fecc15ed60408fbedd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1900165 Reviewed-by: Anthony Polito <apolito@google.com> Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
20 lines
608 B
Batchfile
Executable File
20 lines
608 B
Batchfile
Executable File
@echo off
|
|
:: Copyright (c) 2013 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
|
|
|
|
:: Synchronize the root directory before deferring control back to gclient.py.
|
|
call "%~dp0\update_depot_tools.bat"
|
|
|
|
:: 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.
|
|
IF "%GCLIENT_PY3%" == "1" (
|
|
vpython3 "%~dp0\fetch.py" %*
|
|
) ELSE (
|
|
vpython "%~dp0\fetch.py" %*
|
|
)
|