-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathAndroid.bp
39 lines (34 loc) · 885 Bytes
/
Android.bp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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: {
aosdp: {
should_skip_waiting_for_qsee: {
cflags: ["-DSKIP_WAITING_FOR_QSEE"],
},
supports_legacy_hw_fde: {
cflags: ["-DLEGACY_HW_DISK_ENCRYPTION"],
},
uses_metadata_as_fde_key: {
cflags: ["-DUSE_METADATA_FOR_KEY"],
},
},
},
owner: "qti",
}
cc_library_headers {
name: "libcryptfs_hw_headers",
export_include_dirs: ["."],
}