diff options
author | Matthew Maurer <mmaurer@google.com> | 2023-06-26 17:18:41 +0000 |
---|---|---|
committer | Matthew Maurer <mmaurer@google.com> | 2023-06-26 17:18:41 +0000 |
commit | 6496eb0b6d057dd8f318ef96fd04e135918c1452 (patch) | |
tree | 0f2c3f386c338ca1d04af77463d7bbf3c5e65668 | |
parent | 437d15e78430af9b1e7f992a09993d9a6699e18f (diff) | |
download | miette-derive-6496eb0b6d057dd8f318ef96fd04e135918c1452.tar.gz |
Add initial c2a configuration.platform-tools-34.0.4
Test: TH
Bug: 288151817
Bug: 288129815
Change-Id: I5affe7d6ca7bb111fc68399c204f15417120aae6
-rw-r--r-- | Android.bp | 21 | ||||
-rw-r--r-- | cargo2android.json | 4 |
2 files changed, 25 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp new file mode 100644 index 0000000..b2d413f --- /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_proc_macro { + name: "libmiette_derive", + crate_name: "miette_derive", + cargo_env_compat: true, + cargo_pkg_version: "5.9.0", + srcs: ["src/lib.rs"], + edition: "2018", + rustlibs: [ + "libproc_macro2", + "libquote", + "libsyn", + ], + compile_multilib: "first", + product_available: true, + vendor_available: true, +} diff --git a/cargo2android.json b/cargo2android.json new file mode 100644 index 0000000..58e46ee --- /dev/null +++ b/cargo2android.json @@ -0,0 +1,4 @@ +{ + "host-first-multilib": true, + "run": true +} |