Skip to content

Commit

Permalink
Merge pull request grpc#14011 from apolcyn/avoid_ares_on_windows
Browse files Browse the repository at this point in the history
Correct a usage of select in grpc_build_system
  • Loading branch information
apolcyn authored Jan 12, 2018
2 parents a01e040 + 9df154c commit 9490b0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bazel/grpc_build_system.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ def _get_external_deps(external_deps):
ret = []
for dep in external_deps:
if dep == "nanopb":
ret.append("//third_party/nanopb")
ret += ["//third_party/nanopb"]
elif dep == "cares":
ret += select({"//:grpc_no_ares": [],
"//conditions:default": ["//external:cares"],})
else:
ret.append("//external:" + dep)
ret += ["//external:" + dep]
return ret

def _maybe_update_cc_library_hdrs(hdrs):
Expand Down

0 comments on commit 9490b0e

Please sign in to comment.