blob: 169b2cd0b2d72f5e917384c2a89f9dcb1f5c85ec [file] [log] [blame]
sourceFiles = ["cryptfs_hw.c"]
commonSharedLibraries = [
"libcutils",
"libutils",
"libdl",
"libhardware",
"liblog",
]
cc_library_shared {
name: "libcryptfs_hw",
header_libs: ["generated_kernel_headers",
"libhardware_headers"],
cflags: ["-DCONFIG_HW_DISK_ENCRYPTION"],
srcs: sourceFiles,
shared_libs: commonSharedLibraries,
product_variables: {
bliss: {
supports_legacy_hw_fde: {
cflags: ["-DLEGACY_HW_DISK_ENCRYPTION"],
},
should_skip_waiting_for_qsee: {
cflags: ["-DWAIT_FOR_QSEE"],
},
},
},
owner: "qti",
}
cc_library_headers {
name: "libcryptfs_hw_headers",
export_include_dirs: ["."],
}