device_lenovo_sdm710-common/sdm710.mk

109 lines
2.8 KiB
Makefile
Raw Normal View History

# Inherit from those products. Most specific first.
$(call inherit-product, $(SRC_TARGET_DIR)/product/product_launched_with_p.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
# Get non-open-source specific aspects
$(call inherit-product-if-exists, vendor/realme/sdm710-common/sdm710-common-vendor.mk)
# Boot animation
TARGET_SCREEN_HEIGHT := 2244
TARGET_SCREEN_WIDTH := 1080
# Device uses high-density artwork where available
PRODUCT_AAPT_CONFIG := normal
PRODUCT_AAPT_PREF_CONFIG := xxhdpi
# Overlays
DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay
# ifneq ($(findstring lineage, $(TARGET_PRODUCT)),)
DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay-lineage
# endif
# Audio
PRODUCT_PACKAGES += \
audio.a2dp.default
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/audio/audio_policy_configuration.xml:system/etc/audio_policy_configuration.xml
2019-08-29 06:13:26 -04:00
# Bluetooth
PRODUCT_PACKAGES += \
BluetoothResCommon
# Common init scripts
PRODUCT_PACKAGES += \
init.qcom.rc
# Fingerprint
PRODUCT_PACKAGES += \
android.hardware.biometrics.fingerprint@2.1-service.realme_sdm710
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.fingerprint.xml:system/etc/permissions/android.hardware.fingerprint.xml
2017-09-09 10:26:17 -04:00
# Doze
PRODUCT_PACKAGES += \
OppoDoze
2017-09-09 10:26:17 -04:00
# IMS
PRODUCT_PACKAGES += \
ims-ext-common_system
PRODUCT_BOOT_JARS += \
ims-ext-common_system
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.telephony.ims.xml:system/etc/permissions/android.hardware.telephony.ims.xml
# Lights
PRODUCT_PACKAGES += \
android.hardware.light@2.0-service.realme_sdm710
# Net
PRODUCT_PACKAGES += \
netutils-wrapper-1.0
# Permissions
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/handheld_core_hardware.xml:system/etc/permissions/handheld_core_hardware.xml
# Power
PRODUCT_PACKAGES += \
power.qcom:64
# QTI
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/qti_whitelist.xml:system/etc/sysconfig/qti_whitelist.xml \
$(LOCAL_PATH)/permissions/privapp-permissions-qti.xml:system/etc/permissions/privapp-permissions-qti.xml
# Soong namespaces
PRODUCT_SOONG_NAMESPACES += \
$(LOCAL_PATH)
# System properties
-include $(LOCAL_PATH)/system_prop.mk
# Sensors
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.sensor.light.xml:system/etc/permissions/android.hardware.sensor.light.xml \
frameworks/native/data/etc/android.hardware.sensor.proximity.xml:system/etc/permissions/android.hardware.sensor.proximity.xml
# Telephony
PRODUCT_PACKAGES += \
telephony-ext
PRODUCT_BOOT_JARS += \
telephony-ext
2019-01-09 16:24:07 -05:00
# Trust HAL
PRODUCT_PACKAGES += \
lineage.trust@1.0-service
# WiFi Display
PRODUCT_PACKAGES += \
libnl
PRODUCT_BOOT_JARS += \
WfdCommon