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

Side by Side Diff: hammer.bat

Issue 2016053004: Dropping remaining scons references. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Created 4 years, 6 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 unified diff | Download patch
« no previous file with comments | « hammer ('k') | tests/subversion_config/config » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 @echo off
2
3
4 @rem We're in a submodule directory, look relative to the parent.
5 call python "%cd%\..\third_party\scons\scons.py" "--site-dir=..\site_scons" %*
6 goto omega
7
8 :srcdir
9 call python "%cd%\third_party\scons\scons.py" --site-dir=site_scons %*
10 goto omega
11
12 @rem Per the following page:
13 @rem http://code-bear.com/bearlog/2007/06/01/getting-the-exit-code-from-a-batc h-file-that-is-run-from-a-python-program/
14 @rem Just calling "exit /b" passes back an exit code, but in a way
15 @rem that does NOT get picked up correctly when executing the .bat
16 @rem file from the Python subprocess module. Using "call" as the
17 @rem last command in the .bat file makes it work as expected.
18
19 :returncode
20 exit /b %ERRORLEVEL%
21
22 :omega
23 call :returncode %ERRORLEVEL%
OLDNEW
« no previous file with comments | « hammer ('k') | tests/subversion_config/config » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698