summaryrefslogtreecommitdiff
path: root/java/java.go
diff options
context:
space:
mode:
author Spandan Das <spandandas@google.com> 2023-09-28 21:23:30 +0000
committer Spandan Das <spandandas@google.com> 2023-09-29 21:04:30 +0000
commitdc7d7f755707f063de7bc789bface069bbc1fa56 (patch)
tree8720218f92d4db89f1d64ef3a0dddf559153cfaf /java/java.go
parentc38757d0c02059f9dd3958f451c4d034430f0c2e (diff)
Handle symlinks in isPackageBoundary
isPackageBoundary looks at ShouldKeepExistingFile before checking if that directory contains a BUILD file or not. ShouldKeepExistingFile should be complemented with a isSymlink check. This is necessary because we copy all symlinks to the synthetic workspace, and the resolved symlink might point to a directory containing a BUILD file. This additional clause is redundant if the directory has been allowlisted for keepExistingBuildFile (e.g. build/bazel, recursive) Test: b build //bionic/libc:versioner-dependencies (top of stack) Change-Id: I5b23262f89ea34a78de4ccade6d27e4c5dd95c2e
Diffstat (limited to 'java/java.go')
0 files changed, 0 insertions, 0 deletions