|
|
@ -1161,6 +1161,7 @@ check_gcp_environment_linux_test: $(BINDIR)/$(CONFIG)/check_gcp_environment_linu |
|
|
|
check_gcp_environment_windows_test: $(BINDIR)/$(CONFIG)/check_gcp_environment_windows_test |
|
|
|
check_gcp_environment_windows_test: $(BINDIR)/$(CONFIG)/check_gcp_environment_windows_test |
|
|
|
chttp2_settings_timeout_test: $(BINDIR)/$(CONFIG)/chttp2_settings_timeout_test |
|
|
|
chttp2_settings_timeout_test: $(BINDIR)/$(CONFIG)/chttp2_settings_timeout_test |
|
|
|
cli_call_test: $(BINDIR)/$(CONFIG)/cli_call_test |
|
|
|
cli_call_test: $(BINDIR)/$(CONFIG)/cli_call_test |
|
|
|
|
|
|
|
client_callback_end2end_test: $(BINDIR)/$(CONFIG)/client_callback_end2end_test |
|
|
|
client_channel_stress_test: $(BINDIR)/$(CONFIG)/client_channel_stress_test |
|
|
|
client_channel_stress_test: $(BINDIR)/$(CONFIG)/client_channel_stress_test |
|
|
|
client_crash_test: $(BINDIR)/$(CONFIG)/client_crash_test |
|
|
|
client_crash_test: $(BINDIR)/$(CONFIG)/client_crash_test |
|
|
|
client_crash_test_server: $(BINDIR)/$(CONFIG)/client_crash_test_server |
|
|
|
client_crash_test_server: $(BINDIR)/$(CONFIG)/client_crash_test_server |
|
|
@ -1667,6 +1668,7 @@ buildtests_cxx: privatelibs_cxx \ |
|
|
|
$(BINDIR)/$(CONFIG)/check_gcp_environment_windows_test \
|
|
|
|
$(BINDIR)/$(CONFIG)/check_gcp_environment_windows_test \
|
|
|
|
$(BINDIR)/$(CONFIG)/chttp2_settings_timeout_test \
|
|
|
|
$(BINDIR)/$(CONFIG)/chttp2_settings_timeout_test \
|
|
|
|
$(BINDIR)/$(CONFIG)/cli_call_test \
|
|
|
|
$(BINDIR)/$(CONFIG)/cli_call_test \
|
|
|
|
|
|
|
|
$(BINDIR)/$(CONFIG)/client_callback_end2end_test \
|
|
|
|
$(BINDIR)/$(CONFIG)/client_channel_stress_test \
|
|
|
|
$(BINDIR)/$(CONFIG)/client_channel_stress_test \
|
|
|
|
$(BINDIR)/$(CONFIG)/client_crash_test \
|
|
|
|
$(BINDIR)/$(CONFIG)/client_crash_test \
|
|
|
|
$(BINDIR)/$(CONFIG)/client_crash_test_server \
|
|
|
|
$(BINDIR)/$(CONFIG)/client_crash_test_server \
|
|
|
@ -1847,6 +1849,7 @@ buildtests_cxx: privatelibs_cxx \ |
|
|
|
$(BINDIR)/$(CONFIG)/check_gcp_environment_windows_test \
|
|
|
|
$(BINDIR)/$(CONFIG)/check_gcp_environment_windows_test \
|
|
|
|
$(BINDIR)/$(CONFIG)/chttp2_settings_timeout_test \
|
|
|
|
$(BINDIR)/$(CONFIG)/chttp2_settings_timeout_test \
|
|
|
|
$(BINDIR)/$(CONFIG)/cli_call_test \
|
|
|
|
$(BINDIR)/$(CONFIG)/cli_call_test \
|
|
|
|
|
|
|
|
$(BINDIR)/$(CONFIG)/client_callback_end2end_test \
|
|
|
|
$(BINDIR)/$(CONFIG)/client_channel_stress_test \
|
|
|
|
$(BINDIR)/$(CONFIG)/client_channel_stress_test \
|
|
|
|
$(BINDIR)/$(CONFIG)/client_crash_test \
|
|
|
|
$(BINDIR)/$(CONFIG)/client_crash_test \
|
|
|
|
$(BINDIR)/$(CONFIG)/client_crash_test_server \
|
|
|
|
$(BINDIR)/$(CONFIG)/client_crash_test_server \
|
|
|
@ -2306,6 +2309,8 @@ test_cxx: buildtests_cxx |
|
|
|
$(Q) $(BINDIR)/$(CONFIG)/chttp2_settings_timeout_test || ( echo test chttp2_settings_timeout_test failed ; exit 1 )
|
|
|
|
$(Q) $(BINDIR)/$(CONFIG)/chttp2_settings_timeout_test || ( echo test chttp2_settings_timeout_test failed ; exit 1 )
|
|
|
|
$(E) "[RUN] Testing cli_call_test"
|
|
|
|
$(E) "[RUN] Testing cli_call_test"
|
|
|
|
$(Q) $(BINDIR)/$(CONFIG)/cli_call_test || ( echo test cli_call_test failed ; exit 1 )
|
|
|
|
$(Q) $(BINDIR)/$(CONFIG)/cli_call_test || ( echo test cli_call_test failed ; exit 1 )
|
|
|
|
|
|
|
|
$(E) "[RUN] Testing client_callback_end2end_test"
|
|
|
|
|
|
|
|
$(Q) $(BINDIR)/$(CONFIG)/client_callback_end2end_test || ( echo test client_callback_end2end_test failed ; exit 1 )
|
|
|
|
$(E) "[RUN] Testing client_channel_stress_test"
|
|
|
|
$(E) "[RUN] Testing client_channel_stress_test"
|
|
|
|
$(Q) $(BINDIR)/$(CONFIG)/client_channel_stress_test || ( echo test client_channel_stress_test failed ; exit 1 )
|
|
|
|
$(Q) $(BINDIR)/$(CONFIG)/client_channel_stress_test || ( echo test client_channel_stress_test failed ; exit 1 )
|
|
|
|
$(E) "[RUN] Testing client_crash_test"
|
|
|
|
$(E) "[RUN] Testing client_crash_test"
|
|
|
@ -5223,6 +5228,7 @@ LIBGRPC++_SRC = \ |
|
|
|
src/cpp/client/credentials_cc.cc \
|
|
|
|
src/cpp/client/credentials_cc.cc \
|
|
|
|
src/cpp/client/generic_stub.cc \
|
|
|
|
src/cpp/client/generic_stub.cc \
|
|
|
|
src/cpp/common/alarm.cc \
|
|
|
|
src/cpp/common/alarm.cc \
|
|
|
|
|
|
|
|
src/cpp/common/callback_common.cc \
|
|
|
|
src/cpp/common/channel_arguments.cc \
|
|
|
|
src/cpp/common/channel_arguments.cc \
|
|
|
|
src/cpp/common/channel_filter.cc \
|
|
|
|
src/cpp/common/channel_filter.cc \
|
|
|
|
src/cpp/common/completion_queue_cc.cc \
|
|
|
|
src/cpp/common/completion_queue_cc.cc \
|
|
|
@ -5333,6 +5339,7 @@ PUBLIC_HEADERS_CXX += \ |
|
|
|
include/grpcpp/support/async_unary_call.h \
|
|
|
|
include/grpcpp/support/async_unary_call.h \
|
|
|
|
include/grpcpp/support/byte_buffer.h \
|
|
|
|
include/grpcpp/support/byte_buffer.h \
|
|
|
|
include/grpcpp/support/channel_arguments.h \
|
|
|
|
include/grpcpp/support/channel_arguments.h \
|
|
|
|
|
|
|
|
include/grpcpp/support/client_callback.h \
|
|
|
|
include/grpcpp/support/config.h \
|
|
|
|
include/grpcpp/support/config.h \
|
|
|
|
include/grpcpp/support/proto_buffer_reader.h \
|
|
|
|
include/grpcpp/support/proto_buffer_reader.h \
|
|
|
|
include/grpcpp/support/proto_buffer_writer.h \
|
|
|
|
include/grpcpp/support/proto_buffer_writer.h \
|
|
|
@ -5430,7 +5437,9 @@ PUBLIC_HEADERS_CXX += \ |
|
|
|
include/grpcpp/impl/codegen/byte_buffer.h \
|
|
|
|
include/grpcpp/impl/codegen/byte_buffer.h \
|
|
|
|
include/grpcpp/impl/codegen/call.h \
|
|
|
|
include/grpcpp/impl/codegen/call.h \
|
|
|
|
include/grpcpp/impl/codegen/call_hook.h \
|
|
|
|
include/grpcpp/impl/codegen/call_hook.h \
|
|
|
|
|
|
|
|
include/grpcpp/impl/codegen/callback_common.h \
|
|
|
|
include/grpcpp/impl/codegen/channel_interface.h \
|
|
|
|
include/grpcpp/impl/codegen/channel_interface.h \
|
|
|
|
|
|
|
|
include/grpcpp/impl/codegen/client_callback.h \
|
|
|
|
include/grpcpp/impl/codegen/client_context.h \
|
|
|
|
include/grpcpp/impl/codegen/client_context.h \
|
|
|
|
include/grpcpp/impl/codegen/client_unary_call.h \
|
|
|
|
include/grpcpp/impl/codegen/client_unary_call.h \
|
|
|
|
include/grpcpp/impl/codegen/completion_queue.h \
|
|
|
|
include/grpcpp/impl/codegen/completion_queue.h \
|
|
|
@ -5589,6 +5598,7 @@ LIBGRPC++_CRONET_SRC = \ |
|
|
|
src/cpp/client/credentials_cc.cc \
|
|
|
|
src/cpp/client/credentials_cc.cc \
|
|
|
|
src/cpp/client/generic_stub.cc \
|
|
|
|
src/cpp/client/generic_stub.cc \
|
|
|
|
src/cpp/common/alarm.cc \
|
|
|
|
src/cpp/common/alarm.cc \
|
|
|
|
|
|
|
|
src/cpp/common/callback_common.cc \
|
|
|
|
src/cpp/common/channel_arguments.cc \
|
|
|
|
src/cpp/common/channel_arguments.cc \
|
|
|
|
src/cpp/common/channel_filter.cc \
|
|
|
|
src/cpp/common/channel_filter.cc \
|
|
|
|
src/cpp/common/completion_queue_cc.cc \
|
|
|
|
src/cpp/common/completion_queue_cc.cc \
|
|
|
@ -5909,6 +5919,7 @@ PUBLIC_HEADERS_CXX += \ |
|
|
|
include/grpcpp/support/async_unary_call.h \
|
|
|
|
include/grpcpp/support/async_unary_call.h \
|
|
|
|
include/grpcpp/support/byte_buffer.h \
|
|
|
|
include/grpcpp/support/byte_buffer.h \
|
|
|
|
include/grpcpp/support/channel_arguments.h \
|
|
|
|
include/grpcpp/support/channel_arguments.h \
|
|
|
|
|
|
|
|
include/grpcpp/support/client_callback.h \
|
|
|
|
include/grpcpp/support/config.h \
|
|
|
|
include/grpcpp/support/config.h \
|
|
|
|
include/grpcpp/support/proto_buffer_reader.h \
|
|
|
|
include/grpcpp/support/proto_buffer_reader.h \
|
|
|
|
include/grpcpp/support/proto_buffer_writer.h \
|
|
|
|
include/grpcpp/support/proto_buffer_writer.h \
|
|
|
@ -6006,7 +6017,9 @@ PUBLIC_HEADERS_CXX += \ |
|
|
|
include/grpcpp/impl/codegen/byte_buffer.h \
|
|
|
|
include/grpcpp/impl/codegen/byte_buffer.h \
|
|
|
|
include/grpcpp/impl/codegen/call.h \
|
|
|
|
include/grpcpp/impl/codegen/call.h \
|
|
|
|
include/grpcpp/impl/codegen/call_hook.h \
|
|
|
|
include/grpcpp/impl/codegen/call_hook.h \
|
|
|
|
|
|
|
|
include/grpcpp/impl/codegen/callback_common.h \
|
|
|
|
include/grpcpp/impl/codegen/channel_interface.h \
|
|
|
|
include/grpcpp/impl/codegen/channel_interface.h \
|
|
|
|
|
|
|
|
include/grpcpp/impl/codegen/client_callback.h \
|
|
|
|
include/grpcpp/impl/codegen/client_context.h \
|
|
|
|
include/grpcpp/impl/codegen/client_context.h \
|
|
|
|
include/grpcpp/impl/codegen/client_unary_call.h \
|
|
|
|
include/grpcpp/impl/codegen/client_unary_call.h \
|
|
|
|
include/grpcpp/impl/codegen/completion_queue.h \
|
|
|
|
include/grpcpp/impl/codegen/completion_queue.h \
|
|
|
@ -6396,7 +6409,9 @@ PUBLIC_HEADERS_CXX += \ |
|
|
|
include/grpcpp/impl/codegen/byte_buffer.h \
|
|
|
|
include/grpcpp/impl/codegen/byte_buffer.h \
|
|
|
|
include/grpcpp/impl/codegen/call.h \
|
|
|
|
include/grpcpp/impl/codegen/call.h \
|
|
|
|
include/grpcpp/impl/codegen/call_hook.h \
|
|
|
|
include/grpcpp/impl/codegen/call_hook.h \
|
|
|
|
|
|
|
|
include/grpcpp/impl/codegen/callback_common.h \
|
|
|
|
include/grpcpp/impl/codegen/channel_interface.h \
|
|
|
|
include/grpcpp/impl/codegen/channel_interface.h \
|
|
|
|
|
|
|
|
include/grpcpp/impl/codegen/client_callback.h \
|
|
|
|
include/grpcpp/impl/codegen/client_context.h \
|
|
|
|
include/grpcpp/impl/codegen/client_context.h \
|
|
|
|
include/grpcpp/impl/codegen/client_unary_call.h \
|
|
|
|
include/grpcpp/impl/codegen/client_unary_call.h \
|
|
|
|
include/grpcpp/impl/codegen/completion_queue.h \
|
|
|
|
include/grpcpp/impl/codegen/completion_queue.h \
|
|
|
@ -6550,7 +6565,9 @@ PUBLIC_HEADERS_CXX += \ |
|
|
|
include/grpcpp/impl/codegen/byte_buffer.h \
|
|
|
|
include/grpcpp/impl/codegen/byte_buffer.h \
|
|
|
|
include/grpcpp/impl/codegen/call.h \
|
|
|
|
include/grpcpp/impl/codegen/call.h \
|
|
|
|
include/grpcpp/impl/codegen/call_hook.h \
|
|
|
|
include/grpcpp/impl/codegen/call_hook.h \
|
|
|
|
|
|
|
|
include/grpcpp/impl/codegen/callback_common.h \
|
|
|
|
include/grpcpp/impl/codegen/channel_interface.h \
|
|
|
|
include/grpcpp/impl/codegen/channel_interface.h \
|
|
|
|
|
|
|
|
include/grpcpp/impl/codegen/client_callback.h \
|
|
|
|
include/grpcpp/impl/codegen/client_context.h \
|
|
|
|
include/grpcpp/impl/codegen/client_context.h \
|
|
|
|
include/grpcpp/impl/codegen/client_unary_call.h \
|
|
|
|
include/grpcpp/impl/codegen/client_unary_call.h \
|
|
|
|
include/grpcpp/impl/codegen/completion_queue.h \
|
|
|
|
include/grpcpp/impl/codegen/completion_queue.h \
|
|
|
@ -6665,6 +6682,7 @@ LIBGRPC++_UNSECURE_SRC = \ |
|
|
|
src/cpp/client/credentials_cc.cc \
|
|
|
|
src/cpp/client/credentials_cc.cc \
|
|
|
|
src/cpp/client/generic_stub.cc \
|
|
|
|
src/cpp/client/generic_stub.cc \
|
|
|
|
src/cpp/common/alarm.cc \
|
|
|
|
src/cpp/common/alarm.cc \
|
|
|
|
|
|
|
|
src/cpp/common/callback_common.cc \
|
|
|
|
src/cpp/common/channel_arguments.cc \
|
|
|
|
src/cpp/common/channel_arguments.cc \
|
|
|
|
src/cpp/common/channel_filter.cc \
|
|
|
|
src/cpp/common/channel_filter.cc \
|
|
|
|
src/cpp/common/completion_queue_cc.cc \
|
|
|
|
src/cpp/common/completion_queue_cc.cc \
|
|
|
@ -6775,6 +6793,7 @@ PUBLIC_HEADERS_CXX += \ |
|
|
|
include/grpcpp/support/async_unary_call.h \
|
|
|
|
include/grpcpp/support/async_unary_call.h \
|
|
|
|
include/grpcpp/support/byte_buffer.h \
|
|
|
|
include/grpcpp/support/byte_buffer.h \
|
|
|
|
include/grpcpp/support/channel_arguments.h \
|
|
|
|
include/grpcpp/support/channel_arguments.h \
|
|
|
|
|
|
|
|
include/grpcpp/support/client_callback.h \
|
|
|
|
include/grpcpp/support/config.h \
|
|
|
|
include/grpcpp/support/config.h \
|
|
|
|
include/grpcpp/support/proto_buffer_reader.h \
|
|
|
|
include/grpcpp/support/proto_buffer_reader.h \
|
|
|
|
include/grpcpp/support/proto_buffer_writer.h \
|
|
|
|
include/grpcpp/support/proto_buffer_writer.h \
|
|
|
@ -6872,7 +6891,9 @@ PUBLIC_HEADERS_CXX += \ |
|
|
|
include/grpcpp/impl/codegen/byte_buffer.h \
|
|
|
|
include/grpcpp/impl/codegen/byte_buffer.h \
|
|
|
|
include/grpcpp/impl/codegen/call.h \
|
|
|
|
include/grpcpp/impl/codegen/call.h \
|
|
|
|
include/grpcpp/impl/codegen/call_hook.h \
|
|
|
|
include/grpcpp/impl/codegen/call_hook.h \
|
|
|
|
|
|
|
|
include/grpcpp/impl/codegen/callback_common.h \
|
|
|
|
include/grpcpp/impl/codegen/channel_interface.h \
|
|
|
|
include/grpcpp/impl/codegen/channel_interface.h \
|
|
|
|
|
|
|
|
include/grpcpp/impl/codegen/client_callback.h \
|
|
|
|
include/grpcpp/impl/codegen/client_context.h \
|
|
|
|
include/grpcpp/impl/codegen/client_context.h \
|
|
|
|
include/grpcpp/impl/codegen/client_unary_call.h \
|
|
|
|
include/grpcpp/impl/codegen/client_unary_call.h \
|
|
|
|
include/grpcpp/impl/codegen/completion_queue.h \
|
|
|
|
include/grpcpp/impl/codegen/completion_queue.h \
|
|
|
@ -17112,6 +17133,49 @@ endif |
|
|
|
endif |
|
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CLIENT_CALLBACK_END2END_TEST_SRC = \
|
|
|
|
|
|
|
|
test/cpp/end2end/client_callback_end2end_test.cc \
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CLIENT_CALLBACK_END2END_TEST_OBJS = $(addprefix $(OBJDIR)/$(CONFIG)/, $(addsuffix .o, $(basename $(CLIENT_CALLBACK_END2END_TEST_SRC))))
|
|
|
|
|
|
|
|
ifeq ($(NO_SECURE),true) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# You can't build secure targets if you don't have OpenSSL.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$(BINDIR)/$(CONFIG)/client_callback_end2end_test: openssl_dep_error |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
else |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ifeq ($(NO_PROTOBUF),true) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# You can't build the protoc plugins or protobuf-enabled targets if you don't have protobuf 3.5.0+.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$(BINDIR)/$(CONFIG)/client_callback_end2end_test: protobuf_dep_error |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
else |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$(BINDIR)/$(CONFIG)/client_callback_end2end_test: $(PROTOBUF_DEP) $(CLIENT_CALLBACK_END2END_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
|
|
|
|
|
|
|
$(E) "[LD] Linking $@"
|
|
|
|
|
|
|
|
$(Q) mkdir -p `dirname $@`
|
|
|
|
|
|
|
|
$(Q) $(LDXX) $(LDFLAGS) $(CLIENT_CALLBACK_END2END_TEST_OBJS) $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a $(LDLIBSXX) $(LDLIBS_PROTOBUF) $(LDLIBS) $(LDLIBS_SECURE) $(GTEST_LIB) -o $(BINDIR)/$(CONFIG)/client_callback_end2end_test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$(OBJDIR)/$(CONFIG)/test/cpp/end2end/client_callback_end2end_test.o: $(LIBDIR)/$(CONFIG)/libgrpc++_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc_test_util.a $(LIBDIR)/$(CONFIG)/libgrpc++.a $(LIBDIR)/$(CONFIG)/libgrpc.a $(LIBDIR)/$(CONFIG)/libgpr_test_util.a $(LIBDIR)/$(CONFIG)/libgpr.a |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
deps_client_callback_end2end_test: $(CLIENT_CALLBACK_END2END_TEST_OBJS:.o=.dep) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ifneq ($(NO_SECURE),true) |
|
|
|
|
|
|
|
ifneq ($(NO_DEPS),true) |
|
|
|
|
|
|
|
-include $(CLIENT_CALLBACK_END2END_TEST_OBJS:.o=.dep) |
|
|
|
|
|
|
|
endif |
|
|
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CLIENT_CHANNEL_STRESS_TEST_SRC = \
|
|
|
|
CLIENT_CHANNEL_STRESS_TEST_SRC = \
|
|
|
|
$(GENDIR)/src/proto/grpc/lb/v1/load_balancer.pb.cc $(GENDIR)/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc \
|
|
|
|
$(GENDIR)/src/proto/grpc/lb/v1/load_balancer.pb.cc $(GENDIR)/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc \
|
|
|
|
test/cpp/client/client_channel_stress_test.cc \
|
|
|
|
test/cpp/client/client_channel_stress_test.cc \
|
|
|
|