summaryrefslogtreecommitdiffstats
path: root/applypatch
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-10-13 23:54:12 +0200
committerTao Bao <tbao@google.com>2017-10-16 20:28:18 +0200
commit45685820029fb191fe8509418df91a049227ea3a (patch)
tree4507a0c3c6de9d6106d3521e3aba46fb0b72c083 /applypatch
parentMerge "Fix owner email address." (diff)
downloadandroid_bootable_recovery-45685820029fb191fe8509418df91a049227ea3a.tar
android_bootable_recovery-45685820029fb191fe8509418df91a049227ea3a.tar.gz
android_bootable_recovery-45685820029fb191fe8509418df91a049227ea3a.tar.bz2
android_bootable_recovery-45685820029fb191fe8509418df91a049227ea3a.tar.lz
android_bootable_recovery-45685820029fb191fe8509418df91a049227ea3a.tar.xz
android_bootable_recovery-45685820029fb191fe8509418df91a049227ea3a.tar.zst
android_bootable_recovery-45685820029fb191fe8509418df91a049227ea3a.zip
Diffstat (limited to 'applypatch')
-rw-r--r--applypatch/Android.bp1
-rw-r--r--applypatch/imgdiff.cpp2
2 files changed, 3 insertions, 0 deletions
diff --git a/applypatch/Android.bp b/applypatch/Android.bp
index db307df28..922f67abf 100644
--- a/applypatch/Android.bp
+++ b/applypatch/Android.bp
@@ -150,6 +150,7 @@ cc_binary_host {
static_libs: [
"libimgdiff",
+ "libotautil",
"libbsdiff",
"libdivsufsort",
"libdivsufsort64",
diff --git a/applypatch/imgdiff.cpp b/applypatch/imgdiff.cpp
index 3a61a7d0d..69ad75f37 100644
--- a/applypatch/imgdiff.cpp
+++ b/applypatch/imgdiff.cpp
@@ -160,6 +160,8 @@
#include <android-base/logging.h>
#include <android-base/memory.h>
#include <android-base/parseint.h>
+#include <android-base/stringprintf.h>
+#include <android-base/strings.h>
#include <android-base/unique_fd.h>
#include <bsdiff.h>
#include <ziparchive/zip_archive.h>