summaryrefslogtreecommitdiffstats
path: root/core/dex_preopt_libart.mk
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2015-03-05 19:18:18 -0800
committerAndreas Gampe <agampe@google.com>2015-03-05 19:18:18 -0800
commit06d86e929d966f70bfb814efe52b33c0920a0862 (patch)
treee875ea1a4bf4a973333ead022a72a55fcf733315 /core/dex_preopt_libart.mk
parent30b5ed7b1e8c67c816d64ad1b7c9bde3c3b5019c (diff)
downloadbuild-06d86e929d966f70bfb814efe52b33c0920a0862.zip
build-06d86e929d966f70bfb814efe52b33c0920a0862.tar.gz
build-06d86e929d966f70bfb814efe52b33c0920a0862.tar.bz2
Build: Fail preopting apps when there are verifier errors
Expectation is that classes in pre-compiled apps should be structurally sound and not cause a hard failure. Bug: 19606409 Change-Id: Idc9da4d4c6bd259555671c657d3414a97940717f
Diffstat (limited to 'core/dex_preopt_libart.mk')
-rw-r--r--core/dex_preopt_libart.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/dex_preopt_libart.mk b/core/dex_preopt_libart.mk
index 9dc8af3..bee5d40 100644
--- a/core/dex_preopt_libart.mk
+++ b/core/dex_preopt_libart.mk
@@ -106,5 +106,6 @@ $(hide) $(DEX2OAT) \
--instruction-set-variant=$($(PRIVATE_2ND_ARCH_VAR_PREFIX)DEX2OAT_TARGET_CPU_VARIANT) \
--instruction-set-features=$($(PRIVATE_2ND_ARCH_VAR_PREFIX)DEX2OAT_TARGET_INSTRUCTION_SET_FEATURES) \
--include-patch-information --runtime-arg -Xnorelocate --no-include-debug-symbols \
+ --abort-on-hard-verifier-error \
$(PRIVATE_DEX_PREOPT_FLAGS)
endef