Merge changes from topic "keymint-v3" into main

* changes:
  Declare previous version when using frozen HALs
  Set the proper FEATURE_HARDWARE_KEYSTORE version
This commit is contained in:
David Drysdale 2024-11-13 06:50:42 +00:00 committed by Gerrit Code Review
commit 014c710c27
2 changed files with 5 additions and 4 deletions

View file

@ -121,7 +121,7 @@ cc_binary {
"libutils", "libutils",
], ],
required: [ required: [
"android.hardware.hardware_keystore.xml", "android.hardware.hardware_keystore_V3.xml",
], ],
} }

View file

@ -42,9 +42,10 @@ rust_binary {
defaults: ["android.hardware.security.keymint-service.rust.trusty.default"], defaults: ["android.hardware.security.keymint-service.rust.trusty.default"],
init_rc: ["android.hardware.security.keymint-service.rust.trusty.rc"], init_rc: ["android.hardware.security.keymint-service.rust.trusty.rc"],
vintf_fragments: ["android.hardware.security.keymint-service.rust.trusty.xml"], vintf_fragments: ["android.hardware.security.keymint-service.rust.trusty.xml"],
required: [ required: select(release_flag("RELEASE_AIDL_USE_UNFROZEN"), {
"android.hardware.hardware_keystore.xml", true: ["android.hardware.hardware_keystore.xml"],
], default: ["android.hardware.hardware_keystore_V3.xml"],
}),
} }
rust_binary { rust_binary {