From 25df1037d15aa0973209c8e429339c16df4e9dbb Mon Sep 17 00:00:00 2001 From: Tri Vo Date: Tue, 6 Sep 2022 17:19:57 -0700 Subject: [PATCH] Add defaults for current Identity AIDL API version This makes it easier to bump the version of this interface. Test: m Change-Id: If0d4e405ae2f11da2e540800766ef9ed9b399663 --- identity/aidl/Android.bp | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) 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", + ], +}