ソースを参照

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
コミット
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

読み込み中…
キャンセル
保存