adb: use libdebuggerd_client.
Bug: http://b/24414818 Change-Id: I177708877488e5c4f99c453498485a2daa9b79b0
This commit is contained in:
parent
9c02dc5916
commit
809607ae28
|
@ -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)
|
||||
|
|
|
@ -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()");
|
||||
|
|
Loading…
Reference in New Issue