alioth: Move common product inclusion to the top

Change-Id: Ic2f31bc96a21371dab4ae63778f775e5a037c019
This commit is contained in:
Sebastiano Barezzi
2021-12-09 23:02:57 +01:00
parent c7cbabdd78
commit 5a07cdaaed

View File

@@ -4,6 +4,12 @@
# SPDX-License-Identifier: Apache-2.0
#
# Audio
TARGET_ENABLE_AUDIO_ULL := true
# Inherit from sm8250-common
$(call inherit-product, device/xiaomi/sm8250-common/kona.mk)
# Inherit virtual_ab_ota product
$(call inherit-product, \
$(SRC_TARGET_DIR)/product/virtual_ab_ota.mk)
@@ -53,9 +59,6 @@ TARGET_SCREEN_WIDTH := 1080
PRODUCT_SHIPPING_API_LEVEL := 30
# Audio
TARGET_ENABLE_AUDIO_ULL := true
# Audio configs
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/audio/audio_platform_info_intcodec.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info_intcodec.xml \
@@ -69,8 +72,5 @@ PRODUCT_COPY_FILES += \
PRODUCT_SOONG_NAMESPACES += \
$(LOCAL_PATH)
# Inherit from sm8250-common
$(call inherit-product, device/xiaomi/sm8250-common/kona.mk)
# Inherit from vendor blobs
$(call inherit-product, vendor/xiaomi/alioth/alioth-vendor.mk)