aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Walbran <qwandor@google.com>2023-11-08 20:30:16 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2023-11-08 20:30:16 +0000
commitc458a2a39bdc52c6a4b2f713842d6c1816004978 (patch)
treedfd848df1db383df7948d6919049590506e3838e
parent2484bfdafca23cbcc9f39759a6932be316cf6a6d (diff)
parent81e3d28e13c26e7291d1ba83b2901c49269a631b (diff)
downloadepoll-c458a2a39bdc52c6a4b2f713842d6c1816004978.tar.gz
Migrate to cargo_embargo. am: e272649c8b am: bbf2285b4b am: 81e3d28e13
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/epoll/+/2822239 Change-Id: I8c6e48e4c6598539828fe76f42feefa8fcc04b14 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--Android.bp4
-rw-r--r--cargo2android.json3
-rw-r--r--cargo_embargo.json8
3 files changed, 9 insertions, 6 deletions
diff --git a/Android.bp b/Android.bp
index bcdf547..a97ae47 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: "libepoll",
crate_name: "epoll",
diff --git a/cargo2android.json b/cargo2android.json
deleted file mode 100644
index 958632b..0000000
--- a/cargo2android.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "run": true
-} \ No newline at end of file
diff --git a/cargo_embargo.json b/cargo_embargo.json
new file mode 100644
index 0000000..8eefd60
--- /dev/null
+++ b/cargo_embargo.json
@@ -0,0 +1,8 @@
+{
+ "package": {
+ "epoll": {
+ "device_supported": false
+ }
+ },
+ "run_cargo": false
+}