summaryrefslogtreecommitdiffstats
path: root/Android.bp
diff options
context:
space:
mode:
authorNeeraj Soni <neersoni@codeaurora.org>2019-07-09 05:46:15 (GMT)
committerNeeraj Soni <neersoni@codeaurora.org>2019-07-09 05:47:29 (GMT)
commit6b99d61baaee529c181a663a5f205b66c91141ff (patch)
tree4c31108f3ba311038b19b04893d972c610d07d8f /Android.bp
parent0e83c6004312fab088a1b9364a8f342721d0fc15 (diff)
downloadandroid_vendor_qcom_opensource_cryptfs_hw-6b99d61baaee529c181a663a5f205b66c91141ff.zip
android_vendor_qcom_opensource_cryptfs_hw-6b99d61baaee529c181a663a5f205b66c91141ff.tar.gz
android_vendor_qcom_opensource_cryptfs_hw-6b99d61baaee529c181a663a5f205b66c91141ff.tar.bz2
cryptfs_hw: implement new hal support for vold
BUG: b/121350843 vold communication with qseecom tee device should go through hal interface instead of directly using kernel ioctls. Change-Id: I43ea11b1b008e26ca3598697f50375136dd267f5 Signed-off-by: Neeraj Soni <neersoni@codeaurora.org>
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp12
1 files changed, 9 insertions, 3 deletions
diff --git a/Android.bp b/Android.bp
index 5698fb3..edcc386 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,4 +1,4 @@
-sourceFiles = ["cryptfs_hw.c"]
+sourceFiles = ["cryptfs_hw.cpp"]
commonSharedLibraries = [
"libcutils",
@@ -6,17 +6,23 @@ commonSharedLibraries = [
"libdl",
"libhardware",
"liblog",
+ "libhwbinder",
+ "libhidlbase",
+ "libhidltransport",
+ "libbinder",
+ "vendor.qti.hardware.cryptfshw@1.0",
]
cc_library_shared {
name: "libcryptfs_hw",
header_libs: ["qseecom-kernel-headers",
- "libhardware_headers"],
- cflags: ["-DCONFIG_HW_DISK_ENCRYPTION"],
+ "libhardware_headers",
+ "libcryptfshw_hidl_headers",],
srcs: sourceFiles,
shared_libs: commonSharedLibraries,
owner: "qti",
+ product_specific: true,
}
cc_library_headers {