Skip to content

Commit

Permalink
third_party/org_golang_google_grpc: fix android build (#1684)
Browse files Browse the repository at this point in the history
Signed-off-by: Steeve Morin <steeve.morin@gmail.com>
  • Loading branch information
steeve authored and Jay Conrod committed Sep 5, 2018
1 parent 4471b66 commit 3a5a0ff
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ go_library(
"//credentials:go_default_library",
"//grpclog:go_default_library",
] + select({
"@io_bazel_rules_go//go/platform:android": [
"@org_golang_x_sys//unix:go_default_library",
],
"@io_bazel_rules_go//go/platform:linux": [
"@org_golang_x_sys//unix:go_default_library",
],
Expand All @@ -29,6 +32,9 @@ go_test(
srcs = ["util_test.go"],
embed = [":go_default_library"],
deps = select({
"@io_bazel_rules_go//go/platform:android": [
"@org_golang_x_sys//unix:go_default_library",
],
"@io_bazel_rules_go//go/platform:linux": [
"@org_golang_x_sys//unix:go_default_library",
],
Expand Down

0 comments on commit 3a5a0ff

Please sign in to comment.