summaryrefslogtreecommitdiff
path: root/compiler/common_compiler_test.cc
diff options
context:
space:
mode:
author Jiakai Zhang <jiakaiz@google.com> 2022-01-12 20:04:11 +0000
committer Jiakai Zhang <jiakaiz@google.com> 2022-01-18 11:18:30 +0000
commita32934500e7c747fbd0dfe56fc4720e61b9564e5 (patch)
tree5b61fbd52abbe1c48a05496ee5cd7cce1ecd248e /compiler/common_compiler_test.cc
parentab21f6979a6cda8b8dc0921348b025fd80e91507 (diff)
Make it easier to change the location of the primary boot image.
This CL adds a function `art::GetPrebuiltPrimaryBootImageDir`, which returns the location of the primary boot image. Other code should use this function to find the primary boot image. In that way, changing the location of the primary boot image only requires changing this function. Also: - Use the ART boot profile in art_common_test as a fallback when the primary boot image cannot be used. - Update the `-Xforcejitzygote` flag not to assume that the primary boot image exists in the ART APEX. Bug: 211973309 Test: All ART test suites. Test: - 1. Change `art::GetPrebuiltPrimaryBootImageDir` to returning a path on /system. 2. Make the corresponding change in the build system. 3. Run all ART test suites again. Change-Id: Id34d7eec534733d932e520fa3b503488c0dc513a
Diffstat (limited to 'compiler/common_compiler_test.cc')
0 files changed, 0 insertions, 0 deletions