aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElie Kheirallah <khei@google.com>2022-11-07 21:34:47 +0000
committerElie Kheirallah <khei@google.com>2022-11-07 22:10:21 +0000
commite733e371f7f3f2c6fe4a18f48ea3de75ae6eeb12 (patch)
tree1d7937e9565f45a80718ecea77c54abadcf8b645
parent555ca75099f33ac1714eff5e314fe7e31bdf1fb0 (diff)
downloaddocument-features-e733e371f7f3f2c6fe4a18f48ea3de75ae6eeb12.tar.gz
Run cargo2android
Bug: N/A Test: N/A Change-Id: I61718cff6353306785206d6b6fafab87d8512d0c
-rw-r--r--Android.bp17
-rw-r--r--cargo2android.json3
2 files changed, 20 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
new file mode 100644
index 0000000..ba1c196
--- /dev/null
+++ b/Android.bp
@@ -0,0 +1,17 @@
+// 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: "libdocument_features",
+ crate_name: "document_features",
+ cargo_env_compat: true,
+ cargo_pkg_version: "0.2.6",
+ srcs: ["lib.rs"],
+ edition: "2018",
+ features: ["default"],
+ rustlibs: [
+ "liblitrs",
+ ],
+}
diff --git a/cargo2android.json b/cargo2android.json
new file mode 100644
index 0000000..1d33ddd
--- /dev/null
+++ b/cargo2android.json
@@ -0,0 +1,3 @@
+{
+ "run": true
+}