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
cca1c9fb
Commit
cca1c9fb
authored
Jul 15, 2016
by
Oleg Korshul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fetch & build v8 linux & mac. windows - next step
parent
88300d34
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
72 additions
and
0 deletions
+72
-0
Common/3dParty/v8/build.sh
Common/3dParty/v8/build.sh
+66
-0
Common/3dParty/v8/fetch.sh
Common/3dParty/v8/fetch.sh
+6
-0
No files found.
Common/3dParty/v8/build.sh
0 → 100755
View file @
cca1c9fb
#!/bin/bash
export
PATH
=
`
pwd
`
/depot_tools:
"
$PATH
"
SCRIPT
=
$(
readlink
-f
"
$0
"
)
SCRIPTPATH
=
$(
dirname
"
$SCRIPT
"
)
os
=
$(
uname
-s
)
platform
=
""
case
"
$os
"
in
Linux
*
)
platform
=
"linux"
;;
Darwin
*
)
platform
=
"mac"
;;
*
)
exit
;;
esac
architecture
=
$(
uname
-m
)
arch
=
""
case
"
$architecture
"
in
x86_64
*
)
arch
=
"_64"
;;
*
)
arch
=
"_32"
;;
esac
if
[[
-d
"
$SCRIPTPATH
/
$platform$arch
"
]]
then
echo
else
mkdir
"
$SCRIPTPATH
/
$platform$arch
"
fi
cd
"
$SCRIPTPATH
/v8"
if
[[
"
$platform
"
==
*
"linux"
*
]]
then
CFLAGS
=
"-fPIC"
CXXFLAGS
=
"-fPIC"
make native
cp
"./out/native/obj.target/tools/gyp/libv8_base.a"
"./
$platform$arch
/"
cp
"./out/native/obj.target/tools/gyp/libv8_libbase.a"
"./
$platform$arch
/"
cp
"./out/native/obj.target/tools/gyp/libv8_libplatform.a"
"./
$platform$arch
/"
cp
"./out/native/obj.target/tools/gyp/libv8_nosnapshot.a"
"./
$platform$arch
/"
cp
"./out/native/obj.target/tools/gyp/libv8_external_snapshot.a"
"./
$platform$arch
/"
cp
"./out/native/obj.target/third_party/icu/libicui18n.a"
"./
$platform$arch
/"
cp
"./out/native/obj.target/third_party/icu/libicuuc.a"
"./
$platform$arch
/"
cp
"./out/native/obj.target/third_party/icu/libicudata.a"
"./
$platform$arch
/"
cp
"./third_party/icu/linux/icudtl_dat.S"
"./
$platform$arch
/"
fi
if
[[
"
$platform
"
==
*
"mac"
*
]]
then
CFLAGS
=
"-fPIC"
CXXFLAGS
=
"-fPIC -stdlib=libc++"
LDFLAGS
=
"-stdlib=libc++"
make native
cp
"./out/native/libv8_base.a"
"./
$platform$arch
/"
cp
"./out/native/libv8_libbase.a"
"./
$platform$arch
/"
cp
"./out/native/libv8_libplatform.a"
"./
$platform$arch
/"
cp
"./out/native/libv8_nosnapshot.a"
"./
$platform$arch
/"
cp
"./out/native/libv8_external_snapshot.a"
"./
$platform$arch
/"
cp
"./out/native/libicui18n.a"
"./
$platform$arch
/"
cp
"./out/native/libicuuc.a"
"./
$platform$arch
/"
cp
"./out/native/libicudata.a"
"./
$platform$arch
/"
cp
"./third_party/icu/mac/icudtl_dat.S"
"./
$platform$arch
/"
fi
Common/3dParty/v8/fetch.sh
0 → 100755
View file @
cca1c9fb
#!/bin/bash
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
export
PATH
=
`
pwd
`
/depot_tools:
"
$PATH
"
gclient
fetch v8
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