aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/util/BUILD
diff options
context:
space:
mode:
authorGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2017-04-13 01:40:54 +0200
committerGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2017-04-13 02:03:22 +0200
commit7c26eed8388c131dc5833f554414eebb6107b0cd (patch)
tree3f67e98b2f4433831af3c83208a8720ccf904041 /test/cpp/util/BUILD
parent9c54a0c12cbb55dd96a50074868ad55126b356b9 (diff)
Buildifier and wrapping test/cpp/* rules with our build system.
Diffstat (limited to 'test/cpp/util/BUILD')
-rw-r--r--test/cpp/util/BUILD19
1 files changed, 11 insertions, 8 deletions
diff --git a/test/cpp/util/BUILD b/test/cpp/util/BUILD
index dc90a4e172..ea7827a68d 100644
--- a/test/cpp/util/BUILD
+++ b/test/cpp/util/BUILD
@@ -29,7 +29,11 @@
licenses(["notice"]) # 3-clause BSD
-cc_library(
+load("//bazel:grpc_build_system.bzl", "grpc_cc_library")
+
+package(default_visibility = ["//test:__subpackages__"])
+
+grpc_cc_library(
name = "test_config",
srcs = [
"test_config_cc.cc",
@@ -37,14 +41,15 @@ cc_library(
hdrs = [
"test_config.h",
],
- visibility = ["//test:__subpackages__"],
+ external_deps = [
+ "gflags",
+ ],
deps = [
"//:gpr",
- "//external:gflags",
],
)
-cc_library(
+grpc_cc_library(
name = "grpc++_proto_reflection_desc_db",
srcs = [
"proto_reflection_descriptor_database.cc",
@@ -52,17 +57,16 @@ cc_library(
hdrs = [
"proto_reflection_descriptor_database.h",
],
- visibility = ["//test:__subpackages__"],
deps = [
"//:grpc++_config_proto",
"//src/proto/grpc/reflection/v1alpha:reflection_proto",
],
)
-cc_library(
+grpc_cc_library(
name = "test_util",
srcs = [
- # "test/cpp/end2end/test_service_impl.cc",
+ # "test/cpp/end2end/test_service_impl.cc",
"byte_buffer_proto_helper.cc",
"create_test_channel.cc",
"string_ref_helper.cc",
@@ -76,7 +80,6 @@ cc_library(
"subprocess.h",
"test_credentials_provider.h",
],
- visibility = ["//test:__subpackages__"],
deps = [
"//:grpc++",
"//test/core/end2end:ssl_test_data",