aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Android.bp5
-rw-r--r--cargo2android.json7
2 files changed, 11 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp
index d4d4930..8ee540c 100644
--- a/Android.bp
+++ b/Android.bp
@@ -38,4 +38,9 @@ rust_library {
"libparking_lot",
"libprotobuf",
],
+ apex_available: [
+ "//apex_available:platform",
+ "com.android.bluetooth",
+ ],
+ min_sdk_version: "29",
}
diff --git a/cargo2android.json b/cargo2android.json
index 5af2dde..001bc3e 100644
--- a/cargo2android.json
+++ b/cargo2android.json
@@ -1,5 +1,10 @@
{
+ "apex-available": [
+ "//apex_available:platform",
+ "com.android.bluetooth"
+ ],
"device": true,
"features": "protobuf,protobuf-codec",
+ "min-sdk-version": "29",
"run": true
-} \ No newline at end of file
+}