core_dex2oat_dependency has a '|' dependency, so we should do :=
instead of += to force recompilation of the image.
Change-Id: Ic59b86666fa69038a67459e7be11c57c20bf815b
endif
ifeq ($(1),optimizing)
core_compile_options += --compiler-backend=Optimizing
- core_dex2oat_dependency += $(DEX2OAT)
+ # With the optimizing compiler, we want to rerun dex2oat whenever there is
+ # a dex2oat change to catch regressions early.
+ core_dex2oat_dependency := $(DEX2OAT)
core_infix := -optimizing
endif
ifeq ($(1),interpreter)