aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar Sree Kuchibhotla <sreek@google.com>2017-02-22 16:37:27 -0800
committerGravatar Sree Kuchibhotla <sreek@google.com>2017-02-22 16:37:27 -0800
commit43bca1be48b3a388ea3e164f74bb723e6b730eef (patch)
tree6ed541895bee05ac76ee8c9ee183588e71cb46dc /test
parente8a1a50465d944ef321481e9a10f17a5284a0fa4 (diff)
Add BUILD file for end2end tests too
Diffstat (limited to 'test')
-rw-r--r--test/cpp/end2end/BUILD6
-rw-r--r--test/cpp/util/BUILD15
2 files changed, 21 insertions, 0 deletions
diff --git a/test/cpp/end2end/BUILD b/test/cpp/end2end/BUILD
index c7790c7a40..0bf7948fcf 100644
--- a/test/cpp/end2end/BUILD
+++ b/test/cpp/end2end/BUILD
@@ -34,6 +34,7 @@ cc_library(
srcs = ["test_service_impl.cc"],
hdrs = ["test_service_impl.h"],
deps = [
+ "//external:gtest",
"//src/proto/grpc/testing:echo_proto",
"//test/cpp/util:test_util",
],
@@ -80,6 +81,7 @@ cc_test(
"//:gpr",
"//:grpc",
"//:grpc++",
+ "//external:gflags",
"//external:gtest",
"//src/proto/grpc/testing:echo_messages_proto",
"//src/proto/grpc/testing:echo_proto",
@@ -203,12 +205,15 @@ cc_test(
"//:gpr",
"//:grpc",
"//:grpc++",
+ "//:grpc++_reflection",
+ "//external:gflags",
"//external:gtest",
"//src/proto/grpc/testing:echo_messages_proto",
"//src/proto/grpc/testing:echo_proto",
"//src/proto/grpc/testing/duplicate:echo_duplicate_proto",
"//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
+ "//test/cpp/util:grpc++_proto_reflection_desc_db",
"//test/cpp/util:test_util",
],
)
@@ -255,6 +260,7 @@ cc_test(
"//:gpr",
"//:grpc",
"//:grpc++",
+ "//external:gflags",
"//external:gtest",
"//src/proto/grpc/testing:echo_messages_proto",
"//src/proto/grpc/testing:echo_proto",
diff --git a/test/cpp/util/BUILD b/test/cpp/util/BUILD
index f3cdc58986..dc90a4e172 100644
--- a/test/cpp/util/BUILD
+++ b/test/cpp/util/BUILD
@@ -45,6 +45,21 @@ cc_library(
)
cc_library(
+ name = "grpc++_proto_reflection_desc_db",
+ srcs = [
+ "proto_reflection_descriptor_database.cc",
+ ],
+ hdrs = [
+ "proto_reflection_descriptor_database.h",
+ ],
+ visibility = ["//test:__subpackages__"],
+ deps = [
+ "//:grpc++_config_proto",
+ "//src/proto/grpc/reflection/v1alpha:reflection_proto",
+ ],
+)
+
+cc_library(
name = "test_util",
srcs = [
# "test/cpp/end2end/test_service_impl.cc",