From 57309dbec7a119670bfae722f7399dd308042bbc Mon Sep 17 00:00:00 2001 From: Brian Carlstrom Date: Wed, 30 Jul 2014 15:13:25 -0700 Subject: [PATCH] Move image classes options from art to AndroidRuntime [art] Bug: 15165413 Change-Id: I3dfa702ac29279cf76d4cc451138c03a5158ac3a --- runtime/gc/space/image_space.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/runtime/gc/space/image_space.cc b/runtime/gc/space/image_space.cc index 883e1c1f5..5177cb955 100644 --- a/runtime/gc/space/image_space.cc +++ b/runtime/gc/space/image_space.cc @@ -101,10 +101,7 @@ static bool GenerateImage(const std::string& image_filename, std::string* error_ << "art base address of 0x" << std::hex << ART_BASE_ADDRESS; arg_vector.push_back(StringPrintf("--base=0x%x", ART_BASE_ADDRESS + base_offset)); - if (kIsTargetBuild) { - arg_vector.push_back("--image-classes-zip=/system/framework/framework.jar"); - arg_vector.push_back("--image-classes=preloaded-classes"); - } else { + if (!kIsTargetBuild) { arg_vector.push_back("--host"); } -- 2.11.0