Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Delta Between Two Patch Sets: build-v8.cmd

Issue 29451722: Issue 4907 - Update v8 to 5.7.278 in libadblockplus (Closed) Base URL: https://github.com/adblockplus/libadblockplus.git
Left Patch Set: Created May 30, 2017, 3:02 p.m.
Right Patch Set: independence from file mode of make_gyp_wrapper.py Created July 4, 2017, 11:11 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « android-v8-options.gypi ('k') | common.gypi » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 @echo off 1 @echo off
2 SETLOCAL 2 SETLOCAL
3 3
4 rem %1 - arch {ia32, x64} 4 rem %1 - MSBuildBinPath, e.g. c:\Program Files (x86)\MSBuild\14.0\Bin
5 rem %2 - configuration {Release, Debug} 5 rem %2 - arch {ia32, x64}
6 set ARCH=%~1 6 rem %3 - configuration {Release, Debug}
7 set CONFIGURATION=%~2 7 rem %4 - platform toolset, e.g. v140
8 set MsBuildBinPath=%~1
9 set ARCH=%~2
10 set CONFIGURATION=%~3
11 set PlatformToolset=%~4
8 12
9 pushd "%~dp0" 13 pushd "%~dp0"
10 14
11 @python msvs_gyp_wrapper.py --depth=build\%ARCH%\v8 -f msvs -I v8.gypi --generat or-output=build\%ARCH%\v8 -G msvs_version=2015 -Dtarget_arch=%ARCH% -Dhost_arch= %ARCH% third_party/v8/src/v8.gyp 15 @python msvs_gyp_wrapper.py --depth=build\%ARCH%\v8 -f msvs -I v8.gypi --generat or-output=build\%ARCH%\v8 -G msvs_version=2015 -Dtarget_arch=%ARCH% -Dhost_arch= %ARCH% third_party/v8/src/v8.gyp
sergei 2017/05/31 12:47:11 I would like to keep 2015 here hardcoded for prese
12 16
13 @call "c:\Program Files (x86)\Microsoft Visual Studio 14.0\vc\bin\vcvars32.bat" 17 @"%MSBuildBinPath%/msbuild.exe" /m build/%ARCH%/v8/third_party/v8/src/v8.sln /p: PlatformToolset=%PlatformToolset% /p:Configuration=%CONFIGURATION% /target:v8_sn apshot,v8_libplatform,v8_libsampler
Eric 2017/05/30 17:31:40 This is completely ugly. I'm using VS 2017 ordinar
sergei 2017/05/31 12:47:11 Done. This script actually is not supposed to be m
14
15 @msbuild /m build/%ARCH%/v8/third_party/v8/src/v8.sln /p:Configuration=%CONFIGUR ATION% /target:v8_snapshot,v8_libplatform,v8_libsampler
16 18
17 popd 19 popd
18 20
19 ENDLOCAL 21 ENDLOCAL
20 22
21 exit /b 0 23 exit /b
Eric 2017/05/30 17:31:40 Why suppress errors? It seems that if there's an
sergei 2017/05/31 12:47:11 Done.
LEFTRIGHT

Powered by Google App Engine
This is Rietveld