Merge "Use command line android root in dex2oat to find image."
diff --git a/dex2oat/dex2oat.cc b/dex2oat/dex2oat.cc
index a793513..5f3cd92 100644
--- a/dex2oat/dex2oat.cc
+++ b/dex2oat/dex2oat.cc
@@ -1076,7 +1076,7 @@
 
   bool image = (!image_filename.empty());
   if (!image && boot_image_filename.empty()) {
-    boot_image_filename += GetAndroidRoot();
+    boot_image_filename += android_root;
     boot_image_filename += "/framework/boot.art";
   }
   std::string boot_image_option;