Files
device_xiaomi_stone/holi.mk

156 lines
4.2 KiB
Makefile
Raw Normal View History

#
# 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
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/snapdragon_color_libs_config.xml:$(TARGET_COPY_OUT_VENDOR)/etc/snapdragon_color_libs_config.xml
# Fastbootd
PRODUCT_PACKAGES += \
fastbootd
# GSI Keys
$(call inherit-product, $(SRC_TARGET_DIR)/product/gsi_keys.mk)
# 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)