commit | 7b03617a5452305278358e0c2fbf1f3854abc437 | [log] [tgz] |
---|---|---|
author | Per Larsen <perlarsen@google.com> | Thu Jul 06 22:59:34 2023 +0000 |
committer | Per Larsen <perlarsen@google.com> | Thu Jul 20 00:15:39 2023 +0000 |
tree | d8bf685889be2958c4695a0f8d6536e6d2bde856 | |
parent | 7845b265db43082e43f34551926dd8ac669a2c73 [diff] |
scripts: Add cargo2rulesmk.py to generate rules.mk Add script that generates rules.mk files from Rust crates. Based on and inspired by cargo2android.py script to generate blueprint files for the Android build system. The script has only been tested on the vendored crates used to build Trusty (see external/rust/crates) and does not support the full range of crate types or cargo features. Bug: 281857510 Change-Id: I1951f75476c36b9a1b794c4a51483f2c7387b1f5