OSDN Git Service

Fix typo from previous commit.
authorNicolas Geoffray <ngeoffray@google.com>
Mon, 5 Oct 2015 08:51:36 +0000 (09:51 +0100)
committerNicolas Geoffray <ngeoffray@google.com>
Mon, 5 Oct 2015 08:53:06 +0000 (09:53 +0100)
core_dex2oat_dependency has a '|' dependency, so we should do :=
instead of += to force recompilation of the image.

Change-Id: Ic59b86666fa69038a67459e7be11c57c20bf815b

build/Android.oat.mk

index d71ae29..3272c27 100644 (file)
@@ -177,7 +177,9 @@ define create-core-oat-target-rules
   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)