summaryrefslogtreecommitdiffstats
path: root/applypatch
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-10-17 18:10:13 +0200
committerandroid-build-merger <android-build-merger@google.com>2017-10-17 18:10:13 +0200
commit2a9dbb4063bffd68eaebd5458fb81a9d3fa8da4d (patch)
tree701b7fd06ebf6ceec451a1bbe257450d8e8e9d5a /applypatch
parentMerge "Fix owner email address." am: b4a8c6abd9 am: 97d9ae086a (diff)
parentMerge "otautil: Move RangeSet implementation into rangeset.cpp." am: bab1e8efc8 (diff)
downloadandroid_bootable_recovery-2a9dbb4063bffd68eaebd5458fb81a9d3fa8da4d.tar
android_bootable_recovery-2a9dbb4063bffd68eaebd5458fb81a9d3fa8da4d.tar.gz
android_bootable_recovery-2a9dbb4063bffd68eaebd5458fb81a9d3fa8da4d.tar.bz2
android_bootable_recovery-2a9dbb4063bffd68eaebd5458fb81a9d3fa8da4d.tar.lz
android_bootable_recovery-2a9dbb4063bffd68eaebd5458fb81a9d3fa8da4d.tar.xz
android_bootable_recovery-2a9dbb4063bffd68eaebd5458fb81a9d3fa8da4d.tar.zst
android_bootable_recovery-2a9dbb4063bffd68eaebd5458fb81a9d3fa8da4d.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>