Depend on Keystore2 AIDL via default
This allows for easier bumping of the KeyMint/Keystore2 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 Keystore2 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: I7cec2cd8fac137e5ac7e95db06e738e94a3cc567
diff --git a/Android.bp b/Android.bp
index 4750d1a..e5d5e8f 100644
--- a/Android.bp
+++ b/Android.bp
@@ -107,6 +107,7 @@
defaults: [
"vold_default_flags",
"vold_default_libs",
+ "keystore2_use_latest_aidl_ndk_shared",
],
srcs: [
@@ -164,7 +165,6 @@
shared_libs: [
"android.hardware.health.storage@1.0",
"android.hardware.health.storage-V1-ndk",
- "android.system.keystore2-V1-ndk",
"android.security.maintenance-ndk",
"libbinder_ndk",
"libkeymint_support",
@@ -180,6 +180,7 @@
defaults: [
"vold_default_flags",
"vold_default_libs",
+ "keystore2_use_latest_aidl_ndk_shared",
],
srcs: ["main.cpp"],
@@ -196,7 +197,6 @@
shared_libs: [
"android.hardware.health.storage@1.0",
"android.hardware.health.storage-V1-ndk",
- "android.system.keystore2-V1-ndk",
"android.security.maintenance-ndk",
"libbinder_ndk",
"libkeymint_support",