diff options
-rw-r--r-- | Android.bp | 21 | ||||
-rw-r--r-- | cargo2android.json | 9 |
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 +} |