summaryrefslogtreecommitdiff
path: root/fonts.mk
diff options
context:
space:
mode:
authorSeigo Nonaka <nona@google.com>2023-08-29 14:29:17 +0900
committerSeigo Nonaka <nona@google.com>2023-08-29 14:38:35 +0900
commit6855bd78091d1fad972832f9d87f004efd676da5 (patch)
treee5e02c65bd980dc583d7cace45d20cd8255ff5f8 /fonts.mk
parentacf593995138803c42dc3a95283c28985bfc8a0a (diff)
downloadnoto-fonts-6855bd78091d1fad972832f9d87f004efd676da5.tar.gz
Do not install legacy emoji font if flag is ON
RELEASE_REMOVE_LEGACY_EMOJI_FONT is a build flag for removing legacy CBDT emoji font from the system. This emoji font is no longer used by the system from API 31, but it has been kept for compatiblity. Bug: 245610359 Test: m Change-Id: I3ae55d3d2ca6da840cfef779240821cfee1fa7eb
Diffstat (limited to 'fonts.mk')
-rw-r--r--fonts.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/fonts.mk b/fonts.mk
index 286c5aa..f9ae2f0 100644
--- a/fonts.mk
+++ b/fonts.mk
@@ -16,9 +16,13 @@
# PRODUCT_COPY_FILES to install the font files, so that the NOTICE file can
# get installed too.
+ifeq ($(RELEASE_REMOVE_LEGACY_EMOJI_FONT),false)
+# The legacy emoji font is always excluded from the wear OS.
ifneq ($(CLOCKWORK_PRODUCT),true)
PRODUCT_PACKAGES := NotoColorEmojiLegacy.ttf
endif
+endif
+
PRODUCT_PACKAGES := \
$(PRODUCT_PACKAGES) \