From c11dc7338639296ab99f89964a94bcc486500ba3 Mon Sep 17 00:00:00 2001 From: Allie Wood Date: Wed, 18 Feb 2015 15:53:05 -0800 Subject: 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 Commit-Queue: Allie Wood Tested-by: Allie Wood Reviewed-by: Don Garrett --- scripts/update_payload/common.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'scripts/update_payload/common.py') diff --git a/scripts/update_payload/common.py b/scripts/update_payload/common.py index 584eb35c..2beabeac 100644 --- a/scripts/update_payload/common.py +++ b/scripts/update_payload/common.py @@ -33,12 +33,16 @@ class OpType(object): 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): -- cgit v1.2.3