diff options
author | Tianjie Xu <xunchang@google.com> | 2020-07-06 21:23:45 +0000 |
---|---|---|
committer | Tianjie Xu <xunchang@google.com> | 2020-07-06 21:23:45 +0000 |
commit | 242e33af30f7aa74531d436e1609100aae3b4394 (patch) | |
tree | 048c16c3935bac60f150f676ad8f8d8493248ce1 /payload_generator/filesystem_interface.h | |
parent | 33d180914ef2cb9286595fb1fdcc3511c5fb1c34 (diff) | |
parent | 55abd3cbae6bd150b3534728a63befd1cadd6c5e (diff) |
Merge "Merge remote-tracking branch 'aosp/upstream-master' into merge"
Diffstat (limited to 'payload_generator/filesystem_interface.h')
-rw-r--r-- | payload_generator/filesystem_interface.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/payload_generator/filesystem_interface.h b/payload_generator/filesystem_interface.h index d04295cd..05d387f6 100644 --- a/payload_generator/filesystem_interface.h +++ b/payload_generator/filesystem_interface.h @@ -62,6 +62,13 @@ class FilesystemInterface { // indicating the starting block, and the number of consecutive blocks. std::vector<Extent> extents; + // If true, the file is already compressed on the disk, so we don't need to + // parse it again for deflates. For example, image .gz files inside a + // compressed SquashFS image. They might have already been compressed by the + // mksquashfs, so we can't really parse the file and look for deflate + // compressed parts anymore. + bool is_compressed = false; + // All the deflate locations in the file. These locations are not relative // to the extents. They are relative to the file system itself. std::vector<puffin::BitExtent> deflates; |