Refactor the imgdiff
This helps us to add a new mode to handle large APKs in the follow up CL. Changes include: 1. Create a new interface class 'Image' 1. Create subclasses 'ZipModeImage' and 'ImageModeImage' and move the related functions there. Bug: 63542719 Test: recovery_component_test passes Change-Id: I7729b0ba39b19a9c84811636a60dd0a0b1acc2f0
This commit is contained in:
@@ -127,7 +127,8 @@ libimgdiff_src_files := imgdiff.cpp
|
||||
# libbsdiff is compiled with -D_FILE_OFFSET_BITS=64.
|
||||
libimgdiff_cflags := \
|
||||
-Werror \
|
||||
-D_FILE_OFFSET_BITS=64
|
||||
-D_FILE_OFFSET_BITS=64 \
|
||||
-DZLIB_CONST
|
||||
|
||||
libimgdiff_static_libraries := \
|
||||
libbsdiff \
|
||||
|
||||
+614
-439
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user