Skip to content

Commit

Permalink
Update tools/build_defs/framework.bzl
Browse files Browse the repository at this point in the history
Use attrs instead of ctx.attr to access tools_deps
  • Loading branch information
jsharpe authored Nov 20, 2020
1 parent b607e4d commit df637fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/build_defs/framework.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ def cc_external_rule_impl(ctx, attrs):
if "requires-network" in ctx.attr.tags:
execution_requirements = {"requires-network": ""}

inputs_from_tools, manifests_from_tools = ctx.resolve_tools(tools = ctx.attr.tools_deps)
inputs_from_tools, manifests_from_tools = ctx.resolve_tools(tools = attrs.tools_deps)

ctx.actions.run_shell(
mnemonic = "Cc" + attrs.configure_name.capitalize() + "MakeRule",
Expand Down

0 comments on commit df637fd

Please sign in to comment.