commit | 9edcd045830a9fc7ac22622759b8378929cb7c66 | [log] [tgz] |
---|---|---|
author | Sen Jiang <senj@google.com> | Mon Nov 12 16:46:06 2018 -0800 |
committer | Sen Jiang <senj@google.com> | Wed Nov 14 22:02:27 2018 +0000 |
tree | 9e2411f624bc87be2b3efc7343fd79f00159957b | |
parent | 23bae40f0d68dccaa51690fb4303f0c57f6bcc55 [diff] |
Support payload larger than 4GiB. The data_offset and data_length field in protobuf are updated from uint32 to uint64, thanks to the variable length encoding in protobuf, this change is backward compatible, this does not change the format of the payload manifest in any way, new client with this change will be able to use 64 bits data_offset, while old client will get the field as if it was casted to uint32_t. Bug: 119222724 Test: generate and apply a 5GiB payload Change-Id: Ie5cc8a9b75ef3a9fa4cb1cda4d403ef9fc174cb3