summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Android.mk41
-rw-r--r--fonts.mk50
2 files changed, 91 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index a417f2e..1486035 100644
--- a/Android.mk
+++ b/Android.mk
@@ -31,6 +31,7 @@ font_src_files += \
# The following fonts are only included in EXTENDED_FONT_FOOTPRINT builds
#############################################################################
ifeq ($(EXTENDED_FONT_FOOTPRINT),true)
+ifneq ($(MULTI_LANG_ENGINE),REVERIE)
font_src_files += \
NotoSansCanadianAboriginal-Regular.ttf \
NotoSansCherokee-Regular.ttf \
@@ -48,12 +49,27 @@ font_src_files += \
NotoSansSinhala-Regular.ttf \
NotoSansSinhala-Bold.ttf \
NotoSansYi-Regular.ttf
+
+else
+font_src_files += \
+ NotoSansCanadianAboriginal-Regular.ttf \
+ NotoSansCherokee-Regular.ttf \
+ NotoSansHans-Regular.otf \
+ NotoSansHant-Regular.otf \
+ NotoSansKR-Regular.otf \
+ NotoSansSinhala-Regular.ttf \
+ NotoSansSinhala-Bold.ttf \
+ NotoSansYi-Regular.ttf
+
+endif
+
endif # EXTENDED_FONT_FOOTPRINT
#############################################################################
# The following fonts are excluded from SMALLER_FONT_FOOTPRINT builds
#############################################################################
ifneq ($(SMALLER_FONT_FOOTPRINT),true)
+ifneq ($(MULTI_LANG_ENGINE),REVERIE)
font_src_files += \
NotoSansBengali-Regular.ttf \
NotoSansBengali-Bold.ttf \
@@ -97,6 +113,31 @@ font_src_files += \
NotoSansThai-Bold.ttf \
NotoSansThaiUI-Regular.ttf \
NotoSansThaiUI-Bold.ttf
+
+else
+
+font_src_files += \
+ NotoSansEthiopic-Regular.ttf \
+ NotoSansEthiopic-Bold.ttf \
+ NotoSansKhmer-Regular.ttf \
+ NotoSansKhmer-Bold.ttf \
+ NotoSansKhmerUI-Regular.ttf \
+ NotoSansKhmerUI-Bold.ttf \
+ NotoSansLao-Regular.ttf \
+ NotoSansLao-Bold.ttf \
+ NotoSansLaoUI-Regular.ttf \
+ NotoSansLaoUI-Bold.ttf \
+ NotoSansMalayalam-Regular.ttf \
+ NotoSansMalayalam-Bold.ttf \
+ NotoSansMalayalamUI-Regular.ttf \
+ NotoSansMalayalamUI-Bold.ttf \
+ NotoSansThai-Regular.ttf \
+ NotoSansThai-Bold.ttf \
+ NotoSansThaiUI-Regular.ttf \
+ NotoSansThaiUI-Bold.ttf
+
+endif
+
endif # !SMALLER_FONT_FOOTPRINT
#############################################################################
diff --git a/fonts.mk b/fonts.mk
index 27677ae..ead8d67 100644
--- a/fonts.mk
+++ b/fonts.mk
@@ -16,6 +16,7 @@
# PRODUCT_COPY_FILES to install the font files, so that the NOTICE file can
# get installed too.
+ifneq ($(MULTI_LANG_ENGINE),REVERIE)
PRODUCT_PACKAGES := \
NotoColorEmoji.ttf \
NotoNaskh-Regular.ttf \
@@ -92,3 +93,52 @@ PRODUCT_PACKAGES := \
NotoSerif-Bold.ttf \
NotoSerif-Italic.ttf \
NotoSerif-BoldItalic.ttf
+
+else
+
+PRODUCT_PACKAGES := \
+ NotoColorEmoji.ttf \
+ NotoNaskh-Regular.ttf \
+ NotoNaskh-Bold.ttf \
+ NotoNaskhUI-Regular.ttf \
+ NotoNaskhUI-Bold.ttf \
+ NotoSansArmenian-Regular.ttf \
+ NotoSansArmenian-Bold.ttf \
+ NotoSansCanadianAboriginal-Regular.ttf \
+ NotoSansCherokee-Regular.ttf \
+ NotoSansEthiopic-Regular.ttf \
+ NotoSansEthiopic-Bold.ttf \
+ NotoSansGeorgian-Regular.ttf \
+ NotoSansGeorgian-Bold.ttf \
+ NotoSansHans-Regular.otf \
+ NotoSansHant-Regular.otf \
+ NotoSansHebrew-Regular.ttf \
+ NotoSansHebrew-Bold.ttf \
+ NotoSansJP-Regular.otf \
+ NotoSansKhmer-Regular.ttf \
+ NotoSansKhmer-Bold.ttf \
+ NotoSansKhmerUI-Regular.ttf \
+ NotoSansKhmerUI-Bold.ttf \
+ NotoSansKR-Regular.otf \
+ NotoSansLao-Regular.ttf \
+ NotoSansLao-Bold.ttf \
+ NotoSansLaoUI-Regular.ttf \
+ NotoSansLaoUI-Bold.ttf \
+ NotoSansMalayalam-Regular.ttf \
+ NotoSansMalayalam-Bold.ttf \
+ NotoSansMalayalamUI-Regular.ttf \
+ NotoSansMalayalamUI-Bold.ttf \
+ NotoSansSinhala-Regular.ttf \
+ NotoSansSinhala-Bold.ttf \
+ NotoSansSymbols-Regular-Subsetted.ttf \
+ NotoSansThai-Regular.ttf \
+ NotoSansThai-Bold.ttf \
+ NotoSansThaiUI-Regular.ttf \
+ NotoSansThaiUI-Bold.ttf \
+ NotoSansYi-Regular.ttf \
+ NotoSerif-Regular.ttf \
+ NotoSerif-Bold.ttf \
+ NotoSerif-Italic.ttf \
+ NotoSerif-BoldItalic.ttf
+
+endif