Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Please tries to trim a BUILD file down when exporting so that we only have the targets that are actually needed by the exported target. Build definitions can produce multiple targets, so when we depend on a target, Please needs to figure out which build rule produced it. The way plz export figures this out is through the parent/child naming convention i.e.
:_{name}#{tag}
is a child of:{name}
. When we depend on:_foo#tag
, we know we need to keep `xxx_xxx(name="foo").When the build definition doesn't follow this convention, Please will erroneously trim out targets. This flag allows us to opt out of this behaviour. We may end up with more targets that necessary, and they won't build because we don't export their deps, but at least the targets we do export are guaranteed to work.