forked from bazelbuild/bazel
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Accept args object in create_proto_compile_action.
This is a better design than type-checking list elements. Only minor reordering of arguments is happening - additional parameters are added before `--proto_path`. Additional parameters are usually outputs related (--descriptor_set_out, --java_out). Callee can decide if additional parameters are put into a params file or not. Native calles don't at the moment. Alternative implementation would reuse additional_parameters, appending to it and creating a single params file. Not using params file for additional parameters and using it for the standard ones seems like the best choice for the sake of caching (params file matches for proto_library and lang_proto_libraries). PiperOrigin-RevId: 427112289
- Loading branch information
1 parent
6282ffe
commit 138a1cb
Showing
7 changed files
with
148 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.