* Broken. Change-Id: I8f7a252223ac62cdf6c688ffe16ebe531f45b456lineage-19.1
parent
6515ef67fd
commit
2c95a08322
@ -1,31 +0,0 @@ |
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
GOOGLE_FONTS := \
|
||||
GoogleSans-Bold.ttf \
|
||||
GoogleSans-BoldItalic.ttf \
|
||||
GoogleSans-Italic.ttf \
|
||||
GoogleSans-Medium.ttf \
|
||||
GoogleSans-MediumItalic.ttf \
|
||||
GoogleSans-Regular.ttf
|
||||
|
||||
define define-google-font |
||||
include $$(CLEAR_VARS) |
||||
LOCAL_MODULE := $1
|
||||
LOCAL_MODULE_OWNER := google
|
||||
LOCAL_SRC_FILES := fonts/$1
|
||||
LOCAL_MODULE_CLASS := ETC
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_MODULE_PATH := $(TARGET_OUT_PRODUCT)/fonts
|
||||
LOCAL_PRODUCT_MODULE := true
|
||||
include $$(BUILD_PREBUILT) |
||||
endef |
||||
|
||||
$(foreach font,$(GOOGLE_FONTS),\
|
||||
$(eval $(call define-google-font,$(font))))
|
||||
|
||||
include $(CLEAR_VARS) |
||||
LOCAL_MODULE := GoogleFonts
|
||||
LOCAL_MODULE_OWNER := google
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_REQUIRED_MODULES := $(GOOGLE_FONTS)
|
||||
include $(BUILD_PHONY_PACKAGE) |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,12 +0,0 @@ |
||||
<?xml version="1.0" encoding="utf-8"?> |
||||
<fonts-modification version="1"> |
||||
<family customizationType="new-named-family" name="google-sans"> |
||||
<font weight="400" style="normal">GoogleSans-Regular.ttf</font> |
||||
<font weight="400" style="italic">GoogleSans-Italic.ttf</font> |
||||
<font weight="500" style="normal">GoogleSans-Medium.ttf</font> |
||||
<font weight="500" style="italic">GoogleSans-MediumItalic.ttf</font> |
||||
<font weight="700" style="normal">GoogleSans-Bold.ttf</font> |
||||
<font weight="700" style="italic">GoogleSans-BoldItalic.ttf</font> |
||||
</family> |
||||
<alias name="google-sans-medium" to="google-sans" weight="500" /> |
||||
</fonts-modification> |
Loading…
Reference in new issue