aboutsummaryrefslogtreecommitdiff
path: root/Android.mk
diff options
context:
space:
mode:
authorRoozbeh Pournader <roozbeh@google.com>2015-08-03 22:40:22 -0700
committerRoozbeh Pournader <roozbeh@google.com>2015-08-04 10:19:39 -0700
commit343edd99ca4fa28e91e45bdeae57cdce4813f555 (patch)
tree01c48b3d2240430ed7adf2b37ade5f056b6015c7 /Android.mk
parent5deb77feaadebf935f4e1315cf56097df49e6522 (diff)
downloadnaver-fonts-343edd99ca4fa28e91e45bdeae57cdce4813f555.tar.gz
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
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk28
1 files changed, 28 insertions, 0 deletions
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