diff options
Diffstat (limited to 'src/google/protobuf/compiler/main.cc')
-rw-r--r-- | src/google/protobuf/compiler/main.cc | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/google/protobuf/compiler/main.cc b/src/google/protobuf/compiler/main.cc index 41dc5b9..d9b0c3f 100644 --- a/src/google/protobuf/compiler/main.cc +++ b/src/google/protobuf/compiler/main.cc @@ -34,12 +34,12 @@ #include <google/protobuf/compiler/cpp/cpp_generator.h> #include <google/protobuf/compiler/python/python_generator.h> #include <google/protobuf/compiler/java/java_generator.h> -#include <google/protobuf/compiler/javamicro/javamicro_generator.h> int main(int argc, char* argv[]) { google::protobuf::compiler::CommandLineInterface cli; + cli.AllowPlugins("protoc-"); // Proto2 C++ google::protobuf::compiler::cpp::CppGenerator cpp_generator; @@ -57,10 +57,5 @@ int main(int argc, char* argv[]) { cli.RegisterGenerator("--python_out", &py_generator, "Generate Python source file."); - // Proto2 JavaMicro - google::protobuf::compiler::javamicro::JavaMicroGenerator javamicro_generator; - cli.RegisterGenerator("--javamicro_out", &javamicro_generator, - "Generate Java source file micro runtime."); - return cli.Run(argc, argv); } |