summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-03-18 17:24:11 +0100
committerTao Bao <tbao@google.com>2017-03-18 17:28:42 +0100
commitd7bf82eb5358df367daaac12562fe5aa4e87ba63 (patch)
tree14f27711c54786f20c9c30cdec0ee476aa97ddee
parentMerge "Drop the dependency on 'ui' in verify_file()." (diff)
downloadandroid_bootable_recovery-d7bf82eb5358df367daaac12562fe5aa4e87ba63.tar
android_bootable_recovery-d7bf82eb5358df367daaac12562fe5aa4e87ba63.tar.gz
android_bootable_recovery-d7bf82eb5358df367daaac12562fe5aa4e87ba63.tar.bz2
android_bootable_recovery-d7bf82eb5358df367daaac12562fe5aa4e87ba63.tar.lz
android_bootable_recovery-d7bf82eb5358df367daaac12562fe5aa4e87ba63.tar.xz
android_bootable_recovery-d7bf82eb5358df367daaac12562fe5aa4e87ba63.tar.zst
android_bootable_recovery-d7bf82eb5358df367daaac12562fe5aa4e87ba63.zip
-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;