|
@@ -4,17 +4,12 @@
|
|
:: found in the LICENSE file.
|
|
:: found in the LICENSE file.
|
|
setlocal
|
|
setlocal
|
|
|
|
|
|
-:: Shall skip automatic update?
|
|
|
|
-IF "%DEPOT_TOOLS_UPDATE%" == "0" GOTO :SKIP_UPDATE
|
|
|
|
-
|
|
|
|
:: Synchronize the root directory before deferring control back to gclient.py.
|
|
:: Synchronize the root directory before deferring control back to gclient.py.
|
|
call "%~dp0update_depot_tools.bat" %*
|
|
call "%~dp0update_depot_tools.bat" %*
|
|
|
|
|
|
-:SKIP_UPDATE
|
|
|
|
-
|
|
|
|
:: Ensure that "depot_tools" is somewhere in PATH so this tool can be used
|
|
:: Ensure that "depot_tools" is somewhere in PATH so this tool can be used
|
|
:: standalone, but allow other PATH manipulations to take priority.
|
|
:: standalone, but allow other PATH manipulations to take priority.
|
|
set PATH=%PATH%;%~dp0
|
|
set PATH=%PATH%;%~dp0
|
|
|
|
|
|
:: Defer control.
|
|
:: Defer control.
|
|
-%~dp0\vpython "%~dp0\gclient.py" %*
|
|
|
|
|
|
+python "%~dp0gclient.py" %*
|