mirror of
https://github.com/Evolution-X-Devices/device_lenovo_zippo
synced 2026-01-27 14:21:16 +00:00
* LA.UM.7.1.r1-16300-sm8150.0 * binnd mount it to vendor Change-Id: If53e7404236e1868f16597ae7a759973692eb16e
130 lines
3.2 KiB
Makefile
130 lines
3.2 KiB
Makefile
#
|
|
# Copyright (C) 2019 The LineageOS Project
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
# Inherit from those products. Most specific first.
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/product_launched_with_p.mk)
|
|
|
|
# Get non-open-source specific aspects
|
|
$(call inherit-product-if-exists, vendor/lenovo/zippo/zippo-vendor.mk)
|
|
|
|
# Boot animation
|
|
TARGET_SCREEN_HEIGHT := 2340
|
|
TARGET_SCREEN_WIDTH := 1080
|
|
|
|
# Overlays
|
|
DEVICE_PACKAGE_OVERLAYS += \
|
|
$(LOCAL_PATH)/overlay \
|
|
$(LOCAL_PATH)/overlay-lineage
|
|
|
|
# Properties
|
|
-include $(LOCAL_PATH)/system_prop.mk
|
|
|
|
# Device uses high-density artwork where available
|
|
PRODUCT_AAPT_CONFIG := normal
|
|
PRODUCT_AAPT_PREF_CONFIG := xxhdpi
|
|
|
|
# Permissions
|
|
PRODUCT_COPY_FILES += \
|
|
frameworks/native/data/etc/android.hardware.telephony.ims.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/android.hardware.telephony.ims.xml \
|
|
vendor/lineage/config/permissions/vendor.lineage.biometrics.fingerprint.inscreen.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/vendor.lineage.biometrics.fingerprint.inscreen.xml
|
|
|
|
# Audio
|
|
PRODUCT_PACKAGES += \
|
|
audio.a2dp.default
|
|
|
|
# Camera
|
|
PRODUCT_PACKAGES += \
|
|
Snap
|
|
|
|
# Display
|
|
PRODUCT_PACKAGES += \
|
|
libdisplayconfig \
|
|
libqdMetaData \
|
|
libqdMetaData.system \
|
|
libvulkan
|
|
|
|
# Fingerprint
|
|
PRODUCT_PACKAGES += \
|
|
lineage.biometrics.fingerprint.inscreen@1.0-service.lenovo_zippo
|
|
|
|
# FM
|
|
PRODUCT_PACKAGES += \
|
|
FM2 \
|
|
libqcomfm_jni \
|
|
qcom.fmradio
|
|
|
|
# HIDL
|
|
PRODUCT_PACKAGES += \
|
|
android.hidl.base@1.0 \
|
|
android.hidl.manager@1.0
|
|
|
|
# Init
|
|
PRODUCT_PACKAGES += \
|
|
init.mi_thermald.rc
|
|
|
|
# Input
|
|
PRODUCT_COPY_FILES += \
|
|
$(LOCAL_PATH)/keylayout/gpio-keys.kl:system/usr/keylayout/gpio-keys.kl \
|
|
$(LOCAL_PATH)/keylayout/slip-cover.kl:system/usr/keylayout/slip-cover.kl
|
|
|
|
# Livedisplay
|
|
PRODUCT_PACKAGES += \
|
|
lineage.livedisplay@2.0-service-sdm
|
|
|
|
# Media
|
|
PRODUCT_COPY_FILES += \
|
|
$(LOCAL_PATH)/configs/media_profiles_vendor.xml:system/etc/media_profiles_vendor.xml
|
|
|
|
# Net
|
|
PRODUCT_PACKAGES += \
|
|
netutils-wrapper-1.0
|
|
|
|
# NFC
|
|
PRODUCT_COPY_FILES += \
|
|
frameworks/native/data/etc/android.hardware.nfc.xml:system/etc/permissions/android.hardware.nfc.xml \
|
|
frameworks/native/data/etc/android.hardware.nfc.hce.xml:system/etc/permissions/android.hardware.nfc.hce.xml \
|
|
frameworks/native/data/etc/android.hardware.nfc.hcef.xml:system/etc/permissions/android.hardware.nfc.hcef.xml \
|
|
frameworks/native/data/etc/com.nxp.mifare.xml:system/etc/permissions/com.nxp.mifare.xml
|
|
|
|
PRODUCT_PACKAGES += \
|
|
NfcNci \
|
|
SecureElement \
|
|
Tag
|
|
|
|
# Power
|
|
PRODUCT_PACKAGES += \
|
|
android.hardware.power@1.2-service
|
|
|
|
# Soong namespaces
|
|
PRODUCT_SOONG_NAMESPACES += \
|
|
$(LOCAL_PATH)
|
|
|
|
# Telephony
|
|
PRODUCT_PACKAGES += \
|
|
ims-ext-common \
|
|
ims_ext_common.xml \
|
|
qti-telephony-hidl-wrapper \
|
|
qti_telephony_hidl_wrapper.xml \
|
|
qti-telephony-utils \
|
|
qti_telephony_utils.xml \
|
|
telephony-ext
|
|
|
|
PRODUCT_BOOT_JARS += \
|
|
telephony-ext
|
|
|
|
# TextClassifier
|
|
PRODUCT_PACKAGES += \
|
|
textclassifier.bundle1
|
|
|
|
# WiFi Display
|
|
PRODUCT_PACKAGES += \
|
|
libnl
|
|
|
|
PRODUCT_BOOT_JARS += \
|
|
WfdCommon
|