summaryrefslogtreecommitdiff
path: root/payload_generator/deflate_utils.h
diff options
context:
space:
mode:
authorSen Jiang <senj@google.com>2018-11-13 11:27:29 -0800
committerSen Jiang <senj@google.com>2018-11-13 16:49:28 -0800
commit23bae40f0d68dccaa51690fb4303f0c57f6bcc55 (patch)
tree20af28f0ebfcc584523db1eb591ac424666750da /payload_generator/deflate_utils.h
parent5e1af9808102ac946aa8e113084a5cb871f737a6 (diff)
Parse deflates in gzip files.
The diff for NOTICE.xml.gz is reduced from 200+K to 17K. Also we are now honoring puffin::LocateDeflatesInGzip() failures, since if won't complain about padding data anymore, and puffin::LocateDeflateSubBlocksInZipArchive() is updated to puffin::LocateDeflatesInZipArchive(). Test: generate a delta payload extracting deflates in gzip Change-Id: I44b816cff8ac99ce78f758eef5875fa99e36e369
Diffstat (limited to 'payload_generator/deflate_utils.h')
-rw-r--r--payload_generator/deflate_utils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/payload_generator/deflate_utils.h b/payload_generator/deflate_utils.h
index 798ce253..9b40a474 100644
--- a/payload_generator/deflate_utils.h
+++ b/payload_generator/deflate_utils.h
@@ -29,6 +29,7 @@ namespace deflate_utils {
// Gets the files from the partition and processes all its files. Processing
// includes:
// - splitting large Squashfs containers into its smaller files.
+// - extracting deflates in zip and gzip files.
bool PreprocessParitionFiles(const PartitionConfig& part,
std::vector<FilesystemInterface::File>* result,
bool extract_deflates);