6cdd6f4cda
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
134 lines
3.2 KiB
Makefile
134 lines
3.2 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
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
$(LOCAL_PATH)/audio/audio_policy_configuration.xml:system/etc/audio_policy_configuration.xml
|
|
|
|
# Bluetooth
|
|
PRODUCT_PACKAGES += \
|
|
libldacBT_dec
|
|
|
|
# Camera
|
|
PRODUCT_PACKAGES += \
|
|
Snap
|
|
|
|
# Common init scripts
|
|
PRODUCT_PACKAGES += \
|
|
init.qcom.rc \
|
|
fstab.qcom \
|
|
init.safailnet.rc
|
|
|
|
# Dex preopt
|
|
PRODUCT_DEXPREOPT_SPEED_APPS += \
|
|
SystemUI \
|
|
NexusLauncherRelease
|
|
|
|
# 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
|
|
|
|
# FM
|
|
PRODUCT_PACKAGES += \
|
|
FM2 \
|
|
libqcomfm_jni \
|
|
qcom.fmradio
|
|
|
|
PRODUCT_BOOT_JARS += \
|
|
qcom.fmradio
|
|
|
|
# HIDL
|
|
PRODUCT_PACKAGES += \
|
|
android.hidl.base@1.0
|
|
|
|
# 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
|
|
|
|
# Media
|
|
PRODUCT_COPY_FILES += \
|
|
$(LOCAL_PATH)/configs/media_profiles_vendor.xml:system/etc/media_profiles_vendor.xml
|
|
|
|
# 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
|
|
|
|
# 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
|
|
|
|
# Trust HAL
|
|
PRODUCT_PACKAGES += \
|
|
lineage.trust@1.0-service
|
|
|
|
# WiFi
|
|
PRODUCT_COPY_FILES += \
|
|
$(LOCAL_PATH)/wifi/WCNSS_qcom_cfg.ini:system/etc/WCNSS_qcom_cfg.ini
|
|
|
|
# WiFi Display
|
|
PRODUCT_PACKAGES += \
|
|
libnl
|
|
|
|
# PRODUCT_BOOT_JARS += \
|
|
# WfdCommon
|
|
|
|
# Wallpapers
|
|
PRODUCT_PACKAGES += \
|
|
PixelLiveWallpaperPrebuilt
|