Replace uid_to_android_user with libcutils_bindgen.
Fixes: 175619259
Test: keystore2_test
Change-Id: Ib105ae39c73edfcdd61c8428695e853232756298
diff --git a/keystore2/Android.bp b/keystore2/Android.bp
index c69774d..7d2d8de 100644
--- a/keystore2/Android.bp
+++ b/keystore2/Android.bp
@@ -39,6 +39,7 @@
"android.system.keystore2-V1-rust",
"libanyhow",
"libbinder_rs",
+ "libcutils_bindgen",
"libkeystore2_aaid-rust",
"libkeystore2_apc_compat-rust",
"libkeystore2_crypto_rust",
@@ -54,6 +55,9 @@
"librusqlite",
"libthiserror",
],
+ shared_libs: [
+ "libcutils",
+ ],
}
rust_library {