summaryrefslogtreecommitdiff
path: root/identity
diff options
context:
space:
mode:
authorDavid Drysdale <drysdale@google.com>2021-11-22 14:41:18 +0000
committerDavid Drysdale <drysdale@google.com>2021-12-02 08:19:33 +0000
commitbdb232db7f524bd0bc955d2d44405051a2b95df7 (patch)
tree47b25f8450da4ea9d02fa94e785acf6770b440ef /identity
parenta45cc5625c77e8342f676c798f34e9128dc6fd0d (diff)
downloadsecurity-bdb232db7f524bd0bc955d2d44405051a2b95df7.tar.gz
Depend on KeyMint HAL via default
This allows for easier bumping of the KeyMint version level. At the moment this change should have no effect: the same dependency is used, just reached via a default rather than explicitly. However, when the KeyMint version increases in the near future, using this default should mean that no change is needed here: the default definition will change to -V2 and this will be referenced here. Test: TreeHugger Change-Id: I8cce78e7f56179db23b2de792764ea2cae2d3cb7
Diffstat (limited to 'identity')
-rw-r--r--identity/Android.bp8
1 files changed, 5 insertions, 3 deletions
diff --git a/identity/Android.bp b/identity/Android.bp
index ecdf9a4b..ddb43353 100644
--- a/identity/Android.bp
+++ b/identity/Android.bp
@@ -24,7 +24,10 @@ cc_defaults {
cc_binary {
name: "credstore",
- defaults: ["identity_defaults"],
+ defaults: [
+ "identity_defaults",
+ "keymint_use_latest_hal_aidl_ndk_shared",
+ ],
srcs: [
"main.cpp",
@@ -48,14 +51,13 @@ cc_binary {
"android.hardware.identity-support-lib",
"libkeymaster4support",
"libkeystore-attestation-application-id",
- "android.hardware.security.keymint-V1-ndk",
"android.security.authorization-ndk",
],
static_libs: [
"android.hardware.identity-V3-cpp",
"android.hardware.keymaster-V3-cpp",
"libcppbor_external",
- ]
+ ],
}
filegroup {