aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Maurer <mmaurer@google.com>2023-06-26 17:09:49 +0000
committerMatthew Maurer <mmaurer@google.com>2023-06-26 17:09:49 +0000
commit077b56456800c27156194c6185c7e3411840ed71 (patch)
treed236a322f7e36ce5e3ce2681b557e2f454580071
parent0694d0de1803d08187bd0a7532cdea07abac259e (diff)
downloadmiette-platform-tools-34.0.4.tar.gz
Add initial c2a configuration.platform-tools-34.0.4
Test: TH Bug: 288151817 Bug: 288129815 Change-Id: I6f2c60bd093987e7ab1d83954223517b99a21159
-rw-r--r--Android.bp21
-rw-r--r--cargo2android.json4
2 files changed, 25 insertions, 0 deletions
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
+}