1 # Copyright (C) 2011 The Android Open Source Project 2 # 3 # Licensed under the Apache License, Version 2.0 (the "License"); 4 # you may not use this file except in compliance with the License. 5 # You may obtain a copy of the License at 6 # 7 # http://www.apache.org/licenses/LICENSE-2.0 8 # 9 # Unless required by applicable law or agreed to in writing, software 10 # distributed under the License is distributed on an "AS IS" BASIS, 11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 # See the License for the specific language governing permissions and 13 # limitations under the License. 14 15 # We have to use BUILD_PREBUILT instead of PRODUCT_COPY_FIES, 16 # to copy over the NOTICE file. 17 18 LOCAL_PATH := $(call my-dir) 19 20 extra_lohit_fonts := 21 ifneq ($(SMALLER_FONT_FOOTPRINT),true) 22 extra_lohit_fonts := Lohit-Bengali.ttf Lohit-Tamil.ttf 23 endif 24 25 include $(CLEAR_VARS) 26 LOCAL_MODULE := Lohit-Devanagari.ttf 27 LOCAL_SRC_FILES := lohit-devanagari-ttf/$(LOCAL_MODULE) 28 LOCAL_MODULE_CLASS := ETC 29 LOCAL_MODULE_TAGS := optional 30 LOCAL_MODULE_PATH := $(TARGET_OUT)/fonts 31 LOCAL_REQUIRED_MODULES := $(extra_lohit_fonts) 32 extra_lohit_fonts := 33 include $(BUILD_PREBUILT) 34 35 include $(CLEAR_VARS) 36 LOCAL_MODULE := Lohit-Bengali.ttf 37 LOCAL_SRC_FILES := lohit-bengali-ttf/$(LOCAL_MODULE) 38 LOCAL_MODULE_CLASS := ETC 39 LOCAL_MODULE_TAGS := optional 40 LOCAL_MODULE_PATH := $(TARGET_OUT)/fonts 41 include $(BUILD_PREBUILT) 42 43 include $(CLEAR_VARS) 44 LOCAL_MODULE := Lohit-Tamil.ttf 45 LOCAL_SRC_FILES := lohit-tamil-ttf/$(LOCAL_MODULE) 46 LOCAL_MODULE_CLASS := ETC 47 LOCAL_MODULE_TAGS := optional 48 LOCAL_MODULE_PATH := $(TARGET_OUT)/fonts 49 include $(BUILD_PREBUILT) 50