tanzanite: Switch to stock keymint interface

* Based on XagaForge/android_device_xiaomi_mt6895-common@1670141,
  but instead of disabling dependencies, replace with the stock keymint V3 interface.

Signed-off-by: Nathan <nathannxx@proton.me>
This commit is contained in:
2026-02-07 16:00:36 +01:00
parent 02054603a1
commit 75a8f45b64
4 changed files with 28 additions and 1 deletions
+27 -1
View File
@@ -1482,6 +1482,32 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "android.hardware.security.keymint-V3-ndk-v34",
owner: "xiaomi",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/android.hardware.security.keymint-V3-ndk-v34.so",
],
shared_libs: [
"libbinder_ndk",
"android.hardware.security.secureclock-V1-ndk",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "com.xiaomi.plugin.capbokeh",
owner: "xiaomi",
@@ -29364,7 +29390,7 @@ cc_prebuilt_binary {
"libhardware",
"libhidlbase",
"android.hardware.keymaster@4.0",
"android.hardware.security.keymint-V4-ndk",
"android.hardware.security.keymint-V3-ndk-v34",
"android.hardware.security.sharedsecret-V1-ndk",
"android.hardware.security.secureclock-V1-ndk",
"lib_android_keymaster_keymint_utils",