adb: use libdebuggerd_client.

Bug: http://b/24414818
Change-Id: I177708877488e5c4f99c453498485a2daa9b79b0
This commit is contained in:
Josh Gao 2016-06-15 18:33:11 -07:00
parent 9c02dc5916
commit 809607ae28
2 changed files with 5 additions and 1 deletions

View File

@ -319,6 +319,7 @@ LOCAL_UNSTRIPPED_PATH := $(TARGET_ROOT_OUT_SBIN_UNSTRIPPED)
LOCAL_C_INCLUDES += system/extras/ext4_utils
LOCAL_SANITIZE := $(adb_target_sanitize)
LOCAL_STRIP_MODULE := keep_symbols
LOCAL_STATIC_LIBRARIES := \
libadbd \
libbase \
@ -333,6 +334,7 @@ LOCAL_STATIC_LIBRARIES := \
libbase \
libcrypto_utils_static \
libcrypto_static \
libminijail
libminijail \
libdebuggerd_client \
include $(BUILD_EXECUTABLE)

View File

@ -32,6 +32,7 @@
#include <libminijail.h>
#include "cutils/properties.h"
#include "debuggerd/client.h"
#include "private/android_filesystem_config.h"
#include "selinux/android.h"
@ -247,6 +248,7 @@ int main(int argc, char** argv) {
close_stdin();
debuggerd_init(nullptr);
adb_trace_init(argv);
D("Handling main()");