summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAlex Deymo <deymo@google.com>2017-10-26 13:13:28 +0200
committerAlex Deymo <deymo@google.com>2017-11-08 21:41:45 +0100
commit710b3daa482eb100bdaae7ffb46724273bd404d5 (patch)
tree6525ff964b2e85619d00c878636acdb2d9f265dd /Makefile
parentcb620cadee3327563dc170b9e69099f8780abfb0 (diff)
downloadbsdiff-710b3daa482eb100bdaae7ffb46724273bd404d5.tar.gz
Implement Play Store's "endsley" patching format generator.
Android's Play Store uses, among other options, a bsdiff patch format similar to Matthew Endsley's bsdiff implementation. The main difference is that Play Store's version doesn't do any compression in the patch format itself, but instead the compression is handled at a higher level. This CL introduces a new PatchWriterInterface derived class to write to this (uncompressed) format. See https://github.com/mendsley/bsdiff for the original implementation of this format. See also Google's APK patch size estimator for more information on the file-by-file format used by Play Store: https://github.com/googlesamples/apk-patch-size-estimator Bug: 67458097 Test: Added simple unittests for the generated files. Change-Id: I3b048abf2220e2cb3af0a95e27efe1c0f241046a
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b76e3cb..6a06440 100644
--- a/Makefile
+++ b/Makefile
@@ -39,6 +39,7 @@ bsdiff_src_files := \
compressor_buffer.cc \
compressor_interface.cc \
diff_encoder.cc \
+ endsley_patch_writer.cc \
patch_writer.cc \
patch_writer_factory.cc \
split_patch_writer.cc \
@@ -63,6 +64,7 @@ bsdiff_common_unittests := \
bsdiff_unittest.cc \
bspatch_unittest.cc \
diff_encoder_unittest.cc \
+ endsley_patch_writer_unittest.cc \
extents_file_unittest.cc \
extents_unittest.cc \
patch_reader_unittest.cc \