mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
Bug: 369375199 Test: Manually checked that module info is added to the attestation when sent via IKeyMintDevice::setModuleInfo. (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:ea426cbf2e0b3064adf090e4cd3d6932b02ae54d) Merged-In: Idb11823e6b65cf17d62ae8687febffee860565e3 Change-Id: Idb11823e6b65cf17d62ae8687febffee860565e3
102 lines
2.7 KiB
Plaintext
102 lines
2.7 KiB
Plaintext
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"],
|
|
}
|
|
|
|
aidl_interface {
|
|
name: "android.hardware.security.keymint",
|
|
vendor_available: true,
|
|
srcs: [
|
|
"android/hardware/security/keymint/*.aidl",
|
|
],
|
|
imports: [
|
|
"android.hardware.security.secureclock-V1",
|
|
],
|
|
stability: "vintf",
|
|
frozen: false,
|
|
backend: {
|
|
java: {
|
|
platform_apis: true,
|
|
},
|
|
ndk: {
|
|
apps_enabled: false,
|
|
},
|
|
rust: {
|
|
enabled: true,
|
|
apex_available: [
|
|
"//apex_available:platform",
|
|
"com.android.compos",
|
|
],
|
|
},
|
|
},
|
|
versions_with_info: [
|
|
{
|
|
version: "1",
|
|
imports: ["android.hardware.security.secureclock-V1"],
|
|
},
|
|
{
|
|
version: "2",
|
|
imports: ["android.hardware.security.secureclock-V1"],
|
|
},
|
|
{
|
|
version: "3",
|
|
imports: ["android.hardware.security.secureclock-V1"],
|
|
},
|
|
|
|
],
|
|
|
|
}
|
|
|
|
// An aidl_interface_defaults that includes the latest KeyMint AIDL interface.
|
|
// aidl_interface modules that depend on KeyMint directly can include this
|
|
// aidl_interface_defaults to avoid managing dependency versions explicitly.
|
|
aidl_interface_defaults {
|
|
name: "android.hardware.security.keymint-latest-defaults",
|
|
imports: ["android.hardware.security.keymint-V4"],
|
|
}
|
|
|
|
// cc_defaults that includes the latest KeyMint AIDL library.
|
|
// Modules that depend on KeyMint directly can include this cc_defaults to avoid
|
|
// managing dependency versions explicitly.
|
|
cc_defaults {
|
|
name: "keymint_use_latest_hal_aidl_ndk_static",
|
|
static_libs: [
|
|
"android.hardware.security.keymint-V4-ndk",
|
|
],
|
|
}
|
|
|
|
cc_defaults {
|
|
name: "keymint_use_latest_hal_aidl_ndk_shared",
|
|
shared_libs: [
|
|
"android.hardware.security.keymint-V4-ndk",
|
|
],
|
|
}
|
|
|
|
cc_defaults {
|
|
name: "keymint_use_latest_hal_aidl_cpp_static",
|
|
static_libs: [
|
|
"android.hardware.security.keymint-V4-cpp",
|
|
],
|
|
}
|
|
|
|
cc_defaults {
|
|
name: "keymint_use_latest_hal_aidl_cpp_shared",
|
|
shared_libs: [
|
|
"android.hardware.security.keymint-V4-cpp",
|
|
],
|
|
}
|
|
|
|
// A rust_defaults that includes the latest KeyMint AIDL library.
|
|
// Modules that depend on KeyMint directly can include this cc_defaults to avoid
|
|
// managing dependency versions explicitly.
|
|
rust_defaults {
|
|
name: "keymint_use_latest_hal_aidl_rust",
|
|
rustlibs: [
|
|
"android.hardware.security.keymint-V4-rust",
|
|
],
|
|
}
|