Skip to content

Add option_deps to proto_library for import option. #21757

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented May 15, 2025

Add option_deps to proto_library for import option.

option_deps are passed to protoc as --option_dependencies for resolution of option imports, but should not be included in the outputted descriptor set or considered by _proto_library aspects (i.e. attr_aspects) for gencode output.

@copybara-service copybara-service bot force-pushed the test_743679882 branch 19 times, most recently from b66536d to a91ec61 Compare May 22, 2025 20:23
`option_deps` are passed to protoc as `--option_dependencies` for resolution of option imports, but should not be included in the outputted descriptor set or considered by <lang>_proto_library aspects (i.e. `attr_aspects`) for gencode output.

PiperOrigin-RevId: 743679882
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