Skip to content

Commit

Permalink
fix: correctly pass transitive dependencies (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbatashev authored Jan 14, 2024
1 parent 264bbb3 commit 01bec0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/private/actions/strip.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def _cpp_strip_objects_impl(ctx, inputs, feature_config, toolchain):

ctx.actions.run(
outputs = [outfile],
inputs = depset([obj], transitive = toolchain.all_files),
inputs = depset([obj], transitive = [toolchain.all_files]),
executable = strip,
arguments = [args],
mnemonic = "CppStripObject",
Expand All @@ -48,7 +48,7 @@ def _cpp_strip_binary_impl(ctx, input, output, feature_config, toolchain):

ctx.actions.run(
outputs = [output],
inputs = depset([input], transitive = toolchain.all_files),
inputs = depset([input], transitive = [toolchain.all_files]),
executable = strip,
arguments = [args],
mnemonic = "CppStripBinary",
Expand Down

0 comments on commit 01bec0f

Please sign in to comment.