summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build/Android.oat.mk9
1 files changed, 6 insertions, 3 deletions
diff --git a/build/Android.oat.mk b/build/Android.oat.mk
index 4692ac4..27d12bd 100644
--- a/build/Android.oat.mk
+++ b/build/Android.oat.mk
@@ -145,13 +145,16 @@ define create-core-oat-target-rules
# a dex2oat change to catch regressions early.
ifeq ($(ART_USE_OPTIMIZING_COMPILER), true)
core_dex2oat_dependency := $(DEX2OAT)
+ ifeq ($($(3)TARGET_ARCH),arm64)
+ # TODO: Enable image generation on arm64 once the backend
+ # is on par with other architectures.
+ core_compile_options += --compiler-filter=interpret-only
+ endif
endif
ifeq ($(1),optimizing)
ifeq ($($(3)TARGET_ARCH),arm64)
- # TODO: Enable image generation on arm64 once the backend
- # is on par with other architectures.
- core_compile_options += --compiler-backend=Quick
+ core_compile_options += --compiler-filter=interpret-only
else
core_compile_options += --compiler-backend=Optimizing
core_dex2oat_dependency := $(DEX2OAT)