Add initial c2a configuration.
Test: TH
Bug: 288151817
Bug: 288129815
Change-Id: I6f2c60bd093987e7ab1d83954223517b99a21159
diff --git a/Android.bp b/Android.bp
new file mode 100644
index 0000000..d7d79b9
--- /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_host {
+ name: "libmiette",
+ crate_name: "miette",
+ cargo_env_compat: true,
+ cargo_pkg_version: "5.9.0",
+ srcs: ["src/lib.rs"],
+ edition: "2018",
+ features: ["default"],
+ rustlibs: [
+ "libonce_cell",
+ "libthiserror",
+ "libunicode_width",
+ ],
+ proc_macros: ["libmiette_derive"],
+ 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
+}