2010-09-14 11:34:55 -07:00
|
|
|
# Copyright (C) 2008 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.
|
|
|
|
|
|
|
|
# Warning: this is actually a product definition, to be inherited from
|
|
|
|
|
2011-08-31 13:27:06 -07:00
|
|
|
# On space-constrained devices, we include a subset of fonts:
|
|
|
|
# First, core/required fonts
|
2010-09-14 11:34:55 -07:00
|
|
|
PRODUCT_COPY_FILES := \
|
2011-08-31 09:33:04 -07:00
|
|
|
frameworks/base/data/fonts/Roboto-Regular.ttf:system/fonts/Roboto-Regular.ttf \
|
|
|
|
frameworks/base/data/fonts/Roboto-Bold.ttf:system/fonts/Roboto-Bold.ttf \
|
|
|
|
frameworks/base/data/fonts/Roboto-Italic.ttf:system/fonts/Roboto-Italic.ttf \
|
|
|
|
frameworks/base/data/fonts/Roboto-BoldItalic.ttf:system/fonts/Roboto-BoldItalic.ttf \
|
2011-07-19 13:37:29 -07:00
|
|
|
frameworks/base/data/fonts/DroidNaskh-Regular.ttf:system/fonts/DroidNaskh-Regular.ttf \
|
2011-05-26 14:45:47 -07:00
|
|
|
frameworks/base/data/fonts/DroidSansHebrew-Regular.ttf:system/fonts/DroidSansHebrew-Regular.ttf \
|
|
|
|
frameworks/base/data/fonts/DroidSansHebrew-Bold.ttf:system/fonts/DroidSansHebrew-Bold.ttf \
|
2010-09-14 11:34:55 -07:00
|
|
|
frameworks/base/data/fonts/DroidSansThai.ttf:system/fonts/DroidSansThai.ttf \
|
|
|
|
frameworks/base/data/fonts/DroidSerif-Regular.ttf:system/fonts/DroidSerif-Regular.ttf \
|
|
|
|
frameworks/base/data/fonts/DroidSerif-Bold.ttf:system/fonts/DroidSerif-Bold.ttf \
|
|
|
|
frameworks/base/data/fonts/DroidSerif-Italic.ttf:system/fonts/DroidSerif-Italic.ttf \
|
|
|
|
frameworks/base/data/fonts/DroidSerif-BoldItalic.ttf:system/fonts/DroidSerif-BoldItalic.ttf \
|
|
|
|
frameworks/base/data/fonts/DroidSansMono.ttf:system/fonts/DroidSansMono.ttf \
|
2011-07-27 17:36:11 -07:00
|
|
|
frameworks/base/data/fonts/Lohit_Hindi.ttf:system/fonts/Lohit_Hindi.ttf \
|
2011-09-01 14:12:47 -07:00
|
|
|
frameworks/base/data/fonts/DroidSansArmenian.ttf:system/fonts/DroidSansArmenian.ttf \
|
|
|
|
frameworks/base/data/fonts/DroidSansGeorgian.ttf:system/fonts/DroidSansGeorgian.ttf \
|
2010-09-14 11:34:55 -07:00
|
|
|
frameworks/base/data/fonts/Clockopia.ttf:system/fonts/Clockopia.ttf \
|
2010-12-17 16:23:30 -08:00
|
|
|
frameworks/base/data/fonts/AndroidClock.ttf:system/fonts/AndroidClock.ttf \
|
2011-01-24 23:44:47 -05:00
|
|
|
frameworks/base/data/fonts/AndroidClock_Highlight.ttf:system/fonts/AndroidClock_Highlight.ttf \
|
2011-07-06 11:17:26 -07:00
|
|
|
frameworks/base/data/fonts/AndroidClock_Solid.ttf:system/fonts/AndroidClock_Solid.ttf \
|
|
|
|
frameworks/base/data/fonts/system_fonts.xml:system/etc/system_fonts.xml \
|
|
|
|
frameworks/base/data/fonts/fallback_fonts.xml:system/etc/fallback_fonts.xml
|
2011-08-31 13:27:06 -07:00
|
|
|
|
|
|
|
# Next, include additional fonts, depending on how much space we have
|
|
|
|
ifeq ($(SMALLER_FONT_FOOTPRINT),true)
|
|
|
|
# Smaller fonts alternatives
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
frameworks/base/data/fonts/DroidSansFallback.ttf:system/fonts/DroidSansFallback.ttf
|
|
|
|
else
|
|
|
|
# Full font set alternatives
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
frameworks/base/data/fonts/DroidSansFallbackFull.ttf:system/fonts/DroidSansFallback.ttf \
|
|
|
|
frameworks/base/data/fonts/DroidSans.ttf:system/fonts/DroidSans.ttf \
|
|
|
|
frameworks/base/data/fonts/DroidSans-Bold.ttf:system/fonts/DroidSans-Bold.ttf \
|
|
|
|
frameworks/base/data/fonts/DroidSansEthiopic-Regular.ttf:system/fonts/DroidSansEthiopic-Regular.ttf
|
|
|
|
endif
|