diff options
Diffstat (limited to 'compiler/driver/compiler_options.h')
-rw-r--r-- | compiler/driver/compiler_options.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/compiler/driver/compiler_options.h b/compiler/driver/compiler_options.h index 98b15dc174..e24da593a7 100644 --- a/compiler/driver/compiler_options.h +++ b/compiler/driver/compiler_options.h @@ -72,6 +72,7 @@ class CompilerOptions final { enum class ImageType : uint8_t { kNone, // JIT or AOT app compilation producing only an oat file but no image. kBootImage, // Creating boot image. + kBootImageExtension, // Creating boot image extension. kAppImage, // Creating app image. kApexBootImage, // Creating the apex image for jit/zygote experiment b/119800099. }; @@ -200,6 +201,11 @@ class CompilerOptions final { return image_type_ == ImageType::kApexBootImage; } + // Are we compiling a boot image extension? + bool IsBootImageExtension() const { + return image_type_ == ImageType::kBootImageExtension; + } + bool IsBaseline() const { return baseline_; } |