Skip to content
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

add gen_rule outputs into proto_library dependency #1051

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

noanswer
Copy link
Contributor

@noanswer noanswer commented Jan 6, 2025

Proto_library can depends on gen_rule. By this rule, we want to add some config deps in proto_library by gen_rule. However, when the gen_rule is built incrementally, the proto is not trigger to recompile.

By looking at the generated ninja file, the outs of gen_rule are not configured in the dependencies of the proto compilation command.

Here I add gen_rule's outputs to proto's directory depdency to resolve this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant