From d538eb77ca0624514629c6e2c764b4e7470bc202 Mon Sep 17 00:00:00 2001 From: Doug Zongker Date: Tue, 1 Nov 2011 12:42:30 -0700 Subject: fix verifier test Needs to link with libminui and ui.cpp now. Change-Id: I5005e12cf8adb13d320921e3f9174e8c7304d7bf --- Android.mk | 4 ++-- verifier_test.cpp | 5 ----- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/Android.mk b/Android.mk index cc848904c..a94ecc668 100644 --- a/Android.mk +++ b/Android.mk @@ -51,7 +51,7 @@ include $(BUILD_EXECUTABLE) include $(CLEAR_VARS) -LOCAL_SRC_FILES := verifier_test.cpp verifier.cpp +LOCAL_SRC_FILES := verifier_test.cpp verifier.cpp ui.cpp LOCAL_MODULE := verifier_test @@ -59,7 +59,7 @@ LOCAL_FORCE_STATIC_EXECUTABLE := true LOCAL_MODULE_TAGS := tests -LOCAL_STATIC_LIBRARIES := libmincrypt libcutils libstdc++ libc +LOCAL_STATIC_LIBRARIES := libmincrypt libminui libcutils libstdc++ libc include $(BUILD_EXECUTABLE) diff --git a/verifier_test.cpp b/verifier_test.cpp index 2448d8d58..fe5519d79 100644 --- a/verifier_test.cpp +++ b/verifier_test.cpp @@ -84,11 +84,6 @@ class FakeUI : public RecoveryUI { fputs(buf, stderr); } - int WaitKey() { return 0; } - bool IsKeyPressed(int key) { return false; } - void FlushKeys() { } - KeyAction CheckKey(int key) { return ENQUEUE; } - void StartMenu(const char* const * headers, const char* const * items, int initial_selection) { } int SelectMenu(int sel) { return 0; } -- cgit v1.2.3