diff options
author | Brian Carlstrom <bdc@google.com> | 2014-05-25 14:38:17 -0700 |
---|---|---|
committer | Brian Carlstrom <bdc@google.com> | 2014-05-25 14:38:17 -0700 |
commit | 7a6b280038b601c10464979144293ce6352b43c7 (patch) | |
tree | 2414e29a4cc18b45b081022d5f3fe6074dee5173 /Android.mk | |
parent | a79febb863a936810445df45e3e51d0eff4e39f8 (diff) | |
download | art-7a6b280038b601c10464979144293ce6352b43c7.zip art-7a6b280038b601c10464979144293ce6352b43c7.tar.gz art-7a6b280038b601c10464979144293ce6352b43c7.tar.bz2 |
Add TARGET_2ND_ARCH support for dump-oat-boot
Change-Id: I87f1742f401af37893d336074c53dee92993b769
Diffstat (limited to 'Android.mk')
-rw-r--r-- | Android.mk | 20 |
1 files changed, 16 insertions, 4 deletions
@@ -405,11 +405,23 @@ dump-oat-core-target: $(TARGET_CORE_IMG_OUT) $(OATDUMP) @echo Output in $(ART_DUMP_OAT_PATH)/core.target.oatdump.txt endif -.PHONY: dump-oat-boot +.PHONY: dump-oat-boot-$(TARGET_ARCH) ifeq ($(ART_BUILD_TARGET_NDEBUG),true) -dump-oat-boot: $(DEFAULT_DEX_PREOPT_BUILT_IMAGE_FILENAME) $(OATDUMP) - $(OATDUMP) --image=$(DEFAULT_DEX_PREOPT_BUILT_IMAGE_LOCATION) --output=$(ART_DUMP_OAT_PATH)/boot.oatdump.txt --instruction-set=$(TARGET_ARCH) - @echo Output in $(ART_DUMP_OAT_PATH)/boot.oatdump.txt +dump-oat-boot-$(TARGET_ARCH): $(DEFAULT_DEX_PREOPT_BUILT_IMAGE_FILENAME) $(OATDUMP) + $(OATDUMP) --image=$(DEFAULT_DEX_PREOPT_BUILT_IMAGE_LOCATION) --output=$(ART_DUMP_OAT_PATH)/boot.$(TARGET_ARCH).oatdump.txt --instruction-set=$(TARGET_ARCH) + @echo Output in $(ART_DUMP_OAT_PATH)/boot.$(TARGET_ARCH).oatdump.txt +endif + +ifdef TARGET_2ND_ARCH +dump-oat-boot-$(TARGET_2ND_ARCH): $(2ND_DEFAULT_DEX_PREOPT_BUILT_IMAGE_FILENAME) $(OATDUMP) + $(OATDUMP) --image=$(2ND_DEFAULT_DEX_PREOPT_BUILT_IMAGE_LOCATION) --output=$(ART_DUMP_OAT_PATH)/boot.$(TARGET_2ND_ARCH).oatdump.txt --instruction-set=$(TARGET_2ND_ARCH) + @echo Output in $(ART_DUMP_OAT_PATH)/boot.$(TARGET_2ND_ARCH).oatdump.txt +endif + +.PHONY: dump-oat-boot +dump-oat-boot: dump-oat-boot-$(TARGET_ARCH) +ifdef TARGET_2ND_ARCH +dump-oat-boot: dump-oat-boot-$(TARGET_2ND_ARCH) endif .PHONY: dump-oat-Calculator |