Merge remote-tracking branch 'upstream/master' into em_base_class

pull/20325/head
Guantao Liu 5 years ago
commit d1c18102ea
  1. 6
      include/grpcpp/impl/codegen/config_protobuf.h
  2. 4
      include/grpcpp/impl/codegen/proto_buffer_reader.h
  3. 2
      include/grpcpp/impl/codegen/proto_buffer_writer.h
  4. 2
      tools/run_tests/run_tests_matrix.py

@ -21,11 +21,6 @@
#define GRPC_OPEN_SOURCE_PROTO #define GRPC_OPEN_SOURCE_PROTO
#ifndef GRPC_CUSTOM_PROTOBUF_INT64
#include <google/protobuf/stubs/common.h>
#define GRPC_CUSTOM_PROTOBUF_INT64 ::google::protobuf::int64
#endif
#ifndef GRPC_CUSTOM_MESSAGE #ifndef GRPC_CUSTOM_MESSAGE
#ifdef GRPC_USE_PROTO_LITE #ifdef GRPC_USE_PROTO_LITE
#include <google/protobuf/message_lite.h> #include <google/protobuf/message_lite.h>
@ -79,7 +74,6 @@ namespace protobuf {
typedef GRPC_CUSTOM_MESSAGE Message; typedef GRPC_CUSTOM_MESSAGE Message;
typedef GRPC_CUSTOM_MESSAGELITE MessageLite; typedef GRPC_CUSTOM_MESSAGELITE MessageLite;
typedef GRPC_CUSTOM_PROTOBUF_INT64 int64;
typedef GRPC_CUSTOM_DESCRIPTOR Descriptor; typedef GRPC_CUSTOM_DESCRIPTOR Descriptor;
typedef GRPC_CUSTOM_DESCRIPTORPOOL DescriptorPool; typedef GRPC_CUSTOM_DESCRIPTORPOOL DescriptorPool;

@ -121,9 +121,7 @@ class ProtoBufferReader : public ::grpc::protobuf::io::ZeroCopyInputStream {
} }
/// Returns the total number of bytes read since this object was created. /// Returns the total number of bytes read since this object was created.
grpc::protobuf::int64 ByteCount() const override { int64_t ByteCount() const override { return byte_count_ - backup_count_; }
return byte_count_ - backup_count_;
}
// These protected members are needed to support internal optimizations. // These protected members are needed to support internal optimizations.
// they expose internal bits of grpc core that are NOT stable. If you have // they expose internal bits of grpc core that are NOT stable. If you have

@ -138,7 +138,7 @@ class ProtoBufferWriter : public ::grpc::protobuf::io::ZeroCopyOutputStream {
} }
/// Returns the total number of bytes written since this object was created. /// Returns the total number of bytes written since this object was created.
grpc::protobuf::int64 ByteCount() const override { return byte_count_; } int64_t ByteCount() const override { return byte_count_; }
// These protected members are needed to support internal optimizations. // These protected members are needed to support internal optimizations.
// they expose internal bits of grpc core that are NOT stable. If you have // they expose internal bits of grpc core that are NOT stable. If you have

@ -182,7 +182,7 @@ def _create_test_jobs(extra_args=[], inner_jobs=_DEFAULT_INNER_JOBS):
# sanity tests # sanity tests
test_jobs += _generate_jobs( test_jobs += _generate_jobs(
languages=['sanity'], languages=['sanity'],
configs=['dbg', 'opt'], configs=['dbg'],
platforms=['linux'], platforms=['linux'],
labels=['basictests'], labels=['basictests'],
extra_args=extra_args + ['--report_multi_target'], extra_args=extra_args + ['--report_multi_target'],

Loading…
Cancel
Save