From c2538fab9a7fc01c0216520874d711c8a9fbd9d3 Mon Sep 17 00:00:00 2001 From: Sen Jiang Date: Wed, 24 Feb 2016 14:15:02 -0800 Subject: update_payload: Regenerate protobuf to include IMGDIFF. Generated from update_metadata.proto using protoc 2.5.0 BUG=b:26456666 TEST=./checker_unittest.py Change-Id: I9dc7db00be8afb2f78e80bec910f9ca83a55a9a1 Reviewed-on: https://chromium-review.googlesource.com/329237 Commit-Ready: Sen Jiang Tested-by: Sen Jiang Reviewed-by: Alex Deymo --- scripts/update_payload/common.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'scripts/update_payload/common.py') diff --git a/scripts/update_payload/common.py b/scripts/update_payload/common.py index 80e25014..88cd6edc 100644 --- a/scripts/update_payload/common.py +++ b/scripts/update_payload/common.py @@ -44,8 +44,9 @@ class OpType(object): ZERO = _CLASS.ZERO DISCARD = _CLASS.DISCARD REPLACE_XZ = _CLASS.REPLACE_XZ + IMGDIFF = _CLASS.IMGDIFF ALL = (REPLACE, REPLACE_BZ, MOVE, BSDIFF, SOURCE_COPY, SOURCE_BSDIFF, ZERO, - DISCARD, REPLACE_XZ) + DISCARD, REPLACE_XZ, IMGDIFF) NAMES = { REPLACE: 'REPLACE', REPLACE_BZ: 'REPLACE_BZ', @@ -55,7 +56,8 @@ class OpType(object): SOURCE_BSDIFF: 'SOURCE_BSDIFF', ZERO: 'ZERO', DISCARD: 'DISCARD', - REPLACE_XZ: 'REPLACE_XZ' + REPLACE_XZ: 'REPLACE_XZ', + IMGDIFF: 'IMGDIFF', } def __init__(self): -- cgit v1.2.3