Merge "Rename ANDROID_RUNTIME_ROOT to ANDROID_ART_ROOT following APEX module name change."
am: 80fd44500c
Change-Id: Ib9d3e3b8c0159d04e28c3501ef214779dc4a1262
This commit is contained in:
@@ -1163,9 +1163,9 @@ void AndroidRuntime::start(const char* className, const Vector<String8>& options
|
|||||||
setenv("ANDROID_ROOT", rootDir, 1);
|
setenv("ANDROID_ROOT", rootDir, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
const char* runtimeRootDir = getenv("ANDROID_RUNTIME_ROOT");
|
const char* artRootDir = getenv("ANDROID_ART_ROOT");
|
||||||
if (runtimeRootDir == NULL) {
|
if (artRootDir == NULL) {
|
||||||
LOG_FATAL("No runtime directory specified with ANDROID_RUNTIME_ROOT environment variable.");
|
LOG_FATAL("No ART directory specified with ANDROID_ART_ROOT environment variable.");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user