File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,6 @@ set -uo pipefail
68
68
"." ,
69
69
short_paths = True ,
70
70
extra_options = options ,
71
- resolve_tools = False ,
72
71
)
73
72
all_inputs += cmd_inputs
74
73
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ def build_protoc_args(
14
14
extra_options = [],
15
15
extra_protoc_args = [],
16
16
short_paths = False ,
17
- resolve_tools = True ):
17
+ resolve_tools = None ):
18
18
"""
19
19
Build the args for a protoc invocation.
20
20
@@ -38,18 +38,16 @@ def build_protoc_args(
38
38
39
39
"""
40
40
41
+ if resolve_tools != None :
42
+ print ("WARNING: build_protoc_args: Ignored legacy resolve_tools argument set to {}" .format (resolve_tools ))
43
+
41
44
# Specify path getter
42
45
get_path = _short_path if short_paths else _path
43
46
44
47
# Build inputs and manifests list
45
48
inputs = []
46
49
input_manifests = []
47
50
48
- if plugin .tool and resolve_tools :
49
- plugin_runfiles , plugin_input_manifests = ctx .resolve_tools (tools = [plugin .tool ])
50
- inputs += plugin_runfiles .to_list ()
51
- input_manifests += plugin_input_manifests
52
-
53
51
inputs += plugin .data
54
52
55
53
# Get plugin name
You can’t perform that action at this time.
0 commit comments