diff options
author | Seigo Nonaka <nona@google.com> | 2023-08-29 14:29:17 +0900 |
---|---|---|
committer | Seigo Nonaka <nona@google.com> | 2023-08-29 14:38:35 +0900 |
commit | 6855bd78091d1fad972832f9d87f004efd676da5 (patch) | |
tree | e5e02c65bd980dc583d7cace45d20cd8255ff5f8 /fonts.mk | |
parent | acf593995138803c42dc3a95283c28985bfc8a0a (diff) | |
download | noto-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.mk | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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) \ |