summaryrefslogtreecommitdiff
path: root/test/generate-boot-image
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2023-03-17 08:20:33 +0000
committer Nicolas Geoffray <ngeoffray@google.com> 2023-03-17 17:24:25 +0000
commit4b9b4025d35a1e65c9c564ef814b76632fddad13 (patch)
tree55038d60c571f8051a0c7e2b81352db50b5e3687 /test/generate-boot-image
parent240c51b114bedf1ec03f40fb87d6301fd1ea2ab9 (diff)
Only special case boot image extension for class initialization.
Special case for the mainline extension, which didn't use to get its classes initialized. Bug: 274077782 Test: test.py Change-Id: I1bb92d262c8bedb0ffefd5fa322fa8155d10ceb7
Diffstat (limited to 'test/generate-boot-image')
-rw-r--r--test/generate-boot-image/generate-boot-image.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/generate-boot-image/generate-boot-image.cc b/test/generate-boot-image/generate-boot-image.cc
index f22bad4587..1b3eccf0e5 100644
--- a/test/generate-boot-image/generate-boot-image.cc
+++ b/test/generate-boot-image/generate-boot-image.cc
@@ -109,9 +109,9 @@ int main(int argc, char** argv) {
android::base::InitLogging(argv, android::base::LogdLogger(android::base::SYSTEM));
std::string dir = "";
- // Set the compiler filter to `speed-profile` by default to make test preparation
- // faster and behave like normal boot image generation.
- std::string compiler_filter = "speed-profile";
+ // Set the compiler filter to `verify` by default to make test preparation
+ // faster.
+ std::string compiler_filter = "verify";
for (int i = 1; i < argc; i++) {
std::string_view arg{argv[i]};
if (android::base::ConsumePrefix(&arg, "--output-dir=")) {