mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-02 13:49:45 +00:00
Imported interfaces are versioned, i.e. bumping an interface version necessiates bumping the version of importing interfaces. Keystore and Identity import KM. We are uprevving KM, so all three need to be bumped at the same time. Test: m Change-Id: I46b253e72f2f245bd628ed2ae1f2f4e0572827e7
82 lines
2.1 KiB
Plaintext
82 lines
2.1 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",
|
|
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"],
|
|
},
|
|
|
|
],
|
|
|
|
}
|
|
|
|
// 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-V3-ndk",
|
|
],
|
|
}
|
|
|
|
cc_defaults {
|
|
name: "keymint_use_latest_hal_aidl_ndk_shared",
|
|
shared_libs: [
|
|
"android.hardware.security.keymint-V3-ndk",
|
|
],
|
|
}
|
|
|
|
cc_defaults {
|
|
name: "keymint_use_latest_hal_aidl_cpp_static",
|
|
static_libs: [
|
|
"android.hardware.security.keymint-V3-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-V3-rust",
|
|
],
|
|
}
|