android_device_xiaomi_lisa/device.mk
Arian e1380e6f24
lisa: Include MiuiCamera
Change-Id: I3154d9328fbcd17a25c88ab6c932af171c98f625
2024-10-12 19:21:34 +05:30

50 lines
1.8 KiB
Makefile

#
# Copyright (C) 2022 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
# Inherit from sm8350-common
$(call inherit-product, device/xiaomi/sm8350-common/common.mk)
# Inherit MiuiCamera Makefile
$(call inherit-product, vendor/xiaomi/miuicamera-lisa/device.mk)
# Overlays
DEVICE_PACKAGE_OVERLAYS += \
$(LOCAL_PATH)/overlay \
$(LOCAL_PATH)/overlay-evolution
# Overlays-RRO
PRODUCT_PACKAGES += \
lisaCNSettingsProviderOverlay \
lisaCNWifiOverlay \
lisaGLSettingsProviderOverlay \
lisaGLWifiOverlay \
lisaINSettingsProviderOverlay \
lisaINWifiOverlay
# Soong namespaces
PRODUCT_SOONG_NAMESPACES += \
$(LOCAL_PATH)
# Audio
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/audio/audio_platform_info_yupikqrd.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_yupik/audio_platform_info_yupikqrd.xml \
$(LOCAL_PATH)/audio/mixer_paths_yupikqrd.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_yupik/mixer_paths_yupikqrd.xml \
$(LOCAL_PATH)/audio/mixer_paths_overlay_dynamic.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_yupik/mixer_paths_overlay_dynamic.xml \
$(LOCAL_PATH)/audio/mixer_paths_overlay_static.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_yupik/mixer_paths_overlay_static.xml \
$(LOCAL_PATH)/audio/sound_trigger_mixer_paths_yupikqrd.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_yupik/sound_trigger_mixer_paths_yupikqrd.xml \
$(LOCAL_PATH)/audio/sound_trigger_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_yupik/sound_trigger_platform_info.xml
# Sku properties
PRODUCT_COPY_FILES += \
$(call find-copy-subdir-files,*,$(LOCAL_PATH)/sku/,$(TARGET_COPY_OUT_ODM)/etc)
# WiFi Display
PRODUCT_SYSTEM_PROPERTIES += \
vendor.sys.video.disable.ubwc=1
# Call the proprietary setup
$(call inherit-product, vendor/xiaomi/lisa/lisa-vendor.mk)