Merge "Do not set DISABLE_PREOPT_BOOT_IMAGES when doing a VSDK build." am: 7edc734ec1

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

Change-Id: I1c44d3ca6795a1fd72507bba3246e0b517fefe09
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Rob Seymour 2023-06-02 20:04:54 +00:00 committed by Automerger Merge Worker
commit 7844748642

View file

@ -549,7 +549,10 @@ DISABLE_PREOPT :=
DISABLE_PREOPT_BOOT_IMAGES :=
ifneq (,$(TARGET_BUILD_APPS)$(TARGET_BUILD_UNBUNDLED_IMAGE))
DISABLE_PREOPT := true
DISABLE_PREOPT_BOOT_IMAGES := true
# VSDK builds perform dexpreopt during merge_target_files build step.
ifneq (true,$(BUILDING_WITH_VSDK))
DISABLE_PREOPT_BOOT_IMAGES := true
endif
endif
ifeq (true,$(TARGET_BUILD_UNBUNDLED))
ifneq (true,$(UNBUNDLED_BUILD_SDKS_FROM_SOURCE))