summaryrefslogtreecommitdiff
path: root/runtime/parsed_options_test.cc
diff options
context:
space:
mode:
author Neil Fuller <nfuller@google.com> 2018-11-23 17:56:43 +0000
committer Neil Fuller <nfuller@google.com> 2018-12-03 20:05:09 +0000
commit26c43778589d1c7598cbe6203b6545c9d3ab220a (patch)
tree474167d306678366b1c90c7a9e6f824308ec7f7a /runtime/parsed_options_test.cc
parentc89a28730fb8dff57c6cb5b18295fec45fe85d09 (diff)
Add support for ANDROID_RUNTIME_ROOT variable
This commit introduces the ANDROID_RUNTIME_ROOT environment variable in preparation for its use within the runtime module. As a module, ART must no longer use the Android-wide ANDROID_ROOT environment variable as the base of default paths for module content. ANDROID_RUNTIME_ROOT will take over the responsibility. It remains a variable to unify host and device treatment. Some test methods (SetUpAndroidData, TearDownAndroidData SetUpAndroidRoot) have been renamed to clarify their purpose. Bug: 119935277 Test: build / treehugger Change-Id: I7c7de52911cbfa56cef90270425ed369176c4767
Diffstat (limited to 'runtime/parsed_options_test.cc')
-rw-r--r--runtime/parsed_options_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/parsed_options_test.cc b/runtime/parsed_options_test.cc
index 9e5d9abe3b..705cc6c5e2 100644
--- a/runtime/parsed_options_test.cc
+++ b/runtime/parsed_options_test.cc
@@ -26,7 +26,7 @@ namespace art {
class ParsedOptionsTest : public ::testing::Test {
public:
static void SetUpTestCase() {
- CommonRuntimeTest::SetUpAndroidRoot();
+ CommonRuntimeTest::SetUpAndroidRootEnvVars();
}
};