sdm660-common: Refactor apex

Signed-off-by: OdSazib <odsazib@gmail.com>
Change-Id: I8373415681ebf71732657cf86067be5cc4c14625
This commit is contained in:
OdSazib 2020-12-10 22:25:12 +06:00
parent a6f2b3478b
commit e44cb6d696
No known key found for this signature in database
GPG key ID: 0954440B60470871
2 changed files with 8 additions and 0 deletions

View file

@ -1,6 +1,12 @@
#Build FP to be picked by both system and vendor
BUILD_FINGERPRINT := "xiaomi/wayne/wayne:8.1.0/OPM1.171019.011/V9.5.11.0.ODCCNFA:user/release-keys"
# Apex
ifeq ($(ENABLE_APEX), true)
PRODUCT_PRODUCT_PROPERTIES += \
ro.apex.updatable=true
endif
# ART
PRODUCT_PROPERTY_OVERRIDES += \
dalvik.vm.boot-dex2oat-threads=8 \

View file

@ -32,7 +32,9 @@ $(call inherit-product-if-exists, build/target/product/embedded.mk)
# Enable updating of APEXes
ifeq ($(ENABLE_APEX), true)
TARGET_SUPPORTS_UPDATABLE_APEX := true
$(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk)
$(call inherit-product-if-exists, vendor/prebuilts/config/apex.mk)
endif
# Inherit proprietary files