aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Android.bp4
-rw-r--r--cargo2android.json4
2 files changed, 8 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 2f1fb3d..83c7cf4 100644
--- a/Android.bp
+++ b/Android.bp
@@ -96,4 +96,8 @@ rust_library_rlib {
"derive_arbitrary",
],
proc_macros: ["libderive_arbitrary"],
+ apex_available: [
+ "com.android.uwb",
+ ],
+ min_sdk_version: "Tiramisu",
}
diff --git a/cargo2android.json b/cargo2android.json
index 8c95f8e..47d3147 100644
--- a/cargo2android.json
+++ b/cargo2android.json
@@ -1,8 +1,12 @@
{
+ "apex_available": [
+ "com.android.uwb"
+ ],
"dependencies": true,
"device": true,
"features": "derive",
"force-rlib": true,
+ "min_sdk_version": "Tiramisu",
"run": true,
"tests": true
} \ No newline at end of file