sdm660-common: Refactor apex
Signed-off-by: OdSazib <odsazib@gmail.com> Change-Id: I8373415681ebf71732657cf86067be5cc4c14625
This commit is contained in:
parent
a6f2b3478b
commit
e44cb6d696
2 changed files with 8 additions and 0 deletions
|
@ -1,6 +1,12 @@
|
||||||
#Build FP to be picked by both system and vendor
|
#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"
|
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
|
# ART
|
||||||
PRODUCT_PROPERTY_OVERRIDES += \
|
PRODUCT_PROPERTY_OVERRIDES += \
|
||||||
dalvik.vm.boot-dex2oat-threads=8 \
|
dalvik.vm.boot-dex2oat-threads=8 \
|
||||||
|
|
|
@ -32,7 +32,9 @@ $(call inherit-product-if-exists, build/target/product/embedded.mk)
|
||||||
|
|
||||||
# Enable updating of APEXes
|
# Enable updating of APEXes
|
||||||
ifeq ($(ENABLE_APEX), true)
|
ifeq ($(ENABLE_APEX), true)
|
||||||
|
TARGET_SUPPORTS_UPDATABLE_APEX := true
|
||||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk)
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk)
|
||||||
|
$(call inherit-product-if-exists, vendor/prebuilts/config/apex.mk)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Inherit proprietary files
|
# Inherit proprietary files
|
||||||
|
|
Loading…
Reference in a new issue