blob: 130e7f03be27991b1f1d354315b9f4e112709070 [file] [log] [blame]
Alexander Martinzbacc9672020-02-14 17:39:50 +01001#
2# Copyright 2019, The Android Open Source Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16
17LOCAL_PATH := $(call my-dir)
18
19### Fonts
20
21include $(CLEAR_VARS)
22LOCAL_MODULE := OpenSans-Bold.ttf
23LOCAL_SRC_FILES := fonts/$(LOCAL_MODULE)
24LOCAL_MODULE_CLASS := ETC
25LOCAL_MODULE_TAGS := optional
26LOCAL_MODULE_PATH := $(TARGET_OUT)/fonts
27include $(BUILD_PREBUILT)
28
29include $(CLEAR_VARS)
30LOCAL_MODULE := OpenSans-BoldItalic.ttf
31LOCAL_SRC_FILES := fonts/$(LOCAL_MODULE)
32LOCAL_MODULE_CLASS := ETC
33LOCAL_MODULE_TAGS := optional
34LOCAL_MODULE_PATH := $(TARGET_OUT)/fonts
35include $(BUILD_PREBUILT)
36
37include $(CLEAR_VARS)
38LOCAL_MODULE := OpenSans-ExtraBold.ttf
39LOCAL_SRC_FILES := fonts/$(LOCAL_MODULE)
40LOCAL_MODULE_CLASS := ETC
41LOCAL_MODULE_TAGS := optional
42LOCAL_MODULE_PATH := $(TARGET_OUT)/fonts
43include $(BUILD_PREBUILT)
44
45include $(CLEAR_VARS)
46LOCAL_MODULE := OpenSans-ExtraBoldItalic.ttf
47LOCAL_SRC_FILES := fonts/$(LOCAL_MODULE)
48LOCAL_MODULE_CLASS := ETC
49LOCAL_MODULE_TAGS := optional
50LOCAL_MODULE_PATH := $(TARGET_OUT)/fonts
51include $(BUILD_PREBUILT)
52
53include $(CLEAR_VARS)
54LOCAL_MODULE := OpenSans-Italic.ttf
55LOCAL_SRC_FILES := fonts/$(LOCAL_MODULE)
56LOCAL_MODULE_CLASS := ETC
57LOCAL_MODULE_TAGS := optional
58LOCAL_MODULE_PATH := $(TARGET_OUT)/fonts
59include $(BUILD_PREBUILT)
60
61include $(CLEAR_VARS)
62LOCAL_MODULE := OpenSans-Light.ttf
63LOCAL_SRC_FILES := fonts/$(LOCAL_MODULE)
64LOCAL_MODULE_CLASS := ETC
65LOCAL_MODULE_TAGS := optional
66LOCAL_MODULE_PATH := $(TARGET_OUT)/fonts
67include $(BUILD_PREBUILT)
68
69include $(CLEAR_VARS)
70LOCAL_MODULE := OpenSans-LightItalic.ttf
71LOCAL_SRC_FILES := fonts/$(LOCAL_MODULE)
72LOCAL_MODULE_CLASS := ETC
73LOCAL_MODULE_TAGS := optional
74LOCAL_MODULE_PATH := $(TARGET_OUT)/fonts
75include $(BUILD_PREBUILT)
76
77include $(CLEAR_VARS)
78LOCAL_MODULE := OpenSans-Regular.ttf
79LOCAL_SRC_FILES := fonts/$(LOCAL_MODULE)
80LOCAL_MODULE_CLASS := ETC
81LOCAL_MODULE_TAGS := optional
82LOCAL_MODULE_PATH := $(TARGET_OUT)/fonts
83include $(BUILD_PREBUILT)
84
85include $(CLEAR_VARS)
86LOCAL_MODULE := OpenSans-SemiBold.ttf
87LOCAL_SRC_FILES := fonts/$(LOCAL_MODULE)
88LOCAL_MODULE_CLASS := ETC
89LOCAL_MODULE_TAGS := optional
90LOCAL_MODULE_PATH := $(TARGET_OUT)/fonts
91include $(BUILD_PREBUILT)
92
93include $(CLEAR_VARS)
94LOCAL_MODULE := OpenSans-SemiBoldItalic.ttf
95LOCAL_SRC_FILES := fonts/$(LOCAL_MODULE)
96LOCAL_MODULE_CLASS := ETC
97LOCAL_MODULE_TAGS := optional
98LOCAL_MODULE_PATH := $(TARGET_OUT)/fonts
99include $(BUILD_PREBUILT)
100
101### Overlay
102
103include $(CLEAR_VARS)
104LOCAL_RRO_THEME := FontOpenSans
105LOCAL_PRODUCT_MODULE := true
106
Alexander Martinzbacc9672020-02-14 17:39:50 +0100107LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res
108
109LOCAL_PACKAGE_NAME := FontOpenSansOverlay
110LOCAL_SDK_VERSION := current
111include $(BUILD_RRO_PACKAGE)