blob: e9f3be0a69b1cb8b9a4c1a7fdcaa3fbdc1cb83fc [file] [log] [blame]
Shawn Willden08a7e432020-12-11 13:05:27 +00001cc_binary {
2 name: "android.hardware.security.keymint-service",
3 relative_install_path: "hw",
4 init_rc: ["android.hardware.security.keymint-service.rc"],
Chirag Pathak8960aae2021-01-25 21:37:06 +00005 vintf_fragments: [
6 "android.hardware.security.keymint-service.xml",
7 "android.hardware.security.sharedsecret-service.xml",
8 "android.hardware.security.secureclock-service.xml",
9 ],
Shawn Willden08a7e432020-12-11 13:05:27 +000010 vendor: true,
11 cflags: [
12 "-Wall",
13 "-Wextra",
14 ],
15 shared_libs: [
Jeongik Cha1674c132021-01-26 22:34:55 +090016 "android.hardware.security.keymint-V1-ndk_platform",
Chirag Pathak8960aae2021-01-25 21:37:06 +000017 "android.hardware.security.sharedsecret-unstable-ndk_platform",
18 "android.hardware.security.secureclock-unstable-ndk_platform",
Shawn Willden08a7e432020-12-11 13:05:27 +000019 "libbase",
20 "libbinder_ndk",
Shawn Willden274bb552020-09-30 22:39:22 -060021 "libcppbor_external",
Shawn Willden08a7e432020-12-11 13:05:27 +000022 "libcrypto",
23 "libkeymaster_portable",
24 "libkeymint",
25 "liblog",
26 "libpuresoftkeymasterdevice",
Shawn Willden274bb552020-09-30 22:39:22 -060027 "libremote_provisioner",
Shawn Willden08a7e432020-12-11 13:05:27 +000028 "libutils",
29 ],
30 srcs: [
31 "service.cpp",
32 ],
33}
Shawn Willden274bb552020-09-30 22:39:22 -060034
35cc_library {
36 name: "libremote_provisioner",
37 vendor_available: true,
38 static_libs: [
39 "libkeymint_remote_prov_support",
40 ],
41 shared_libs: [
42 "android.hardware.security.keymint-unstable-ndk_platform",
43 "libbinder_ndk",
44 "libcppbor_external",
45 "libcppcose",
46 "libcrypto",
47 "libkeymaster_portable",
48 "libkeymint",
49 "liblog",
50 "libpuresoftkeymasterdevice",
51 ],
52 export_include_dirs: [
53 ".",
54 ],
55 srcs: [
56 "RemotelyProvisionedComponent.cpp",
57 ],
58}