2021-02-12 20:13:01 -08:00
|
|
|
package {
|
|
|
|
|
// See: http://go/android-license-faq
|
|
|
|
|
// A large-scale-change added 'default_applicable_licenses' to import
|
|
|
|
|
// all of the 'license_kinds' from "hardware_interfaces_license"
|
|
|
|
|
// to get the below license kinds:
|
|
|
|
|
// SPDX-license-identifier-Apache-2.0
|
|
|
|
|
default_applicable_licenses: ["hardware_interfaces_license"],
|
|
|
|
|
}
|
|
|
|
|
|
2020-04-29 04:22:39 -07:00
|
|
|
cc_binary {
|
2020-12-11 13:05:27 +00:00
|
|
|
name: "android.hardware.security.keymint-service",
|
2020-04-29 04:22:39 -07:00
|
|
|
relative_install_path: "hw",
|
2020-12-11 13:05:27 +00:00
|
|
|
init_rc: ["android.hardware.security.keymint-service.rc"],
|
2021-01-25 21:37:06 +00:00
|
|
|
vintf_fragments: [
|
|
|
|
|
"android.hardware.security.keymint-service.xml",
|
|
|
|
|
"android.hardware.security.sharedsecret-service.xml",
|
|
|
|
|
"android.hardware.security.secureclock-service.xml",
|
|
|
|
|
],
|
2020-04-29 04:22:39 -07:00
|
|
|
vendor: true,
|
|
|
|
|
cflags: [
|
|
|
|
|
"-Wall",
|
|
|
|
|
"-Wextra",
|
|
|
|
|
],
|
2021-11-22 14:32:31 +00:00
|
|
|
defaults: [
|
|
|
|
|
"keymint_use_latest_hal_aidl_ndk_shared",
|
|
|
|
|
],
|
2020-04-29 04:22:39 -07:00
|
|
|
shared_libs: [
|
2022-11-04 17:39:05 +00:00
|
|
|
"android.hardware.security.rkp-V3-ndk",
|
2021-07-27 12:16:52 +09:00
|
|
|
"android.hardware.security.sharedsecret-V1-ndk",
|
|
|
|
|
"android.hardware.security.secureclock-V1-ndk",
|
2020-04-29 04:22:39 -07:00
|
|
|
"libbase",
|
|
|
|
|
"libbinder_ndk",
|
2020-09-30 22:39:22 -06:00
|
|
|
"libcppbor_external",
|
2020-04-29 04:22:39 -07:00
|
|
|
"libcrypto",
|
2020-12-11 10:45:43 +00:00
|
|
|
"libkeymaster_portable",
|
2020-12-11 13:05:27 +00:00
|
|
|
"libkeymint",
|
|
|
|
|
"liblog",
|
2020-04-29 04:22:39 -07:00
|
|
|
"libpuresoftkeymasterdevice",
|
|
|
|
|
"libutils",
|
|
|
|
|
],
|
|
|
|
|
srcs: [
|
|
|
|
|
"service.cpp",
|
|
|
|
|
],
|
2021-03-10 14:40:17 -05:00
|
|
|
required: [
|
|
|
|
|
"android.hardware.hardware_keystore.xml",
|
|
|
|
|
],
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
prebuilt_etc {
|
|
|
|
|
name: "android.hardware.hardware_keystore.xml",
|
|
|
|
|
sub_dir: "permissions",
|
|
|
|
|
vendor: true,
|
|
|
|
|
src: "android.hardware.hardware_keystore.xml",
|
2020-04-29 04:22:39 -07:00
|
|
|
}
|