Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ee46b490 authored by Seigo Nonaka's avatar Seigo Nonaka
Browse files

Onboard RobotoMono as a replacement of DroidMono

Bug: 416160754
Test: Manual
Flag: build.RELEASE_USE_ROBOTO_MONO_FONT
Change-Id: I19df3ed64d53ce62dd80b380b9fdfed996c5f382
parent 288bf55e
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -89,12 +89,18 @@ genrule {
        ":ComingSoon",
        ":CutiveMono",
        ":DancingScript",
        ":DroidSansMono",
        ":Roboto",
        ":RobotoFlex",
        ":SourceSansPro",
        ":noto-fonts",
    ] + select(release_flag("RELEASE_USE_ROBOTO_MONO_FONT"), {
        true: [
            ":RobotoMono",
        ],
        default: [
            ":DroidSansMono",
        ],
    }),
    exclude_srcs: [
        "alias.json",
        "fallback_order.json",
+4 −1
Original line number Diff line number Diff line
@@ -15,7 +15,10 @@
# Warning: this is actually a product definition, to be inherited from

PRODUCT_PACKAGES := \
    DroidSansMono.ttf \
    AndroidClock.ttf \
    font_fallback.xml \
    fonts.xml

ifneq ($(RELEASE_USE_ROBOTO_MONO_FONT),true)
PRODUCT_PACKAGES += DroidSansMono.ttf
endif