From 56d3d718911749bb96fe97ef850bdf75e2290a39 Mon Sep 17 00:00:00 2001 From: Michael Case Date: Fri, 29 Jun 2018 14:21:35 -0700 Subject: Internal Change. PiperOrigin-RevId: 202706517 --- tensorflow/BUILD | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'tensorflow/BUILD') diff --git a/tensorflow/BUILD b/tensorflow/BUILD index 233fe21fbf..0bce474dfa 100644 --- a/tensorflow/BUILD +++ b/tensorflow/BUILD @@ -590,10 +590,16 @@ py_library( cc_library( name = "grpc", - deps = ["@grpc"], + deps = select({ + ":linux_s390x": ["@grpc//:grpc_unsecure"], + "//conditions:default": ["@grpc"], + }), ) cc_library( name = "grpc++", - deps = ["@grpc//:grpc++"], + deps = select({ + ":linux_s390x": ["@grpc//:grpc++_unsecure"], + "//conditions:default": ["@grpc//:grpc++"], + }), ) -- cgit v1.2.3