summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_options.h
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/driver/compiler_options.h')
-rw-r--r--compiler/driver/compiler_options.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/compiler/driver/compiler_options.h b/compiler/driver/compiler_options.h
index 5908b87d3c..0ab5ff1907 100644
--- a/compiler/driver/compiler_options.h
+++ b/compiler/driver/compiler_options.h
@@ -75,6 +75,7 @@ class CompilerOptions final {
kNone, // JIT or AOT app compilation producing only an oat file but no image.
kBootImage, // Creating boot image.
kAppImage, // Creating app image.
+ kApexBootImage, // Creating the apex image for jit/zygote experiment b/119800099.
};
CompilerOptions();
@@ -210,7 +211,11 @@ class CompilerOptions final {
// Are we compiling a boot image?
bool IsBootImage() const {
- return image_type_ == ImageType::kBootImage;
+ return image_type_ == ImageType::kBootImage || image_type_ == ImageType::kApexBootImage;
+ }
+
+ bool IsApexBootImage() const {
+ return image_type_ == ImageType::kApexBootImage;
}
bool IsBaseline() const {