device_xiaomi_sweet/device.mk
Jiyong Park 7b570dca07 sweet: support updatable APEX
Before, updatable_apex.mk was inherited indirectly from
mainline_system.mk. Since mainline_system.mk no longer inherits
updatable_apex.mk, updatable_apex.mk is inherited directly from
device-specific mk file.

Bug: 132664085
Test: choosecombo to phoenix; get_build_var TARGET_FLATTEN_APEX
shows false

Change-Id: I7162567b732f284f618a77cf09f5b40aadd913d5
Merged-In: I7162567b732f284f618a77cf09f5b40aadd913d5
2021-07-12 16:28:16 +05:30

22 lines
568 B
Makefile

#
# Copyright (C) 2021 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
# Installs gsi keys into ramdisk, to boot a GSI with verified boot.
$(call inherit-product, $(SRC_TARGET_DIR)/product/gsi_keys.mk)
# Enable updating of APEXes
$(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk)
# API level, the device has been commercially launched on
PRODUCT_SHIPPING_API_LEVEL := 30
# Soong namespaces
PRODUCT_SOONG_NAMESPACES += \
$(LOCAL_PATH)
# Call the proprietary setup
$(call inherit-product, vendor/xiaomi/sweet/sweet-vendor.mk)