mirror of https://github.com/grpc/grpc-java.git
compiler: Use public headers instead of pb.h
Using the pb.h causes trouble when dealing with internal vs external protobuf (as seen in cl/142286800).
This commit is contained in:
parent
04f216f072
commit
09fd43df4e
|
|
@ -5,7 +5,7 @@
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <google/protobuf/compiler/java/java_names.h>
|
#include <google/protobuf/compiler/java/java_names.h>
|
||||||
#include <google/protobuf/descriptor.pb.h>
|
#include <google/protobuf/descriptor.h>
|
||||||
#include <google/protobuf/io/printer.h>
|
#include <google/protobuf/io/printer.h>
|
||||||
#include <google/protobuf/io/zero_copy_stream.h>
|
#include <google/protobuf/io/zero_copy_stream.h>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,6 @@
|
||||||
#include <google/protobuf/compiler/code_generator.h>
|
#include <google/protobuf/compiler/code_generator.h>
|
||||||
#include <google/protobuf/compiler/plugin.h>
|
#include <google/protobuf/compiler/plugin.h>
|
||||||
#include <google/protobuf/descriptor.h>
|
#include <google/protobuf/descriptor.h>
|
||||||
#include <google/protobuf/descriptor.pb.h>
|
|
||||||
#include <google/protobuf/io/zero_copy_stream.h>
|
#include <google/protobuf/io/zero_copy_stream.h>
|
||||||
|
|
||||||
static string JavaPackageToDir(const string& package_name) {
|
static string JavaPackageToDir(const string& package_name) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue