summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2019-06-17 05:12:41 -0700
committergVisor bot <gvisor-bot@google.com>2019-06-17 05:13:55 -0700
commit99d286370d38c8e0426c20e326f5cee914785417 (patch)
tree8f71b695df1eb97795be99f59cda82efa0dda2fb
parenta8608c501b23f89ac3df50cde7428cb3c4b56145 (diff)
Internal change.
PiperOrigin-RevId: 253559564
-rw-r--r--tools/go_stateify/defs.bzl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/go_stateify/defs.bzl b/tools/go_stateify/defs.bzl
index 11ccfae44..aeba197e2 100644
--- a/tools/go_stateify/defs.bzl
+++ b/tools/go_stateify/defs.bzl
@@ -50,7 +50,7 @@ def _go_stateify_impl(ctx):
args += ["-imports=%s" % ",".join(ctx.attr.imports)]
args += ["--"]
for src in ctx.attr.srcs:
- args += [f.path for f in src.files]
+ args += [f.path for f in src.files.to_list()]
ctx.actions.run(
inputs = ctx.files.srcs,
outputs = [output],