@@ -117,8 +117,7 @@ def _compile(
117
117
of the command line.
118
118
additional_tools: (list[File]) Additional tools to add to the action.
119
119
additional_inputs: (Depset[File]) Additional input files to add to the action.
120
- resource_set:
121
- (func) A callback function that is passed to the created action.
120
+ resource_set: (func) A callback function that is passed to the created action.
122
121
See `ctx.actions.run`, `resource_set` parameter for full definition of
123
122
the callback.
124
123
experimental_progress_message: Overrides progres_message from the toolchain.
@@ -212,11 +211,9 @@ def _experimental_should_generate_code(
212
211
shouldn't generate code.
213
212
214
213
Args:
215
- proto_library_target:
216
- (Target) The proto_library to generate the sources for.
214
+ proto_library_target: (Target) The proto_library to generate the sources for.
217
215
Obtained as the `target` parameter from an aspect's implementation.
218
- proto_lang_toolchain_info:
219
- (ProtoLangToolchainInfo) The proto lang toolchain info.
216
+ proto_lang_toolchain_info: (ProtoLangToolchainInfo) The proto lang toolchain info.
220
217
Obtained from a `proto_lang_toolchain` target or constructed ad-hoc.
221
218
rule_name: (str) Name of the rule used in the failure message.
222
219
@@ -252,10 +249,8 @@ def _declare_generated_files(
252
249
declares new output files.
253
250
254
251
Args:
255
- actions:
256
- (ActionFactory) Obtained by ctx.actions, used to declare the files.
257
- proto_library_target:
258
- (Target) The proto_library to generate the files for.
252
+ actions: (ActionFactory) Obtained by ctx.actions, used to declare the files.
253
+ proto_library_target: (Target) The proto_library to generate the files for.
259
254
Obtained as the `target` parameter from an aspect's implementation.
260
255
extension: (str) The extension to use for generated files.
261
256
name_mapper: (str->str) A function mapped over the base filename without
0 commit comments