summaryrefslogtreecommitdiffstats
path: root/oatdump
diff options
context:
space:
mode:
authorVladimir Marko <vmarko@google.com>2018-12-03 14:50:46 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-12-03 14:50:46 +0000
commite239cdc2239b69199d2eab4b2943636be8ceb2ba (patch)
tree4f53232e73c9feaf60c0dcf123068875afd26a9e /oatdump
parent8bda21f1d8bbc1060bf693f5d1666d3396d1cb69 (diff)
parentec91d48cade73c54f7a03c5d53d863bc2490976e (diff)
downloadart-e239cdc2239b69199d2eab4b2943636be8ceb2ba.tar.gz
art-e239cdc2239b69199d2eab4b2943636be8ceb2ba.tar.bz2
art-e239cdc2239b69199d2eab4b2943636be8ceb2ba.zip
Merge "Reduce core image to core-{oj,libart,simple}."
Diffstat (limited to 'oatdump')
-rw-r--r--oatdump/oatdump_test.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/oatdump/oatdump_test.h b/oatdump/oatdump_test.h
index 4ee510130b..728939f93c 100644
--- a/oatdump/oatdump_test.h
+++ b/oatdump/oatdump_test.h
@@ -122,6 +122,10 @@ class OatDumpTest : public CommonRuntimeTest {
"-Xmx512m",
"--runtime-arg",
"-Xnorelocate",
+ "--runtime-arg",
+ GetClassPathOption("-Xbootclasspath:", GetLibCoreDexFileNames()),
+ "--runtime-arg",
+ GetClassPathOption("-Xbootclasspath-locations:", GetLibCoreDexLocations()),
"--boot-image=" + GetCoreArtLocation(),
"--instruction-set=" + std::string(GetInstructionSetString(kRuntimeISA)),
"--dex-file=" + GetTestDexFileName(GetAppBaseName().c_str()),
@@ -181,6 +185,11 @@ class OatDumpTest : public CommonRuntimeTest {
expected_prefixes.push_back("IMAGE BEGIN:");
expected_prefixes.push_back("kDexCaches:");
} else if (mode == kModeOatWithBootImage) {
+ exec_argv.push_back("--runtime-arg");
+ exec_argv.push_back(GetClassPathOption("-Xbootclasspath:", GetLibCoreDexFileNames()));
+ exec_argv.push_back("--runtime-arg");
+ exec_argv.push_back(
+ GetClassPathOption("-Xbootclasspath-locations:", GetLibCoreDexLocations()));
exec_argv.push_back("--boot-image=" + GetCoreArtLocation());
exec_argv.push_back("--instruction-set=" + std::string(
GetInstructionSetString(kRuntimeISA)));