Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(213)

Side by Side Diff: third_party/protobuf/src/google/protobuf/compiler/main.cc

Issue 1983203003: Update third_party/protobuf to protobuf-v3.0.0-beta-3 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix compile error Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Protocol Buffers - Google's data interchange format 1 // Protocol Buffers - Google's data interchange format
2 // Copyright 2008 Google Inc. All rights reserved. 2 // Copyright 2008 Google Inc. All rights reserved.
3 // https://developers.google.com/protocol-buffers/ 3 // https://developers.google.com/protocol-buffers/
4 // 4 //
5 // Redistribution and use in source and binary forms, with or without 5 // Redistribution and use in source and binary forms, with or without
6 // modification, are permitted provided that the following conditions are 6 // modification, are permitted provided that the following conditions are
7 // met: 7 // met:
8 // 8 //
9 // * Redistributions of source code must retain the above copyright 9 // * Redistributions of source code must retain the above copyright
10 // notice, this list of conditions and the following disclaimer. 10 // notice, this list of conditions and the following disclaimer.
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 cli.RegisterGenerator("--ruby_out", &rb_generator, 71 cli.RegisterGenerator("--ruby_out", &rb_generator,
72 "Generate Ruby source file."); 72 "Generate Ruby source file.");
73 73
74 // CSharp 74 // CSharp
75 google::protobuf::compiler::csharp::Generator csharp_generator; 75 google::protobuf::compiler::csharp::Generator csharp_generator;
76 cli.RegisterGenerator("--csharp_out", "--csharp_opt", &csharp_generator, 76 cli.RegisterGenerator("--csharp_out", "--csharp_opt", &csharp_generator,
77 "Generate C# source file."); 77 "Generate C# source file.");
78 78
79 // Objective C 79 // Objective C
80 google::protobuf::compiler::objectivec::ObjectiveCGenerator objc_generator; 80 google::protobuf::compiler::objectivec::ObjectiveCGenerator objc_generator;
81 cli.RegisterGenerator("--objc_out", &objc_generator, 81 cli.RegisterGenerator("--objc_out", "--objc_opt", &objc_generator,
82 "Generate Objective C header and source."); 82 "Generate Objective C header and source.");
83 83
84 // JavaScript 84 // JavaScript
85 google::protobuf::compiler::js::Generator js_generator; 85 google::protobuf::compiler::js::Generator js_generator;
86 cli.RegisterGenerator("--js_out", &js_generator, 86 cli.RegisterGenerator("--js_out", &js_generator,
87 "Generate JavaScript source."); 87 "Generate JavaScript source.");
88 88
89 return cli.Run(argc, argv); 89 return cli.Run(argc, argv);
90 } 90 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698