Allow multiple Cargo build targets with different configurations
This moves the build output for a cargo_crate into a subdirectory named
after the GN build target so that BUILD.gn can list multiple GN targets
that build the same files in different ways (with different features
enabled).
The unit test file is also named such that the build target is included
in it.
[email protected]
Bug: 1296669
Change-Id: Ic08ef45aa99d949e9cc581c119a95f6dedde0888
Cq-Include-Trybots: luci.chromium.try:linux-rust-x64-rel,android-rust-arm-rel
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3497920
Reviewed-by: Adrian Taylor <[email protected]>
Reviewed-by: Nico Weber <[email protected]>
Commit-Queue: danakj <[email protected]>
Cr-Commit-Position: refs/heads/main@{#977902}
NOKEYCHECK=True
GitOrigin-RevId: 5c8e1e3178e40da3ccf4171567a5d1f42e5aeb43
1 file changed