Change-Id: I3dd347b6fa66bbb82224adf9081d1512920263da Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
123 lines
3.1 KiB
Makefile
123 lines
3.1 KiB
Makefile
# 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)
|
|
|
|
# Enable updating of APEXes
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.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 \
|
|
tinymix
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
$(LOCAL_PATH)/audio/audio_policy_configuration.xml:system/etc/audio_policy_configuration.xml
|
|
|
|
# Bluetooth
|
|
PRODUCT_PACKAGES += \
|
|
BluetoothResCommon
|
|
|
|
# Camera
|
|
PRODUCT_PACKAGES += \
|
|
Snap
|
|
|
|
# Common init scripts
|
|
PRODUCT_PACKAGES += \
|
|
init.qcom.rc
|
|
|
|
# Display
|
|
PRODUCT_PACKAGES += \
|
|
libvulkan \
|
|
vendor.display.config@1.0
|
|
|
|
# Fingerprint
|
|
PRODUCT_PACKAGES += \
|
|
android.hardware.biometrics.fingerprint@2.1-service.realme_sdm710 \
|
|
vendor.oppo.hardware.biometrics.fingerprint@2.1
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
frameworks/native/data/etc/android.hardware.fingerprint.xml:system/etc/permissions/android.hardware.fingerprint.xml
|
|
|
|
# Doze
|
|
# PRODUCT_PACKAGES += \
|
|
# OppoDoze
|
|
|
|
# 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
|
|
|
|
# TextClassifier
|
|
PRODUCT_PACKAGES += \
|
|
textclassifier.bundle1
|
|
|
|
# Trust HAL
|
|
PRODUCT_PACKAGES += \
|
|
lineage.trust@1.0-service
|
|
|
|
# WiFi Display
|
|
# PRODUCT_BOOT_JARS += \
|
|
# WfdCommon
|