aboutsummaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2011-10-31 09:34:15 -0700
committerDoug Zongker <dougz@android.com>2011-10-31 15:51:07 -0700
commitdaefc1d442fb421606680feb9aeb59c133f4c427 (patch)
tree71b64ebdd66540aca7a523c73a47626ca519d039 /Android.mk
parentb88aea8a89f9d3344022cdfe895397baac6c05e7 (diff)
downloadbootable_recovery-daefc1d442fb421606680feb9aeb59c133f4c427.zip
bootable_recovery-daefc1d442fb421606680feb9aeb59c133f4c427.tar.gz
bootable_recovery-daefc1d442fb421606680feb9aeb59c133f4c427.tar.bz2
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
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk14
1 files changed, 7 insertions, 7 deletions
diff --git a/Android.mk b/Android.mk
index c29ab52..be9ff9e 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