device_lenovo_sdm710-common/sdm710.mk
Ruthwar Kumar Ambeer 762b7c90db sdm710-common: Add background atel services in whitelist
telephony services are white-listed who all need
to freely run in the background. This is temporary
work-around and some of the services will be
removed from the list based on the feasibility.

Change-Id: Ice11429b5b78d5786dc701251b507b7dac5745ee
2019-08-29 09:45:00 +00:00

68 lines
1.6 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)
# 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
# Audio
PRODUCT_PACKAGES += \
audio.a2dp.default \
tinymix
# Common init scripts
PRODUCT_PACKAGES += \
init.target.rc
# Display
PRODUCT_PACKAGES += \
libvulkan \
vendor.display.config@1.0
# HIDL
PRODUCT_PACKAGES += \
android.hidl.base@1.0 \
android.hidl.base@1.0_system \
android.hidl.manager@1.0 \
android.hidl.manager@1.0_system
# IMS
PRODUCT_PACKAGES += \
ims-ext-common
# Net
PRODUCT_PACKAGES += \
netutils-wrapper-1.0
# Seccomp policy
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/seccomp/mediacodec-seccomp.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediacodec.policy \
$(LOCAL_PATH)/seccomp/mediaextractor-seccomp.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediaextractor.policy
# QTI
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/qti_whitelist.xml:system/etc/sysconfig/qti_whitelist.xml
# Telephony
PRODUCT_PACKAGES += \
telephony-ext
PRODUCT_BOOT_JARS += \
telephony-ext
# TextClassifier
PRODUCT_PACKAGES += \
textclassifier.bundle1
# VNDK-SP
PRODUCT_PACKAGES += \
vndk-sp