Преглед изворни кода

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 пре 5 година
родитељ
комит
882388508e
1 измењених фајлова са 1 додато и 2 уклоњено
  1. +1
    -2
      v8pp/build-v8.sh

+ 1
- 2
v8pp/build-v8.sh Прегледај датотеку

@@ -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

Loading…
Откажи
Сачувај