aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFeng Xiao <xfxyjwf@gmail.com>2018-03-01 16:36:05 -0800
committerFeng Xiao <xfxyjwf@gmail.com>2018-03-01 16:36:05 -0800
commitfd595fcc93c949d6501a24f213633e007e93fb0c (patch)
treee80c4bf0236992ecb2aaabfec3906e7f22edd56c
parent9dc0a4d5cf181845c4c8ca6c482ec38cc1835bbc (diff)
downloadprotobuf-fd595fcc93c949d6501a24f213633e007e93fb0c.tar.gz
protobuf-fd595fcc93c949d6501a24f213633e007e93fb0c.tar.bz2
protobuf-fd595fcc93c949d6501a24f213633e007e93fb0c.zip
Revert "Move `compiler/plugin.pb.cc` to libprotobuf with the other WKT sources."
This reverts commit 724f0be33d0eb42055ebe81ce0c8c7bf88ea666c.
-rw-r--r--BUILD2
-rw-r--r--cmake/libprotobuf.cmake1
-rw-r--r--cmake/libprotoc.cmake1
-rw-r--r--src/Makefile.am2
4 files changed, 3 insertions, 3 deletions
diff --git a/BUILD b/BUILD
index ee81c759..7de6f407 100644
--- a/BUILD
+++ b/BUILD
@@ -121,7 +121,6 @@ cc_library(
"src/google/protobuf/api.pb.cc",
"src/google/protobuf/compiler/importer.cc",
"src/google/protobuf/compiler/parser.cc",
- "src/google/protobuf/compiler/plugin.pb.cc",
"src/google/protobuf/descriptor.cc",
"src/google/protobuf/descriptor.pb.cc",
"src/google/protobuf/descriptor_database.cc",
@@ -379,6 +378,7 @@ cc_library(
"src/google/protobuf/compiler/objectivec/objectivec_primitive_field.cc",
"src/google/protobuf/compiler/php/php_generator.cc",
"src/google/protobuf/compiler/plugin.cc",
+ "src/google/protobuf/compiler/plugin.pb.cc",
"src/google/protobuf/compiler/python/python_generator.cc",
"src/google/protobuf/compiler/ruby/ruby_generator.cc",
"src/google/protobuf/compiler/subprocess.cc",
diff --git a/cmake/libprotobuf.cmake b/cmake/libprotobuf.cmake
index 173d2ab9..65d05c19 100644
--- a/cmake/libprotobuf.cmake
+++ b/cmake/libprotobuf.cmake
@@ -4,7 +4,6 @@ set(libprotobuf_files
${protobuf_source_dir}/src/google/protobuf/api.pb.cc
${protobuf_source_dir}/src/google/protobuf/compiler/importer.cc
${protobuf_source_dir}/src/google/protobuf/compiler/parser.cc
- ${protobuf_source_dir}/src/google/protobuf/compiler/plugin.pb.cc
${protobuf_source_dir}/src/google/protobuf/descriptor.cc
${protobuf_source_dir}/src/google/protobuf/descriptor.pb.cc
${protobuf_source_dir}/src/google/protobuf/descriptor_database.cc
diff --git a/cmake/libprotoc.cmake b/cmake/libprotoc.cmake
index dbf52daf..5f6d078c 100644
--- a/cmake/libprotoc.cmake
+++ b/cmake/libprotoc.cmake
@@ -88,6 +88,7 @@ set(libprotoc_files
${protobuf_source_dir}/src/google/protobuf/compiler/objectivec/objectivec_primitive_field.cc
${protobuf_source_dir}/src/google/protobuf/compiler/php/php_generator.cc
${protobuf_source_dir}/src/google/protobuf/compiler/plugin.cc
+ ${protobuf_source_dir}/src/google/protobuf/compiler/plugin.pb.cc
${protobuf_source_dir}/src/google/protobuf/compiler/python/python_generator.cc
${protobuf_source_dir}/src/google/protobuf/compiler/ruby/ruby_generator.cc
${protobuf_source_dir}/src/google/protobuf/compiler/subprocess.cc
diff --git a/src/Makefile.am b/src/Makefile.am
index 6eac2e15..af2db52f 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -278,7 +278,6 @@ libprotobuf_la_SOURCES = \
google/protobuf/io/zero_copy_stream_impl.cc \
google/protobuf/compiler/importer.cc \
google/protobuf/compiler/parser.cc \
- google/protobuf/compiler/plugin.pb.cc \
google/protobuf/util/delimited_message_util.cc \
google/protobuf/util/field_comparator.cc \
google/protobuf/util/field_mask_util.cc \
@@ -334,6 +333,7 @@ libprotoc_la_SOURCES = \
google/protobuf/compiler/code_generator.cc \
google/protobuf/compiler/command_line_interface.cc \
google/protobuf/compiler/plugin.cc \
+ google/protobuf/compiler/plugin.pb.cc \
google/protobuf/compiler/subprocess.cc \
google/protobuf/compiler/subprocess.h \
google/protobuf/compiler/zip_writer.cc \