Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
onlyoffice_core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
onlyoffice_core
Commits
90c06332
Commit
90c06332
authored
Oct 09, 2017
by
Oleg Korshul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
3ea48989
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
68 deletions
+12
-68
Common/3dParty/v8/build.bat
Common/3dParty/v8/build.bat
+6
-60
Common/3dParty/v8/fetch.bat
Common/3dParty/v8/fetch.bat
+6
-8
No files found.
Common/3dParty/v8/build.bat
View file @
90c06332
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/v
8
gen
.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
Common/3dParty/v8/fetch.bat
View file @
90c06332
...
...
@@ -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"
(
c
all
.\depot_tools\fetch
v8
)
call
./depot_tools/fetch
v8
c
d
v8
call
git
checkout
-b
6
.0
-t
branch
-heads
/6.0
call
depot_tools
\gclient
sync
-r
4
.10.253
call
gclient
sync
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment