Add defaults for current Identity AIDL API version

This makes it easier to bump the version of this interface.

Test: m
Change-Id: If0d4e405ae2f11da2e540800766ef9ed9b399663
This commit is contained in:
Tri Vo
2022-09-06 17:19:57 -07:00
parent 22b8aceacb
commit 25df1037d1

View File

@@ -59,3 +59,27 @@ aidl_interface {
],
}
// 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",
],
}