summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-03-20 17:20:45 +0100
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-03-20 17:20:46 +0100
commit64d25024b9ab0bfdb4053e2ab9985f6a7e858d2d (patch)
tree14f27711c54786f20c9c30cdec0ee476aa97ddee
parentMerge "Drop the dependency on 'ui' in verify_file()." (diff)
parentRemove the dead #include's in verifier.cpp. (diff)
downloadandroid_bootable_recovery-64d25024b9ab0bfdb4053e2ab9985f6a7e858d2d.tar
android_bootable_recovery-64d25024b9ab0bfdb4053e2ab9985f6a7e858d2d.tar.gz
android_bootable_recovery-64d25024b9ab0bfdb4053e2ab9985f6a7e858d2d.tar.bz2
android_bootable_recovery-64d25024b9ab0bfdb4053e2ab9985f6a7e858d2d.tar.lz
android_bootable_recovery-64d25024b9ab0bfdb4053e2ab9985f6a7e858d2d.tar.xz
android_bootable_recovery-64d25024b9ab0bfdb4053e2ab9985f6a7e858d2d.tar.zst
android_bootable_recovery-64d25024b9ab0bfdb4053e2ab9985f6a7e858d2d.zip
Diffstat (limited to '')
-rw-r--r--Android.mk5
-rw-r--r--tests/Android.mk1
-rw-r--r--verifier.cpp4
3 files changed, 2 insertions, 8 deletions
diff --git a/Android.mk b/Android.mk
index f8e5ac24a..58b8a2240 100644
--- a/Android.mk
+++ b/Android.mk
@@ -144,15 +144,12 @@ include $(BUILD_EXECUTABLE)
# libverifier (static library)
# ===============================
include $(CLEAR_VARS)
-LOCAL_CLANG := true
LOCAL_MODULE := libverifier
LOCAL_MODULE_TAGS := tests
LOCAL_SRC_FILES := \
asn1_decoder.cpp \
- verifier.cpp \
- ui.cpp
+ verifier.cpp
LOCAL_STATIC_LIBRARIES := \
- libminui \
libcrypto_utils \
libcrypto \
libbase
diff --git a/tests/Android.mk b/tests/Android.mk
index 65f736d13..ff6e14c9b 100644
--- a/tests/Android.mk
+++ b/tests/Android.mk
@@ -120,7 +120,6 @@ LOCAL_STATIC_LIBRARIES := \
libupdater \
libbootloader_message \
libverifier \
- libminui \
libotautil \
libmounts \
libdivsufsort \
diff --git a/verifier.cpp b/verifier.cpp
index 00e13aa7d..3beaa6e02 100644
--- a/verifier.cpp
+++ b/verifier.cpp
@@ -21,8 +21,8 @@
#include <stdlib.h>
#include <string.h>
-#include <functional>
#include <algorithm>
+#include <functional>
#include <memory>
#include <android-base/logging.h>
@@ -31,9 +31,7 @@
#include <openssl/obj_mac.h>
#include "asn1_decoder.h"
-#include "common.h"
#include "print_sha1.h"
-#include "ui.h"
static constexpr size_t MiB = 1024 * 1024;