Include what you use
This doesn't need utils/Log.h, just log/log.h and some stdlib headers. Bug: 33241851 Test: m -j libhardware Change-Id: Id73059f5636af42b0d1680b89f6ca27f466d9ea8
This commit is contained in:
parent
00b192cee2
commit
4d53a041d3
2 changed files with 4 additions and 1 deletions
|
@ -14,6 +14,7 @@ cc_library_shared {
|
|||
"liblog",
|
||||
"libdl",
|
||||
],
|
||||
header_libs: ["libsystem_headers"],
|
||||
cflags: ["-DQEMU_HARDWARE"],
|
||||
export_include_dirs: ["include"],
|
||||
}
|
||||
|
|
|
@ -23,9 +23,11 @@
|
|||
#include <pthread.h>
|
||||
#include <errno.h>
|
||||
#include <limits.h>
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#define LOG_TAG "HAL"
|
||||
#include <utils/Log.h>
|
||||
#include <log/log.h>
|
||||
|
||||
/** Base path of the hal modules */
|
||||
#if defined(__LP64__)
|
||||
|
|
Loading…
Reference in a new issue