Commit 90c06332 authored by Oleg Korshul's avatar Oleg Korshul

.

parent 3ea48989
SET SCRIPTPATH=%~dp0
CD /D %~dp0
SET PATH=%SCRIPTPATH%depot_tools;%SCRIPTPATH%depot_tools\python276_bin;%PATH%
SET DEPOT_TOOLS_WIN_TOOLCHAIN=0
SET GYP_MSVS_VERSION=2013
SET PATH=%SCRIPTPATH%depot_tools;%PATH%
set DEPOT_TOOLSPWIN_TOOLCHAIN=0
SET VC64_PATH=%ProgramFiles(x86)%\Microsoft Visual Studio 12.0\Common7\IDE
SET VC32_PATH=%ProgramFiles%\Microsoft Visual Studio 12.0\Common7\IDE
setlocal enabledelayedexpansion
if defined ProgramFiles(x86) (
SET PATH=!VC64_PATH!;!PATH!
) else (
SET PATH=!VC32_PATH!;!PATH!
)
if not exist "win_32" (
echo "building x86... -------------------------------------------"
md win_32
md win_32\debug
md win_32\release
call python v8\build\gyp_v8
call .\change_projects.bat
cd "%SCRIPTPATH%v8\tools\gyp"
call devenv v8.sln /Rebuild "Release"
call devenv v8.sln /Rebuild "Debug"
cd "%SCRIPTPATH%"
XCOPY /Y "v8\build\Release\lib\*" "win_32\release\"
XCOPY /Y "v8\build\Release\icudt.dll" "win_32\release\"
XCOPY /Y "v8\build\Debug\lib\*" "win_32\debug\"
XCOPY /Y "v8\build\Debug\icudt.dll" "win_32\debug\"
)
if not exist "win_64" (
echo "building x64... -------------------------------------------"
md win_64
md win_64\debug
md win_64\release
call python v8\build\gyp_v8 -Dtarget_arch=x64
call .\change_projects.bat
cd "%SCRIPTPATH%v8\tools\gyp"
call devenv v8.sln /Rebuild "Release"
call devenv v8.sln /Rebuild "Debug"
cd "%SCRIPTPATH%"
XCOPY /Y "v8\build\Release\lib\*" "win_64\release\"
XCOPY /Y "v8\build\Release\icudt.dll" "win_64\release\"
XCOPY /Y "v8\build\Debug\lib\*" "win_64\debug\"
XCOPY /Y "v8\build\Debug\icudt.dll" "win_64\debug\"
)
cd v8
call python tools/dev/v8gen.py x64.release
call gn gen out.gn/x64.release --args='is_debug=false target_cpu="x64" v8_target_cpu="x64" v8_static_library=true is_component_build=false v8_use_snapshot=false is_clang=false use_sysroot=false'
call ninja -C out.gn/x64.release
\ No newline at end of file
......@@ -5,15 +5,13 @@ if exist "depot_tools" (
echo "depot_tools already fetched"
) else (
call git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
call powershell -File .\fix-depot_tools.ps1
)
SET PATH=%SCRIPTPATH%depot_tools;%SCRIPTPATH%depot_tools\python276_bin;%PATH%
SET DEPOT_TOOLS_WIN_TOOLCHAIN=0
SET GYP_MSVS_VERSION=2013
SET PATH=%SCRIPTPATH%depot_tools;%PATH%
call gclient
if not exist "%SCRIPTPATH%v8" (
call .\depot_tools\fetch v8
)
call ./depot_tools/fetch v8
cd v8
call git checkout -b 6.0 -t branch-heads/6.0
call depot_tools\gclient sync -r 4.10.253
call gclient sync
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment