aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElie Kheirallah <khei@google.com>2022-11-08 17:19:36 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2022-11-08 17:19:36 +0000
commit8fa25ab04411433a5dacdb2f35df1eb3d0a0e2dc (patch)
treec6f4b7f32bccc6dc8415052d97c83ced240c3310
parentf01b76808a669a24a5bd2dfc072c1d7341485337 (diff)
parente3b5eaf3f79073ccce5ce0823c71204b663cc7c2 (diff)
downloadstatic_assertions-8fa25ab04411433a5dacdb2f35df1eb3d0a0e2dc.tar.gz
Merge "Run cargo2android"
-rw-r--r--Android.bp17
-rw-r--r--cargo2android.json6
2 files changed, 23 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
new file mode 100644
index 0000000..e9a0597
--- /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_library_rlib {
+ name: "libstatic_assertions",
+ host_supported: true,
+ crate_name: "static_assertions",
+ cargo_env_compat: true,
+ srcs: ["src/lib.rs"],
+ edition: "2015",
+ apex_available: [
+ "//apex_available:platform",
+ "//apex_available:anyapex",
+ ],
+}
diff --git a/cargo2android.json b/cargo2android.json
new file mode 100644
index 0000000..953a143
--- /dev/null
+++ b/cargo2android.json
@@ -0,0 +1,6 @@
+{
+ "device": true,
+ "force-rlib": true,
+ "no_pkg_vers": true,
+ "run": true
+}