| OLD | NEW |
| 1 @echo off | 1 @echo off |
| 2 :: Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 :: Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 3 :: Use of this source code is governed by a BSD-style license that can be | 3 :: Use of this source code is governed by a BSD-style license that can be |
| 4 :: found in the LICENSE file. | 4 :: found in the LICENSE file. |
| 5 | 5 |
| 6 :: This script will try to find if svn and python are accessible and it not, | 6 :: This script will try to find if svn and python are accessible and it not, |
| 7 :: it will try to download it and 'install' it in depot_tools. | 7 :: it will try to download it and 'install' it in depot_tools. |
| 8 | 8 |
| 9 :: Sadly, we can't use SETLOCAL here otherwise it ERRORLEVEL is not correctly | 9 :: Sadly, we can't use SETLOCAL here otherwise it ERRORLEVEL is not correctly |
| 10 :: returned. | 10 :: returned. |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 :PYTHON_FAIL | 53 :PYTHON_FAIL |
| 54 echo ... Failed to checkout python automatically. | 54 echo ... Failed to checkout python automatically. |
| 55 echo Please visit http://python.org to download the latest python 2.7.x client b
efore | 55 echo Please visit http://python.org to download the latest python 2.7.x client b
efore |
| 56 echo continuing. | 56 echo continuing. |
| 57 echo You can also get the "prebacked" version used at %WIN_TOOLS_ROOT_URL%/third
_party/ | 57 echo You can also get the "prebacked" version used at %WIN_TOOLS_ROOT_URL%/third
_party/ |
| 58 set ERRORLEVEL=1 | 58 set ERRORLEVEL=1 |
| 59 goto :END | 59 goto :END |
| 60 | 60 |
| 61 | 61 |
| 62 :GIT_CHECK | 62 :GIT_CHECK |
| 63 goto :GIT_190_CHECK | 63 goto :GIT_1852_CHECK |
| 64 | 64 |
| 65 | 65 |
| 66 :GIT_190_CHECK | 66 :GIT_190_CHECK |
| 67 if "%DEPOT_TOOLS_GIT_190%" == "0" goto :GIT_1852_CHECK | 67 if "%DEPOT_TOOLS_GIT_190%" == "0" goto :GIT_1852_CHECK |
| 68 set GIT_VERSION=1.9.0.chromium.1 | 68 set GIT_VERSION=1.9.0.chromium.1 |
| 69 set GIT_BIN_DIR=git-%GIT_VERSION%_bin | 69 set GIT_BIN_DIR=git-%GIT_VERSION%_bin |
| 70 set GIT_ZIP_FILE=%GIT_BIN_DIR%.zip | 70 set GIT_ZIP_FILE=%GIT_BIN_DIR%.zip |
| 71 set GIT_ZIP_URL=https://commondatastorage.googleapis.com/chrome-infra/%GIT_ZIP_F
ILE% | 71 set GIT_ZIP_URL=https://commondatastorage.googleapis.com/chrome-infra/%GIT_ZIP_F
ILE% |
| 72 goto :GIT_COMMON | 72 goto :GIT_COMMON |
| 73 | 73 |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 goto :END | 192 goto :END |
| 193 | 193 |
| 194 | 194 |
| 195 :returncode | 195 :returncode |
| 196 set WIN_TOOLS_ROOT_URL= | 196 set WIN_TOOLS_ROOT_URL= |
| 197 set WIN_TOOLS_ROOT_DIR= | 197 set WIN_TOOLS_ROOT_DIR= |
| 198 exit /b %ERRORLEVEL% | 198 exit /b %ERRORLEVEL% |
| 199 | 199 |
| 200 :END | 200 :END |
| 201 call :returncode %ERRORLEVEL% | 201 call :returncode %ERRORLEVEL% |
| OLD | NEW |