-
- Downloads
Enable split code generation
To support magical internal build processes, the pb2 files need to be split into pure-proto and gRPC parts. This performs that split and further fixes bad module names in the test harness that interfered with the intended test implementation. An unfortunate side effect, due to limitations of protoc and holdover behavior we must support in major version 1.x, is that trash files are generated in split generation. This shouldn't be a problem in normal protoc plugin use.
Showing
- src/compiler/python_generator.cc 249 additions, 137 deletionssrc/compiler/python_generator.cc
- src/compiler/python_generator.h 0 additions, 4 deletionssrc/compiler/python_generator.h
- src/python/grpcio_health_checking/.gitignore 1 addition, 0 deletionssrc/python/grpcio_health_checking/.gitignore
- src/python/grpcio_tests/.gitignore 1 addition, 0 deletionssrc/python/grpcio_tests/.gitignore
- src/python/grpcio_tests/setup.py 8 additions, 2 deletionssrc/python/grpcio_tests/setup.py
- src/python/grpcio_tests/tests/protoc_plugin/_split_definitions_test.py 304 additions, 0 deletions...pcio_tests/tests/protoc_plugin/_split_definitions_test.py
- src/python/grpcio_tests/tests/protoc_plugin/protos/invocation_testing/__init__.py 30 additions, 0 deletions...tests/protoc_plugin/protos/invocation_testing/__init__.py
- src/python/grpcio_tests/tests/protoc_plugin/protos/invocation_testing/same.proto 39 additions, 0 deletions.../tests/protoc_plugin/protos/invocation_testing/same.proto
- src/python/grpcio_tests/tests/protoc_plugin/protos/invocation_testing/split_messages/__init__.py 30 additions, 0 deletions...ugin/protos/invocation_testing/split_messages/__init__.py
- src/python/grpcio_tests/tests/protoc_plugin/protos/invocation_testing/split_messages/messages.proto 35 additions, 0 deletions...n/protos/invocation_testing/split_messages/messages.proto
- src/python/grpcio_tests/tests/protoc_plugin/protos/invocation_testing/split_services/__init__.py 30 additions, 0 deletions...ugin/protos/invocation_testing/split_services/__init__.py
- src/python/grpcio_tests/tests/protoc_plugin/protos/invocation_testing/split_services/services.proto 38 additions, 0 deletions...n/protos/invocation_testing/split_services/services.proto
- src/python/grpcio_tests/tests/tests.json 47 additions, 43 deletionssrc/python/grpcio_tests/tests/tests.json
Loading
Please register or sign in to comment