Merge "Use the boot image mainline extension when dexpreopting in Make." am: 3a6ebaac36

Original change: https://android-review.googlesource.com/c/platform/build/+/2497995

Change-Id: I2888a5d1b20ee95a94514fed426e4bf9b5e3be51
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Nicolas Geoffray 2023-03-21 16:10:03 +00:00 committed by Automerger Merge Worker
commit 22d145424a

View file

@ -272,12 +272,13 @@ my_dexpreopt_images :=
my_dexpreopt_images_deps := my_dexpreopt_images_deps :=
my_dexpreopt_image_locations_on_host := my_dexpreopt_image_locations_on_host :=
my_dexpreopt_image_locations_on_device := my_dexpreopt_image_locations_on_device :=
# Infix can be 'boot' or 'art'. Soong creates a set of variables for Make, one # Infix can be 'art', 'boot', or 'mainline'. Soong creates a set of variables
# for each boot image (primary and the framework extension). The only reason why # for Make, one or each boot image (primary, the framework extension, and the
# the primary image is exposed to Make is testing (art gtests) and benchmarking # mainline extension). The only reason why the primary image is exposed to Make
# (art golem benchmarks). Install rules that use those variables are in # is testing (art gtests) and benchmarking (art golem benchmarks). Install rules
# dex_preopt_libart.mk. Here for dexpreopt purposes the infix is always 'boot'. # that use those variables are in dex_preopt_libart.mk. Here for dexpreopt
my_dexpreopt_infix := boot # purposes the infix is always 'boot' or 'mainline'.
my_dexpreopt_infix := $(if $(filter true,$(DEX_PREOPT_WITH_UPDATABLE_BCP)),mainline,boot)
my_create_dexpreopt_config := my_create_dexpreopt_config :=
ifdef LOCAL_DEX_PREOPT ifdef LOCAL_DEX_PREOPT