From daefc1d442fb421606680feb9aeb59c133f4c427 Mon Sep 17 00:00:00 2001 From: Doug Zongker Date: Mon, 31 Oct 2011 09:34:15 -0700 Subject: C++ class for device-specific code Replace the device-specific functions with a class. Move some of the key handling (for log visibility toggling and rebooting) into the UI class. Fix up the key handling so there is less crosstalk between the immediate keys and the queued keys (an increasing annoyance on button-limited devices). Change-Id: I698f6fd21c67a1e55429312a0484b6c393cad46f --- Android.mk | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'Android.mk') diff --git a/Android.mk b/Android.mk index c29ab523f..be9ff9ec8 100644 --- a/Android.mk +++ b/Android.mk @@ -34,7 +34,7 @@ endif LOCAL_MODULE_TAGS := eng ifeq ($(TARGET_RECOVERY_UI_LIB),) - LOCAL_SRC_FILES += default_recovery_ui.c + LOCAL_SRC_FILES += default_device.cpp else LOCAL_STATIC_LIBRARIES += $(TARGET_RECOVERY_UI_LIB) endif @@ -50,17 +50,17 @@ include $(BUILD_EXECUTABLE) include $(CLEAR_VARS) -#LOCAL_SRC_FILES := verifier_test.cpp verifier.cpp +LOCAL_SRC_FILES := verifier_test.cpp verifier.cpp -#LOCAL_MODULE := verifier_test +LOCAL_MODULE := verifier_test -#LOCAL_FORCE_STATIC_EXECUTABLE := true +LOCAL_FORCE_STATIC_EXECUTABLE := true -#LOCAL_MODULE_TAGS := tests +LOCAL_MODULE_TAGS := tests -#LOCAL_STATIC_LIBRARIES := libmincrypt libcutils libstdc++ libc +LOCAL_STATIC_LIBRARIES := libmincrypt libcutils libstdc++ libc -#include $(BUILD_EXECUTABLE) +include $(BUILD_EXECUTABLE) include $(commands_recovery_local_path)/minui/Android.mk -- cgit v1.2.3