aboutsummaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-04-09 13:40:31 -0700
committerElliott Hughes <enh@google.com>2015-04-09 13:40:31 -0700
commit9e7ae8a62652258f3ecbf147b578b73286f6d4d8 (patch)
treef614a82b9b246e72327fe00ca1ecf8d616d94a0e /Android.mk
parent52222a58417e7e6349e91e19e4f5e293a3a971c5 (diff)
downloadbootable_recovery-9e7ae8a62652258f3ecbf147b578b73286f6d4d8.zip
bootable_recovery-9e7ae8a62652258f3ecbf147b578b73286f6d4d8.tar.gz
bootable_recovery-9e7ae8a62652258f3ecbf147b578b73286f6d4d8.tar.bz2
Move default implementations into Device.
The current abstract class was a nice idea but has led to a lot of copy & paste in practice. Right now, no one we know of has any extra menu items, so let's make the default menu available to everyone. (If we assume that someone somewhere really does need custom device-specific menu options, a better API would let them add to our menu rather than replacing it.) Change-Id: I59f6a92f3ecd830c2ce78ce9da19eaaf472c5dfa
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk11
1 files changed, 6 insertions, 5 deletions
diff --git a/Android.mk b/Android.mk
index dd1e96e..a567aa5 100644
--- a/Android.mk
+++ b/Android.mk
@@ -30,16 +30,17 @@ include $(BUILD_STATIC_LIBRARY)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
- recovery.cpp \
+ adb_install.cpp \
+ asn1_decoder.cpp \
bootloader.cpp \
+ device.cpp \
+ fuse_sdcard_provider.c \
install.cpp \
+ recovery.cpp \
roots.cpp \
- ui.cpp \
screen_ui.cpp \
- asn1_decoder.cpp \
+ ui.cpp \
verifier.cpp \
- adb_install.cpp \
- fuse_sdcard_provider.c
LOCAL_MODULE := recovery