summaryrefslogtreecommitdiffstats
path: root/adb/Android.mk
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2015-03-29 11:22:34 -0700
committerTao Bao <tbao@google.com>2015-03-31 00:19:52 +0000
commit175b7bbfb4d935e1867a1d6df14e6ef94f2db2f4 (patch)
tree7559dc5d9a5104c1584a782392ca3784d49e92be /adb/Android.mk
parent934102baf8fca57abf63df7f134e977e696722db (diff)
downloadsystem_core-175b7bbfb4d935e1867a1d6df14e6ef94f2db2f4.tar.gz
system_core-175b7bbfb4d935e1867a1d6df14e6ef94f2db2f4.tar.bz2
system_core-175b7bbfb4d935e1867a1d6df14e6ef94f2db2f4.zip
adb: Add option to reboot into sideload mode in recovery
Currently it requires manual key press to enter the sideload mode. This CL adds 'adb reboot sideload' to reboot the device into sideload mode directly with text display on. With 'adb reboot sideload-auto-reboot', it will reboot after the sideload regardless of the installation result, unless interrupted by user. Since it needs to write to /cache/recovery/command file, 'adb root' is required before calling 'adb reboot sideload' and the one with '-auto-reboot'. Also it requires the matching CL in bootable/recovery. Change-Id: Ib7bd4e216a1efc01e64460659c97c6005bbaec1b
Diffstat (limited to 'adb/Android.mk')
-rw-r--r--adb/Android.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/adb/Android.mk b/adb/Android.mk
index 8d38077f2..4f19d4783 100644
--- a/adb/Android.mk
+++ b/adb/Android.mk
@@ -208,10 +208,11 @@ LOCAL_MODULE := adbd
LOCAL_FORCE_STATIC_EXECUTABLE := true
LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT_SBIN)
LOCAL_UNSTRIPPED_PATH := $(TARGET_ROOT_OUT_SBIN_UNSTRIPPED)
-LOCAL_C_INCLUDES += system/extras/ext4_utils system/core/fs_mgr/include
+LOCAL_C_INCLUDES += system/extras/ext4_utils
LOCAL_STATIC_LIBRARIES := \
libadbd \
+ libbase \
libfs_mgr \
liblog \
libcutils \