Commit 2a408f0e authored by Oleg Korshul's avatar Oleg Korshul

.

parent 047d0567
...@@ -24,12 +24,15 @@ esac ...@@ -24,12 +24,15 @@ esac
cd "$SCRIPTPATH/v8" cd "$SCRIPTPATH/v8"
if [[ "$platform" == "linux" ]] if [[ "$platform$arch" == "linux_64" ]]
then then
gn gen out.gn/linux_64 --args='is_debug=false target_cpu="x64" v8_static_library=true is_component_build=false v8_use_snapshot=false' gn gen out.gn/linux_64 --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'
ninja -C out.gn/linux_64 ninja -C out.gn/linux_64
fi
gn gen out.gn/linux_32 --args='is_debug=false target_cpu="x86" v8_static_library=true is_component_build=false v8_use_snapshot=false' if [[ "$platform$arch" == "linux_32" ]]
then
gn gen out.gn/linux_32 --args='is_debug=false target_cpu="x86" v8_target_cpu="x86" v8_static_library=true is_component_build=false v8_use_snapshot=false is_clang=false use_sysroot=false'
ninja -C out.gn/linux_32 ninja -C out.gn/linux_32
fi fi
......
...@@ -23,3 +23,13 @@ cd v8 ...@@ -23,3 +23,13 @@ cd v8
fi fi
gclient sync gclient sync
os=$(uname -s)
platform=""
case "$os" in
Linux*) platform="linux" ;;
*) exit ;;
esac
if [[ "$platform" == "linux" ]]
./fetch_linux_correct.sh
fi
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