diff options
Diffstat (limited to 'tools/zipalign/ZipFile.h')
| -rw-r--r-- | tools/zipalign/ZipFile.h | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/tools/zipalign/ZipFile.h b/tools/zipalign/ZipFile.h index b0bafe95b3..d5ace7c492 100644 --- a/tools/zipalign/ZipFile.h +++ b/tools/zipalign/ZipFile.h @@ -86,24 +86,10 @@ public: int compressionMethod, ZipEntry** ppEntry) { return addCommon(fileName, NULL, 0, storageName, - ZipEntry::kCompressStored, compressionMethod, ppEntry); } /* - * Add a file that is already compressed with gzip. - * - * If "ppEntry" is non-NULL, a pointer to the new entry will be returned. - */ - status_t addGzip(const char* fileName, const char* storageName, - ZipEntry** ppEntry) - { - return addCommon(fileName, NULL, 0, storageName, - ZipEntry::kCompressDeflated, - ZipEntry::kCompressDeflated, ppEntry); - } - - /* * Add a file from an in-memory data buffer. * * If "ppEntry" is non-NULL, a pointer to the new entry will be returned. @@ -112,7 +98,6 @@ public: int compressionMethod, ZipEntry** ppEntry) { return addCommon(NULL, data, size, storageName, - ZipEntry::kCompressStored, compressionMethod, ppEntry); } @@ -231,8 +216,7 @@ private: /* common handler for all "add" functions */ status_t addCommon(const char* fileName, const void* data, size_t size, - const char* storageName, int sourceType, int compressionMethod, - ZipEntry** ppEntry); + const char* storageName, int compressionMethod, ZipEntry** ppEntry); /* copy all of "srcFp" into "dstFp" */ status_t copyFpToFp(FILE* dstFp, FILE* srcFp, uint32_t* pCRC32); |