diff options
author | 2022-02-07 16:19:59 +0000 | |
---|---|---|
committer | 2022-02-07 22:55:38 +0000 | |
commit | 5791123eeefd60d39b2ef1e62817ec9a1346b2af (patch) | |
tree | 0e87c82ea621c30dfc2b194fa33534cc0f6c70f1 /runtime/common_runtime_test.cc | |
parent | 015665f26e3b2dc32ad0a3888cafbbf6480e8da0 (diff) |
Revert^2 "Generate a primary boot image for testing."
This reverts commit e208b04cc2efaf707390d7acbe8f978142701d72.
Reason for revert: Fixed LUCI failures.
Bug: 216467764
Test: Run art/tools/run-gtests.sh on Q on Cuttlefish.
Change-Id: I910415dd0e6dad1f54bf8ac134fa6344c3118ec2
Diffstat (limited to 'runtime/common_runtime_test.cc')
-rw-r--r-- | runtime/common_runtime_test.cc | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/runtime/common_runtime_test.cc b/runtime/common_runtime_test.cc index e8c8385066..a14d3862ad 100644 --- a/runtime/common_runtime_test.cc +++ b/runtime/common_runtime_test.cc @@ -99,13 +99,7 @@ void CommonRuntimeTestImpl::SetUp() { options.push_back(std::make_pair(boot_class_path_string, nullptr)); options.push_back(std::make_pair(boot_class_path_locations_string, nullptr)); if (use_boot_image_) { - std::string image_location = GetImageLocation(); - if (!IsHost()) { - // On target, the boot image can be outdated due to an ART update. In such case, the profile - // will be used for generating a boot image in memory. - image_location += "!/apex/com.android.art/etc/boot-image.prof"; - } - options.emplace_back("-Ximage:" + image_location, nullptr); + options.emplace_back("-Ximage:" + GetImageLocation(), nullptr); } options.push_back(std::make_pair("-Xcheck:jni", nullptr)); options.push_back(std::make_pair(min_heap_string, nullptr)); |