summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Android.mk7
-rw-r--r--fonts.mk21
2 files changed, 28 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 4bc06fc..35171dc 100644
--- a/Android.mk
+++ b/Android.mk
@@ -27,6 +27,7 @@ LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_PATH := $(TARGET_OUT)/fonts
include $(BUILD_PREBUILT)
+ifneq ($(MULTI_LANG_ENGINE),REVERIE)
include $(CLEAR_VARS)
LOCAL_MODULE := NotoSansMalayalam-Regular.ttf
LOCAL_SRC_FILES := $(LOCAL_MODULE)
@@ -155,6 +156,8 @@ LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_PATH := $(TARGET_OUT)/fonts
include $(BUILD_PREBUILT)
+endif
+
include $(CLEAR_VARS)
LOCAL_MODULE := NotoSansKhmer-Regular.ttf
LOCAL_SRC_FILES := $(LOCAL_MODULE)
@@ -227,6 +230,8 @@ LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_PATH := $(TARGET_OUT)/fonts
include $(BUILD_PREBUILT)
+
+ifneq ($(MULTI_LANG_ENGINE),REVERIE)
include $(CLEAR_VARS)
LOCAL_MODULE := NotoSansTamil-Regular.ttf
LOCAL_SRC_FILES := $(LOCAL_MODULE)
@@ -291,6 +296,8 @@ LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_PATH := $(TARGET_OUT)/fonts
include $(BUILD_PREBUILT)
+endif
+
include $(CLEAR_VARS)
LOCAL_MODULE := NotoSansThai-Regular.ttf
LOCAL_SRC_FILES := $(LOCAL_MODULE)
diff --git a/fonts.mk b/fonts.mk
index cbc5ad1..36254e0 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 \
NotoSansBengali-Regular.ttf \
@@ -55,3 +56,23 @@ PRODUCT_PACKAGES := \
NotoSansThai-Bold.ttf \
NotoSansThaiUI-Regular.ttf \
NotoSansThaiUI-Bold.ttf
+
+else
+
+PRODUCT_PACKAGES := \
+ NotoColorEmoji.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 \
+ NotoSansSymbols-Regular.ttf \
+ NotoSansThai-Regular.ttf \
+ NotoSansThai-Bold.ttf \
+ NotoSansThaiUI-Regular.ttf \
+ NotoSansThaiUI-Bold.ttf
+
+endif