aboutsummaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp22
1 files changed, 3 insertions, 19 deletions
diff --git a/Android.bp b/Android.bp
index 1cdd044..47abc03 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1,4 +1,4 @@
-// This file is generated by cargo2android.py --run --dependencies --tests.
+// This file is generated by cargo2android.py --config cargo2android.json.
// Do not modify this file as changes will be overridden on upgrade.
package {
@@ -21,6 +21,8 @@ license {
rust_proc_macro {
name: "libtokio_macros",
crate_name: "tokio_macros",
+ cargo_env_compat: true,
+ cargo_pkg_version: "1.7.0",
srcs: ["src/lib.rs"],
edition: "2018",
rustlibs: [
@@ -29,21 +31,3 @@ rust_proc_macro {
"libsyn",
],
}
-
-rust_test_host {
- name: "tokio-macros_host_test_src_lib",
- crate_name: "tokio_macros",
- srcs: ["src/lib.rs"],
- test_suites: ["general-tests"],
- auto_gen_config: true,
- test_options: {
- unit_test: true,
- },
- edition: "2018",
- rustlibs: [
- "libproc_macro2",
- "libquote",
- "libsyn",
- "libtokio",
- ],
-}