Fix UML build

If there aren't any boot dex files, we can't generate a boot image
profile.

Test: lunch uml-eng; m
Test: diff build-aosp_arm.ninja
Change-Id: I09cc1ef37379d9d353958c8aa75731f3d29df759
This commit is contained in:
Dan Willemsen 2018-06-19 23:03:34 -07:00
parent dabf1a0c5a
commit 406418d055

View file

@ -100,6 +100,9 @@ ifneq (true,$(TARGET_BUILD_PDK))
my_use_profile_for_boot_image := true
endif
endif
ifeq (,$(strip $(LIBART_TARGET_BOOT_DEX_FILES)))
my_use_profile_for_boot_image := false
endif
ifeq (true,$(my_use_profile_for_boot_image))