mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 10:41:31 +00:00
Automatic Windows toolchain
Per comments in linked bug, this is simply moved from chromium. The only new thing is hooking it into update_depot_tools.bat, and updating a few paths in the scripts. This is currently opt-in via "set DEPOT_TOOLS_WIN_TOOLCHAIN=1" but that will be removed once it's ready for deployment. R=iannucci@chromium.org, maruel@chromium.org BUG=323300 Review URL: https://codereview.chromium.org/135933002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@244983 0039d316-1c4b-4281-b951-d872f2087c98
This commit is contained in:
@@ -30,6 +30,13 @@ if errorlevel 1 goto :EOF
|
||||
:: Now clear errorlevel so it can be set by other programs later.
|
||||
set errorlevel=
|
||||
|
||||
:: Opt-in for now.
|
||||
IF "%DEPOT_TOOLS_WIN_TOOLCHAIN%" == "" GOTO :NOTOOLCHAIN
|
||||
call python %~dp0win_toolchain\get_toolchain_if_necessary.py
|
||||
if errorlevel 1 goto :EOF
|
||||
set errorlevel=
|
||||
:NOTOOLCHAIN
|
||||
|
||||
:: Shall skip automatic update?
|
||||
IF "%DEPOT_TOOLS_UPDATE%" == "0" GOTO :EOF
|
||||
|
||||
|
||||
Reference in New Issue
Block a user