summaryrefslogtreecommitdiff
path: root/i18npool/Library_i18npool.mk
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-04-14 14:31:25 +0300
committerTor Lillqvist <tml@collabora.com>2014-04-14 17:21:19 +0300
commit0b6fb1f45a179e94bb39f49dd8f245812d753113 (patch)
tree5e697160e3c5e1cfa4a11057b2dd72c77f49f83d /i18npool/Library_i18npool.mk
parentc0f2dc1347cfbc121408959531998b217cd1c617 (diff)
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
Diffstat (limited to 'i18npool/Library_i18npool.mk')
-rw-r--r--i18npool/Library_i18npool.mk6
1 files changed, 6 insertions, 0 deletions
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 \