system/core: drop or replace log/logger.h
debuggerd does not require log/logger.h, can use android/log.h
In some cases, mark why log/logger.h was required.
Test: Compile and boot smoke test
Bug: 26552300
Bug: 31289077
Bug: 31456426
Change-Id: Ia34987e25a01d81971ec8d785415f732b8376c4f
diff --git a/debuggerd/debuggerd.cpp b/debuggerd/debuggerd.cpp
index 77c138f..a6d3d38 100644
--- a/debuggerd/debuggerd.cpp
+++ b/debuggerd/debuggerd.cpp
@@ -19,6 +19,7 @@
#include <elf.h>
#include <errno.h>
#include <fcntl.h>
+#include <linux/input.h>
#include <pthread.h>
#include <signal.h>
#include <stdarg.h>
@@ -39,16 +40,13 @@
#include <selinux/android.h>
-#include <log/logger.h>
-
+#include <android/log.h>
#include <android-base/file.h>
#include <android-base/unique_fd.h>
#include <cutils/debugger.h>
#include <cutils/properties.h>
#include <cutils/sockets.h>
-#include <linux/input.h>
-
#include <private/android_filesystem_config.h>
#include <debuggerd/client.h>