diff options
author | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2019-11-18 15:22:11 +0100 |
---|---|---|
committer | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2019-11-19 15:20:50 +0100 |
commit | ddd2a419c56d8c12b4d10376ecfdde9d87d276e3 (patch) | |
tree | 31a52ea97986d46c43e19f012f7b1ea1505047a1 /i18npool | |
parent | 4ec93b7c71da27c0e986468e1635412a0c67cc00 (diff) |
tdf#124536 android: fix breakiterator mismatch (separate data files for zh/ja)
There was a mismatch between the define DICT_JA_ZH_IN_DATAFILE (which
is effectively set for android as well via DISABLE_DYNLOADING in
i18npool/Library_i18npool.mk and the makefile rules to actually compile
the data files and set the DICT_JA_ZH_IN_DATAFILE define in other places
that were guarded by checks for iOS.
Change-Id: Ia0f117220ab3bad92093a3bf6c613aa9c4812ed4
Reviewed-on: https://gerrit.libreoffice.org/83102
Tested-by: Jenkins
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Diffstat (limited to 'i18npool')
-rw-r--r-- | i18npool/CustomTarget_breakiterator.mk | 2 | ||||
-rw-r--r-- | i18npool/Executable_gendict.mk | 2 | ||||
-rw-r--r-- | i18npool/Module_i18npool.mk | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/i18npool/CustomTarget_breakiterator.mk b/i18npool/CustomTarget_breakiterator.mk index 560906ea90aa..862dcebbd3f3 100644 --- a/i18npool/CustomTarget_breakiterator.mk +++ b/i18npool/CustomTarget_breakiterator.mk @@ -11,7 +11,7 @@ $(eval $(call gb_CustomTarget_CustomTarget,i18npool/breakiterator)) i18npool_BIDIR := $(call gb_CustomTarget_get_workdir,i18npool/breakiterator) -ifeq ($(OS),iOS) +ifneq ($(filter iOS ANDROID,$(OS)),) $(call gb_CustomTarget_get_target,i18npool/breakiterator) : \ $(i18npool_BIDIR)/dict_ja.data $(i18npool_BIDIR)/dict_zh.data $(i18npool_BIDIR)/OpenOffice_dat.c diff --git a/i18npool/Executable_gendict.mk b/i18npool/Executable_gendict.mk index 56d0927085ee..82dd5f7b1e0e 100644 --- a/i18npool/Executable_gendict.mk +++ b/i18npool/Executable_gendict.mk @@ -14,7 +14,7 @@ $(eval $(call gb_Executable_use_libraries,gendict,\ )) ifeq ($(gb_Side),build) -ifneq ($(shell grep OS=iOS $(BUILDDIR)/config_host.mk),) +ifneq ($(shell grep -e OS=iOS -e OS=ANDROID $(BUILDDIR)/config_host.mk),) $(eval $(call gb_Executable_add_cxxflags,gendict,\ -DDICT_JA_ZH_IN_DATAFILE \ )) diff --git a/i18npool/Module_i18npool.mk b/i18npool/Module_i18npool.mk index 0e1f5e6cef72..47fd1735f366 100644 --- a/i18npool/Module_i18npool.mk +++ b/i18npool/Module_i18npool.mk @@ -16,7 +16,7 @@ $(eval $(call gb_Module_add_targets,i18npool,\ CustomTarget_localedata \ CustomTarget_textconversion \ Library_collator_data \ - $(if $(filter-out iOS,$(OS)), \ + $(if $(filter-out iOS ANDROID,$(OS)), \ Library_dict_ja \ Library_dict_zh) \ Library_i18npool \ |