Files
build_soong/rust
Matthew Maurer db72f7ed80 rust: Resolve crate roots outside rust-project
Previously, we manually re-computed crate roots inside project_json for
rendering rust-project.json. In addition to added complexity, this meant
that generated sources and glob sources would not render correctly - it
would select e.g. `src/**.rs` or `:foo` as a crate root.

Use a centralized computation of crate roots instead.

Bug: 309943184
Test: SOONG_GEN_RUST_PROJECT=1 m nothing, compare rust-project.json
Change-Id: I0caddbf600d025a0041f45e69812cdd6f1761234
2023-11-22 00:52:34 +00:00
..
2023-10-30 14:15:31 -07:00
2023-03-31 17:55:16 -04:00
2020-08-13 15:58:09 +02:00
2023-05-19 20:31:32 +00:00
2022-07-28 06:57:26 -07:00
2020-11-19 20:02:34 +01:00