2022-09-16 11:39:23 -04:00
|
|
|
#
|
|
|
|
# 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)
|
|
|
|
|
2023-07-09 17:07:33 -04:00
|
|
|
# Inherit MiuiCamera Makefile
|
|
|
|
$(call inherit-product, vendor/xiaomi/miuicamera-lisa/device.mk)
|
2024-08-05 20:09:14 -04:00
|
|
|
|
2021-11-07 13:21:49 -05:00
|
|
|
# Overlays
|
|
|
|
DEVICE_PACKAGE_OVERLAYS += \
|
2024-11-05 06:09:01 -05:00
|
|
|
$(LOCAL_PATH)/overlay
|
2021-11-07 13:21:49 -05:00
|
|
|
|
2021-06-09 04:39:31 -04:00
|
|
|
# Overlays-RRO
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
lisaCNSettingsProviderOverlay \
|
|
|
|
lisaCNWifiOverlay \
|
|
|
|
lisaGLSettingsProviderOverlay \
|
|
|
|
lisaGLWifiOverlay \
|
|
|
|
lisaINSettingsProviderOverlay \
|
|
|
|
lisaINWifiOverlay
|
|
|
|
|
2022-09-16 11:39:23 -04:00
|
|
|
# Soong namespaces
|
|
|
|
PRODUCT_SOONG_NAMESPACES += \
|
|
|
|
$(LOCAL_PATH)
|
|
|
|
|
2022-09-16 11:45:19 -04:00
|
|
|
# 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
|
|
|
|
|
2024-01-08 02:05:38 -05:00
|
|
|
# Sku properties
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
$(call find-copy-subdir-files,*,$(LOCAL_PATH)/sku/,$(TARGET_COPY_OUT_ODM)/etc)
|
|
|
|
|
2022-09-04 00:42:37 -04:00
|
|
|
# WiFi Display
|
|
|
|
PRODUCT_SYSTEM_PROPERTIES += \
|
|
|
|
vendor.sys.video.disable.ubwc=1
|
|
|
|
|
2022-09-16 11:39:23 -04:00
|
|
|
# Call the proprietary setup
|
|
|
|
$(call inherit-product, vendor/xiaomi/lisa/lisa-vendor.mk)
|