Merge pull request #13605 from jtattermusch/csharp_generate_corestats

Generate C# sources for grpc/core/stats.proto
pull/13625/merge
Jan Tattermusch 7 years ago committed by GitHub
commit ecebc90c53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      src/csharp/generate_proto_csharp.sh

@ -33,6 +33,11 @@ $PROTOC --plugin=$PLUGIN --csharp_out=$HEALTHCHECK_DIR --grpc_out=$HEALTHCHECK_D
$PROTOC --plugin=$PLUGIN --csharp_out=$REFLECTION_DIR --grpc_out=$REFLECTION_DIR \
-I src/proto src/proto/grpc/reflection/v1alpha/reflection.proto
# Put grp/core/stats.proto in a subdirectory to avoid collision with grpc/testing/stats.proto
mkdir -p $TESTING_DIR/CoreStats
$PROTOC --plugin=$PLUGIN --csharp_out=$TESTING_DIR/CoreStats --grpc_out=$TESTING_DIR/CoreStats \
-I src/proto src/proto/grpc/core/stats.proto
# TODO(jtattermusch): following .proto files are a bit broken and import paths
# don't match the package names. Setting -I to the correct value src/proto
# breaks the code generation.

Loading…
Cancel
Save