Clone the KeyMint device to customize it
In order to make modifications, pull in our own copy of the KeyMint
device from the reference implementation.
Bug: 190578423
Test: atest MicrodroidHostTestCases
Change-Id: I2671a0faf0f354a681ab2c988ecedb94b7adeb4b
diff --git a/microdroid/keymint/Android.bp b/microdroid/keymint/Android.bp
index 5867900..5a87145 100644
--- a/microdroid/keymint/Android.bp
+++ b/microdroid/keymint/Android.bp
@@ -16,6 +16,7 @@
],
shared_libs: [
"android.hardware.security.keymint-V1-ndk_platform",
+ "lib_android_keymaster_keymint_utils",
"libbase",
"libbinder_ndk",
"libcppbor_external",
@@ -26,7 +27,11 @@
"libpuresoftkeymasterdevice",
"libutils",
],
+ local_include_dirs: [
+ "include",
+ ],
srcs: [
+ "MicrodroidKeyMintDevice.cpp",
"service.cpp",
],
}