blob: 3ed44f6dcefe3632d43caf7d50c4f5563bffbd74 [file] [log] [blame]
AnilKumar Chimata36017212018-05-11 00:31:38 +05301sourceFiles = ["cryptfs_hw.c"]
2
3commonSharedLibraries = [
4 "libcutils",
5 "libutils",
6 "libdl",
7 "libhardware",
8 "liblog",
9]
10
11cc_library_shared {
12 name: "libcryptfs_hw",
Michael Bestas08912552018-09-27 00:33:21 +030013 header_libs: ["generated_kernel_headers",
AnilKumar Chimata36017212018-05-11 00:31:38 +053014 "libhardware_headers"],
15 cflags: ["-DCONFIG_HW_DISK_ENCRYPTION"],
16 srcs: sourceFiles,
17 shared_libs: commonSharedLibraries,
18
Michael Bestas5978a5e2017-12-20 19:12:59 +020019 product_variables: {
20 bliss: {
21 device_support_legacy_hwfde: {
22 cflags: ["-DLEGACY_HW_DISK_ENCRYPTION"],
23 },
24 },
25 },
26
AnilKumar Chimata36017212018-05-11 00:31:38 +053027 owner: "qti",
28}
29
30cc_library_headers {
31 name: "libcryptfs_hw_headers",
32 export_include_dirs: ["."],
33}