config_host.mk.in | 1 + configure.ac | 1 + lingucomponent/Module_lingucomponent.mk | 7 ++++++- 3 files changed, 8 insertions(+), 1 deletion(-)
New commits: commit b40f46548fee555b89626e6b17177a1d600b82c1 Author: Thorsten Behrens <thorsten.behr...@allotropia.de> AuthorDate: Sat Aug 13 08:52:43 2022 +0200 Commit: Thorsten Behrens <thorsten.behr...@allotropia.de> CommitDate: Mon Nov 28 16:46:58 2022 +0100 Disable languagetool for WASM build Change-Id: Icd0face05c33bbb1b56230a59015402d5f565422 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143385 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <thorsten.behr...@allotropia.de> diff --git a/config_host.mk.in b/config_host.mk.in index 1352749754e3..567aca7e72dc 100644 --- a/config_host.mk.in +++ b/config_host.mk.in @@ -226,6 +226,7 @@ export ENABLE_WASM_STRIP_EPUB=@ENABLE_WASM_STRIP@ export ENABLE_WASM_STRIP_EXTRA=@ENABLE_WASM_STRIP@ export ENABLE_WASM_STRIP_GUESSLANG=@ENABLE_WASM_STRIP@ export ENABLE_WASM_STRIP_HUNSPELL= +export ENABLE_WASM_STRIP_LANGUAGETOOL=@ENABLE_WASM_STRIP@ export ENABLE_WASM_STRIP_LOCALES=@ENABLE_WASM_STRIP@ export ENABLE_WASM_STRIP_PINGUSER=@ENABLE_WASM_STRIP@ export ENABLE_WASM_STRIP_PREMULTIPLY=@ENABLE_WASM_STRIP@ diff --git a/configure.ac b/configure.ac index 40094c4801c7..0d0ccebda32a 100644 --- a/configure.ac +++ b/configure.ac @@ -3080,6 +3080,7 @@ if test "$enable_wasm_strip" = "yes"; then AC_DEFINE(ENABLE_WASM_STRIP_EXTRA) AC_DEFINE(ENABLE_WASM_STRIP_GUESSLANG) # AC_DEFINE(ENABLE_WASM_STRIP_HUNSPELL) + AC_DEFINE(ENABLE_WASM_STRIP_LANGUAGETOOL) AC_DEFINE(ENABLE_WASM_STRIP_PINGUSER) AC_DEFINE(ENABLE_WASM_STRIP_PREMULTIPLY) AC_DEFINE(ENABLE_WASM_STRIP_RECENT) diff --git a/lingucomponent/Module_lingucomponent.mk b/lingucomponent/Module_lingucomponent.mk index 13f1a829d98a..87e1b1f4d585 100644 --- a/lingucomponent/Module_lingucomponent.mk +++ b/lingucomponent/Module_lingucomponent.mk @@ -25,10 +25,15 @@ $(eval $(call gb_Module_add_targets,lingucomponent,\ )) endif +ifneq ($(ENABLE_WASM_STRIP_LANGUAGETOOL),TRUE) +$(eval $(call gb_Module_add_targets,lingucomponent,\ + Library_LanguageTool \ +)) +endif + $(eval $(call gb_Module_add_targets,lingucomponent,\ $(if $(filter iOS MACOSX,$(OS)),Library_MacOSXSpell) \ Library_numbertext \ - Library_LanguageTool \ )) # vim: set noet sw=4 ts=4: