• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (C) 2018 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
18LOCAL_PATH := $(call my-dir)
19
20ifneq ($(SMALLER_FONT_FOOTPRINT),true)
21
22include $(CLEAR_VARS)
23LOCAL_MODULE := SourceSansPro-Regular.ttf
24LOCAL_SRC_FILES := $(LOCAL_MODULE)
25LOCAL_MODULE_CLASS := ETC
26LOCAL_MODULE_TAGS := optional
27LOCAL_MODULE_PATH := $(TARGET_OUT)/fonts
28include $(BUILD_PREBUILT)
29
30include $(CLEAR_VARS)
31LOCAL_MODULE := SourceSansPro-Italic.ttf
32LOCAL_SRC_FILES := $(LOCAL_MODULE)
33LOCAL_MODULE_CLASS := ETC
34LOCAL_MODULE_TAGS := optional
35LOCAL_MODULE_PATH := $(TARGET_OUT)/fonts
36include $(BUILD_PREBUILT)
37
38include $(CLEAR_VARS)
39LOCAL_MODULE := SourceSansPro-SemiBold.ttf
40LOCAL_SRC_FILES := $(LOCAL_MODULE)
41LOCAL_MODULE_CLASS := ETC
42LOCAL_MODULE_TAGS := optional
43LOCAL_MODULE_PATH := $(TARGET_OUT)/fonts
44include $(BUILD_PREBUILT)
45
46include $(CLEAR_VARS)
47LOCAL_MODULE := SourceSansPro-SemiBoldItalic.ttf
48LOCAL_SRC_FILES := $(LOCAL_MODULE)
49LOCAL_MODULE_CLASS := ETC
50LOCAL_MODULE_TAGS := optional
51LOCAL_MODULE_PATH := $(TARGET_OUT)/fonts
52include $(BUILD_PREBUILT)
53
54include $(CLEAR_VARS)
55LOCAL_MODULE := SourceSansPro-Bold.ttf
56LOCAL_SRC_FILES := $(LOCAL_MODULE)
57LOCAL_MODULE_CLASS := ETC
58LOCAL_MODULE_TAGS := optional
59LOCAL_MODULE_PATH := $(TARGET_OUT)/fonts
60include $(BUILD_PREBUILT)
61
62include $(CLEAR_VARS)
63LOCAL_MODULE := SourceSansPro-BoldItalic.ttf
64LOCAL_SRC_FILES := $(LOCAL_MODULE)
65LOCAL_MODULE_CLASS := ETC
66LOCAL_MODULE_TAGS := optional
67LOCAL_MODULE_PATH := $(TARGET_OUT)/fonts
68include $(BUILD_PREBUILT)
69
70endif
71