For now, link the WASM thing with the emscripten_fs_image from LO
The LO build directory in question needs to be one separately configured for this (not one that would use Qt5 for UI, for instance), so in the long run perhaps it does not make sense to create the FS image there in core, but we should do it here in online? And we will surely need additional files in the fs image anyway that core knows nothing about. Signed-off-by: Tor Lillqvist <tml@collabora.com> Change-Id: I2cff0421da6075eefc017603ddf9d2ecf9dc79e2pull/5690/head
parent
933a8088c4
commit
b004971e11
|
@ -66,4 +66,5 @@ online_LDADD = \
|
|||
# TODO these are just copypasta from core
|
||||
# TODO still missing --pre-js flags, which are needed?
|
||||
online_LDFLAGS = \
|
||||
-pthread -s USE_PTHREADS=1 -s TOTAL_MEMORY=1GB -s PTHREAD_POOL_SIZE=4 --bind -s FORCE_FILESYSTEM=1 -s WASM_BIGINT=1 -s ERROR_ON_UNDEFINED_SYMBOLS=1 -s FETCH=1 -s ASSERTIONS=1 -s EXIT_RUNTIME=0 -s EXPORTED_RUNTIME_METHODS=["UTF16ToString","stringToUTF16","UTF8ToString","allocateUTF8","printErr","ccall","cwrap","FS"] -pthread -s USE_PTHREADS=1 -s DISABLE_EXCEPTION_CATCHING=0 -s EXPORTED_FUNCTIONS=["_main","_libreofficekit_hook","_libreofficekit_hook_2","_lok_preinit","_lok_preinit_2"]
|
||||
-pthread -s USE_PTHREADS=1 -s TOTAL_MEMORY=1GB -s PTHREAD_POOL_SIZE=4 --bind -s FORCE_FILESYSTEM=1 -s WASM_BIGINT=1 -s ERROR_ON_UNDEFINED_SYMBOLS=1 -s FETCH=1 -s ASSERTIONS=1 -s EXIT_RUNTIME=0 -s EXPORTED_RUNTIME_METHODS=["UTF16ToString","stringToUTF16","UTF8ToString","allocateUTF8","printErr","ccall","cwrap","FS"] -pthread -s USE_PTHREADS=1 -s DISABLE_EXCEPTION_CATCHING=0 -s EXPORTED_FUNCTIONS=["_main","_libreofficekit_hook","_libreofficekit_hook_2","_lok_preinit","_lok_preinit_2"] \
|
||||
--pre-js @LOBUILDDIR@/workdir/CustomTarget/static/emscripten_fs_image/soffice.data.js.link
|
||||
|
|
Loading…
Reference in New Issue