Fix braino in ART script.
We need to pass the boot classpath for any core* image.
Test: golem benchmarks
Change-Id: I30665ff5138211908297ec3acca2451a5308a12a
diff --git a/tools/art b/tools/art
index 6e43863..0a547c6 100644
--- a/tools/art
+++ b/tools/art
@@ -456,7 +456,7 @@
exit 1
fi
-if [[ "$DEX2OAT_BOOT_IMAGE" = *core.art && "$DEX2OAT_BCP" = "" ]]; then
+if [[ "$DEX2OAT_BOOT_IMAGE" = *core*.art && "$DEX2OAT_BCP" = "" ]]; then
# Note: This must start with the CORE_IMG_JARS in Android.common_path.mk
# because that's what we use for compiling the core.art image.
# It may contain additional modules from TEST_CORE_JARS.