cryptfs_hw: Remove libcryptfshw_hidl_headers dependency
Issue: FP4-INT#3
Change-Id: If50351002cb10d577729104c83e3a4acaba296ad
Signed-off-by: Michael Bestas <mkbestas@lineageos.org>
(cherry picked from commit e2e6832fa0270718625664a15b9669525e9ec8b0)
diff --git a/Android.bp b/Android.bp
index 4c45819..498d32b 100644
--- a/Android.bp
+++ b/Android.bp
@@ -15,8 +15,7 @@
cc_library_shared {
name: "libcryptfs_hw",
- header_libs: ["libhardware_headers",
- "libcryptfshw_hidl_headers",],
+ header_libs: ["libhardware_headers"],
srcs: sourceFiles,
shared_libs: commonSharedLibraries,
diff --git a/cryptfs_hw.cpp b/cryptfs_hw.cpp
index 6cd634d..3a356e9 100644
--- a/cryptfs_hw.cpp
+++ b/cryptfs_hw.cpp
@@ -35,7 +35,7 @@
#include "cutils/log.h"
#include "cutils/properties.h"
#include "cryptfs_hw.h"
-#include "CryptfsHw.h"
+#include <vendor/qti/hardware/cryptfshw/1.0/ICryptfsHw.h>
using android::sp;
using vendor::qti::hardware::cryptfshw::V1_0::ICryptfsHw;