mirror of
https://chromium.googlesource.com/chromium/tools/depot_tools.git
synced 2026-01-11 10:41:31 +00:00
Re-land: Added virtualenv for depot_tools
Original CL: https://chromiumcodereview.appspot.com/1200843003/ R=pgervais@chromium.org BUG=503067 TEST=tested on Mac, Windows and Linux bots Review URL: https://codereview.chromium.org/1205873002. git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@295842 0039d316-1c4b-4281-b951-d872f2087c98
This commit is contained in:
@@ -27,6 +27,11 @@ if errorlevel 1 goto :EOF
|
||||
:: Now clear errorlevel so it can be set by other programs later.
|
||||
set errorlevel=
|
||||
|
||||
:: Initialize/update virtualenv.
|
||||
cd /d "%DEPOT_TOOLS_DIR%."
|
||||
python -u bootstrap\bootstrap.py --deps_file bootstrap\deps.pyl --quiet ENV
|
||||
if errorlevel 1 goto :EOF
|
||||
|
||||
:: Shall skip automatic update?
|
||||
IF "%DEPOT_TOOLS_UPDATE%" == "0" GOTO :EOF
|
||||
|
||||
|
||||
Reference in New Issue
Block a user