Skip to content

Commit

Permalink
Let _proto_include_paths return list instead of depset.
Browse files Browse the repository at this point in the history
  • Loading branch information
danfabi committed Jun 22, 2019
1 parent 5918dee commit 621701e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bazel/closure_grpc_web_library.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def _proto_include_path(proto):
return path

def _proto_include_paths(protos):
return depset([_proto_include_path(proto) for proto in protos])
return [_proto_include_path(proto) for proto in protos]

def _generate_closure_grpc_web_src_progress_message(name):
# TODO(yannic): Add a better message?
Expand All @@ -60,7 +60,7 @@ def _generate_closure_grpc_web_srcs(
"-I%s" % p
for p in _proto_include_paths(
[f for f in all_sources],
).to_list()
)
]

grpc_web_out_common_options = ",".join([
Expand Down

0 comments on commit 621701e

Please sign in to comment.