From 343edd99ca4fa28e91e45bdeae57cdce4813f555 Mon Sep 17 00:00:00 2001 From: Roozbeh Pournader Date: Mon, 3 Aug 2015 22:40:22 -0700 Subject: Create a special CONSTRAINED font bucket in naver-fonts. This is a temporary font profile to get razor and razorg (Nexus 7, 2013 version). It's not tested thoroughly, and should not be used for any other devices. The CONSTRAINED profile removes Bamum, Lisu, Mandaic, Mongolian, New Tai Lue, Syriac, Tibetan, and Vai fonts from razor[g] devices, and switches the CJK fonts to the limited pre-Lollipop fonts. Bug: 22929087 Change-Id: I5245f888542367870d007073fa4131b14796b343 --- Android.mk | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Android.mk (limited to 'Android.mk') diff --git a/Android.mk b/Android.mk new file mode 100644 index 0000000..5dd0d23 --- /dev/null +++ b/Android.mk @@ -0,0 +1,28 @@ +# Copyright (C) 2012 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +# We have to use BUILD_PREBUILT instead of PRODUCT_COPY_FIES, +# to copy over the NOTICE file. + +LOCAL_PATH := $(call my-dir) + +ifeq ($(CONSTRAINED_FONT_FOOTPRINT),true) +include $(CLEAR_VARS) +LOCAL_MODULE := NanumGothic.ttf +LOCAL_SRC_FILES := $(LOCAL_MODULE) +LOCAL_MODULE_CLASS := ETC +LOCAL_MODULE_TAGS := optional +LOCAL_MODULE_PATH := $(TARGET_OUT)/fonts +include $(BUILD_PREBUILT) +endif # CONSTRAINED_FONT_FOOTPRINT -- cgit v1.2.3