summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Moreland <smoreland@google.com>2017-04-11 09:31:56 -0700
committerTri Vo <trong@google.com>2017-07-12 14:02:15 -0700
commitdf50999c9269c8a55059afa48a018dfcd48269d8 (patch)
tree5ccf6507292c2edae76cc604dae5d1ddd2eb6b88
parenta68fa7b601a0a5ff3b02834dca86b931ae1fa025 (diff)
downloadandroid_hardware_broadcom_nfc-df50999c9269c8a55059afa48a018dfcd48269d8.tar.gz
android_hardware_broadcom_nfc-df50999c9269c8a55059afa48a018dfcd48269d8.tar.bz2
android_hardware_broadcom_nfc-df50999c9269c8a55059afa48a018dfcd48269d8.zip
IWYU + remove unneeded dependencies.
Dependency on libbase + libutils not required. Test: links Bug: 33241851 Merged-In: I0b1b91fea9a60e732e6610d6ff2975984e7508ac Change-Id: I0b1b91fea9a60e732e6610d6ff2975984e7508ac
-rw-r--r--Android.bp4
-rw-r--r--halimpl/pn54x/nfc_nci.c2
2 files changed, 2 insertions, 4 deletions
diff --git a/Android.bp b/Android.bp
index fde33fc..30c3e60 100644
--- a/Android.bp
+++ b/Android.bp
@@ -14,11 +14,9 @@ cc_library_shared {
"src/nfca_version.c",
],
shared_libs: [
- "liblog",
"libcutils",
+ "liblog",
"libhwbinder",
- "libbase",
- "libutils",
],
local_include_dirs: [
"halimpl/bcm2079x/include",
diff --git a/halimpl/pn54x/nfc_nci.c b/halimpl/pn54x/nfc_nci.c
index 950f397..611c83c 100644
--- a/halimpl/pn54x/nfc_nci.c
+++ b/halimpl/pn54x/nfc_nci.c
@@ -19,10 +19,10 @@
#include <errno.h>
#include <hardware/hardware.h>
#include <hardware/nfc.h>
+#include <log/log.h>
#include <phNxpNciHal_Adaptation.h>
#include <stdlib.h>
#include <string.h>
-#include <utils/Log.h>
/*****************************************************************************
* NXP NCI HAL Function implementations.