blob: 169b2cd0b2d72f5e917384c2a89f9dcb1f5c85ec [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: {
pimpmaneaton72560a42019-06-24 18:35:26 -060021 supports_legacy_hw_fde: {
Michael Bestas5978a5e2017-12-20 19:12:59 +020022 cflags: ["-DLEGACY_HW_DISK_ENCRYPTION"],
23 },
pimpmaneaton72560a42019-06-24 18:35:26 -060024 should_skip_waiting_for_qsee: {
Michael Bestase4e558e2017-12-20 22:07:16 +020025 cflags: ["-DWAIT_FOR_QSEE"],
26 },
Michael Bestas5978a5e2017-12-20 19:12:59 +020027 },
28 },
29
AnilKumar Chimata36017212018-05-11 00:31:38 +053030 owner: "qti",
31}
32
33cc_library_headers {
34 name: "libcryptfs_hw_headers",
35 export_include_dirs: ["."],
36}