Add support for instruction set features

This adds the --instruction-set-features= arguments to the dex2oat
commands for the system images.  The feature set is determined at
build time

(cherry picked from commit 4145a2a20a0f275fe4c77e39d507cd5f8eb7a73b)

(cherry picked from commit 5174bb0529)

Change-Id: I45af3b59752a48897bff2dd468b74f3ea73000be
This commit is contained in:
Dave Allison 2013-10-31 11:44:47 -07:00 committed by Brian Carlstrom
parent 3821622fc7
commit 014a3c0d62
1 changed files with 5 additions and 0 deletions

View File

@ -82,3 +82,8 @@ $(call _build-dexpreopt-boot-jar-dependency-pair,$(DEXPREOPT_BOOT_JARS_MODULES))
endef endef
$(eval $(call _build-dexpreopt-boot-jar-dependency)) $(eval $(call _build-dexpreopt-boot-jar-dependency))
DEX2OAT_TARGET_INSTRUCTION_SET_FEATURES := default
ifeq ($(TARGET_CPU_VARIANT),$(filter $(TARGET_CPU_VARIANT),cortex-a15 krait))
DEX2OAT_TARGET_INSTRUCTION_SET_FEATURES := div
endif