aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Galenson <jgalenson@google.com>2021-10-28 15:12:11 -0700
committerJoel Galenson <jgalenson@google.com>2021-10-28 15:13:18 -0700
commit30971e606ab52ee5cd9fad6c1de773c9496040f3 (patch)
tree79fda1be97f409126e04d8a81d71b95cc6c3852b
parent7ac9af49f2cc3a770e325c69a211d43af3deec76 (diff)
downloadcombine-30971e606ab52ee5cd9fad6c1de773c9496040f3.tar.gz
Add apex_available.
I migrated to a config file while I was at it. Test: None Change-Id: I7daeeb01a2a2a4202c2dd69f6c9df07ed26b97e7
-rw-r--r--Android.bp7
-rw-r--r--cargo2android.json9
2 files changed, 15 insertions, 1 deletions
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 @@ rust_library {
"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