aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/grpc/BUILD
diff options
context:
space:
mode:
authorGravatar Lukacs Berki <lberki@google.com>2016-04-14 08:29:05 +0000
committerGravatar Dmitry Lomov <dslomov@google.com>2016-04-14 11:11:15 +0000
commit8b3b918ebd55911a3102f5ea6da60906fa63c866 (patch)
tree5441d1a77d4f89a3450523979b49f8aa63fe4596 /third_party/grpc/BUILD
parent386f242788a3d0189e6882466105c57ec1149d20 (diff)
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
Diffstat (limited to 'third_party/grpc/BUILD')
-rw-r--r--third_party/grpc/BUILD4
1 files changed, 2 insertions, 2 deletions
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",