|
@@ -4,9 +4,11 @@
|
|
:: found in the LICENSE file.
|
|
:: found in the LICENSE file.
|
|
setlocal
|
|
setlocal
|
|
|
|
|
|
|
|
+set scriptdir=%~dp0
|
|
|
|
+
|
|
:: 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%;%scriptdir%
|
|
|
|
|
|
:: Defer control.
|
|
:: Defer control.
|
|
-python3 "%~dp0\ninja.py" %*
|
|
|
|
|
|
+call %scriptdir%python-bin\python3.bat "%~dp0\ninja.py" %*
|