OSDN Git Service

blockimgdiff.py: Clean up stash id computation in BBOTA v3+.
authorTao Bao <tbao@google.com>
Wed, 28 Dec 2016 17:14:39 +0000 (09:14 -0800)
committerTao Bao <tbao@google.com>
Wed, 28 Dec 2016 17:26:46 +0000 (09:26 -0800)
commit3a2e350239ed785ebe33909b73ad720d6621a8c0
tree8eb605151153dd1b4df852ca4b8a58a5f0de0537
parent5f60b74297d80d7ef03048c375540cc633a43ba5
blockimgdiff.py: Clean up stash id computation in BBOTA v3+.

Only BBOTA v2 needs to maintain a pool of available 'stash slot id'.
BBOTA v3+ uses the hash of the stashed blocks as the slot id, which
doesn't need the id pool anymore.

Bug: 33694544
Test: Generate v2 and v4 incrementals w/ and w/o the CL. They produce
      the same packages respectively.
Change-Id: I8121af5b6b1bee98c3639d54a00b06fd12e378e8
tools/releasetools/blockimgdiff.py