aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiyong Park <jiyong@google.com>2021-11-11 11:55:33 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-11-11 11:55:33 +0000
commit9bb117ca9de2a56430967841ba02ade8155328eb (patch)
treebf6623539f5e42b2fc6e5befa25d6f01b8b1e88a
parentc54b6d67a3eccddc74a30ac34fae8ae04df69393 (diff)
parent9adb3bcb5c7b71824c9cbca92786a6a9780eb128 (diff)
downloadremove_dir_all-9bb117ca9de2a56430967841ba02ade8155328eb.tar.gz
Update Android.bp with cargo2android.json am: dabeaa4ed7 am: bf2e620652 am: b08b0f46c9 am: 77a4359856 am: 9adb3bcb5c
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/remove_dir_all/+/1876694 Change-Id: If3c16bf5ae17e42ec6d59cf9de96c622181f7194
-rw-r--r--Android.bp21
-rw-r--r--cargo2android.json9
2 files changed, 30 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
new file mode 100644
index 0000000..47f33c2
--- /dev/null
+++ b/Android.bp
@@ -0,0 +1,21 @@
+// This file is generated by cargo2android.py --config cargo2android.json.
+// Do not modify this file as changes will be overridden on upgrade.
+
+
+
+rust_library {
+ name: "libremove_dir_all",
+ host_supported: true,
+ crate_name: "remove_dir_all",
+ cargo_env_compat: true,
+ cargo_pkg_version: "0.7.1-alpha.0",
+ srcs: ["src/lib.rs"],
+ edition: "2018",
+ rustlibs: [
+ "liblibc",
+ ],
+ 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
+}