From b692c60e2a66dd2f5f8af52355883dac47d3754c Mon Sep 17 00:00:00 2001 From: Shaquille Johnson Date: Thu, 24 Nov 2022 16:34:19 +0000 Subject: [PATCH] Update keymint latest aidl for cpp version code This add a cpp default so that the latest cpp code can be used across the codebase. When this is changed we dont need to bump versions across multiple files and can just change it in this one file. Test: Run and tested using `atest keystore2_test` for Rust test and CTS test with `atest CtsKeystoreTestCases` Bug: 244730020 Change-Id: Ifae1c5f2403210c2dec1bc337553fbbde73ed4c8 --- security/keymint/aidl/Android.bp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/security/keymint/aidl/Android.bp b/security/keymint/aidl/Android.bp index 5a76a21892..4753afbd0e 100644 --- a/security/keymint/aidl/Android.bp +++ b/security/keymint/aidl/Android.bp @@ -71,6 +71,13 @@ cc_defaults { ], } +cc_defaults { + name: "keymint_use_latest_hal_aidl_cpp_shared", + shared_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.