diff options
| author | 2014-05-13 19:31:38 -0700 | |
|---|---|---|
| committer | 2014-05-14 09:25:34 -0700 | |
| commit | 3ac05bba3eadccb33d26b41d9797f63e8378125f (patch) | |
| tree | 4c801c5dc41290a7e7a1cbc2915a357a416ecd7e | |
| parent | c2ffcecb61e474f29f3c6a8721dfd00e0252b1f8 (diff) | |
Remove ISA from boot image name.
Partially reverts b9beb2e2efb6a204a69ca660d478b45f851e8f09
Bug: 14882223
(cherry picked from commit 3da44327c8306bb354c0163a7c7779dea6eeb38a)
Change-Id: Idc9266a97d1047434c110ef140e2f2708c4aadef
| -rw-r--r-- | dex2oat/dex2oat.cc | 4 | ||||
| -rw-r--r-- | runtime/parsed_options.cc | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/dex2oat/dex2oat.cc b/dex2oat/dex2oat.cc index 7d7024a517..ad796f8e10 100644 --- a/dex2oat/dex2oat.cc +++ b/dex2oat/dex2oat.cc @@ -958,9 +958,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 += "/framework/boot-"; - boot_image_filename += GetInstructionSetString(instruction_set); - boot_image_filename += ".art"; + boot_image_filename += "/framework/boot.art"; } std::string boot_image_option; if (!boot_image_filename.empty()) { diff --git a/runtime/parsed_options.cc b/runtime/parsed_options.cc index 623b0c6b22..55b6a270e0 100644 --- a/runtime/parsed_options.cc +++ b/runtime/parsed_options.cc @@ -689,9 +689,7 @@ bool ParsedOptions::Parse(const Runtime::Options& options, bool ignore_unrecogni if (compiler_callbacks_ == nullptr && image_.empty()) { image_ += GetAndroidRoot(); - image_ += "/framework/boot-"; - image_ += GetInstructionSetString(image_isa_); - image_ += ".art"; + image_ += "/framework/boot.art"; } if (heap_growth_limit_ == 0) { heap_growth_limit_ = heap_maximum_size_; |