Explorar el Código

Fix v8 build, the order in which I manipulated args.gn prevented .so's from being built.

Cannot put targets for static and then add shared, this args file is per specific build, and not for producing multiple artifacts.
master
Ray Burgemeestre hace 5 años
padre
commit
882388508e
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. +1
    -2
      v8pp/build-v8.sh

+ 1
- 2
v8pp/build-v8.sh Ver fichero

@@ -27,12 +27,11 @@ echo "v8_use_external_startup_data = false" | tee -a out/x64.release/args.gn
echo "v8_use_snapshot = false" | tee -a out/x64.release/args.gn
echo "use_custom_libcxx = false" | tee -a out/x64.release/args.gn

./tools/dev/gm.py x64.release

# produce monolith (single static all in one .a file)
echo "v8_monolithic = true" | tee -a out/x64.release/args.gn
ninja -C out/x64.release v8_monolith

# produce .so files (shared libs)
sed -i.bak '/^v8_monolithic/d' out/x64.release/args.gn
echo "is_component_build = true" | tee -a out/x64.release/args.gn
ninja -C out/x64.release

Cargando…
Cancelar
Guardar