diff options
author | Brian Carlstrom <bdc@google.com> | 2014-02-12 12:25:56 -0800 |
---|---|---|
committer | Brian Carlstrom <bdc@google.com> | 2014-02-12 12:25:56 -0800 |
commit | 41dcb9f856a2051527cd595f8fe7d200066acba4 (patch) | |
tree | 2ced313e1f56d616d4a5a2317781aea86ea04b4c /runtime | |
parent | 707c96a9d3b23182d1515a7e683c0885eee08a06 (diff) | |
download | art-41dcb9f856a2051527cd595f8fe7d200066acba4.zip art-41dcb9f856a2051527cd595f8fe7d200066acba4.tar.gz art-41dcb9f856a2051527cd595f8fe7d200066acba4.tar.bz2 |
Revert "Add a script for running art standalone."
This reverts commit 1f5a90f28443886ebefcfbd531b8e41ece298cca.
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/runtime.cc | 8 |
1 files changed, 1 insertions, 7 deletions
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(); |