From 6b99d61baaee529c181a663a5f205b66c91141ff Mon Sep 17 00:00:00 2001 From: Neeraj Soni Date: Tue, 9 Jul 2019 11:16:15 +0530 Subject: 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 --- Android.bp | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'Android.bp') 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 { -- cgit v1.2.3