From 474fe287c4c97427a4b48d0c0d17f3231290150a Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Fri, 25 Apr 2014 13:57:05 +0300 Subject: Filter out extra ICU data for locales we don't want special support for Change-Id: I40fd00d91a7e5ad5163bef63e1b60381bac58aa4 --- i18npool/CustomTarget_breakiterator.mk | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) (limited to 'i18npool') diff --git a/i18npool/CustomTarget_breakiterator.mk b/i18npool/CustomTarget_breakiterator.mk index fb7f0d97ae08..ce8a03877659 100644 --- a/i18npool/CustomTarget_breakiterator.mk +++ b/i18npool/CustomTarget_breakiterator.mk @@ -38,19 +38,26 @@ $(i18npool_BIDIR)/dict_%.cxx : \ endif +# Do we want the char_in.brk data? It's for languages in India (and bn_BD) +ifeq ($(WITH_LOCALES),) +i18npool_breakiterator_want_in=TRUE +else ifneq ($(filter bn bn_% gu gu_% hi hi_% kn kn_% ml ml_% or or_% pa pa_% ta ta_% te te_%,$(WITH_LOCALES)),) +i18npool_breakiterator_want_in=TRUE +endif + i18npool_BRKTXTS := \ - char_in.brk \ + $(if $(i18npool_breakiterator_want_in),char_in.brk) \ char.brk \ - count_word_fi.brk \ + $(call gb_Helper_optional_locale,fi,count_word_fi.brk) \ count_word.brk \ - dict_word_fi.brk \ - dict_word_he.brk \ - dict_word_hu.brk \ + $(call gb_Helper_optional_locale,fi,dict_word_fi.brk) \ + $(call gb_Helper_optional_locale,he,dict_word_he.brk) \ + $(call gb_Helper_optional_locale,hu,dict_word_hu.brk) \ dict_word_nodash.brk \ dict_word_prepostdash.brk \ dict_word.brk \ - edit_word_he.brk \ - edit_word_hu.brk \ + $(call gb_Helper_optional_locale,he,edit_word_he.brk) \ + $(call gb_Helper_optional_locale,hu,edit_word_hu.brk) \ edit_word.brk \ line.brk \ sent.brk -- cgit