make the lib available to com.android.virt am: 3d1fbf19c2 am: 76007f3a3a am: 61d03f9b59
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/byteorder/+/1748603
Change-Id: I8c47d3d70c4cf3d4ef096fc922fd79dac00945d5
diff --git a/Android.bp b/Android.bp
index 3efba93..33ab447 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,4 +1,4 @@
-// This file is generated by cargo2android.py --run --device --dependencies.
+// This file is generated by cargo2android.py --config cargo2android.json.
// Do not modify this file as changes will be overridden on upgrade.
package {
@@ -48,4 +48,8 @@
"default",
"std",
],
+ apex_available: [
+ "//apex_available:platform",
+ "com.android.virt",
+ ],
}
diff --git a/cargo2android.json b/cargo2android.json
new file mode 100644
index 0000000..5c18d15
--- /dev/null
+++ b/cargo2android.json
@@ -0,0 +1,9 @@
+{
+ "apex-available": [
+ "//apex_available:platform",
+ "com.android.virt"
+ ],
+ "dependencies": true,
+ "device": true,
+ "run": true
+}