1f794129e0
Check device variant by using ro.boot.hwc and ro.boot.proudct.hardware.sku and set the correct model based on value of ro.product.marketname on stock ROM Change-Id: Iae15a7d3558f3c4608546e42ed655a76a0fe8868
29 lines
620 B
Makefile
29 lines
620 B
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)
|
|
|
|
# Overlays
|
|
DEVICE_PACKAGE_OVERLAYS += \
|
|
$(LOCAL_PATH)/overlay
|
|
|
|
# Overlays-RRO
|
|
PRODUCT_PACKAGES += \
|
|
lisaCNSettingsProviderOverlay \
|
|
lisaCNWifiOverlay \
|
|
lisaGLSettingsProviderOverlay \
|
|
lisaGLWifiOverlay \
|
|
lisaINSettingsProviderOverlay \
|
|
lisaINWifiOverlay
|
|
|
|
# Soong namespaces
|
|
PRODUCT_SOONG_NAMESPACES += \
|
|
$(LOCAL_PATH)
|
|
|
|
# Call the proprietary setup
|
|
$(call inherit-product, vendor/xiaomi/lisa/lisa-vendor.mk)
|