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

Unified Diff: build-v8.cmd

Issue 29451722: Issue 4907 - Update v8 to 5.7.278 in libadblockplus (Closed) Base URL: https://github.com/adblockplus/libadblockplus.git
Patch Set: address MSVS2017 and fix googletest Created June 14, 2017, 3:36 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « android-v8-options.gypi ('k') | common.gypi » ('j') | googletest.gyp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build-v8.cmd
diff --git a/build-v8.cmd b/build-v8.cmd
new file mode 100644
index 0000000000000000000000000000000000000000..a085302adceb5db8bf9a24bea74fdde61ee27bfb
--- /dev/null
+++ b/build-v8.cmd
@@ -0,0 +1,23 @@
+@echo off
+SETLOCAL
+
+rem %1 - MSBuildBinPath, e.g. c:\Program Files (x86)\MSBuild\14.0\Bin
+rem %2 - arch {ia32, x64}
+rem %3 - configuration {Release, Debug}
+rem %4 - platform toolset, e.g. v140
+set MsBuildBinPath=%~1
+set ARCH=%~2
+set CONFIGURATION=%~3
+set PlatformToolset=%~4
+
+pushd "%~dp0"
+
+@python msvs_gyp_wrapper.py --depth=build\%ARCH%\v8 -f msvs -I v8.gypi --generator-output=build\%ARCH%\v8 -G msvs_version=2015 -Dtarget_arch=%ARCH% -Dhost_arch=%ARCH% third_party/v8/src/v8.gyp
+
+@"%MSBuildBinPath%/msbuild.exe" /m build/%ARCH%/v8/third_party/v8/src/v8.sln /p:PlatformToolset=%PlatformToolset% /p:Configuration=%CONFIGURATION% /target:v8_snapshot,v8_libplatform,v8_libsampler
+
+popd
+
+ENDLOCAL
+
+exit /b
« no previous file with comments | « android-v8-options.gypi ('k') | common.gypi » ('j') | googletest.gyp » ('J')

Powered by Google App Engine
This is Rietveld