|
|
|
@ -24,16 +24,6 @@ package( |
|
|
|
|
], |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
# The following builds a shared-object to confirm that grpc++_unsecure |
|
|
|
|
# builds properly. Build-only is sufficient here |
|
|
|
|
grpc_cc_binary( |
|
|
|
|
name = "testso.so", |
|
|
|
|
srcs = [], |
|
|
|
|
linkshared = 1, |
|
|
|
|
linkopts = ['-Wl,--no-undefined'], |
|
|
|
|
deps = ["//:grpc++_unsecure"], |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
grpc_cc_library( |
|
|
|
|
name = "test_config", |
|
|
|
|
srcs = [ |
|
|
|
@ -64,26 +54,43 @@ grpc_cc_library( |
|
|
|
|
], |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
grpc_cc_library( |
|
|
|
|
name = "test_util", |
|
|
|
|
srcs = [ |
|
|
|
|
GRPCXX_TESTUTIL_SRCS = [ |
|
|
|
|
"byte_buffer_proto_helper.cc", |
|
|
|
|
"create_test_channel.cc", |
|
|
|
|
"string_ref_helper.cc", |
|
|
|
|
"subprocess.cc", |
|
|
|
|
"test_credentials_provider.cc", |
|
|
|
|
], |
|
|
|
|
hdrs = [ |
|
|
|
|
] |
|
|
|
|
|
|
|
|
|
GRPCXX_TESTUTIL_HDRS = [ |
|
|
|
|
"byte_buffer_proto_helper.h", |
|
|
|
|
"create_test_channel.h", |
|
|
|
|
"string_ref_helper.h", |
|
|
|
|
"subprocess.h", |
|
|
|
|
] |
|
|
|
|
|
|
|
|
|
grpc_cc_library( |
|
|
|
|
name = "test_util", |
|
|
|
|
srcs = GRPCXX_TESTUTIL_SRCS + [ |
|
|
|
|
"create_test_channel.cc", |
|
|
|
|
"test_credentials_provider.cc", |
|
|
|
|
], |
|
|
|
|
hdrs = GRPCXX_TESTUTIL_HDRS + [ |
|
|
|
|
"create_test_channel.h", |
|
|
|
|
"test_credentials_provider.h", |
|
|
|
|
], |
|
|
|
|
deps = [ |
|
|
|
|
"//:grpc++", |
|
|
|
|
"//test/core/end2end:ssl_test_data", |
|
|
|
|
"//test/core/util:gpr_test_util", |
|
|
|
|
], |
|
|
|
|
external_deps = [ |
|
|
|
|
"protobuf", |
|
|
|
|
], |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
grpc_cc_library( |
|
|
|
|
name = "test_util_unsecure", |
|
|
|
|
srcs = GRPCXX_TESTUTIL_SRCS, |
|
|
|
|
hdrs = GRPCXX_TESTUTIL_HDRS, |
|
|
|
|
deps = [ |
|
|
|
|
"//:grpc++_unsecure", |
|
|
|
|
], |
|
|
|
|
external_deps = [ |
|
|
|
|
"protobuf", |
|
|
|
|