Data dependencies make reference to workspace #22162
Labels
team-Documentation
Documentation improvements that cannot be directly linked to other team labels
team-ExternalDeps
External dependency handling, remote repositiories, WORKSPACE file.
type: documentation (cleanup)
untriaged
Page link:
https://bazel.build/concepts/dependencies#data-dependencies
Problem description (include actual vs expected text, if applicable):
The page in the link reads
The reference to
workspace
in this link would make you believe that you can make a reference to any workspace, including the workspace for any dependency.Eg. Say you have a dependency
foo
. This dependency has aBUILD
file at the root that readsSay that
@foo//:bar
contains 1000s of files.Then you have a
cc_test
that you would like to use the files from@foo//:bar
.then following the doc, I would expect for
${TEST_SRCDIR}/foo/man
to be reference to the man directory in@foo//:bar
(for completeness, say that the workspace name of@foo
is"foo"
).This is not the case (and my understanding is that this is not the expected behaviour).
Where do you see this issue? (include link to specific section of the page, if applicable)
No response
Any other information you'd like to share?
No response
The text was updated successfully, but these errors were encountered: