From 79444f9e481461aa9d1140000e8f1f16a4eebe4d Mon Sep 17 00:00:00 2001 From: Michael Wu Date: Tue, 10 Mar 2015 17:51:36 -0400 Subject: [PATCH] Bug 1098133 - Remove font symlinks --- data/fonts/Android.mk | 33 --------------------------------- 1 file changed, 33 deletions(-) diff --git a/data/fonts/Android.mk b/data/fonts/Android.mk index 02d2f3d7921..36b3534f01f 100644 --- a/data/fonts/Android.mk +++ b/data/fonts/Android.mk @@ -17,39 +17,6 @@ LOCAL_PATH := $(call my-dir) -########################################## -# We may only afford small font footprint. -########################################## -# Use only symlinks. -# Symlink: DroidSans.ttf -> Roboto-Regular.ttf -LOCAL_MODULE := DroidSans.ttf -font_symlink_src := $(PRODUCT_OUT)/system/fonts/Roboto-Regular.ttf -font_symlink := $(dir $(font_symlink_src))$(LOCAL_MODULE) -$(font_symlink) : $(font_symlink_src) - @echo "Symlink: $@ -> $<" - @mkdir -p $(dir $@) - @rm -rf $@ - $(hide) ln -sf $(notdir $<) $@ - -# this magic makes LOCAL_REQUIRED_MODULES work -ALL_MODULES.$(LOCAL_MODULE).INSTALLED := \ - $(ALL_MODULES.$(LOCAL_MODULE).INSTALLED) $(font_symlink) - -################################ -# Symlink: DroidSans-Bold.ttf -> Roboto-Bold.ttf -LOCAL_MODULE := DroidSans-Bold.ttf -font_symlink_src := $(PRODUCT_OUT)/system/fonts/Roboto-Bold.ttf -font_symlink := $(dir $(font_symlink_src))$(LOCAL_MODULE) -$(font_symlink) : $(font_symlink_src) - @echo "Symlink: $@ -> $<" - @mkdir -p $(dir $@) - @rm -rf $@ - $(hide) ln -sf $(notdir $<) $@ - -# this magic makes LOCAL_REQUIRED_MODULES work -ALL_MODULES.$(LOCAL_MODULE).INSTALLED := \ - $(ALL_MODULES.$(LOCAL_MODULE).INSTALLED) $(font_symlink) - ################################ include $(CLEAR_VARS) LOCAL_MODULE := DroidSansEthiopic-Regular.ttf