| # |
| # Copyright 2019, 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. |
| # |
| |
| LOCAL_PATH := $(call my-dir) |
| |
| ### Fonts |
| |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := OpenSans-Bold.ttf |
| LOCAL_SRC_FILES := fonts/$(LOCAL_MODULE) |
| LOCAL_MODULE_CLASS := ETC |
| LOCAL_MODULE_TAGS := optional |
| LOCAL_MODULE_PATH := $(TARGET_OUT)/fonts |
| include $(BUILD_PREBUILT) |
| |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := OpenSans-BoldItalic.ttf |
| LOCAL_SRC_FILES := fonts/$(LOCAL_MODULE) |
| LOCAL_MODULE_CLASS := ETC |
| LOCAL_MODULE_TAGS := optional |
| LOCAL_MODULE_PATH := $(TARGET_OUT)/fonts |
| include $(BUILD_PREBUILT) |
| |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := OpenSans-ExtraBold.ttf |
| LOCAL_SRC_FILES := fonts/$(LOCAL_MODULE) |
| LOCAL_MODULE_CLASS := ETC |
| LOCAL_MODULE_TAGS := optional |
| LOCAL_MODULE_PATH := $(TARGET_OUT)/fonts |
| include $(BUILD_PREBUILT) |
| |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := OpenSans-ExtraBoldItalic.ttf |
| LOCAL_SRC_FILES := fonts/$(LOCAL_MODULE) |
| LOCAL_MODULE_CLASS := ETC |
| LOCAL_MODULE_TAGS := optional |
| LOCAL_MODULE_PATH := $(TARGET_OUT)/fonts |
| include $(BUILD_PREBUILT) |
| |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := OpenSans-Italic.ttf |
| LOCAL_SRC_FILES := fonts/$(LOCAL_MODULE) |
| LOCAL_MODULE_CLASS := ETC |
| LOCAL_MODULE_TAGS := optional |
| LOCAL_MODULE_PATH := $(TARGET_OUT)/fonts |
| include $(BUILD_PREBUILT) |
| |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := OpenSans-Light.ttf |
| LOCAL_SRC_FILES := fonts/$(LOCAL_MODULE) |
| LOCAL_MODULE_CLASS := ETC |
| LOCAL_MODULE_TAGS := optional |
| LOCAL_MODULE_PATH := $(TARGET_OUT)/fonts |
| include $(BUILD_PREBUILT) |
| |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := OpenSans-LightItalic.ttf |
| LOCAL_SRC_FILES := fonts/$(LOCAL_MODULE) |
| LOCAL_MODULE_CLASS := ETC |
| LOCAL_MODULE_TAGS := optional |
| LOCAL_MODULE_PATH := $(TARGET_OUT)/fonts |
| include $(BUILD_PREBUILT) |
| |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := OpenSans-Regular.ttf |
| LOCAL_SRC_FILES := fonts/$(LOCAL_MODULE) |
| LOCAL_MODULE_CLASS := ETC |
| LOCAL_MODULE_TAGS := optional |
| LOCAL_MODULE_PATH := $(TARGET_OUT)/fonts |
| include $(BUILD_PREBUILT) |
| |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := OpenSans-SemiBold.ttf |
| LOCAL_SRC_FILES := fonts/$(LOCAL_MODULE) |
| LOCAL_MODULE_CLASS := ETC |
| LOCAL_MODULE_TAGS := optional |
| LOCAL_MODULE_PATH := $(TARGET_OUT)/fonts |
| include $(BUILD_PREBUILT) |
| |
| include $(CLEAR_VARS) |
| LOCAL_MODULE := OpenSans-SemiBoldItalic.ttf |
| LOCAL_SRC_FILES := fonts/$(LOCAL_MODULE) |
| LOCAL_MODULE_CLASS := ETC |
| LOCAL_MODULE_TAGS := optional |
| LOCAL_MODULE_PATH := $(TARGET_OUT)/fonts |
| include $(BUILD_PREBUILT) |
| |
| ### Overlay |
| |
| include $(CLEAR_VARS) |
| LOCAL_RRO_THEME := FontOpenSans |
| LOCAL_PRODUCT_MODULE := true |
| |
| LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res |
| |
| LOCAL_PACKAGE_NAME := FontOpenSansOverlay |
| LOCAL_SDK_VERSION := current |
| include $(BUILD_RRO_PACKAGE) |