Skip to content

Commit

Permalink
garnet: Include MiuiCamera if exists
Browse files Browse the repository at this point in the history
Change-Id: Iee675b4924cb2be7ac2d36c7737b06edc9cadfc9
Signed-off-by: Ramadhani <ramadhanifals@gmail.com>
  • Loading branch information
AdarshGrewal authored and kleidione committed Jan 18, 2025
1 parent 3a65671 commit 41fa4f2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions BoardConfig.mk
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ DEVICE_PATH := device/xiaomi/garnet
BUILD_BROKEN_DUP_RULES := true
BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES := true

# Inherit from proprietary files for miuicamera
-include vendor/xiaomi/garnet-miuicamera/products/board.mk

# A/B
AB_OTA_UPDATER := true
AB_OTA_PARTITIONS := \
Expand Down
3 changes: 3 additions & 0 deletions device.mk
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
# SPDX-License-Identifier: Apache-2.0
#

# MiuiCamera setup
$(call inherit-product-if-exists, vendor/xiaomi/garnet-miuicamera/products/miuicamera.mk)

# Enable updating of APEXes
$(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk)

Expand Down

0 comments on commit 41fa4f2

Please sign in to comment.