Revert^4 "Boot image extension."

This reverts commit f5c5eb30fc71e0c305d678bd3c1c995a5c36d508.

Removed wrong check for no dex files. Dex files can also be
specified with zip-location and file descriptors. Added a
regression test to dex2oat_test.

Fixed the image checksums validation to use the appropriate
part of BCP rather then full BCP. This fixes errorneous
rejection of oat files compiled against partial BCP.

Changed dex2oat_image_test to use ART_BASE_ADDRESS to try
and avoid failures when reserving space for loading the
compiled images.

Test: Additional tests in dex2oat_{,image_}_test
Test: m test-art-host-gtest
Test: testrunner.py --host --optimizing
Bug: 119800099
Bug: 143492855
Bug: 144001974
Change-Id: I062cbecd0020f5c24353eb75643ea5905cb6f4fd
diff --git a/CleanSpec.mk b/CleanSpec.mk
index 671bdb2..5aff4cf 100644
--- a/CleanSpec.mk
+++ b/CleanSpec.mk
@@ -100,6 +100,7 @@
 # Remove dex2oat artifacts for boot image extensions (workaround for broken dependencies).
 $(call add-clean-step, find $(OUT_DIR) -name "*.oat" -o -name "*.odex" -o -name "*.art" -o -name '*.vdex' | xargs rm -f)
 $(call add-clean-step, find $(OUT_DIR) -name "*.oat" -o -name "*.odex" -o -name "*.art" -o -name '*.vdex' | xargs rm -f)
+$(call add-clean-step, find $(OUT_DIR) -name "*.oat" -o -name "*.odex" -o -name "*.art" -o -name '*.vdex' | xargs rm -f)
 
 # ************************************************
 # NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST