summaryrefslogtreecommitdiffstats
path: root/dex2oat
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2014-06-13 11:38:54 -0700
committerIan Rogers <irogers@google.com>2014-06-13 11:38:54 -0700
commit887235845e203fce046c17120e86d4cac4c56035 (patch)
tree58defac8a4a34c25ca757a6ca85af71bb8e9a4e5 /dex2oat
parent73d1f2767d5866593c780bede8091f3aee81aecf (diff)
downloadart-887235845e203fce046c17120e86d4cac4c56035.zip
art-887235845e203fce046c17120e86d4cac4c56035.tar.gz
art-887235845e203fce046c17120e86d4cac4c56035.tar.bz2
Use command line android root in dex2oat to find image.
Change-Id: I20a025e07da3792131d7126ef0e5863b923c794b
Diffstat (limited to 'dex2oat')
-rw-r--r--dex2oat/dex2oat.cc2
1 files changed, 1 insertions, 1 deletions
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;