|
|
|
@ -411,7 +411,6 @@ endif |
|
|
|
|
|
|
|
|
|
GTEST_LIB = -Ithird_party/googletest/googletest/include -Ithird_party/googletest/googletest third_party/googletest/googletest/src/gtest-all.cc -Ithird_party/googletest/googlemock/include -Ithird_party/googletest/googlemock third_party/googletest/googlemock/src/gmock-all.cc
|
|
|
|
|
GTEST_LIB += -lgflags
|
|
|
|
|
|
|
|
|
|
ifeq ($(V),1) |
|
|
|
|
E = @:
|
|
|
|
|
Q =
|
|
|
|
@ -903,7 +902,6 @@ openssl_dep_message: |
|
|
|
|
@echo
|
|
|
|
|
@echo "The target you are trying to run requires an OpenSSL implementation."
|
|
|
|
|
@echo "Your system doesn't have one, and either the third_party directory"
|
|
|
|
|
@echo "doesn't have it, or your compiler can't build BoringSSL."
|
|
|
|
|
@echo
|
|
|
|
|
@echo "Please consult INSTALL to get more information."
|
|
|
|
|
@echo
|
|
|
|
@ -2218,6 +2216,7 @@ ifeq ($(NO_PROTOC),true) |
|
|
|
|
$(GENDIR)/src/proto/grpc/health/v1/health.pb.cc: protoc_dep_error |
|
|
|
|
$(GENDIR)/src/proto/grpc/health/v1/health.grpc.pb.cc: protoc_dep_error |
|
|
|
|
else |
|
|
|
|
|
|
|
|
|
$(GENDIR)/src/proto/grpc/health/v1/health.pb.cc: src/proto/grpc/health/v1/health.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS) |
|
|
|
|
$(E) "[PROTOC] Generating protobuf CC file from $<"
|
|
|
|
|
$(Q) mkdir -p `dirname $@`
|
|
|
|
@ -2233,6 +2232,7 @@ ifeq ($(NO_PROTOC),true) |
|
|
|
|
$(GENDIR)/src/proto/grpc/lb/v1/load_balancer.pb.cc: protoc_dep_error |
|
|
|
|
$(GENDIR)/src/proto/grpc/lb/v1/load_balancer.grpc.pb.cc: protoc_dep_error |
|
|
|
|
else |
|
|
|
|
|
|
|
|
|
$(GENDIR)/src/proto/grpc/lb/v1/load_balancer.pb.cc: src/proto/grpc/lb/v1/load_balancer.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS) |
|
|
|
|
$(E) "[PROTOC] Generating protobuf CC file from $<"
|
|
|
|
|
$(Q) mkdir -p `dirname $@`
|
|
|
|
@ -2248,6 +2248,7 @@ ifeq ($(NO_PROTOC),true) |
|
|
|
|
$(GENDIR)/src/proto/grpc/reflection/v1alpha/reflection.pb.cc: protoc_dep_error |
|
|
|
|
$(GENDIR)/src/proto/grpc/reflection/v1alpha/reflection.grpc.pb.cc: protoc_dep_error |
|
|
|
|
else |
|
|
|
|
|
|
|
|
|
$(GENDIR)/src/proto/grpc/reflection/v1alpha/reflection.pb.cc: src/proto/grpc/reflection/v1alpha/reflection.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS) |
|
|
|
|
$(E) "[PROTOC] Generating protobuf CC file from $<"
|
|
|
|
|
$(Q) mkdir -p `dirname $@`
|
|
|
|
@ -2263,6 +2264,7 @@ ifeq ($(NO_PROTOC),true) |
|
|
|
|
$(GENDIR)/src/proto/grpc/status/status.pb.cc: protoc_dep_error |
|
|
|
|
$(GENDIR)/src/proto/grpc/status/status.grpc.pb.cc: protoc_dep_error |
|
|
|
|
else |
|
|
|
|
|
|
|
|
|
$(GENDIR)/src/proto/grpc/status/status.pb.cc: src/proto/grpc/status/status.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS) |
|
|
|
|
$(E) "[PROTOC] Generating protobuf CC file from $<"
|
|
|
|
|
$(Q) mkdir -p `dirname $@`
|
|
|
|
@ -2278,6 +2280,8 @@ ifeq ($(NO_PROTOC),true) |
|
|
|
|
$(GENDIR)/src/proto/grpc/testing/compiler_test.pb.cc: protoc_dep_error |
|
|
|
|
$(GENDIR)/src/proto/grpc/testing/compiler_test.grpc.pb.cc: protoc_dep_error |
|
|
|
|
else |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$(GENDIR)/src/proto/grpc/testing/compiler_test.pb.cc: src/proto/grpc/testing/compiler_test.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS) |
|
|
|
|
$(E) "[PROTOC] Generating protobuf CC file from $<"
|
|
|
|
|
$(Q) mkdir -p `dirname $@`
|
|
|
|
@ -2293,6 +2297,7 @@ ifeq ($(NO_PROTOC),true) |
|
|
|
|
$(GENDIR)/src/proto/grpc/testing/control.pb.cc: protoc_dep_error |
|
|
|
|
$(GENDIR)/src/proto/grpc/testing/control.grpc.pb.cc: protoc_dep_error |
|
|
|
|
else |
|
|
|
|
|
|
|
|
|
$(GENDIR)/src/proto/grpc/testing/control.pb.cc: src/proto/grpc/testing/control.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS) $(GENDIR)/src/proto/grpc/testing/payloads.pb.cc $(GENDIR)/src/proto/grpc/testing/stats.pb.cc |
|
|
|
|
$(E) "[PROTOC] Generating protobuf CC file from $<"
|
|
|
|
|
$(Q) mkdir -p `dirname $@`
|
|
|
|
@ -2308,6 +2313,7 @@ ifeq ($(NO_PROTOC),true) |
|
|
|
|
$(GENDIR)/src/proto/grpc/testing/duplicate/echo_duplicate.pb.cc: protoc_dep_error |
|
|
|
|
$(GENDIR)/src/proto/grpc/testing/duplicate/echo_duplicate.grpc.pb.cc: protoc_dep_error |
|
|
|
|
else |
|
|
|
|
|
|
|
|
|
$(GENDIR)/src/proto/grpc/testing/duplicate/echo_duplicate.pb.cc: src/proto/grpc/testing/duplicate/echo_duplicate.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS) $(GENDIR)/src/proto/grpc/testing/echo_messages.pb.cc |
|
|
|
|
$(E) "[PROTOC] Generating protobuf CC file from $<"
|
|
|
|
|
$(Q) mkdir -p `dirname $@`
|
|
|
|
@ -2323,6 +2329,8 @@ ifeq ($(NO_PROTOC),true) |
|
|
|
|
$(GENDIR)/src/proto/grpc/testing/echo.pb.cc: protoc_dep_error |
|
|
|
|
$(GENDIR)/src/proto/grpc/testing/echo.grpc.pb.cc: protoc_dep_error |
|
|
|
|
else |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$(GENDIR)/src/proto/grpc/testing/echo.pb.cc: src/proto/grpc/testing/echo.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS) $(GENDIR)/src/proto/grpc/testing/echo_messages.pb.cc |
|
|
|
|
$(E) "[PROTOC] Generating protobuf CC file from $<"
|
|
|
|
|
$(Q) mkdir -p `dirname $@`
|
|
|
|
@ -2338,6 +2346,7 @@ ifeq ($(NO_PROTOC),true) |
|
|
|
|
$(GENDIR)/src/proto/grpc/testing/echo_messages.pb.cc: protoc_dep_error |
|
|
|
|
$(GENDIR)/src/proto/grpc/testing/echo_messages.grpc.pb.cc: protoc_dep_error |
|
|
|
|
else |
|
|
|
|
|
|
|
|
|
$(GENDIR)/src/proto/grpc/testing/echo_messages.pb.cc: src/proto/grpc/testing/echo_messages.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS) |
|
|
|
|
$(E) "[PROTOC] Generating protobuf CC file from $<"
|
|
|
|
|
$(Q) mkdir -p `dirname $@`
|
|
|
|
@ -2353,6 +2362,7 @@ ifeq ($(NO_PROTOC),true) |
|
|
|
|
$(GENDIR)/src/proto/grpc/testing/empty.pb.cc: protoc_dep_error |
|
|
|
|
$(GENDIR)/src/proto/grpc/testing/empty.grpc.pb.cc: protoc_dep_error |
|
|
|
|
else |
|
|
|
|
|
|
|
|
|
$(GENDIR)/src/proto/grpc/testing/empty.pb.cc: src/proto/grpc/testing/empty.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS) |
|
|
|
|
$(E) "[PROTOC] Generating protobuf CC file from $<"
|
|
|
|
|
$(Q) mkdir -p `dirname $@`
|
|
|
|
@ -2368,6 +2378,7 @@ ifeq ($(NO_PROTOC),true) |
|
|
|
|
$(GENDIR)/src/proto/grpc/testing/messages.pb.cc: protoc_dep_error |
|
|
|
|
$(GENDIR)/src/proto/grpc/testing/messages.grpc.pb.cc: protoc_dep_error |
|
|
|
|
else |
|
|
|
|
|
|
|
|
|
$(GENDIR)/src/proto/grpc/testing/messages.pb.cc: src/proto/grpc/testing/messages.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS) |
|
|
|
|
$(E) "[PROTOC] Generating protobuf CC file from $<"
|
|
|
|
|
$(Q) mkdir -p `dirname $@`
|
|
|
|
@ -2383,6 +2394,7 @@ ifeq ($(NO_PROTOC),true) |
|
|
|
|
$(GENDIR)/src/proto/grpc/testing/metrics.pb.cc: protoc_dep_error |
|
|
|
|
$(GENDIR)/src/proto/grpc/testing/metrics.grpc.pb.cc: protoc_dep_error |
|
|
|
|
else |
|
|
|
|
|
|
|
|
|
$(GENDIR)/src/proto/grpc/testing/metrics.pb.cc: src/proto/grpc/testing/metrics.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS) |
|
|
|
|
$(E) "[PROTOC] Generating protobuf CC file from $<"
|
|
|
|
|
$(Q) mkdir -p `dirname $@`
|
|
|
|
@ -2398,6 +2410,7 @@ ifeq ($(NO_PROTOC),true) |
|
|
|
|
$(GENDIR)/src/proto/grpc/testing/payloads.pb.cc: protoc_dep_error |
|
|
|
|
$(GENDIR)/src/proto/grpc/testing/payloads.grpc.pb.cc: protoc_dep_error |
|
|
|
|
else |
|
|
|
|
|
|
|
|
|
$(GENDIR)/src/proto/grpc/testing/payloads.pb.cc: src/proto/grpc/testing/payloads.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS) |
|
|
|
|
$(E) "[PROTOC] Generating protobuf CC file from $<"
|
|
|
|
|
$(Q) mkdir -p `dirname $@`
|
|
|
|
@ -2413,6 +2426,7 @@ ifeq ($(NO_PROTOC),true) |
|
|
|
|
$(GENDIR)/src/proto/grpc/testing/services.pb.cc: protoc_dep_error |
|
|
|
|
$(GENDIR)/src/proto/grpc/testing/services.grpc.pb.cc: protoc_dep_error |
|
|
|
|
else |
|
|
|
|
|
|
|
|
|
$(GENDIR)/src/proto/grpc/testing/services.pb.cc: src/proto/grpc/testing/services.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS) $(GENDIR)/src/proto/grpc/testing/messages.pb.cc $(GENDIR)/src/proto/grpc/testing/control.pb.cc $(GENDIR)/src/proto/grpc/testing/stats.pb.cc |
|
|
|
|
$(E) "[PROTOC] Generating protobuf CC file from $<"
|
|
|
|
|
$(Q) mkdir -p `dirname $@`
|
|
|
|
@ -2428,6 +2442,7 @@ ifeq ($(NO_PROTOC),true) |
|
|
|
|
$(GENDIR)/src/proto/grpc/testing/stats.pb.cc: protoc_dep_error |
|
|
|
|
$(GENDIR)/src/proto/grpc/testing/stats.grpc.pb.cc: protoc_dep_error |
|
|
|
|
else |
|
|
|
|
|
|
|
|
|
$(GENDIR)/src/proto/grpc/testing/stats.pb.cc: src/proto/grpc/testing/stats.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS) |
|
|
|
|
$(E) "[PROTOC] Generating protobuf CC file from $<"
|
|
|
|
|
$(Q) mkdir -p `dirname $@`
|
|
|
|
@ -2443,6 +2458,7 @@ ifeq ($(NO_PROTOC),true) |
|
|
|
|
$(GENDIR)/src/proto/grpc/testing/test.pb.cc: protoc_dep_error |
|
|
|
|
$(GENDIR)/src/proto/grpc/testing/test.grpc.pb.cc: protoc_dep_error |
|
|
|
|
else |
|
|
|
|
|
|
|
|
|
$(GENDIR)/src/proto/grpc/testing/test.pb.cc: src/proto/grpc/testing/test.proto $(PROTOBUF_DEP) $(PROTOC_PLUGINS) $(GENDIR)/src/proto/grpc/testing/empty.pb.cc $(GENDIR)/src/proto/grpc/testing/messages.pb.cc |
|
|
|
|
$(E) "[PROTOC] Generating protobuf CC file from $<"
|
|
|
|
|
$(Q) mkdir -p `dirname $@`
|
|
|
|
@ -15353,7 +15369,7 @@ else |
|
|
|
|
$(BINDIR)/$(CONFIG)/mock_test: $(PROTOBUF_DEP) $(MOCK_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) $(MOCK_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)/mock_test
|
|
|
|
|
$(Q) $(LDXX) $(LDFLAGS) $(MOCK_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)/mock_test
|
|
|
|
|
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|