summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaurice Lam <yukl@google.com>2023-02-14 20:04:27 +0000
committerMaurice Lam <yukl@google.com>2023-02-15 19:49:58 +0000
commit73afd77d00f815981f3994544fbef0c5fc692cad (patch)
tree7dbf8a0d85c4b9cf086084516ec5e062800b2dba
parent548a0c8be03c50e4ed569f05a6d9082a448a678b (diff)
downloadinflector-73afd77d00f815981f3994544fbef0c5fc692cad.tar.gz
Run cargo2android on inflector
Bug: 267375624 Test: m libinflector Change-Id: If93b2405cc15ca2e9a2db0998a0f6848436f417d
-rw-r--r--Android.bp23
-rw-r--r--cargo2android.json3
2 files changed, 26 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
new file mode 100644
index 0000000..d8cedfc
--- /dev/null
+++ b/Android.bp
@@ -0,0 +1,23 @@
+// 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: "libinflector",
+ crate_name: "inflector",
+ cargo_env_compat: true,
+ cargo_pkg_version: "0.11.4",
+ srcs: ["src/lib.rs"],
+ edition: "2015",
+ features: [
+ "default",
+ "heavyweight",
+ "lazy_static",
+ "regex",
+ ],
+ rustlibs: [
+ "liblazy_static",
+ "libregex",
+ ],
+}
diff --git a/cargo2android.json b/cargo2android.json
new file mode 100644
index 0000000..958632b
--- /dev/null
+++ b/cargo2android.json
@@ -0,0 +1,3 @@
+{
+ "run": true
+} \ No newline at end of file