Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(153)

Unified Diff: update_depot_tools.bat

Issue 135933002: Automatic Windows toolchain (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: fixes 4 Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « .gitignore ('k') | win_toolchain/7z/7z.dll » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: update_depot_tools.bat
diff --git a/update_depot_tools.bat b/update_depot_tools.bat
index 58d3d849738edef1d9c4280add83ab79c7a872f0..d461aab6431961e293caa2229b5b8c18617c07b5 100644
--- a/update_depot_tools.bat
+++ b/update_depot_tools.bat
@@ -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
« no previous file with comments | « .gitignore ('k') | win_toolchain/7z/7z.dll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698