aboutsummaryrefslogtreecommitdiffhomepage
path: root/build.json
diff options
context:
space:
mode:
authorGravatar Chen Wang <chenw@google.com>2015-01-30 18:26:16 -0800
committerGravatar Chen Wang <chenw@google.com>2015-01-30 18:26:16 -0800
commit04f1aa809a60bda7e64e72863890bba69ac0cfbf (patch)
tree0a708739bf311f465bdda4fd07e7cdb08f81c259 /build.json
parent6de65b01cb933b9b2cd1eb69db6ed763434297aa (diff)
Implement both Publisher and Subscriber.
Diffstat (limited to 'build.json')
-rw-r--r--build.json26
1 files changed, 22 insertions, 4 deletions
diff --git a/build.json b/build.json
index bf780b71d9..625d577c51 100644
--- a/build.json
+++ b/build.json
@@ -426,7 +426,8 @@
"examples/tips/label.proto",
"examples/tips/empty.proto",
"examples/tips/pubsub.proto",
- "examples/tips/client.cc"
+ "examples/tips/publisher.cc",
+ "examples/tips/subscriber.cc"
],
"deps": [
"grpc++",
@@ -1524,7 +1525,7 @@
"run": false,
"language": "c++",
"src": [
- "examples/tips/client_main.cc"
+ "examples/tips/main.cc"
],
"deps": [
"tips_client_lib",
@@ -1537,11 +1538,28 @@
]
},
{
- "name": "tips_client_test",
+ "name": "tips_publisher_test",
"build": "test",
"language": "c++",
"src": [
- "examples/tips/client_test.cc"
+ "examples/tips/publisher_test.cc"
+ ],
+ "deps": [
+ "tips_client_lib",
+ "grpc++_test_util",
+ "grpc_test_util",
+ "grpc++",
+ "grpc",
+ "gpr_test_util",
+ "gpr"
+ ]
+ },
+ {
+ "name": "tips_subscriber_test",
+ "build": "test",
+ "language": "c++",
+ "src": [
+ "examples/tips/subscriber_test.cc"
],
"deps": [
"tips_client_lib",