2017-12-07 09:15:14 -05:00
|
|
|
# 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)
|
|
|
|
|
2020-01-28 05:17:38 -05:00
|
|
|
# Enable updating of APEXes
|
|
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk)
|
|
|
|
|
2017-12-07 09:15:14 -05:00
|
|
|
# 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
|
|
|
|
|
2019-07-08 06:51:00 -04:00
|
|
|
# Overlays
|
|
|
|
DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay
|
2019-11-30 04:55:11 -05:00
|
|
|
# ifneq ($(findstring lineage, $(TARGET_PRODUCT)),)
|
2019-03-23 05:17:14 -04:00
|
|
|
DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay-lineage
|
2019-11-30 04:55:11 -05:00
|
|
|
# endif
|
2019-07-08 06:51:00 -04:00
|
|
|
|
2017-12-07 09:15:14 -05:00
|
|
|
# Audio
|
|
|
|
PRODUCT_PACKAGES += \
|
2019-12-12 09:40:20 -05:00
|
|
|
audio.a2dp.default
|
2017-12-07 09:15:14 -05:00
|
|
|
|
2019-04-03 10:05:43 -04:00
|
|
|
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 += \
|
2020-01-06 01:59:29 -05:00
|
|
|
libldacBT_dec
|
2019-08-29 06:13:26 -04:00
|
|
|
|
2019-12-21 05:22:17 -05:00
|
|
|
# Camera
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
Snap
|
|
|
|
|
2017-12-07 09:15:14 -05:00
|
|
|
# Common init scripts
|
|
|
|
PRODUCT_PACKAGES += \
|
2019-12-22 04:05:04 -05:00
|
|
|
init.qcom.rc \
|
2017-11-12 16:29:06 -05:00
|
|
|
fstab.qcom \
|
|
|
|
init.safailnet.rc
|
2017-12-07 09:15:14 -05:00
|
|
|
|
2018-02-02 16:01:38 -05:00
|
|
|
# Dex preopt
|
|
|
|
PRODUCT_DEXPREOPT_SPEED_APPS += \
|
2019-12-25 09:33:01 -05:00
|
|
|
SystemUI \
|
|
|
|
NexusLauncherRelease
|
2018-02-02 16:01:38 -05:00
|
|
|
|
2019-09-26 12:10:20 -04:00
|
|
|
# Fingerprint
|
|
|
|
PRODUCT_PACKAGES += \
|
2019-12-12 09:40:20 -05:00
|
|
|
android.hardware.biometrics.fingerprint@2.1-service.realme_sdm710
|
2019-09-26 12:10:20 -04:00
|
|
|
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
frameworks/native/data/etc/android.hardware.fingerprint.xml:system/etc/permissions/android.hardware.fingerprint.xml
|
|
|
|
|
2017-12-07 09:15:14 -05:00
|
|
|
# HIDL
|
|
|
|
PRODUCT_PACKAGES += \
|
2020-01-15 12:46:34 -05:00
|
|
|
android.hidl.base@1.0
|
2017-12-07 09:15:14 -05:00
|
|
|
|
2017-12-07 09:15:14 -05:00
|
|
|
# IMS
|
|
|
|
PRODUCT_PACKAGES += \
|
2018-12-28 04:14:41 -05:00
|
|
|
ims-ext-common \
|
|
|
|
ims_ext_common.xml
|
2017-12-07 09:15:14 -05:00
|
|
|
|
2019-03-11 20:38:38 -04:00
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
frameworks/native/data/etc/android.hardware.telephony.ims.xml:system/etc/permissions/android.hardware.telephony.ims.xml
|
|
|
|
|
2018-07-09 19:18:09 -04:00
|
|
|
# Lights
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.light@2.0-service.realme_sdm710
|
|
|
|
|
2020-01-08 01:14:47 -05:00
|
|
|
# Media
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
$(LOCAL_PATH)/configs/media_profiles_vendor.xml:system/etc/media_profiles_vendor.xml
|
|
|
|
|
2017-12-07 09:15:14 -05:00
|
|
|
# Net
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
netutils-wrapper-1.0
|
|
|
|
|
2019-09-10 13:02:00 -04:00
|
|
|
# Permissions
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
frameworks/native/data/etc/handheld_core_hardware.xml:system/etc/permissions/handheld_core_hardware.xml
|
|
|
|
|
2019-09-09 10:52:33 -04:00
|
|
|
# Soong namespaces
|
|
|
|
PRODUCT_SOONG_NAMESPACES += \
|
|
|
|
$(LOCAL_PATH)
|
|
|
|
|
2019-07-10 11:14:13 -04:00
|
|
|
# System properties
|
|
|
|
-include $(LOCAL_PATH)/system_prop.mk
|
|
|
|
|
2019-10-04 06:35:02 -04:00
|
|
|
# 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
|
|
|
|
|
2018-11-26 15:08:55 -05:00
|
|
|
# Telephony
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
qti-telephony-hidl-wrapper \
|
2018-11-26 18:01:19 -05:00
|
|
|
qti_telephony_hidl_wrapper.xml \
|
|
|
|
qti-telephony-utils \
|
|
|
|
qti_telephony_utils.xml
|
2018-11-26 15:08:55 -05:00
|
|
|
|
2019-01-09 16:24:07 -05:00
|
|
|
# Trust HAL
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
lineage.trust@1.0-service
|
2018-12-24 06:25:51 -05:00
|
|
|
|
2020-01-19 01:49:13 -05:00
|
|
|
# WiFi
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
$(LOCAL_PATH)/wifi/WCNSS_qcom_cfg.ini:system/etc/WCNSS_qcom_cfg.ini
|
|
|
|
|
2018-12-24 06:25:51 -05:00
|
|
|
# WiFi Display
|
2019-12-10 08:12:11 -05:00
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
libnl
|
|
|
|
|
2020-03-02 04:44:10 -05:00
|
|
|
# PRODUCT_BOOT_JARS += \
|
|
|
|
# WfdCommon
|
2019-11-24 20:35:08 -05:00
|
|
|
|
|
|
|
# Wallpapers
|
|
|
|
PRODUCT_PACKAGES += \
|
2019-11-27 13:42:21 -05:00
|
|
|
PixelLiveWallpaperPrebuilt
|