Files
device_oneplus_lemonades/device.mk
Alexander Koskovich 096869c6e5 kebab: Move device specific audio configurations from common
* As of KB2005_11.C.33.

Change-Id: Ief2f6860b4ac0e400b196938a1ca90fb5ecae241
2022-08-19 18:11:29 +02:00

48 lines
1.3 KiB
Makefile

#
# Copyright (C) 2018 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
# A/B
$(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota.mk)
# AAPT
PRODUCT_AAPT_CONFIG := normal
PRODUCT_AAPT_PREF_CONFIG := xxhdpi
# Audio
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/audio/audio_platform_info_intcodec.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info_intcodec.xml \
$(LOCAL_PATH)/audio/mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths.xml \
$(LOCAL_PATH)/audio/sound_trigger_mixer_paths.xml:$(TARGET_COPY_OUT_ODM)/etc/sound_trigger_mixer_paths.xml \
$(LOCAL_PATH)/audio/sound_trigger_platform_info.xml:$(TARGET_COPY_OUT_ODM)/etc/sound_trigger_platform_info.xml
# Boot animation
TARGET_SCREEN_HEIGHT := 2400
TARGET_SCREEN_WIDTH := 1080
# Device init scripts
PRODUCT_PACKAGES += \
fstab.qcom \
fstab.qcom.ramdisk
# Overlays
PRODUCT_PACKAGES += \
OPlusFrameworksResTarget \
OPlusSettingsProviderResTarget \
OPlusSystemUIResTarget
# Shipping API
PRODUCT_SHIPPING_API_LEVEL := 30
# Soong namespaces
PRODUCT_SOONG_NAMESPACES += \
$(LOCAL_PATH)
# Inherit from the common OEM chipset makefile.
$(call inherit-product, device/oneplus/sm8250-common/common.mk)
# Inherit from the proprietary files makefile.
$(call inherit-product, vendor/oneplus/kebab/kebab-vendor.mk)