-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixing dependencies of //external package #15134
Conversation
Thanks, I can start the merge on this |
The Lines 44 to 47 in 13ae2c6
and yeah, that won't necessarily exist in other workspaces |
Right. It seems to have been there for several years, but I don't understand why it exists in the first place. Also |
@ahumesky any progress? |
Looks like the reasoning is here: I can submit this now, thank you again! |
We need to query `kind('source file', deps(//external:*))` for sparse checkout, but were block by two issues: * `//external:remotejdk11_linux` depends on `tools/jdk/jdk.BUILD`, but it was not exported. Although this is not a problem for build, queries like `kind('source file', deps(//external:remotejdk11_linux))` would fail. * `//external:android_sdk_for_testing` is an alias for `//:dummy`, which is not available in other repositories. This also caused #8175. This pull request fixed both, including #8175. Closes #15134. PiperOrigin-RevId: 438605051
We need to query
kind('source file', deps(//external:*))
for sparse checkout, but were block by two issues://external:remotejdk11_linux
depends ontools/jdk/jdk.BUILD
, but it was not exported. Although this is not a problem for build, queries likekind('source file', deps(//external:remotejdk11_linux))
would fail.//external:android_sdk_for_testing
is an alias for//:dummy
, which is not available in other repositories. This also caused bazel query rdeps fails in//external
because//:dummy
target doesn't exist #8175.This pull request fixed both, including #8175.