blob: c2918ef7c7744c6a23019fbfa64a9b9926490ca1 [file] [log] [blame]
Bob Badourb224b362021-02-12 20:13:01 -08001package {
2 // See: http://go/android-license-faq
3 // A large-scale-change added 'default_applicable_licenses' to import
4 // all of the 'license_kinds' from "hardware_interfaces_license"
5 // to get the below license kinds:
6 // SPDX-license-identifier-Apache-2.0
7 default_applicable_licenses: ["hardware_interfaces_license"],
8}
9
Shawn Willden08a7e432020-12-11 13:05:27 +000010cc_binary {
11 name: "android.hardware.security.keymint-service",
12 relative_install_path: "hw",
13 init_rc: ["android.hardware.security.keymint-service.rc"],
Chirag Pathak8960aae2021-01-25 21:37:06 +000014 vintf_fragments: [
15 "android.hardware.security.keymint-service.xml",
16 "android.hardware.security.sharedsecret-service.xml",
17 "android.hardware.security.secureclock-service.xml",
18 ],
Shawn Willden08a7e432020-12-11 13:05:27 +000019 vendor: true,
20 cflags: [
21 "-Wall",
22 "-Wextra",
23 ],
24 shared_libs: [
Jiyong Park27f77fe2021-07-27 12:16:52 +090025 "android.hardware.security.keymint-V1-ndk",
26 "android.hardware.security.sharedsecret-V1-ndk",
27 "android.hardware.security.secureclock-V1-ndk",
Shawn Willden08a7e432020-12-11 13:05:27 +000028 "libbase",
29 "libbinder_ndk",
Shawn Willden274bb552020-09-30 22:39:22 -060030 "libcppbor_external",
Shawn Willden08a7e432020-12-11 13:05:27 +000031 "libcrypto",
32 "libkeymaster_portable",
33 "libkeymint",
34 "liblog",
35 "libpuresoftkeymasterdevice",
36 "libutils",
37 ],
38 srcs: [
39 "service.cpp",
40 ],
David Zeuthen7f8ccb52021-03-10 14:40:17 -050041 required: [
42 "RemoteProvisioner",
43 "android.hardware.hardware_keystore.xml",
44 ],
45}
46
47prebuilt_etc {
48 name: "android.hardware.hardware_keystore.xml",
49 sub_dir: "permissions",
50 vendor: true,
51 src: "android.hardware.hardware_keystore.xml",
Shawn Willden08a7e432020-12-11 13:05:27 +000052}