aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-15 00:14:48 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-11-15 00:14:48 +0000
commitc90b5b652445996a7fc924b941052c38304932e1 (patch)
tree2408a87941b39f46b4cb2cbec30b2765d3d4805c
parent64696c60382d3da344e36673256c9a79edf63c50 (diff)
parent7c42c1a7fe595ad8a60a015eb5918cb9c05cb205 (diff)
downloadvirtio-vsock-android14-qpr2-release.tar.gz
Change-Id: I91edc68f6a110343896a5b2bf16df8858d7cd05b
-rw-r--r--Android.bp4
-rw-r--r--cargo2android.json6
-rw-r--r--cargo_embargo.json11
3 files changed, 12 insertions, 9 deletions
diff --git a/Android.bp b/Android.bp
index 8b0ce37..2c49229 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,8 +1,6 @@
-// This file is generated by cargo2android.py --config cargo2android.json.
+// This file is generated by cargo_embargo.
// Do not modify this file as changes will be overridden on upgrade.
-
-
rust_library_host {
name: "libvirtio_vsock",
crate_name: "virtio_vsock",
diff --git a/cargo2android.json b/cargo2android.json
deleted file mode 100644
index 4241aa2..0000000
--- a/cargo2android.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "run": true,
- "dep-suffixes": {
- "vm_memory": "_android"
- }
-} \ No newline at end of file
diff --git a/cargo_embargo.json b/cargo_embargo.json
new file mode 100644
index 0000000..7edff07
--- /dev/null
+++ b/cargo_embargo.json
@@ -0,0 +1,11 @@
+{
+ "module_name_overrides": {
+ "libvm_memory": "libvm_memory_android"
+ },
+ "package": {
+ "virtio-vsock": {
+ "device_supported": false
+ }
+ },
+ "run_cargo": false
+}