google_pixel: Drop Fonts

* Broken.

Change-Id: I8f7a252223ac62cdf6c688ffe16ebe531f45b456
lineage-19.1
Nolen Johnson 3 years ago
parent 6515ef67fd
commit 2c95a08322
  1. 31
      google-fonts/Android.mk
  2. BIN
      google-fonts/fonts/GoogleSans-Bold.ttf
  3. BIN
      google-fonts/fonts/GoogleSans-BoldItalic.ttf
  4. BIN
      google-fonts/fonts/GoogleSans-Italic.ttf
  5. BIN
      google-fonts/fonts/GoogleSans-Medium.ttf
  6. BIN
      google-fonts/fonts/GoogleSans-MediumItalic.ttf
  7. BIN
      google-fonts/fonts/GoogleSans-Regular.ttf
  8. 12
      google-fonts/fonts_customization.xml
  9. 7
      product.mk

@ -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)

@ -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>

@ -1,12 +1,5 @@
include vendor/google_pixel/codenames.mk
## Google Fonts
ADDITIONAL_FONTS_FILE := vendor/google_pixel/google-fonts/fonts_customization.xml
PRODUCT_PACKAGES += \
FontGoogleSansOverlay \
GoogleFonts
## Pixel Apps
include vendor/google_pixel/apps/GoogleApps.mk

Loading…
Cancel
Save