mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_stone
synced 2026-01-27 17:18:49 +00:00
205 lines
5.2 KiB
Makefile
205 lines
5.2 KiB
Makefile
#
|
|
# Copyright (C) 2022 The LineageOS Project
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
# Enable project quotas and casefolding for emulated storage without sdcardfs
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/emulated_storage.mk)
|
|
|
|
# A/B
|
|
AB_OTA_POSTINSTALL_CONFIG += \
|
|
RUN_POSTINSTALL_system=true \
|
|
POSTINSTALL_PATH_system=system/bin/otapreopt_script \
|
|
FILESYSTEM_TYPE_system=ext4 \
|
|
POSTINSTALL_OPTIONAL_system=true
|
|
|
|
AB_OTA_POSTINSTALL_CONFIG += \
|
|
RUN_POSTINSTALL_vendor=true \
|
|
POSTINSTALL_PATH_vendor=bin/checkpoint_gc \
|
|
FILESYSTEM_TYPE_vendor=ext4 \
|
|
POSTINSTALL_OPTIONAL_vendor=true
|
|
|
|
PRODUCT_PACKAGES += \
|
|
checkpoint_gc \
|
|
otapreopt_script
|
|
|
|
# Enable virtual A/B OTA
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota.mk)
|
|
|
|
# APEX's
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk)
|
|
|
|
# Audio
|
|
PRODUCT_PACKAGES += \
|
|
libvolumelistener \
|
|
libqcomvisualizer \
|
|
libqcomvoiceprocessing \
|
|
libqcompostprocbundle
|
|
|
|
PRODUCT_PACKAGES += \
|
|
android.hardware.audio.effect@6.0-impl \
|
|
android.hardware.audio.service \
|
|
android.hardware.audio@6.0-impl \
|
|
android.hardware.soundtrigger@2.2-impl \
|
|
audioadsprpcd \
|
|
audio.a2dp.default \
|
|
audio.primary.holi \
|
|
audio.r_submix.default \
|
|
audio.usb.default \
|
|
libaudiopreprocessing \
|
|
libbatterylistener \
|
|
libbundlewrapper \
|
|
libcomprcapture \
|
|
libdownmix \
|
|
libdynproc \
|
|
libeffectproxy \
|
|
libexthwplugin \
|
|
libhdmiedid \
|
|
libhfp \
|
|
libldnhncr \
|
|
libreverbwrapper \
|
|
libsndmonitor \
|
|
libspkrprot \
|
|
libvisualizer
|
|
|
|
# AVB
|
|
PRODUCT_PACKAGES += \
|
|
q-gsi.avbpubkey \
|
|
r-gsi.avbpubkey \
|
|
s-gsi.avbpubkey
|
|
|
|
# Bluetooth
|
|
PRODUCT_PACKAGES += \
|
|
audio.bluetooth.default \
|
|
android.hardware.bluetooth.audio@2.0-impl \
|
|
com.dsi.ant@1.0.vendor \
|
|
vendor.qti.hardware.bluetooth_audio@2.0.vendor \
|
|
vendor.qti.hardware.bluetooth_audio@2.1.vendor \
|
|
vendor.qti.hardware.btconfigstore@1.0.vendor \
|
|
vendor.qti.hardware.btconfigstore@2.0.vendor
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
frameworks/av/services/audiopolicy/config/a2dp_in_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/a2dp_in_audio_policy_configuration.xml \
|
|
frameworks/av/services/audiopolicy/config/bluetooth_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration.xml
|
|
|
|
# Camera
|
|
PRODUCT_PACKAGES += \
|
|
android.hardware.camera.provider@2.4-impl \
|
|
android.hardware.camera.provider@2.4-service_64 \
|
|
libcamera2ndk_vendor \
|
|
libstdc++.vendor \
|
|
vendor.qti.hardware.camera.postproc@1.0.vendor
|
|
|
|
PRODUCT_PACKAGES += \
|
|
Snap
|
|
|
|
# Consumer IR
|
|
PRODUCT_PACKAGES += \
|
|
android.hardware.ir@1.0-impl \
|
|
android.hardware.ir@1.0-service
|
|
|
|
# Display
|
|
PRODUCT_PACKAGES += \
|
|
android.hardware.graphics.mapper@3.0-impl-qti-display \
|
|
android.hardware.graphics.mapper@4.0-impl-qti-display \
|
|
android.hardware.memtrack@1.0-impl \
|
|
android.hardware.memtrack@1.0-service \
|
|
vendor.qti.hardware.display.allocator-service \
|
|
vendor.qti.hardware.display.composer-service \
|
|
vendor.qti.hardware.display.mapper@1.0.vendor \
|
|
vendor.qti.hardware.display.mapper@1.1.vendor \
|
|
vendor.qti.hardware.display.mapper@2.0.vendor \
|
|
vendor.qti.hardware.display.mapper@3.0.vendor \
|
|
vendor.qti.hardware.display.mapper@4.0.vendor
|
|
|
|
PRODUCT_PACKAGES += \
|
|
vendor.display.config@1.15.vendor \
|
|
vendor.display.config@2.0.vendor
|
|
|
|
PRODUCT_PACKAGES += \
|
|
libdisplayconfig.qti \
|
|
libdisplayconfig.qti.vendor \
|
|
libqdMetaData \
|
|
libtinyxml \
|
|
memtrack.default \
|
|
vndservicemanager
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
$(LOCAL_PATH)/configs/snapdragon_color_libs_config.xml:$(TARGET_COPY_OUT_VENDOR)/etc/snapdragon_color_libs_config.xml
|
|
|
|
# DRM
|
|
PRODUCT_PACKAGES += \
|
|
android.hardware.drm@1.3-service.clearkey
|
|
|
|
PRODUCT_PACKAGES += \
|
|
libdrm
|
|
|
|
# Fastbootd
|
|
PRODUCT_PACKAGES += \
|
|
fastbootd
|
|
|
|
# Fingerprint
|
|
PRODUCT_PACKAGES += \
|
|
vendor.xiaomi.hardware.fingerprintextension@1.0.vendor
|
|
|
|
# GSI Keys
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/gsi_keys.mk)
|
|
|
|
# Health
|
|
PRODUCT_PACKAGES += \
|
|
android.hardware.health@2.1-impl \
|
|
android.hardware.health@2.1-service
|
|
|
|
# HIDL
|
|
PRODUCT_PACKAGES += \
|
|
libhidltransport.vendor \
|
|
libhwbinder.vendor
|
|
|
|
# IPACM
|
|
PRODUCT_PACKAGES += \
|
|
ipacm \
|
|
IPACM_cfg.xml \
|
|
libipanat \
|
|
liboffloadhal
|
|
|
|
# Media
|
|
PRODUCT_PACKAGES += \
|
|
libavservices_minijail \
|
|
libavservices_minijail.vendor \
|
|
libavservices_minijail_vendor \
|
|
libcodec2_hidl@1.1.vendor \
|
|
libmm-omxcore \
|
|
libOmxAacEnc \
|
|
libOmxAmrEnc \
|
|
libOmxCore \
|
|
libOmxEvrcEnc \
|
|
libOmxG711Enc \
|
|
libOmxQcelp13Enc \
|
|
libOmxVdec \
|
|
libOmxVenc \
|
|
libstagefrighthw \
|
|
libstagefright_omx \
|
|
libstagefright_foundation \
|
|
libstagefright_softomx.vendor
|
|
|
|
# Partitions
|
|
PRODUCT_BUILD_SUPER_PARTITION := false
|
|
PRODUCT_USE_DYNAMIC_PARTITIONS := true
|
|
|
|
# Soong namespaces
|
|
PRODUCT_SOONG_NAMESPACES += \
|
|
$(LOCAL_PATH)
|
|
|
|
# Update engine
|
|
PRODUCT_PACKAGES += \
|
|
update_engine \
|
|
update_engine_sideload \
|
|
update_verifier
|
|
|
|
PRODUCT_PACKAGES_DEBUG += \
|
|
update_engine_client
|
|
|
|
# Inherit the proprietary files
|
|
$(call inherit-product, vendor/xiaomi/sm6375-common/sm6375-common-vendor.mk)
|