Add apex_available. am: 30971e606a am: f978313c50 am: 84edd76b73 am: 402dc4af73 am: 0092410044
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/combine/+/1874614
Change-Id: I31a6b2e4ac229345fbd5173223eb554d63f1f3a4
diff --git a/Android.bp b/Android.bp
index 444ea9f..cd451c5 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,4 +1,4 @@
-// This file is generated by cargo2android.py --run --device.
+// This file is generated by cargo2android.py --config cargo2android.json.
// Do not modify this file as changes will be overridden on upgrade.
package {
@@ -36,4 +36,9 @@
"libbytes",
"libmemchr",
],
+ apex_available: [
+ "//apex_available:platform",
+ "com.android.uwb",
+ ],
+ min_sdk_version: "29",
}
diff --git a/cargo2android.json b/cargo2android.json
new file mode 100644
index 0000000..8d76784
--- /dev/null
+++ b/cargo2android.json
@@ -0,0 +1,9 @@
+{
+ "apex-available": [
+ "//apex_available:platform",
+ "com.android.uwb"
+ ],
+ "device": true,
+ "min_sdk_version": "29",
+ "run": true
+}
\ No newline at end of file