Files
mrziwang b1c8a14ff7 rustc_wrapper: fix over-stripping of paths in depfiles
rustc_wrapper strips out $ANDROID_BUILD_TOP when generating dep file.
When a rule is in sandbox, this $ANDROID_BUILD_TOP can be /src. If a
filepath is /src/path/src/lib.rs, only pathlib.rs is left, which is
incorrect. This CL ensures that the stripping only happens at the
beginning of each filepath.

Test: CI
Bug: 470112900
Change-Id: Ibd2d14674cb6697e2a0df30fb3e0e1c19c8a7a95
2026-02-19 11:28:43 -08:00
..
2026-01-29 18:36:13 -08:00