As of Bazel 0.27.0, depset is no longer iterable.

This commit is contained in:
Daniel Bader 2019-06-22 16:28:56 +02:00 committed by Stanley Cheung
parent ed2c747a34
commit d74c3f0abf
1 changed files with 2 additions and 2 deletions

View File

@ -55,12 +55,12 @@ def _generate_closure_grpc_web_srcs(
mode,
sources,
transitive_sources):
all_sources = [src for src in sources] + [src for src in transitive_sources]
all_sources = [src for src in sources] + [src for src in transitive_sources.to_list()]
proto_include_paths = [
"-I%s" % p
for p in _proto_include_paths(
[f for f in all_sources],
)
).to_list()
]
grpc_web_out_common_options = ",".join([