Преглед на файлове

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…
Отказ
Запис