Change information
Commit message:
Fix ArtifactFactory.getPathFromSourceExecPath for external repos (https://github.com/bazelbuild/bazel/pull/29657)
This function is only called for include scanning, which isn't used
widely externally today. Previously if a source file was from an
external repo it would not be correctly found by this function, which
assumed all source files are relative to the workspace.
Closes #29657.
PiperOrigin-RevId: 924751755
Change-Id: Ifadb17823a3247b98cbeea13c98e31b05de8e19e
Files:
- M src/main/java/com/google/devtools/build/lib/actions/ArtifactFactory.java
- M src/test/java/com/google/devtools/build/lib/actions/ArtifactFactoryTest.java
Change size: M
Delta: 2 files changed, 53 insertions(+), 3 deletions(-)
Branch: refs/heads/master