Bazel: Fix another usage of tools in action inputs
See I744ae1b28 for why this is necessary. One of the usages was missed
and hence it's corrected with this change.
Tested via running
$ bazel build //...
before (-> build error) and after (-> build success) this change.
Change-Id: I8df26f7b03ea6d261e543883a840a4dbb74dc0c0
(cherry picked from commit 287e860b82)
			
			
This commit is contained in:
		
				
					committed by
					
						
						David Pursehouse
					
				
			
			
				
	
			
			
			
						parent
						
							831c1ade1d
						
					
				
				
					commit
					cb04e1a6f7
				
			@@ -115,8 +115,9 @@ def _asciidoc_impl(ctx):
 | 
				
			|||||||
    ]
 | 
					    ]
 | 
				
			||||||
    args.extend(_generate_asciidoc_args(ctx))
 | 
					    args.extend(_generate_asciidoc_args(ctx))
 | 
				
			||||||
    ctx.actions.run(
 | 
					    ctx.actions.run(
 | 
				
			||||||
        inputs = ctx.files.srcs + [ctx.executable._exe, ctx.file.version],
 | 
					        inputs = ctx.files.srcs + [ctx.file.version],
 | 
				
			||||||
        outputs = ctx.outputs.outs,
 | 
					        outputs = ctx.outputs.outs,
 | 
				
			||||||
 | 
					        tools = [ctx.executable._exe],
 | 
				
			||||||
        executable = ctx.executable._exe,
 | 
					        executable = ctx.executable._exe,
 | 
				
			||||||
        arguments = args,
 | 
					        arguments = args,
 | 
				
			||||||
        progress_message = "Rendering asciidoctor files for %s" % ctx.label.name,
 | 
					        progress_message = "Rendering asciidoctor files for %s" % ctx.label.name,
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user