From 887235845e203fce046c17120e86d4cac4c56035 Mon Sep 17 00:00:00 2001 From: Ian Rogers Date: Fri, 13 Jun 2014 11:38:54 -0700 Subject: Use command line android root in dex2oat to find image. Change-Id: I20a025e07da3792131d7126ef0e5863b923c794b --- dex2oat/dex2oat.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dex2oat') diff --git a/dex2oat/dex2oat.cc b/dex2oat/dex2oat.cc index 35149cf..5a42147 100644 --- a/dex2oat/dex2oat.cc +++ b/dex2oat/dex2oat.cc @@ -1024,7 +1024,7 @@ static int dex2oat(int argc, char** argv) { 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; -- cgit v1.1