From 0b6fb1f45a179e94bb39f49dd8f245812d753113 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Mon, 14 Apr 2014 14:31:25 +0300 Subject: Put the dict_ja and _zh data in files instead of code for iOS Map the file(s) into memory on demand. The executable file of an app needs to be as small as possible. Including additional data files in an app bundle is fine. Change-Id: Ife9bfe99a2cf0473d459f38f50dfa3304b39e282 --- i18npool/Library_i18npool.mk | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'i18npool/Library_i18npool.mk') diff --git a/i18npool/Library_i18npool.mk b/i18npool/Library_i18npool.mk index 4f9e5999a17a..c095fa8cf3ed 100644 --- a/i18npool/Library_i18npool.mk +++ b/i18npool/Library_i18npool.mk @@ -35,6 +35,12 @@ $(eval $(call gb_Library_use_externals,i18npool,\ icu_headers \ )) +ifeq ($(OS),IOS) +$(eval $(call gb_Library_add_cxxflags,i18npool,\ + -DDICT_JA_ZH_IN_DATAFILE \ +)) +endif + $(eval $(call gb_Library_add_exception_objects,i18npool,\ i18npool/source/breakiterator/breakiterator_cjk \ i18npool/source/breakiterator/breakiterator_ctl \ -- cgit v1.2.3