diff options
author | Thorsten Behrens <thorsten.behrens@allotropia.de> | 2022-08-13 08:52:43 +0200 |
---|---|---|
committer | Thorsten Behrens <thorsten.behrens@allotropia.de> | 2022-11-28 16:46:58 +0100 |
commit | b40f46548fee555b89626e6b17177a1d600b82c1 (patch) | |
tree | 03572c19b0c1d24b94f0a4bbd8e13217585b8c5e | |
parent | 625909a3eb9f48d2202773ac3df4cd14a3ef6a40 (diff) |
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.behrens@allotropia.de>
-rw-r--r-- | config_host.mk.in | 1 | ||||
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | lingucomponent/Module_lingucomponent.mk | 7 |
3 files changed, 8 insertions, 1 deletions
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: |