summaryrefslogtreecommitdiffstats
path: root/Android.bp
diff options
context:
space:
mode:
authorAnilKumar Chimata <anilc@codeaurora.org>2018-05-10 19:01:38 (GMT)
committerDavid Ng <dave@codeaurora.org>2018-06-05 19:54:37 (GMT)
commit36017216cce7d7fdf9c2b2eacc9835fd2d0f6d21 (patch)
treef73067ed47aed51055205bff9e48d3bba0b111f5 /Android.bp
parenteec7d0b6d8e690ebe268965e89593812d607b3a8 (diff)
downloadandroid_vendor_qcom_opensource_cryptfs_hw-36017216cce7d7fdf9c2b2eacc9835fd2d0f6d21.zip
android_vendor_qcom_opensource_cryptfs_hw-36017216cce7d7fdf9c2b2eacc9835fd2d0f6d21.tar.gz
android_vendor_qcom_opensource_cryptfs_hw-36017216cce7d7fdf9c2b2eacc9835fd2d0f6d21.tar.bz2
cryptfs_hw: Update Android make file
Move Android.mk to Androi.bp file as per new changes. Change-Id: I9b4422f736ee51f264eac5b84297c66d76f4f243
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp25
1 files changed, 25 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
new file mode 100644
index 0000000..5698fb3
--- /dev/null
+++ b/Android.bp
@@ -0,0 +1,25 @@
+sourceFiles = ["cryptfs_hw.c"]
+
+commonSharedLibraries = [
+ "libcutils",
+ "libutils",
+ "libdl",
+ "libhardware",
+ "liblog",
+]
+
+cc_library_shared {
+ name: "libcryptfs_hw",
+ header_libs: ["qseecom-kernel-headers",
+ "libhardware_headers"],
+ cflags: ["-DCONFIG_HW_DISK_ENCRYPTION"],
+ srcs: sourceFiles,
+ shared_libs: commonSharedLibraries,
+
+ owner: "qti",
+}
+
+cc_library_headers {
+ name: "libcryptfs_hw_headers",
+ export_include_dirs: ["."],
+}