kunlun2: Add updatable_apex.mk and generate APEX image

This commit is contained in:
GiaSen 2020-05-07 13:48:19 +02:00
parent bb78a34bd9
commit cd35e39c1b
2 changed files with 6 additions and 0 deletions

View file

@ -34,6 +34,9 @@ BOARD_RAMDISK_OFFSET := 0x01000000
BOARD_KERNEL_IMAGE_NAME := Image.gz-dtb
TARGET_PREBUILT_KERNEL := device/lenovo/kunlun2/prebuilt/Image.gz-dtb
# APEX image
DEXPREOPT_GENERATE_APEX_IMAGE := true
# Audio
USE_CUSTOM_AUDIO_POLICY := 1
USE_XML_AUDIO_POLICY_CONF := 1

View file

@ -6,6 +6,9 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
# Get non-open-source specific aspects
$(call inherit-product-if-exists, vendor/lenovo/kunlun2/kunlun2-vendor.mk)
# Enable updating of APEXes
$(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk)
# VNDK
PRODUCT_TARGET_VNDK_VERSION := 29