summaryrefslogtreecommitdiff
path: root/scripts/update_payload/format_utils_unittest.py
diff options
context:
space:
mode:
authorAlex Deymo <deymo@google.com>2016-04-05 19:20:46 -0700
committerAlex Deymo <deymo@google.com>2016-04-11 15:42:22 -0700
commitbe77e9ed80be653fadd76dfda6ef325160678b27 (patch)
tree94f48914ebcc89a1a43cb6c67a74478c4a7af46b /scripts/update_payload/format_utils_unittest.py
parent72ea95ab7705448b044cafc6b8cf2a2f4d929bd9 (diff)
delta_generator: Use REPLACE_XZ in deltas when allowed.
This patch moves the generation of the best allowed full operation to a new function which now includes ZERO, REPLACE, REPLACE_BZ and REPLACE_XZ when allowed. This function is used to produce a full operation whenever it is needed in the "full" payload generator and the AB "delta" payload generator. Bug: 24578399 TEST=brillo_update_payload generated REPLACE_XZ operations for a delta payload that was using REPLACE_BZ operations and merged them. TEST=brillo_update_payload generated a full payload with REPLACE, REPLACE_BZ and REPLACE_XZ operations. TEST=Updated unittests. (cherry picked from commit 726aeca1c665910593761a1990ee50f22d98f53f) Change-Id: I50684d5fa429f7110e5535ee4a7f29ac50b5a402
Diffstat (limited to 'scripts/update_payload/format_utils_unittest.py')
0 files changed, 0 insertions, 0 deletions