From 1ea84d6da97f4c4269ac16c4d332bbff3466b1b8 Mon Sep 17 00:00:00 2001 From: Tianjie Xu Date: Wed, 22 Feb 2017 18:23:58 -0800 Subject: Refractor the code for imgdiff Put ImageChunk and some helper functions into a class. Also switch to using std::vector instead of malloc. Bug: 18606652 Test: imgdiff_test passed on host. Also generate a complete incremental OTA package. The file content is the same and time consumption is similar. Change-Id: Id603ada4e130ef521218400761a119001a86ca79 --- applypatch/Android.mk | 3 +++ 1 file changed, 3 insertions(+) (limited to 'applypatch/Android.mk') diff --git a/applypatch/Android.mk b/applypatch/Android.mk index 47ddad6c8..8be5c36be 100644 --- a/applypatch/Android.mk +++ b/applypatch/Android.mk @@ -136,6 +136,9 @@ libimgdiff_static_libraries := \ libbsdiff \ libdivsufsort \ libdivsufsort64 \ + libziparchive \ + libutils \ + liblog \ libbase \ libz -- cgit v1.2.3