forked from openkylin/platform_build
Build: Make dex2oat boot image error abort explicit
Add explicit arguments that will abort boot image compilation when a class is found that fails compile-time verification. This allows certain configurations to disable these checks. WARNING: Disabling the checks is highly discouraged. Bug: 69106371 Test: m Change-Id: I63e915005fcda588b223ec60ef8c9db28d42e577
This commit is contained in:
parent
520c9f0f5f
commit
5ccf0900d0
|
@ -97,6 +97,8 @@ $($(my_2nd_arch_prefix)DEFAULT_DEX_PREOPT_BUILT_IMAGE_FILENAME) : $(LIBART_TARGE
|
|||
--runtime-arg -Xnorelocate --compile-pic \
|
||||
--no-generate-debug-info --generate-build-id \
|
||||
--multi-image --no-inline-from=core-oj.jar \
|
||||
--abort-on-hard-verifier-error \
|
||||
--abort-on-soft-verifier-error \
|
||||
$(PRODUCT_DEX_PREOPT_BOOT_FLAGS) $(GLOBAL_DEXPREOPT_FLAGS) $(ART_BOOT_IMAGE_EXTRA_ARGS)
|
||||
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue