From 41dcb9f856a2051527cd595f8fe7d200066acba4 Mon Sep 17 00:00:00 2001 From: Brian Carlstrom Date: Wed, 12 Feb 2014 12:25:56 -0800 Subject: Revert "Add a script for running art standalone." This reverts commit 1f5a90f28443886ebefcfbd531b8e41ece298cca. --- runtime/runtime.cc | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'runtime/runtime.cc') diff --git a/runtime/runtime.cc b/runtime/runtime.cc index d8f9ca3..6ca45e8 100644 --- a/runtime/runtime.cc +++ b/runtime/runtime.cc @@ -765,12 +765,6 @@ Runtime::ParsedOptions* Runtime::ParsedOptions::Create(const Options& options, b parsed->image_ += GetAndroidRoot(); parsed->image_ += "/framework/boot.art"; } - if (!kIsTargetBuild && parsed->host_prefix_.empty()) { - const char* build_top = getenv("ANDROID_BUILD_TOP"); - if (build_top != NULL) { - parsed->host_prefix_ = build_top; - } - } if (parsed->heap_growth_limit_ == 0) { parsed->heap_growth_limit_ = parsed->heap_maximum_size_; } @@ -840,7 +834,7 @@ jobject CreateSystemClassLoader() { bool Runtime::Start() { VLOG(startup) << "Runtime::Start entering"; - CHECK(!kIsTargetBuild || host_prefix_.empty()) << host_prefix_; + CHECK(host_prefix_.empty()) << host_prefix_; // Restore main thread state to kNative as expected by native code. Thread* self = Thread::Current(); -- cgit v1.1