47 lines
1.1 KiB
Makefile
47 lines
1.1 KiB
Makefile
#
|
|
# Copyright (C) 2021 The LineageOS Project
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
# Inherit from sm6125-common
|
|
$(call inherit-product, device/xiaomi/sm6125-common/common.mk)
|
|
|
|
DEVICE_PATH := device/xiaomi/ginkgo
|
|
|
|
# AAPT
|
|
PRODUCT_AAPT_CONFIG := normal
|
|
PRODUCT_AAPT_PREF_CONFIG := xxhdpi
|
|
|
|
# Boot animation
|
|
TARGET_SCREEN_HEIGHT := 2340
|
|
TARGET_SCREEN_WIDTH := 1080
|
|
|
|
# Rootdir
|
|
PRODUCT_PACKAGES += \
|
|
fstab.qcom
|
|
|
|
PRODUCT_PACKAGES += \
|
|
init.device.rc \
|
|
init.fingerprint.rc
|
|
|
|
# Input
|
|
PRODUCT_COPY_FILES += \
|
|
$(DEVICE_PATH)/idc/uinput-fpc.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/uinput-fpc.idc \
|
|
$(DEVICE_PATH)/idc/uinput-goodix.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/uinput-goodix.idc
|
|
|
|
# Keylayouts
|
|
PRODUCT_COPY_FILES += \
|
|
$(DEVICE_PATH)/keylayout/uinput-fpc.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/uinput-fpc.kl \
|
|
$(DEVICE_PATH)/keylayout/uinput-goodix.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/uinput-goodix.kl
|
|
|
|
# Shipping API level
|
|
PRODUCT_SHIPPING_API_LEVEL := 28
|
|
|
|
# Soong namespaces
|
|
PRODUCT_SOONG_NAMESPACES += \
|
|
$(DEVICE_PATH)
|
|
|
|
# Inherit from vendor blobs
|
|
$(call inherit-product, vendor/xiaomi/ginkgo/ginkgo-vendor.mk)
|