diff --git a/identity/aidl/Android.bp b/identity/aidl/Android.bp index f6855e86c1..57451ed53e 100644 --- a/identity/aidl/Android.bp +++ b/identity/aidl/Android.bp @@ -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", + ], +}