Skip to content

Commit

Permalink
support $(location ...) resolution of compile_data in build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
dae committed Dec 10, 2020
1 parent cc07f19 commit 70109da
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cargo/cargo_build_script.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,8 @@ def _build_script_impl(ctx):
env.update(expand_locations(
ctx,
ctx.attr.build_script_env,
getattr(ctx.attr, "data", []),
getattr(ctx.attr, "data", []) +
getattr(ctx.attr, "compile_data", []),
))

tools = depset(
Expand Down

0 comments on commit 70109da

Please sign in to comment.