diff options
author | Roozbeh Pournader <roozbeh@google.com> | 2015-08-18 12:17:13 -0700 |
---|---|---|
committer | Roozbeh Pournader <roozbeh@google.com> | 2015-08-18 12:17:13 -0700 |
commit | bbf0c88e6cf26d13c0218ea7e0a2aaf7bbb0495d (patch) | |
tree | 463e9c68b2227e3252bb7e93e4161b725ce9ba2c /data | |
parent | 9a010d0a4157f97870bc38bd3dd0a8f4fd18a172 (diff) | |
download | frameworks_base-bbf0c88e6cf26d13c0218ea7e0a2aaf7bbb0495d.zip frameworks_base-bbf0c88e6cf26d13c0218ea7e0a2aaf7bbb0495d.tar.gz frameworks_base-bbf0c88e6cf26d13c0218ea7e0a2aaf7bbb0495d.tar.bz2 |
Revert "Create a special CONSTRAINED font bucket in frameworks."
This reverts commit 9e21eced5efacd605036be599d96974964deb09b.
Bug: 22929087
Diffstat (limited to 'data')
-rw-r--r-- | data/fonts/Android.mk | 24 |
1 files changed, 4 insertions, 20 deletions
diff --git a/data/fonts/Android.mk b/data/fonts/Android.mk index 39458f9..3181017 100644 --- a/data/fonts/Android.mk +++ b/data/fonts/Android.mk @@ -17,13 +17,10 @@ LOCAL_PATH := $(call my-dir) -# Use full Noto Sans Japanese font on the normal footprints, but -# exclude it from SMALLER and use a subset on the CONSTRAINED ones. +# Use full Noto Sans Japanese font on non-smaller footprints ifneq ($(SMALLER_FONT_FOOTPRINT),true) -ifneq ($(CONSTRAINED_FONT_FOOTPRINT),true) FONT_NOTOSANS_JP_FULL := true endif -endif ########################################## # create symlink for given font @@ -85,32 +82,19 @@ include $(BUILD_PREBUILT) extra_font_files := ################################ -# Include the DroidSansFallback subset on SMALLER_FONT_FOOTPRINT builds, -# and the full font on CONSTRAINED_FONT_FOOTPRINT ones. +# Include the DroidSansFallback subset on SMALLER_FONT_FOOTPRINT build ifeq ($(SMALLER_FONT_FOOTPRINT),true) -droidsans_fallback_src := DroidSansFallback.ttf -build_droidsans_fallback := true -endif # SMALLER_FONT_FOOTPRINT - -ifeq ($(CONSTRAINED_FONT_FOOTPRINT),true) -droidsans_fallback_src := DroidSansFallbackFull.ttf -build_droidsans_fallback := true -endif # CONSTRAINED_FONT_FOOTPRINT - -ifeq ($(build_droidsans_fallback),true) include $(CLEAR_VARS) LOCAL_MODULE := DroidSansFallback.ttf -LOCAL_SRC_FILES := $(droidsans_fallback_src) +LOCAL_SRC_FILES := $(LOCAL_MODULE) LOCAL_MODULE_CLASS := ETC LOCAL_MODULE_TAGS := optional LOCAL_MODULE_PATH := $(TARGET_OUT)/fonts include $(BUILD_PREBUILT) droidsans_fallback_src := -endif # build_droidsans_fallback - -build_droidsans_fallback := +endif # SMALLER_FONT_FOOTPRINT ################################ # Build the rest of font files as prebuilt. |