aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/compiler/python_generator.h
diff options
context:
space:
mode:
authorGravatar Masood Malekghassemi <atash@google.com>2016-10-20 14:47:14 -0700
committerGravatar Masood Malekghassemi <atash@google.com>2016-10-28 14:53:10 -0700
commitd953959e2bafd645b6ed674861a310daba5f80ae (patch)
tree25675dc1c97dd60f231f4cfdd9c3c483246a8a90 /src/compiler/python_generator.h
parent81cdf1e34e8501e3e0e50182dd6d13499b473868 (diff)
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.
Diffstat (limited to 'src/compiler/python_generator.h')
-rw-r--r--src/compiler/python_generator.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/compiler/python_generator.h b/src/compiler/python_generator.h
index 9bbb83bca6..6a95255d40 100644
--- a/src/compiler/python_generator.h
+++ b/src/compiler/python_generator.h
@@ -62,10 +62,6 @@ class PythonGrpcGenerator : public grpc::protobuf::compiler::CodeGenerator {
GeneratorConfiguration config_;
};
-std::pair<bool, grpc::string> GetServices(
- const grpc::protobuf::FileDescriptor* file,
- const GeneratorConfiguration& config);
-
} // namespace grpc_python_generator
#endif // GRPC_INTERNAL_COMPILER_PYTHON_GENERATOR_H