Files
hardware_interfaces/identity/aidl/Android.bp
Tri Vo 25df1037d1 Add defaults for current Identity AIDL API version
This makes it easier to bump the version of this interface.

Test: m
Change-Id: If0d4e405ae2f11da2e540800766ef9ed9b399663
2022-09-06 17:46:04 -07:00

86 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.identity",
vendor_available: true,
srcs: [
"android/hardware/identity/*.aidl",
],
imports: [
"android.hardware.keymaster",
"android.hardware.security.keymint",
],
stability: "vintf",
backend: {
java: {
platform_apis: true,
},
ndk: {
apps_enabled: false,
},
},
versions_with_info: [
{
version: "1",
imports: [
"android.hardware.keymaster-V3",
"android.hardware.security.keymint-V1",
],
},
{
version: "2",
imports: [
"android.hardware.keymaster-V3",
"android.hardware.security.keymint-V1",
],
},
{
version: "3",
imports: [
"android.hardware.keymaster-V3",
"android.hardware.security.keymint-V1",
],
},
{
version: "4",
imports: [
"android.hardware.keymaster-V3",
"android.hardware.security.keymint-V2",
],
},
],
}
// cc_defaults that includes the latest Identity AIDL library.
// Modules that depend on Identity directly can include this cc_defaults to
// avoid managing dependency versions explicitly.
cc_defaults {
name: "identity_use_latest_hal_aidl_ndk_static",
static_libs: [
"android.hardware.identity-V4-ndk",
],
}
cc_defaults {
name: "identity_use_latest_hal_aidl_ndk_shared",
shared_libs: [
"android.hardware.identity-V4-ndk",
],
}
cc_defaults {
name: "identity_use_latest_hal_aidl_cpp_static",
static_libs: [
"android.hardware.identity-V4-cpp",
],
}