infra wasm: update the build script.

Disable the log in default for outside users.
we gonna turn it on manually for the lottie viewer
This commit is contained in:
Hermet Park 2023-08-17 18:04:42 +09:00 committed by Hermet Park
parent e7d29e166b
commit 3f05489b80

View file

@ -4,7 +4,7 @@
if [ ! -d "./build_wasm" ]; then
sed "s|EMSDK:|$1|g" wasm_cross.txt > /tmp/.wasm_cross.txt
meson -Db_lto=true -Ddefault_library=static -Dstatic=true -Dloaders="all, lottie" -Dsavers="all" -Dbindings="wasm_beta" -Dlog=true --cross-file /tmp/.wasm_cross.txt build_wasm
meson -Db_lto=true -Ddefault_library=static -Dstatic=true -Dloaders="all" -Dsavers="all" -Dbindings="wasm_beta" --cross-file /tmp/.wasm_cross.txt build_wasm
fi
ninja -C build_wasm/