diff options
author | Matthew Maurer <mmaurer@google.com> | 2023-06-26 17:13:06 +0000 |
---|---|---|
committer | Matthew Maurer <mmaurer@google.com> | 2023-06-26 17:13:06 +0000 |
commit | b9a6e87c47fc3afcf9535a82aa33ed02be0d5938 (patch) | |
tree | 14e802ae5fa3908cfc1158f0ba4653b22987f16b | |
parent | 337f08fd6d3a59c3f4446e7736fd9a2da19cb1b6 (diff) | |
download | moveit-b9a6e87c47fc3afcf9535a82aa33ed02be0d5938.tar.gz |
Add initial c2a configuration
Test: TH
Bug: 288151817
Bug: 288129815
Change-Id: I79f31434624c9287e627930b1f40780f1aee2cf8
-rw-r--r-- | Android.bp | 22 | ||||
-rw-r--r-- | cargo2android.json | 4 |
2 files changed, 26 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp new file mode 100644 index 0000000..731c173 --- /dev/null +++ b/Android.bp @@ -0,0 +1,22 @@ +// 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: "libmoveit", + crate_name: "moveit", + cargo_env_compat: true, + cargo_pkg_version: "0.5.1", + srcs: ["src/lib.rs"], + edition: "2018", + features: [ + "alloc", + "cxx", + ], + rustlibs: [ + "libcxx", + ], + product_available: true, + vendor_available: true, +} diff --git a/cargo2android.json b/cargo2android.json new file mode 100644 index 0000000..afd502e --- /dev/null +++ b/cargo2android.json @@ -0,0 +1,4 @@ +{ + "features": "cxx,alloc", + "run": true +} |