We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6083a6d commit bf2330dCopy full SHA for bf2330d
lib/private/expand_template.bzl
@@ -60,8 +60,21 @@ def _expand_template_impl(ctx):
60
)
61
62
all_outs = [output]
63
- runfiles = ctx.runfiles(files = all_outs)
64
- return [DefaultInfo(files = depset(all_outs), runfiles = runfiles)]
+
+ runfiles = ctx.runfiles(
65
+ files = all_outs,
66
+ transitive_files = depset(transitive = [
67
+ target[DefaultInfo].files
68
+ for target in ctx.attr.data
69
+ ]),
70
+ )
71
+ return [DefaultInfo(
72
+ files = depset(all_outs),
73
+ runfiles = runfiles.merge_all([
74
+ target[DefaultInfo].default_runfiles
75
76
77
+ )]
78
79
expand_template_lib = struct(
80
doc = """Template expansion
0 commit comments