mirror of
https://github.com/PixelExperience-Devices/device_xiaomi_sm6250-common.git
synced 2025-05-28 08:17:16 +09:00
103 lines
3.1 KiB
Makefile
103 lines
3.1 KiB
Makefile
#
|
|
# Copyright (C) 2021 The LineageOS Project
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
PRODUCT_BUILD_SUPER_PARTITION := false
|
|
PRODUCT_USE_DYNAMIC_PARTITIONS := true
|
|
|
|
# Overlays
|
|
DEVICE_PACKAGE_OVERLAYS += \
|
|
$(LOCAL_PATH)/overlay \
|
|
$(LOCAL_PATH)/overlay-lineage
|
|
|
|
PRODUCT_ENFORCE_RRO_TARGETS := *
|
|
|
|
# Enable project quotas and casefolding for emulated storage without sdcardfs
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/emulated_storage.mk)
|
|
|
|
# Enable updating of APEXes
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk)
|
|
|
|
# Include GSI keys
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/gsi_keys.mk)
|
|
|
|
# Setup dalvik vm configs
|
|
$(call inherit-product, frameworks/native/build/phone-xhdpi-4096-dalvik-heap.mk)
|
|
|
|
# AID/fs configs
|
|
PRODUCT_PACKAGES += \
|
|
fs_config_files
|
|
|
|
# Audio
|
|
PRODUCT_PACKAGES += \
|
|
android.hardware.audio@6.0-impl \
|
|
android.hardware.audio.effect@6.0-impl \
|
|
android.hardware.audio.service \
|
|
android.hardware.bluetooth.audio@2.0-impl \
|
|
android.hardware.soundtrigger@2.2-impl
|
|
|
|
PRODUCT_PACKAGES += \
|
|
audio.a2dp.default \
|
|
audio.bluetooth.default \
|
|
audio.primary.atoll \
|
|
audio.r_submix.default \
|
|
audio.usb.default \
|
|
|
|
PRODUCT_PACKAGES += \
|
|
liba2dpoffload \
|
|
libaudiopreprocessing \
|
|
libaudio-resampler \
|
|
libbatterylistener \
|
|
libbundlewrapper \
|
|
libcomprcapture \
|
|
libdownmix \
|
|
libdynproc \
|
|
libeffectproxy \
|
|
libexthwplugin \
|
|
libhdmiedid \
|
|
libhfp \
|
|
libldnhncr \
|
|
libqcompostprocbundle \
|
|
libqcomvisualizer \
|
|
libqcomvoiceprocessing \
|
|
libreverbwrapper \
|
|
libsndmonitor \
|
|
libspkrprot \
|
|
libvisualizer \
|
|
libvolumelistener \
|
|
sound_trigger.primary.atoll:32
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
$(call find-copy-subdir-files,*,$(LOCAL_PATH)/audio/,$(TARGET_COPY_OUT_VENDOR)/etc)
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
frameworks/av/services/audiopolicy/config/a2dp_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/a2dp_audio_policy_configuration.xml \
|
|
frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
|
|
frameworks/av/services/audiopolicy/config/bluetooth_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration.xml \
|
|
frameworks/av/services/audiopolicy/config/default_volume_tables.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default_volume_tables.xml \
|
|
frameworks/av/services/audiopolicy/config/r_submix_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/r_submix_audio_policy_configuration.xml \
|
|
frameworks/av/services/audiopolicy/config/usb_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/usb_audio_policy_configuration.xml
|
|
|
|
# Rootdir
|
|
PRODUCT_PACKAGES += \
|
|
init.qcom.early_boot.sh \
|
|
init.qcom.sh \
|
|
init.qti.chg_policy.sh
|
|
|
|
PRODUCT_PACKAGES += \
|
|
init.qcom.power.rc \
|
|
init.qcom.rc \
|
|
init.recovery.qcom.rc \
|
|
init.target.rc \
|
|
fstab.qcom \
|
|
ueventd.qcom.rc
|
|
|
|
# Soong namespaces
|
|
PRODUCT_SOONG_NAMESPACES += \
|
|
$(LOCAL_PATH)
|
|
|
|
# Inherit proprietary targets
|
|
$(call inherit-product, vendor/xiaomi/sm6250-common/sm6250-common-vendor.mk)
|