Add preopt scripts to mainline.

These scripts support art preopting in system_other, which is
a generically useful thing to keep on mainline.

Note that the preloads_copy script should also be added, but
that needs some work to be done (b/116714695).

Bug: 80410283
Test: lunch mainline_arm64; m nothing
Change-Id: I693e17ac0f61f2417ced639d1fdfe164c54341a9
This commit is contained in:
Anton Hansson 2018-09-27 11:07:38 +01:00
parent fb59f55487
commit deec280bbb
1 changed files with 6 additions and 1 deletions

View File

@ -18,11 +18,16 @@
$(call inherit-product, $(SRC_TARGET_DIR)/product/handheld_system.mk) $(call inherit-product, $(SRC_TARGET_DIR)/product/handheld_system.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/telephony_system.mk) $(call inherit-product, $(SRC_TARGET_DIR)/product/telephony_system.mk)
# OTA support. # OTA support
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
update_engine \ update_engine \
update_verifier \ update_verifier \
# system_other support
PRODUCT_PACKAGES += \
cppreopts.sh \
otapreopt_script \
# Enable dynamic partition size # Enable dynamic partition size
PRODUCT_USE_DYNAMIC_PARTITION_SIZE := true PRODUCT_USE_DYNAMIC_PARTITION_SIZE := true