sweet: Include MiuiCamera if exists

Change-Id: Iee675b4924cb2be7ac2d36c7737b06edc9cadfc9
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
This commit is contained in:
AdarshGrewal 2022-04-03 19:18:28 +05:30 committed by donjohanliebert
parent f05fb2d970
commit 7c77335f9f
2 changed files with 6 additions and 0 deletions

View File

@ -7,6 +7,9 @@
# Inherit from sm6150-common
include device/xiaomi/sm6150-common/BoardConfigCommon.mk
# Inherit from proprietary files for miuicamera
-include vendor/xiaomi/sweet-miuicamera/products/board.mk
DEVICE_PATH := device/xiaomi/sweet
# Assert

View File

@ -7,6 +7,9 @@
# Inherit from sm6150-common
$(call inherit-product, device/xiaomi/sm6150-common/sm6150.mk)
# Call the MiuiCamera setup
$(call inherit-product-if-exists, vendor/xiaomi/sweet-miuicamera/products/miuicamera.mk)
# API level, the device has been commercially launched on
PRODUCT_SHIPPING_API_LEVEL := 30