From 7fe202f160ca1926bc0277e3c276ad7b3f9b9aeb Mon Sep 17 00:00:00 2001 From: Jack Palevich Date: Tue, 25 May 2010 14:49:57 +0800 Subject: Use linenoise to add simple editing and history to the Android shell. The linenoise library is from http://github.com/antirez/linenoise This patch also disables command-line editing and history from adb. The adb implementation was shadowing the Android shell's implementation. The adb implementation was also shadowing the editing and history implementation in alternative shells such as BusyBox's ash. Change-Id: I7ebd4cb391d0ce966c0ce0e707d80ecd659f9079 --- adb/Android.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'adb/Android.mk') diff --git a/adb/Android.mk b/adb/Android.mk index 6325e53f..f8f0596a 100644 --- a/adb/Android.mk +++ b/adb/Android.mk @@ -69,7 +69,7 @@ else endif LOCAL_CFLAGS += -O2 -g -DADB_HOST=1 -Wall -Wno-unused-parameter -LOCAL_CFLAGS += -D_XOPEN_SOURCE -D_GNU_SOURCE -DSH_HISTORY +LOCAL_CFLAGS += -D_XOPEN_SOURCE -D_GNU_SOURCE LOCAL_MODULE := adb LOCAL_STATIC_LIBRARIES := libzipfile libunz $(EXTRA_STATIC_LIBS) -- cgit v1.2.3