summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Josh Gao <jmgao@google.com> 2017-01-05 18:27:33 -0800
committer Josh Gao <jmgao@google.com> 2017-01-17 13:55:20 -0800
commitd2db024a868706547ff55b1be8a9ee1a154b911c (patch)
treeb7d0f33cd7fdb8ad7c340d030cf967e5fef8ceba
parent36ba03a248e34aa92aaa9667a4fa71c64bea5c23 (diff)
dumpstate: switch to using libdebuggerd_client.
Bug: http://b/30705528 Test: manual inspection of dumpstate output Change-Id: I8f9822f67f1a81fcfa2b3a9120e6631b19b29854
-rw-r--r--cmds/dumpstate/Android.mk2
-rw-r--r--cmds/dumpstate/utils.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/cmds/dumpstate/Android.mk b/cmds/dumpstate/Android.mk
index e478651de0..daeebc41e6 100644
--- a/cmds/dumpstate/Android.mk
+++ b/cmds/dumpstate/Android.mk
@@ -10,7 +10,7 @@ LOCAL_SRC_FILES := dumpstate.cpp utils.cpp
LOCAL_MODULE := dumpstate
-LOCAL_SHARED_LIBRARIES := libcutils liblog libselinux libbase libhardware_legacy
+LOCAL_SHARED_LIBRARIES := libcutils libdebuggerd_client liblog libselinux libbase libhardware_legacy
# ZipArchive support, the order matters here to get all symbols.
LOCAL_STATIC_LIBRARIES := libziparchive libz libcrypto_static
LOCAL_HAL_STATIC_LIBRARIES := libdumpstate
diff --git a/cmds/dumpstate/utils.cpp b/cmds/dumpstate/utils.cpp
index afb52e7186..139231cdc9 100644
--- a/cmds/dumpstate/utils.cpp
+++ b/cmds/dumpstate/utils.cpp
@@ -40,9 +40,9 @@
#include <vector>
#include <android-base/file.h>
-#include <cutils/debugger.h>
#include <cutils/properties.h>
#include <cutils/sockets.h>
+#include <debuggerd/client.h>
#include <log/log.h>
#include <private/android_filesystem_config.h>