| Index: third_party/ijar/zip.h
|
| diff --git a/third_party/ijar/zip.h b/third_party/ijar/zip.h
|
| index c548cb3cdb08d6e527afd8a4b0f68667a680f96e..aa17a47372ed849d43acfd3f98dd04b0e0d65092 100644
|
| --- a/third_party/ijar/zip.h
|
| +++ b/third_party/ijar/zip.h
|
| @@ -1,4 +1,4 @@
|
| -// Copyright 2015 Google Inc. All rights reserved.
|
| +// Copyright 2015 The Bazel Authors. All rights reserved.
|
| //
|
| // Licensed under the Apache License, Version 2.0 (the "License");
|
| // you may not use this file except in compliance with the License.
|
| @@ -63,8 +63,12 @@ class ZipBuilder {
|
| // Finish writing a file and specify its length. After calling this method
|
| // one should not reuse the pointer given by NewFile. The file can be
|
| // compressed using the deflate algorithm by setting `compress` to true.
|
| + // By default, CRC32 are not computed as java tooling doesn't care, but
|
| + // computing it can be activated by setting `compute_crc` to true.
|
| // On failure, returns -1 and GetError() will return an non-empty message.
|
| - virtual int FinishFile(size_t filelength, bool compress = false) = 0;
|
| + virtual int FinishFile(size_t filelength,
|
| + bool compress = false,
|
| + bool compute_crc = false) = 0;
|
|
|
| // Write an empty file, it is equivalent to:
|
| // NewFile(filename, 0);
|
|
|