Added virtualenv for depot_tools

R=pgervais@chromium.org
BUG=503067
TEST=tested on Mac, Windows and Linux bots

Review URL: https://codereview.chromium.org/1200843003.

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@295811 0039d316-1c4b-4281-b951-d872f2087c98
This commit is contained in:
sergiyb@chromium.org
2015-06-24 05:23:07 +00:00
parent 40b53b7477
commit b3bae3748a
8 changed files with 345 additions and 1 deletions

View File

@@ -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 "%DEPOT_TOOLS_DIR%"
python -u bootstrap\bootstrap.py --deps_file bootstrap\deps.pyl ENV
if errorlevel 1 goto :EOF
:: Shall skip automatic update?
IF "%DEPOT_TOOLS_UPDATE%" == "0" GOTO :EOF