summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2017-04-07 14:15:02 -0700
committerSteven Moreland <smoreland@google.com>2017-04-11 18:22:37 +0000
commit24230cd423d91e45ea76e1bcf66de8e0c26c6fed (patch)
treed6a4df308ebd5367ce4f161146b30c921c865710
parentc99381fff4ed6d47ff9a8814efa0b1329cf2830a (diff)
downloadplatform_hardware_libhardware_legacy-24230cd423d91e45ea76e1bcf66de8e0c26c6fed.tar.gz
platform_hardware_libhardware_legacy-24230cd423d91e45ea76e1bcf66de8e0c26c6fed.tar.bz2
platform_hardware_libhardware_legacy-24230cd423d91e45ea76e1bcf66de8e0c26c6fed.zip
Include what you use
This doesn't need utils/Log.h, only log/log.h (and liblog) Bug: 33241851 Test: m -j libpower Merged-In: I21b08203fad51902d4a0f6172b4321b8b701ec47 Change-Id: I21b08203fad51902d4a0f6172b4321b8b701ec47
-rw-r--r--Android.bp2
-rw-r--r--power/power.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Android.bp b/Android.bp
index 283e841..a24f426 100644
--- a/Android.bp
+++ b/Android.bp
@@ -5,5 +5,5 @@ cc_library {
srcs: ["power/power.c"],
export_include_dirs: ["include"],
- shared_libs: ["libcutils"],
+ shared_libs: ["libcutils", "liblog"],
}
diff --git a/power/power.c b/power/power.c
index 368de5b..9250d08 100644
--- a/power/power.c
+++ b/power/power.c
@@ -26,7 +26,7 @@
#include <pthread.h>
#define LOG_TAG "power"
-#include <utils/Log.h>
+#include <log/log.h>
enum {
ACQUIRE_PARTIAL_WAKE_LOCK = 0,