Shawn Willden | 08a7e43 | 2020-12-11 13:05:27 +0000 | [diff] [blame] | 1 | cc_binary { |
| 2 | name: "android.hardware.security.keymint-service", |
| 3 | relative_install_path: "hw", |
| 4 | init_rc: ["android.hardware.security.keymint-service.rc"], |
Chirag Pathak | 8960aae | 2021-01-25 21:37:06 +0000 | [diff] [blame] | 5 | 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 Willden | 08a7e43 | 2020-12-11 13:05:27 +0000 | [diff] [blame] | 10 | vendor: true, |
| 11 | cflags: [ |
| 12 | "-Wall", |
| 13 | "-Wextra", |
| 14 | ], |
| 15 | shared_libs: [ |
Jeongik Cha | 1674c13 | 2021-01-26 22:34:55 +0900 | [diff] [blame] | 16 | "android.hardware.security.keymint-V1-ndk_platform", |
Chirag Pathak | 8960aae | 2021-01-25 21:37:06 +0000 | [diff] [blame] | 17 | "android.hardware.security.sharedsecret-unstable-ndk_platform", |
| 18 | "android.hardware.security.secureclock-unstable-ndk_platform", |
Shawn Willden | 08a7e43 | 2020-12-11 13:05:27 +0000 | [diff] [blame] | 19 | "libbase", |
| 20 | "libbinder_ndk", |
Shawn Willden | 274bb55 | 2020-09-30 22:39:22 -0600 | [diff] [blame^] | 21 | "libcppbor_external", |
Shawn Willden | 08a7e43 | 2020-12-11 13:05:27 +0000 | [diff] [blame] | 22 | "libcrypto", |
| 23 | "libkeymaster_portable", |
| 24 | "libkeymint", |
| 25 | "liblog", |
| 26 | "libpuresoftkeymasterdevice", |
Shawn Willden | 274bb55 | 2020-09-30 22:39:22 -0600 | [diff] [blame^] | 27 | "libremote_provisioner", |
Shawn Willden | 08a7e43 | 2020-12-11 13:05:27 +0000 | [diff] [blame] | 28 | "libutils", |
| 29 | ], |
| 30 | srcs: [ |
| 31 | "service.cpp", |
| 32 | ], |
| 33 | } |
Shawn Willden | 274bb55 | 2020-09-30 22:39:22 -0600 | [diff] [blame^] | 34 | |
| 35 | cc_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 | } |