|
|
@ -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( |
|
|
|
grpc_cc_library( |
|
|
|
name = "test_config", |
|
|
|
name = "test_config", |
|
|
|
srcs = [ |
|
|
|
srcs = [ |
|
|
@ -64,26 +54,43 @@ grpc_cc_library( |
|
|
|
], |
|
|
|
], |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
GRPCXX_TESTUTIL_SRCS = [ |
|
|
|
|
|
|
|
"byte_buffer_proto_helper.cc", |
|
|
|
|
|
|
|
"string_ref_helper.cc", |
|
|
|
|
|
|
|
"subprocess.cc", |
|
|
|
|
|
|
|
] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
GRPCXX_TESTUTIL_HDRS = [ |
|
|
|
|
|
|
|
"byte_buffer_proto_helper.h", |
|
|
|
|
|
|
|
"string_ref_helper.h", |
|
|
|
|
|
|
|
"subprocess.h", |
|
|
|
|
|
|
|
] |
|
|
|
|
|
|
|
|
|
|
|
grpc_cc_library( |
|
|
|
grpc_cc_library( |
|
|
|
name = "test_util", |
|
|
|
name = "test_util", |
|
|
|
srcs = [ |
|
|
|
srcs = GRPCXX_TESTUTIL_SRCS + [ |
|
|
|
"byte_buffer_proto_helper.cc", |
|
|
|
|
|
|
|
"create_test_channel.cc", |
|
|
|
"create_test_channel.cc", |
|
|
|
"string_ref_helper.cc", |
|
|
|
|
|
|
|
"subprocess.cc", |
|
|
|
|
|
|
|
"test_credentials_provider.cc", |
|
|
|
"test_credentials_provider.cc", |
|
|
|
], |
|
|
|
], |
|
|
|
hdrs = [ |
|
|
|
hdrs = GRPCXX_TESTUTIL_HDRS + [ |
|
|
|
"byte_buffer_proto_helper.h", |
|
|
|
|
|
|
|
"create_test_channel.h", |
|
|
|
"create_test_channel.h", |
|
|
|
"string_ref_helper.h", |
|
|
|
|
|
|
|
"subprocess.h", |
|
|
|
|
|
|
|
"test_credentials_provider.h", |
|
|
|
"test_credentials_provider.h", |
|
|
|
], |
|
|
|
], |
|
|
|
deps = [ |
|
|
|
deps = [ |
|
|
|
"//:grpc++", |
|
|
|
"//:grpc++", |
|
|
|
"//test/core/end2end:ssl_test_data", |
|
|
|
"//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 = [ |
|
|
|
external_deps = [ |
|
|
|
"protobuf", |
|
|
|
"protobuf", |
|
|
|