From 8b3b918ebd55911a3102f5ea6da60906fa63c866 Mon Sep 17 00:00:00 2001 From: Lukacs Berki Date: Thu, 14 Apr 2016 08:29:05 +0000 Subject: Add the --grpc_port startup option and start a Java server if it's passed in. Note that the presence of server/grpc_port does not guarantee that the server actually listens to it and we can't guarantee it, either, because it can always be kill -9'd. I haven't decided yet how the transition between AF_UNIX and gRPC will work. For now, I'm happy that we can start up a Java server. The way to get the kernel-chosen port is truly awful, but it is apparently impossible to do so in a different way: https://github.com/grpc/grpc-java/issues/72 -- MOS_MIGRATED_REVID=119828354 --- third_party/grpc/BUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'third_party/grpc') diff --git a/third_party/grpc/BUILD b/third_party/grpc/BUILD index a635ebc6f5..6198630bba 100644 --- a/third_party/grpc/BUILD +++ b/third_party/grpc/BUILD @@ -5,6 +5,7 @@ package(default_visibility = ["//visibility:public"]) java_import( name = "grpc-jar", jars = ["grpc-all-0.13.2.jar"], + runtime_deps = ["//third_party:netty"], ) filegroup( @@ -438,7 +439,7 @@ cc_library( ], copts = [ "-std=gnu99", - "-w", + "-Wno-implicit-function-declaration", ], includes = [ ".", @@ -570,7 +571,6 @@ cc_library( "include/grpc++/support/sync_stream.h", "include/grpc++/support/time.h", ], - copts = ["-w"], includes = [ ".", "include", -- cgit v1.2.3