update_payload: Regenerate proto file with new operation codes.
Regenerate update_metadata_pb2.py to include SOURCE_COPY and
SOURCE_BSDIFF, the new a to b operations for delta minor version 2.
BUG=chromium:459363
TEST=unit tests and `cbuildbot --remote link-release --hwtest`
Change-Id: I3631c7af97f57d48f86a34c37f97ec8c3cef088d
Reviewed-on: https://chromium-review.googlesource.com/250954
Reviewed-by: Alex Deymo <[email protected]>
Commit-Queue: Allie Wood <[email protected]>
Tested-by: Allie Wood <[email protected]>
Reviewed-by: Don Garrett <[email protected]>
diff --git a/scripts/update_payload/common.py b/scripts/update_payload/common.py
index 584eb35..2beabea 100644
--- a/scripts/update_payload/common.py
+++ b/scripts/update_payload/common.py
@@ -33,12 +33,16 @@
REPLACE_BZ = _CLASS.REPLACE_BZ
MOVE = _CLASS.MOVE
BSDIFF = _CLASS.BSDIFF
- ALL = (REPLACE, REPLACE_BZ, MOVE, BSDIFF)
+ SOURCE_COPY = _CLASS.SOURCE_COPY
+ SOURCE_BSDIFF = _CLASS.SOURCE_BSDIFF
+ ALL = (REPLACE, REPLACE_BZ, MOVE, BSDIFF, SOURCE_COPY, SOURCE_BSDIFF)
NAMES = {
REPLACE: 'REPLACE',
REPLACE_BZ: 'REPLACE_BZ',
MOVE: 'MOVE',
BSDIFF: 'BSDIFF',
+ SOURCE_COPY: 'SOURCE_COPY',
+ SOURCE_BSDIFF: 'SOURCE_BSDIFF'
}
def __init__(self):