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

Side by Side Diff: third_party/protobuf/src/Makefile.am

Issue 1842653006: Update //third_party/protobuf to version 3. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 4 years, 8 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
« no previous file with comments | « third_party/protobuf/six.BUILD ('k') | third_party/protobuf/src/google/protobuf/SEBS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 ## Process this file with automake to produce Makefile.in 1 ## Process this file with automake to produce Makefile.in
2 2
3 if HAVE_ZLIB 3 if HAVE_ZLIB
4 GZCHECKPROGRAMS = zcgzip zcgunzip 4 GZCHECKPROGRAMS = zcgzip zcgunzip
5 GZHEADERS = google/protobuf/io/gzip_stream.h 5 GZHEADERS = google/protobuf/io/gzip_stream.h
6 GZTESTS = google/protobuf/io/gzip_stream_unittest.sh 6 GZTESTS = google/protobuf/io/gzip_stream_unittest.sh
7 ZLIB_DEF = -DHAVE_ZLIB=1
7 else 8 else
8 GZCHECKPROGRAMS = 9 GZCHECKPROGRAMS =
9 GZHEADERS = 10 GZHEADERS =
10 GZTESTS = 11 GZTESTS =
12 ZLIB_DEF =
13 endif
14
15 if HAVE_PTHREAD
16 PTHREAD_DEF = -DHAVE_PTHREAD=1
17 else
18 PTHREAD_DEF =
11 endif 19 endif
12 20
13 if GCC 21 if GCC
14 # These are good warnings to turn on by default 22 # These are good warnings to turn on by default
15 NO_OPT_CXXFLAGS = $(PTHREAD_CFLAGS) -Wall -Wwrite-strings -Woverloaded-virtual - Wno-sign-compare 23 NO_OPT_CXXFLAGS = $(PTHREAD_CFLAGS) $(PTHREAD_DEF) $(ZLIB_DEF) -Wall -Wwrite-str ings -Woverloaded-virtual -Wno-sign-compare
16 else 24 else
17 NO_OPT_CXXFLAGS = $(PTHREAD_CFLAGS) 25 NO_OPT_CXXFLAGS = $(PTHREAD_CFLAGS) $(PTHREAD_DEF) $(ZLIB_DEF)
18 endif 26 endif
19 27
20 AM_CXXFLAGS = $(NO_OPT_CXXFLAGS) $(PROTOBUF_OPT_FLAG) 28 AM_CXXFLAGS = $(NO_OPT_CXXFLAGS) $(PROTOBUF_OPT_FLAG)
21 29
22 AM_LDFLAGS = $(PTHREAD_CFLAGS) 30 AM_LDFLAGS = $(PTHREAD_CFLAGS)
23 31
24 # If I say "dist_include_DATA", automake complains that $(includedir) is not 32 # If I say "dist_include_DATA", automake complains that $(includedir) is not
25 # a "legitimate" directory for DATA. Screw you, automake. 33 # a "legitimate" directory for DATA. Screw you, automake.
26 protodir = $(includedir) 34 protodir = $(includedir)
27 nobase_dist_proto_DATA = google/protobuf/descriptor.proto \ 35 nobase_dist_proto_DATA = google/protobuf/descriptor.proto \
36 google/protobuf/any.proto \
37 google/protobuf/api.proto \
38 google/protobuf/duration.proto \
39 google/protobuf/empty.proto \
40 google/protobuf/field_mask.proto \
41 google/protobuf/source_context.proto \
42 google/protobuf/struct.proto \
43 google/protobuf/timestamp.proto \
44 google/protobuf/type.proto \
45 google/protobuf/wrappers.proto \
28 google/protobuf/compiler/plugin.proto 46 google/protobuf/compiler/plugin.proto
29 47
30 # Not sure why these don't get cleaned automatically. 48 # Not sure why these don't get cleaned automatically.
31 clean-local: 49 clean-local:
32 rm -f *.loT 50 rm -f *.loT
33 51
34 CLEANFILES = $(protoc_outputs) unittest_proto_middleman \ 52 CLEANFILES = $(protoc_outputs) unittest_proto_middleman \
35 testzip.jar testzip.list testzip.proto testzip.zip 53 testzip.jar testzip.list testzip.proto testzip.zip
36 54
37 MAINTAINERCLEANFILES = \ 55 MAINTAINERCLEANFILES = \
38 Makefile.in 56 Makefile.in
39 57
40 nobase_include_HEADERS = \ 58 nobase_include_HEADERS = \
59 google/protobuf/stubs/atomic_sequence_num.h \
41 google/protobuf/stubs/atomicops.h \ 60 google/protobuf/stubs/atomicops.h \
61 google/protobuf/stubs/atomicops_internals_power.h \
62 google/protobuf/stubs/atomicops_internals_arm64_gcc.h \
42 google/protobuf/stubs/atomicops_internals_arm_gcc.h \ 63 google/protobuf/stubs/atomicops_internals_arm_gcc.h \
43 google/protobuf/stubs/atomicops_internals_arm_qnx.h \ 64 google/protobuf/stubs/atomicops_internals_arm_qnx.h \
44 google/protobuf/stubs/atomicops_internals_atomicword_compat.h \ 65 google/protobuf/stubs/atomicops_internals_atomicword_compat.h \
66 google/protobuf/stubs/atomicops_internals_generic_gcc.h \
45 google/protobuf/stubs/atomicops_internals_macosx.h \ 67 google/protobuf/stubs/atomicops_internals_macosx.h \
46 google/protobuf/stubs/atomicops_internals_mips_gcc.h \ 68 google/protobuf/stubs/atomicops_internals_mips_gcc.h \
47 google/protobuf/stubs/atomicops_internals_pnacl.h \ 69 google/protobuf/stubs/atomicops_internals_pnacl.h \
70 google/protobuf/stubs/atomicops_internals_solaris.h \
71 google/protobuf/stubs/atomicops_internals_tsan.h \
48 google/protobuf/stubs/atomicops_internals_x86_gcc.h \ 72 google/protobuf/stubs/atomicops_internals_x86_gcc.h \
49 google/protobuf/stubs/atomicops_internals_x86_msvc.h \ 73 google/protobuf/stubs/atomicops_internals_x86_msvc.h \
74 google/protobuf/stubs/callback.h \
75 google/protobuf/stubs/bytestream.h \
76 google/protobuf/stubs/casts.h \
50 google/protobuf/stubs/common.h \ 77 google/protobuf/stubs/common.h \
78 google/protobuf/stubs/fastmem.h \
79 google/protobuf/stubs/hash.h \
80 google/protobuf/stubs/logging.h \
81 google/protobuf/stubs/macros.h \
82 google/protobuf/stubs/mutex.h \
83 google/protobuf/stubs/once.h \
51 google/protobuf/stubs/platform_macros.h \ 84 google/protobuf/stubs/platform_macros.h \
52 google/protobuf/stubs/once.h \ 85 google/protobuf/stubs/port.h \
86 google/protobuf/stubs/scoped_ptr.h \
87 google/protobuf/stubs/shared_ptr.h \
88 google/protobuf/stubs/singleton.h \
89 google/protobuf/stubs/status.h \
90 google/protobuf/stubs/stl_util.h \
91 google/protobuf/stubs/stringpiece.h \
53 google/protobuf/stubs/template_util.h \ 92 google/protobuf/stubs/template_util.h \
54 google/protobuf/stubs/type_traits.h \ 93 google/protobuf/stubs/type_traits.h \
94 google/protobuf/any.pb.h \
95 google/protobuf/api.pb.h \
96 google/protobuf/any.h \
97 google/protobuf/arena.h \
98 google/protobuf/arenastring.h \
99 google/protobuf/descriptor_database.h \
55 google/protobuf/descriptor.h \ 100 google/protobuf/descriptor.h \
56 google/protobuf/descriptor.pb.h \ 101 google/protobuf/descriptor.pb.h \
57 google/protobuf/descriptor_database.h \ 102 google/protobuf/duration.pb.h \
58 google/protobuf/dynamic_message.h \ 103 google/protobuf/dynamic_message.h \
104 google/protobuf/empty.pb.h \
59 google/protobuf/extension_set.h \ 105 google/protobuf/extension_set.h \
106 google/protobuf/field_mask.pb.h \
60 google/protobuf/generated_enum_reflection.h \ 107 google/protobuf/generated_enum_reflection.h \
108 google/protobuf/generated_enum_util.h \
109 google/protobuf/generated_message_reflection.h \
61 google/protobuf/generated_message_util.h \ 110 google/protobuf/generated_message_util.h \
62 google/protobuf/generated_message_reflection.h \ 111 google/protobuf/map_entry.h \
112 google/protobuf/map_entry_lite.h \
113 google/protobuf/map_field.h \
114 google/protobuf/map_field_inl.h \
115 google/protobuf/map_field_lite.h \
116 google/protobuf/map.h \
117 google/protobuf/map_type_handler.h \
63 google/protobuf/message.h \ 118 google/protobuf/message.h \
64 google/protobuf/message_lite.h \ 119 google/protobuf/message_lite.h \
120 google/protobuf/metadata.h \
121 google/protobuf/reflection.h \
65 google/protobuf/reflection_ops.h \ 122 google/protobuf/reflection_ops.h \
66 google/protobuf/repeated_field.h \ 123 google/protobuf/repeated_field.h \
124 google/protobuf/repeated_field_reflection.h \
67 google/protobuf/service.h \ 125 google/protobuf/service.h \
126 google/protobuf/source_context.pb.h \
127 google/protobuf/struct.pb.h \
68 google/protobuf/text_format.h \ 128 google/protobuf/text_format.h \
129 google/protobuf/timestamp.pb.h \
130 google/protobuf/type.pb.h \
69 google/protobuf/unknown_field_set.h \ 131 google/protobuf/unknown_field_set.h \
70 google/protobuf/wire_format.h \ 132 google/protobuf/wire_format.h \
71 google/protobuf/wire_format_lite.h \ 133 google/protobuf/wire_format_lite.h \
72 google/protobuf/wire_format_lite_inl.h \ 134 google/protobuf/wire_format_lite_inl.h \
135 google/protobuf/wrappers.pb.h \
73 google/protobuf/io/coded_stream.h \ 136 google/protobuf/io/coded_stream.h \
74 $(GZHEADERS) \ 137 $(GZHEADERS) \
75 google/protobuf/io/printer.h \ 138 google/protobuf/io/printer.h \
139 google/protobuf/io/strtod.h \
76 google/protobuf/io/tokenizer.h \ 140 google/protobuf/io/tokenizer.h \
77 google/protobuf/io/zero_copy_stream.h \ 141 google/protobuf/io/zero_copy_stream.h \
78 google/protobuf/io/zero_copy_stream_impl.h \ 142 google/protobuf/io/zero_copy_stream_impl.h \
79 google/protobuf/io/zero_copy_stream_impl_lite.h \ 143 google/protobuf/io/zero_copy_stream_impl_lite.h \
80 google/protobuf/compiler/code_generator.h \ 144 google/protobuf/compiler/code_generator.h \
81 google/protobuf/compiler/command_line_interface.h \ 145 google/protobuf/compiler/command_line_interface.h \
82 google/protobuf/compiler/importer.h \ 146 google/protobuf/compiler/importer.h \
83 google/protobuf/compiler/parser.h \ 147 google/protobuf/compiler/parser.h \
84 google/protobuf/compiler/plugin.h \ 148 google/protobuf/compiler/plugin.h \
85 google/protobuf/compiler/plugin.pb.h \ 149 google/protobuf/compiler/plugin.pb.h \
86 google/protobuf/compiler/cpp/cpp_generator.h \ 150 google/protobuf/compiler/cpp/cpp_generator.h \
151 google/protobuf/compiler/csharp/csharp_generator.h \
152 google/protobuf/compiler/csharp/csharp_names.h \
87 google/protobuf/compiler/java/java_generator.h \ 153 google/protobuf/compiler/java/java_generator.h \
88 google/protobuf/compiler/python/python_generator.h 154 google/protobuf/compiler/java/java_names.h \
155 google/protobuf/compiler/javanano/javanano_generator.h \
156 google/protobuf/compiler/js/js_generator.h \
157 google/protobuf/compiler/objectivec/objectivec_generator.h \
158 google/protobuf/compiler/objectivec/objectivec_helpers.h \
159 google/protobuf/compiler/python/python_generator.h \
160 google/protobuf/compiler/ruby/ruby_generator.h \
161 google/protobuf/util/type_resolver.h \
162 google/protobuf/util/field_comparator.h \
163 google/protobuf/util/field_mask_util.h \
164 google/protobuf/util/json_util.h \
165 google/protobuf/util/time_util.h \
166 google/protobuf/util/type_resolver_util.h \
167 google/protobuf/util/message_differencer.h
89 168
90 lib_LTLIBRARIES = libprotobuf-lite.la libprotobuf.la libprotoc.la 169 lib_LTLIBRARIES = libprotobuf-lite.la libprotobuf.la libprotoc.la
91 170
92 libprotobuf_lite_la_LIBADD = $(PTHREAD_LIBS) 171 libprotobuf_lite_la_LIBADD = $(PTHREAD_LIBS)
93 libprotobuf_lite_la_LDFLAGS = -version-info 8:0:0 -export-dynamic -no-undefined 172 libprotobuf_lite_la_LDFLAGS = -version-info 10:0:0 -export-dynamic -no-undefined
94 libprotobuf_lite_la_SOURCES = \ 173 libprotobuf_lite_la_SOURCES = \
95 google/protobuf/stubs/atomicops_internals_x86_gcc.cc \ 174 google/protobuf/stubs/atomicops_internals_x86_gcc.cc \
96 google/protobuf/stubs/atomicops_internals_x86_msvc.cc \ 175 google/protobuf/stubs/atomicops_internals_x86_msvc.cc \
176 google/protobuf/stubs/bytestream.cc \
177 google/protobuf/stubs/bytestream.h \
97 google/protobuf/stubs/common.cc \ 178 google/protobuf/stubs/common.cc \
179 google/protobuf/stubs/hash.h \
180 google/protobuf/stubs/int128.cc \
181 google/protobuf/stubs/int128.h \
182 google/protobuf/stubs/map_util.h \
183 google/protobuf/stubs/mathutil.h \
98 google/protobuf/stubs/once.cc \ 184 google/protobuf/stubs/once.cc \
99 google/protobuf/stubs/hash.h \ 185 google/protobuf/stubs/shared_ptr.h \
100 google/protobuf/stubs/map-util.h \ 186 google/protobuf/stubs/status.cc \
101 google/protobuf/stubs/stl_util.h \ 187 google/protobuf/stubs/status.h \
188 google/protobuf/stubs/status_macros.h \
189 google/protobuf/stubs/statusor.cc \
190 google/protobuf/stubs/statusor.h \
191 google/protobuf/stubs/stringpiece.cc \
192 google/protobuf/stubs/stringpiece.h \
102 google/protobuf/stubs/stringprintf.cc \ 193 google/protobuf/stubs/stringprintf.cc \
103 google/protobuf/stubs/stringprintf.h \ 194 google/protobuf/stubs/stringprintf.h \
195 google/protobuf/stubs/structurally_valid.cc \
196 google/protobuf/stubs/strutil.cc \
197 google/protobuf/stubs/strutil.h \
198 google/protobuf/stubs/time.cc \
199 google/protobuf/stubs/time.h \
200 google/protobuf/arena.cc \
201 google/protobuf/arenastring.cc \
104 google/protobuf/extension_set.cc \ 202 google/protobuf/extension_set.cc \
105 google/protobuf/generated_message_util.cc \ 203 google/protobuf/generated_message_util.cc \
106 google/protobuf/message_lite.cc \ 204 google/protobuf/message_lite.cc \
107 google/protobuf/repeated_field.cc \ 205 google/protobuf/repeated_field.cc \
108 google/protobuf/wire_format_lite.cc \ 206 google/protobuf/wire_format_lite.cc \
109 google/protobuf/io/coded_stream.cc \ 207 google/protobuf/io/coded_stream.cc \
110 google/protobuf/io/coded_stream_inl.h \ 208 google/protobuf/io/coded_stream_inl.h \
111 google/protobuf/io/zero_copy_stream.cc \ 209 google/protobuf/io/zero_copy_stream.cc \
112 google/protobuf/io/zero_copy_stream_impl_lite.cc 210 google/protobuf/io/zero_copy_stream_impl_lite.cc
113 211
114 libprotobuf_la_LIBADD = $(PTHREAD_LIBS) 212 libprotobuf_la_LIBADD = $(PTHREAD_LIBS)
115 libprotobuf_la_LDFLAGS = -version-info 8:0:0 -export-dynamic -no-undefined 213 libprotobuf_la_LDFLAGS = -version-info 10:0:0 -export-dynamic -no-undefined
116 libprotobuf_la_SOURCES = \ 214 libprotobuf_la_SOURCES = \
117 $(libprotobuf_lite_la_SOURCES) \ 215 $(libprotobuf_lite_la_SOURCES) \
118 google/protobuf/stubs/strutil.cc \ 216 google/protobuf/any.pb.cc \
119 google/protobuf/stubs/strutil.h \ 217 google/protobuf/api.pb.cc \
218 google/protobuf/stubs/mathlimits.cc \
219 google/protobuf/stubs/mathlimits.h \
220 google/protobuf/any.cc \
221 google/protobuf/descriptor.cc \
222 google/protobuf/descriptor_database.cc \
223 google/protobuf/descriptor.pb.cc \
224 google/protobuf/duration.pb.cc \
225 google/protobuf/dynamic_message.cc \
226 google/protobuf/empty.pb.cc \
227 google/protobuf/extension_set_heavy.cc \
228 google/protobuf/field_mask.pb.cc \
229 google/protobuf/generated_message_reflection.cc \
230 google/protobuf/map_field.cc \
231 google/protobuf/message.cc \
232 google/protobuf/reflection_internal.h \
233 google/protobuf/reflection_ops.cc \
234 google/protobuf/service.cc \
235 google/protobuf/source_context.pb.cc \
236 google/protobuf/struct.pb.cc \
120 google/protobuf/stubs/substitute.cc \ 237 google/protobuf/stubs/substitute.cc \
121 google/protobuf/stubs/substitute.h \ 238 google/protobuf/stubs/substitute.h \
122 google/protobuf/stubs/structurally_valid.cc \
123 google/protobuf/descriptor.cc \
124 google/protobuf/descriptor.pb.cc \
125 google/protobuf/descriptor_database.cc \
126 google/protobuf/dynamic_message.cc \
127 google/protobuf/extension_set_heavy.cc \
128 google/protobuf/generated_message_reflection.cc \
129 google/protobuf/message.cc \
130 google/protobuf/reflection_ops.cc \
131 google/protobuf/service.cc \
132 google/protobuf/text_format.cc \ 239 google/protobuf/text_format.cc \
240 google/protobuf/timestamp.pb.cc \
241 google/protobuf/type.pb.cc \
133 google/protobuf/unknown_field_set.cc \ 242 google/protobuf/unknown_field_set.cc \
134 google/protobuf/wire_format.cc \ 243 google/protobuf/wire_format.cc \
244 google/protobuf/wrappers.pb.cc \
135 google/protobuf/io/gzip_stream.cc \ 245 google/protobuf/io/gzip_stream.cc \
136 google/protobuf/io/printer.cc \ 246 google/protobuf/io/printer.cc \
247 google/protobuf/io/strtod.cc \
137 google/protobuf/io/tokenizer.cc \ 248 google/protobuf/io/tokenizer.cc \
138 google/protobuf/io/zero_copy_stream_impl.cc \ 249 google/protobuf/io/zero_copy_stream_impl.cc \
139 google/protobuf/compiler/importer.cc \ 250 google/protobuf/compiler/importer.cc \
140 google/protobuf/compiler/parser.cc 251 google/protobuf/compiler/parser.cc \
252 google/protobuf/util/field_comparator.cc \
253 google/protobuf/util/field_mask_util.cc \
254 google/protobuf/util/internal/constants.h \
255 google/protobuf/util/internal/datapiece.cc \
256 google/protobuf/util/internal/datapiece.h \
257 google/protobuf/util/internal/default_value_objectwriter.cc \
258 google/protobuf/util/internal/default_value_objectwriter.h \
259 google/protobuf/util/internal/error_listener.cc \
260 google/protobuf/util/internal/error_listener.h \
261 google/protobuf/util/internal/expecting_objectwriter.h \
262 google/protobuf/util/internal/field_mask_utility.cc \
263 google/protobuf/util/internal/field_mask_utility.h \
264 google/protobuf/util/internal/json_escaping.cc \
265 google/protobuf/util/internal/json_escaping.h \
266 google/protobuf/util/internal/json_objectwriter.cc \
267 google/protobuf/util/internal/json_objectwriter.h \
268 google/protobuf/util/internal/json_stream_parser.cc \
269 google/protobuf/util/internal/json_stream_parser.h \
270 google/protobuf/util/internal/location_tracker.h \
271 google/protobuf/util/internal/mock_error_listener.h \
272 google/protobuf/util/internal/object_location_tracker.h \
273 google/protobuf/util/internal/object_source.h \
274 google/protobuf/util/internal/object_writer.cc \
275 google/protobuf/util/internal/object_writer.h \
276 google/protobuf/util/internal/protostream_objectsource.cc \
277 google/protobuf/util/internal/protostream_objectsource.h \
278 google/protobuf/util/internal/protostream_objectwriter.cc \
279 google/protobuf/util/internal/protostream_objectwriter.h \
280 google/protobuf/util/internal/proto_writer.cc \
281 google/protobuf/util/internal/proto_writer.h \
282 google/protobuf/util/internal/structured_objectwriter.h \
283 google/protobuf/util/internal/type_info.cc \
284 google/protobuf/util/internal/type_info.h \
285 google/protobuf/util/internal/type_info_test_helper.cc \
286 google/protobuf/util/internal/type_info_test_helper.h \
287 google/protobuf/util/internal/utility.cc \
288 google/protobuf/util/internal/utility.h \
289 google/protobuf/util/json_util.cc \
290 google/protobuf/util/message_differencer.cc \
291 google/protobuf/util/time_util.cc \
292 google/protobuf/util/type_resolver_util.cc
293
294 nodist_libprotobuf_la_SOURCES = $(nodist_libprotobuf_lite_la_SOURCES)
141 295
142 libprotoc_la_LIBADD = $(PTHREAD_LIBS) libprotobuf.la 296 libprotoc_la_LIBADD = $(PTHREAD_LIBS) libprotobuf.la
143 libprotoc_la_LDFLAGS = -version-info 8:0:0 -export-dynamic -no-undefined 297 libprotoc_la_LDFLAGS = -version-info 10:0:0 -export-dynamic -no-undefined
144 libprotoc_la_SOURCES = \ 298 libprotoc_la_SOURCES = \
145 google/protobuf/compiler/code_generator.cc \ 299 google/protobuf/compiler/code_generator.cc \
146 google/protobuf/compiler/command_line_interface.cc \ 300 google/protobuf/compiler/command_line_interface.cc \
147 google/protobuf/compiler/plugin.cc \ 301 google/protobuf/compiler/plugin.cc \
148 google/protobuf/compiler/plugin.pb.cc \ 302 google/protobuf/compiler/plugin.pb.cc \
149 google/protobuf/compiler/subprocess.cc \ 303 google/protobuf/compiler/subprocess.cc \
150 google/protobuf/compiler/subprocess.h \ 304 google/protobuf/compiler/subprocess.h \
151 google/protobuf/compiler/zip_writer.cc \ 305 google/protobuf/compiler/zip_writer.cc \
152 google/protobuf/compiler/zip_writer.h \ 306 google/protobuf/compiler/zip_writer.h \
153 google/protobuf/compiler/cpp/cpp_enum.cc \ 307 google/protobuf/compiler/cpp/cpp_enum.cc \
154 google/protobuf/compiler/cpp/cpp_enum.h \ 308 google/protobuf/compiler/cpp/cpp_enum.h \
155 google/protobuf/compiler/cpp/cpp_enum_field.cc \ 309 google/protobuf/compiler/cpp/cpp_enum_field.cc \
156 google/protobuf/compiler/cpp/cpp_enum_field.h \ 310 google/protobuf/compiler/cpp/cpp_enum_field.h \
157 google/protobuf/compiler/cpp/cpp_extension.cc \ 311 google/protobuf/compiler/cpp/cpp_extension.cc \
158 google/protobuf/compiler/cpp/cpp_extension.h \ 312 google/protobuf/compiler/cpp/cpp_extension.h \
159 google/protobuf/compiler/cpp/cpp_field.cc \ 313 google/protobuf/compiler/cpp/cpp_field.cc \
160 google/protobuf/compiler/cpp/cpp_field.h \ 314 google/protobuf/compiler/cpp/cpp_field.h \
161 google/protobuf/compiler/cpp/cpp_file.cc \ 315 google/protobuf/compiler/cpp/cpp_file.cc \
162 google/protobuf/compiler/cpp/cpp_file.h \ 316 google/protobuf/compiler/cpp/cpp_file.h \
163 google/protobuf/compiler/cpp/cpp_generator.cc \ 317 google/protobuf/compiler/cpp/cpp_generator.cc \
164 google/protobuf/compiler/cpp/cpp_helpers.cc \ 318 google/protobuf/compiler/cpp/cpp_helpers.cc \
165 google/protobuf/compiler/cpp/cpp_helpers.h \ 319 google/protobuf/compiler/cpp/cpp_helpers.h \
320 google/protobuf/compiler/cpp/cpp_map_field.cc \
321 google/protobuf/compiler/cpp/cpp_map_field.h \
166 google/protobuf/compiler/cpp/cpp_message.cc \ 322 google/protobuf/compiler/cpp/cpp_message.cc \
167 google/protobuf/compiler/cpp/cpp_message.h \ 323 google/protobuf/compiler/cpp/cpp_message.h \
168 google/protobuf/compiler/cpp/cpp_message_field.cc \ 324 google/protobuf/compiler/cpp/cpp_message_field.cc \
169 google/protobuf/compiler/cpp/cpp_message_field.h \ 325 google/protobuf/compiler/cpp/cpp_message_field.h \
170 google/protobuf/compiler/cpp/cpp_options.h \ 326 google/protobuf/compiler/cpp/cpp_options.h \
171 google/protobuf/compiler/cpp/cpp_primitive_field.cc \ 327 google/protobuf/compiler/cpp/cpp_primitive_field.cc \
172 google/protobuf/compiler/cpp/cpp_primitive_field.h \ 328 google/protobuf/compiler/cpp/cpp_primitive_field.h \
173 google/protobuf/compiler/cpp/cpp_service.cc \ 329 google/protobuf/compiler/cpp/cpp_service.cc \
174 google/protobuf/compiler/cpp/cpp_service.h \ 330 google/protobuf/compiler/cpp/cpp_service.h \
175 google/protobuf/compiler/cpp/cpp_string_field.cc \ 331 google/protobuf/compiler/cpp/cpp_string_field.cc \
176 google/protobuf/compiler/cpp/cpp_string_field.h \ 332 google/protobuf/compiler/cpp/cpp_string_field.h \
333 google/protobuf/compiler/java/java_context.cc \
334 google/protobuf/compiler/java/java_context.h \
177 google/protobuf/compiler/java/java_enum.cc \ 335 google/protobuf/compiler/java/java_enum.cc \
178 google/protobuf/compiler/java/java_enum.h \ 336 google/protobuf/compiler/java/java_enum_lite.cc \
179 google/protobuf/compiler/java/java_enum_field.cc \ 337 google/protobuf/compiler/java/java_enum_field.cc \
180 google/protobuf/compiler/java/java_enum_field.h \ 338 google/protobuf/compiler/java/java_enum_field.h \
339 google/protobuf/compiler/java/java_enum_field_lite.cc \
340 google/protobuf/compiler/java/java_enum_field_lite.h \
341 google/protobuf/compiler/java/java_enum.h \
342 google/protobuf/compiler/java/java_enum_lite.h \
181 google/protobuf/compiler/java/java_extension.cc \ 343 google/protobuf/compiler/java/java_extension.cc \
182 google/protobuf/compiler/java/java_extension.h \ 344 google/protobuf/compiler/java/java_extension.h \
183 google/protobuf/compiler/java/java_field.cc \ 345 google/protobuf/compiler/java/java_field.cc \
184 google/protobuf/compiler/java/java_field.h \ 346 google/protobuf/compiler/java/java_field.h \
185 google/protobuf/compiler/java/java_file.cc \ 347 google/protobuf/compiler/java/java_file.cc \
186 google/protobuf/compiler/java/java_file.h \ 348 google/protobuf/compiler/java/java_file.h \
187 google/protobuf/compiler/java/java_generator.cc \ 349 google/protobuf/compiler/java/java_generator.cc \
350 google/protobuf/compiler/java/java_generator_factory.cc \
351 google/protobuf/compiler/java/java_generator_factory.h \
188 google/protobuf/compiler/java/java_helpers.cc \ 352 google/protobuf/compiler/java/java_helpers.cc \
189 google/protobuf/compiler/java/java_helpers.h \ 353 google/protobuf/compiler/java/java_helpers.h \
354 google/protobuf/compiler/java/java_lazy_message_field.cc \
355 google/protobuf/compiler/java/java_lazy_message_field.h \
356 google/protobuf/compiler/java/java_lazy_message_field_lite.cc\
357 google/protobuf/compiler/java/java_lazy_message_field_lite.h \
358 google/protobuf/compiler/java/java_map_field.cc \
359 google/protobuf/compiler/java/java_map_field.h \
360 google/protobuf/compiler/java/java_map_field_lite.cc \
361 google/protobuf/compiler/java/java_map_field_lite.h \
190 google/protobuf/compiler/java/java_message.cc \ 362 google/protobuf/compiler/java/java_message.cc \
191 google/protobuf/compiler/java/java_message.h \ 363 google/protobuf/compiler/java/java_message_lite.cc \
364 google/protobuf/compiler/java/java_message_builder.cc \
365 google/protobuf/compiler/java/java_message_builder_lite.cc \
192 google/protobuf/compiler/java/java_message_field.cc \ 366 google/protobuf/compiler/java/java_message_field.cc \
193 google/protobuf/compiler/java/java_message_field.h \ 367 google/protobuf/compiler/java/java_message_field.h \
368 google/protobuf/compiler/java/java_message_field_lite.cc \
369 google/protobuf/compiler/java/java_message_field_lite.h \
370 google/protobuf/compiler/java/java_message.h \
371 google/protobuf/compiler/java/java_message_lite.h \
372 google/protobuf/compiler/java/java_message_builder.h \
373 google/protobuf/compiler/java/java_message_builder_lite.h \
374 google/protobuf/compiler/java/java_name_resolver.cc \
375 google/protobuf/compiler/java/java_name_resolver.h \
194 google/protobuf/compiler/java/java_primitive_field.cc \ 376 google/protobuf/compiler/java/java_primitive_field.cc \
195 google/protobuf/compiler/java/java_primitive_field.h \ 377 google/protobuf/compiler/java/java_primitive_field.h \
378 google/protobuf/compiler/java/java_primitive_field_lite.cc \
379 google/protobuf/compiler/java/java_primitive_field_lite.h \
380 google/protobuf/compiler/java/java_shared_code_generator.cc \
381 google/protobuf/compiler/java/java_shared_code_generator.h \
196 google/protobuf/compiler/java/java_service.cc \ 382 google/protobuf/compiler/java/java_service.cc \
197 google/protobuf/compiler/java/java_service.h \ 383 google/protobuf/compiler/java/java_service.h \
198 google/protobuf/compiler/java/java_string_field.cc \ 384 google/protobuf/compiler/java/java_string_field.cc \
199 google/protobuf/compiler/java/java_string_field.h \ 385 google/protobuf/compiler/java/java_string_field.h \
386 google/protobuf/compiler/java/java_string_field_lite.cc \
387 google/protobuf/compiler/java/java_string_field_lite.h \
200 google/protobuf/compiler/java/java_doc_comment.cc \ 388 google/protobuf/compiler/java/java_doc_comment.cc \
201 google/protobuf/compiler/java/java_doc_comment.h \ 389 google/protobuf/compiler/java/java_doc_comment.h \
202 google/protobuf/compiler/python/python_generator.cc 390 google/protobuf/compiler/js/js_generator.cc \
391 google/protobuf/compiler/javanano/javanano_enum.cc \
392 google/protobuf/compiler/javanano/javanano_enum.h \
393 google/protobuf/compiler/javanano/javanano_enum_field.cc \
394 google/protobuf/compiler/javanano/javanano_enum_field.h \
395 google/protobuf/compiler/javanano/javanano_extension.cc \
396 google/protobuf/compiler/javanano/javanano_extension.h \
397 google/protobuf/compiler/javanano/javanano_field.cc \
398 google/protobuf/compiler/javanano/javanano_field.h \
399 google/protobuf/compiler/javanano/javanano_file.cc \
400 google/protobuf/compiler/javanano/javanano_file.h \
401 google/protobuf/compiler/javanano/javanano_generator.cc \
402 google/protobuf/compiler/javanano/javanano_generator.h \
403 google/protobuf/compiler/javanano/javanano_helpers.cc \
404 google/protobuf/compiler/javanano/javanano_helpers.h \
405 google/protobuf/compiler/javanano/javanano_map_field.cc \
406 google/protobuf/compiler/javanano/javanano_map_field.h \
407 google/protobuf/compiler/javanano/javanano_message.cc \
408 google/protobuf/compiler/javanano/javanano_message.h \
409 google/protobuf/compiler/javanano/javanano_message_field.cc \
410 google/protobuf/compiler/javanano/javanano_message_field.h \
411 google/protobuf/compiler/javanano/javanano_params.h \
412 google/protobuf/compiler/javanano/javanano_primitive_field.cc \
413 google/protobuf/compiler/javanano/javanano_primitive_field.h \
414 google/protobuf/compiler/objectivec/objectivec_enum.cc \
415 google/protobuf/compiler/objectivec/objectivec_enum.h \
416 google/protobuf/compiler/objectivec/objectivec_enum_field.cc \
417 google/protobuf/compiler/objectivec/objectivec_enum_field.h \
418 google/protobuf/compiler/objectivec/objectivec_extension.cc \
419 google/protobuf/compiler/objectivec/objectivec_extension.h \
420 google/protobuf/compiler/objectivec/objectivec_field.cc \
421 google/protobuf/compiler/objectivec/objectivec_field.h \
422 google/protobuf/compiler/objectivec/objectivec_file.cc \
423 google/protobuf/compiler/objectivec/objectivec_file.h \
424 google/protobuf/compiler/objectivec/objectivec_generator.cc \
425 google/protobuf/compiler/objectivec/objectivec_helpers.cc \
426 google/protobuf/compiler/objectivec/objectivec_helpers.h \
427 google/protobuf/compiler/objectivec/objectivec_map_field.cc \
428 google/protobuf/compiler/objectivec/objectivec_map_field.h \
429 google/protobuf/compiler/objectivec/objectivec_message.cc \
430 google/protobuf/compiler/objectivec/objectivec_message.h \
431 google/protobuf/compiler/objectivec/objectivec_message_field.cc \
432 google/protobuf/compiler/objectivec/objectivec_message_field.h \
433 google/protobuf/compiler/objectivec/objectivec_oneof.cc \
434 google/protobuf/compiler/objectivec/objectivec_oneof.h \
435 google/protobuf/compiler/objectivec/objectivec_primitive_field.cc \
436 google/protobuf/compiler/objectivec/objectivec_primitive_field.h \
437 google/protobuf/compiler/python/python_generator.cc \
438 google/protobuf/compiler/ruby/ruby_generator.cc \
439 google/protobuf/compiler/csharp/csharp_doc_comment.cc \
440 google/protobuf/compiler/csharp/csharp_doc_comment.h \
441 google/protobuf/compiler/csharp/csharp_enum.cc \
442 google/protobuf/compiler/csharp/csharp_enum.h \
443 google/protobuf/compiler/csharp/csharp_enum_field.cc \
444 google/protobuf/compiler/csharp/csharp_enum_field.h \
445 google/protobuf/compiler/csharp/csharp_field_base.cc \
446 google/protobuf/compiler/csharp/csharp_field_base.h \
447 google/protobuf/compiler/csharp/csharp_generator.cc \
448 google/protobuf/compiler/csharp/csharp_helpers.cc \
449 google/protobuf/compiler/csharp/csharp_helpers.h \
450 google/protobuf/compiler/csharp/csharp_map_field.cc \
451 google/protobuf/compiler/csharp/csharp_map_field.h \
452 google/protobuf/compiler/csharp/csharp_message.cc \
453 google/protobuf/compiler/csharp/csharp_message.h \
454 google/protobuf/compiler/csharp/csharp_message_field.cc \
455 google/protobuf/compiler/csharp/csharp_message_field.h \
456 google/protobuf/compiler/csharp/csharp_primitive_field.cc \
457 google/protobuf/compiler/csharp/csharp_primitive_field.h \
458 google/protobuf/compiler/csharp/csharp_reflection_class.cc \
459 google/protobuf/compiler/csharp/csharp_reflection_class.h \
460 google/protobuf/compiler/csharp/csharp_repeated_enum_field.cc \
461 google/protobuf/compiler/csharp/csharp_repeated_enum_field.h \
462 google/protobuf/compiler/csharp/csharp_repeated_message_field.cc \
463 google/protobuf/compiler/csharp/csharp_repeated_message_field.h \
464 google/protobuf/compiler/csharp/csharp_repeated_primitive_field.cc \
465 google/protobuf/compiler/csharp/csharp_repeated_primitive_field.h \
466 google/protobuf/compiler/csharp/csharp_source_generator_base.cc \
467 google/protobuf/compiler/csharp/csharp_source_generator_base.h \
468 google/protobuf/compiler/csharp/csharp_wrapper_field.cc \
469 google/protobuf/compiler/csharp/csharp_wrapper_field.h
203 470
204 bin_PROGRAMS = protoc 471 bin_PROGRAMS = protoc
205 protoc_LDADD = $(PTHREAD_LIBS) libprotobuf.la libprotoc.la 472 protoc_LDADD = $(PTHREAD_LIBS) libprotobuf.la libprotoc.la
206 protoc_SOURCES = google/protobuf/compiler/main.cc 473 protoc_SOURCES = google/protobuf/compiler/main.cc
207 474
208 # Tests ============================================================== 475 # Tests ==============================================================
209 476
210 protoc_inputs = \ 477 protoc_inputs = \
211 google/protobuf/unittest.proto \ 478 google/protobuf/any_test.proto \
212 google/protobuf/unittest_empty.proto \ 479 google/protobuf/compiler/cpp/cpp_test_bad_identifiers.proto \
213 google/protobuf/unittest_import.proto \ 480 google/protobuf/map_lite_unittest.proto \
214 google/protobuf/unittest_import_public.proto \ 481 google/protobuf/map_proto2_unittest.proto \
215 google/protobuf/unittest_mset.proto \ 482 google/protobuf/map_unittest.proto \
216 google/protobuf/unittest_optimize_for.proto \ 483 google/protobuf/unittest_arena.proto \
217 google/protobuf/unittest_embed_optimize_for.proto \ 484 google/protobuf/unittest_custom_options.proto \
218 google/protobuf/unittest_custom_options.proto \ 485 google/protobuf/unittest_drop_unknown_fields.proto \
219 google/protobuf/unittest_lite.proto \ 486 google/protobuf/unittest_embed_optimize_for.proto \
220 google/protobuf/unittest_import_lite.proto \ 487 google/protobuf/unittest_empty.proto \
221 google/protobuf/unittest_import_public_lite.proto \ 488 google/protobuf/unittest_enormous_descriptor.proto \
222 google/protobuf/unittest_lite_imports_nonlite.proto \ 489 google/protobuf/unittest_import_lite.proto \
223 google/protobuf/unittest_no_generic_services.proto \ 490 google/protobuf/unittest_import.proto \
224 google/protobuf/compiler/cpp/cpp_test_bad_identifiers.proto 491 google/protobuf/unittest_import_public_lite.proto \
492 google/protobuf/unittest_import_public.proto \
493 google/protobuf/unittest_lite_imports_nonlite.proto \
494 google/protobuf/unittest_lite.proto \
495 google/protobuf/unittest_mset.proto \
496 google/protobuf/unittest_mset_wire_format.proto \
497 google/protobuf/unittest_no_arena_lite.proto \
498 google/protobuf/unittest_no_arena_import.proto \
499 google/protobuf/unittest_no_arena.proto \
500 google/protobuf/unittest_no_field_presence.proto \
501 google/protobuf/unittest_no_generic_services.proto \
502 google/protobuf/unittest_optimize_for.proto \
503 google/protobuf/unittest_preserve_unknown_enum2.proto \
504 google/protobuf/unittest_preserve_unknown_enum.proto \
505 google/protobuf/unittest.proto \
506 google/protobuf/unittest_proto3_arena.proto \
507 google/protobuf/unittest_well_known_types.proto \
508 google/protobuf/util/internal/testdata/anys.proto \
509 google/protobuf/util/internal/testdata/books.proto \
510 google/protobuf/util/internal/testdata/default_value.proto \
511 google/protobuf/util/internal/testdata/default_value_test.proto \
512 google/protobuf/util/internal/testdata/field_mask.proto \
513 google/protobuf/util/internal/testdata/maps.proto \
514 google/protobuf/util/internal/testdata/oneofs.proto \
515 google/protobuf/util/internal/testdata/struct.proto \
516 google/protobuf/util/internal/testdata/timestamp_duration.proto \
517 google/protobuf/util/json_format_proto3.proto \
518 google/protobuf/util/message_differencer_unittest.proto \
519 google/protobuf/compiler/cpp/cpp_test_large_enum_value.proto
225 520
226 EXTRA_DIST = \ 521 EXTRA_DIST = \
227 $(protoc_inputs) \ 522 $(protoc_inputs) \
228 solaris/libstdc++.la \ 523 solaris/libstdc++.la \
229 google/protobuf/io/gzip_stream.h \ 524 google/protobuf/io/gzip_stream.h \
230 google/protobuf/io/gzip_stream_unittest.sh \ 525 google/protobuf/io/gzip_stream_unittest.sh \
231 google/protobuf/testdata/golden_message \ 526 google/protobuf/testdata/golden_message \
527 google/protobuf/testdata/golden_message_oneof_implemented \
528 google/protobuf/testdata/golden_message_proto3 \
232 google/protobuf/testdata/golden_packed_fields_message \ 529 google/protobuf/testdata/golden_packed_fields_message \
530 google/protobuf/testdata/bad_utf8_string \
531 google/protobuf/testdata/map_test_data.txt \
233 google/protobuf/testdata/text_format_unittest_data.txt \ 532 google/protobuf/testdata/text_format_unittest_data.txt \
234 google/protobuf/testdata/text_format_unittest_extensions_data.txt \ 533 google/protobuf/testdata/text_format_unittest_data_oneof_implemented.txt \
534 google/protobuf/testdata/text_format_unittest_data_pointy.txt \
535 google/protobuf/testdata/text_format_unittest_data_pointy_oneof.txt \
536 google/protobuf/testdata/text_format_unittest_extensions_data.txt \
537 google/protobuf/testdata/text_format_unittest_extensions_data_pointy.txt \
235 google/protobuf/package_info.h \ 538 google/protobuf/package_info.h \
236 google/protobuf/io/package_info.h \ 539 google/protobuf/io/package_info.h \
540 google/protobuf/compiler/ruby/ruby_generated_code.proto \
541 google/protobuf/compiler/ruby/ruby_generated_code.rb \
237 google/protobuf/compiler/package_info.h \ 542 google/protobuf/compiler/package_info.h \
238 google/protobuf/compiler/zip_output_unittest.sh \ 543 google/protobuf/compiler/zip_output_unittest.sh
239 google/protobuf/unittest_enormous_descriptor.proto
240 544
241 protoc_lite_outputs = \ 545 protoc_lite_outputs = \
546 google/protobuf/map_lite_unittest.pb.cc \
547 google/protobuf/map_lite_unittest.pb.h \
242 google/protobuf/unittest_lite.pb.cc \ 548 google/protobuf/unittest_lite.pb.cc \
243 google/protobuf/unittest_lite.pb.h \ 549 google/protobuf/unittest_lite.pb.h \
550 google/protobuf/unittest_no_arena_lite.pb.cc \
551 google/protobuf/unittest_no_arena_lite.pb.h \
244 google/protobuf/unittest_import_lite.pb.cc \ 552 google/protobuf/unittest_import_lite.pb.cc \
245 google/protobuf/unittest_import_lite.pb.h \ 553 google/protobuf/unittest_import_lite.pb.h \
246 google/protobuf/unittest_import_public_lite.pb.cc \ 554 google/protobuf/unittest_import_public_lite.pb.cc \
247 google/protobuf/unittest_import_public_lite.pb.h 555 google/protobuf/unittest_import_public_lite.pb.h
248 556
249 protoc_outputs = \ 557 protoc_outputs = \
250 $(protoc_lite_outputs) \ 558 $(protoc_lite_outputs) \
251 google/protobuf/unittest.pb.cc \ 559 google/protobuf/any_test.pb.cc \
252 google/protobuf/unittest.pb.h \ 560 google/protobuf/any_test.pb.h \
253 google/protobuf/unittest_empty.pb.cc \ 561 google/protobuf/compiler/cpp/cpp_test_bad_identifiers.pb.cc \
254 google/protobuf/unittest_empty.pb.h \ 562 google/protobuf/compiler/cpp/cpp_test_bad_identifiers.pb.h \
255 google/protobuf/unittest_import.pb.cc \ 563 google/protobuf/compiler/cpp/cpp_test_large_enum_value.pb.cc \
256 google/protobuf/unittest_import.pb.h \ 564 google/protobuf/compiler/cpp/cpp_test_large_enum_value.pb.h \
257 google/protobuf/unittest_import_public.pb.cc \ 565 google/protobuf/map_proto2_unittest.pb.cc \
258 google/protobuf/unittest_import_public.pb.h \ 566 google/protobuf/map_proto2_unittest.pb.h \
259 google/protobuf/unittest_mset.pb.cc \ 567 google/protobuf/map_unittest.pb.cc \
260 google/protobuf/unittest_mset.pb.h \ 568 google/protobuf/map_unittest.pb.h \
261 google/protobuf/unittest_optimize_for.pb.cc \ 569 google/protobuf/unittest_arena.pb.cc \
262 google/protobuf/unittest_optimize_for.pb.h \ 570 google/protobuf/unittest_arena.pb.h \
263 google/protobuf/unittest_embed_optimize_for.pb.cc \ 571 google/protobuf/unittest_custom_options.pb.cc \
264 google/protobuf/unittest_embed_optimize_for.pb.h \ 572 google/protobuf/unittest_custom_options.pb.h \
265 google/protobuf/unittest_custom_options.pb.cc \ 573 google/protobuf/unittest_drop_unknown_fields.pb.cc \
266 google/protobuf/unittest_custom_options.pb.h \ 574 google/protobuf/unittest_drop_unknown_fields.pb.h \
267 google/protobuf/unittest_lite_imports_nonlite.pb.cc \ 575 google/protobuf/unittest_embed_optimize_for.pb.cc \
268 google/protobuf/unittest_lite_imports_nonlite.pb.h \ 576 google/protobuf/unittest_embed_optimize_for.pb.h \
269 google/protobuf/unittest_no_generic_services.pb.cc \ 577 google/protobuf/unittest_empty.pb.cc \
270 google/protobuf/unittest_no_generic_services.pb.h \ 578 google/protobuf/unittest_empty.pb.h \
271 google/protobuf/compiler/cpp/cpp_test_bad_identifiers.pb.cc \ 579 google/protobuf/unittest_enormous_descriptor.pb.cc \
272 google/protobuf/compiler/cpp/cpp_test_bad_identifiers.pb.h 580 google/protobuf/unittest_enormous_descriptor.pb.h \
581 google/protobuf/unittest_import.pb.cc \
582 google/protobuf/unittest_import.pb.h \
583 google/protobuf/unittest_import_public.pb.cc \
584 google/protobuf/unittest_import_public.pb.h \
585 google/protobuf/unittest_lite_imports_nonlite.pb.cc \
586 google/protobuf/unittest_lite_imports_nonlite.pb.h \
587 google/protobuf/unittest_mset.pb.cc \
588 google/protobuf/unittest_mset.pb.h \
589 google/protobuf/unittest_mset_wire_format.pb.cc \
590 google/protobuf/unittest_mset_wire_format.pb.h \
591 google/protobuf/unittest_no_arena_import.pb.cc \
592 google/protobuf/unittest_no_arena_import.pb.h \
593 google/protobuf/unittest_no_arena.pb.cc \
594 google/protobuf/unittest_no_arena.pb.h \
595 google/protobuf/unittest_no_field_presence.pb.cc \
596 google/protobuf/unittest_no_field_presence.pb.h \
597 google/protobuf/unittest_no_generic_services.pb.cc \
598 google/protobuf/unittest_no_generic_services.pb.h \
599 google/protobuf/unittest_optimize_for.pb.cc \
600 google/protobuf/unittest_optimize_for.pb.h \
601 google/protobuf/unittest.pb.cc \
602 google/protobuf/unittest.pb.h \
603 google/protobuf/unittest_preserve_unknown_enum2.pb.cc \
604 google/protobuf/unittest_preserve_unknown_enum2.pb.h \
605 google/protobuf/unittest_preserve_unknown_enum.pb.cc \
606 google/protobuf/unittest_preserve_unknown_enum.pb.h \
607 google/protobuf/unittest_proto3_arena.pb.cc \
608 google/protobuf/unittest_proto3_arena.pb.h \
609 google/protobuf/unittest_well_known_types.pb.cc \
610 google/protobuf/unittest_well_known_types.pb.h \
611 google/protobuf/util/internal/testdata/anys.pb.cc \
612 google/protobuf/util/internal/testdata/anys.pb.h \
613 google/protobuf/util/internal/testdata/books.pb.cc \
614 google/protobuf/util/internal/testdata/books.pb.h \
615 google/protobuf/util/internal/testdata/default_value.pb.cc \
616 google/protobuf/util/internal/testdata/default_value.pb.h \
617 google/protobuf/util/internal/testdata/default_value_test.pb.cc \
618 google/protobuf/util/internal/testdata/default_value_test.pb.h \
619 google/protobuf/util/internal/testdata/field_mask.pb.cc \
620 google/protobuf/util/internal/testdata/field_mask.pb.h \
621 google/protobuf/util/internal/testdata/maps.pb.cc \
622 google/protobuf/util/internal/testdata/maps.pb.h \
623 google/protobuf/util/internal/testdata/oneofs.pb.cc \
624 google/protobuf/util/internal/testdata/oneofs.pb.h \
625 google/protobuf/util/internal/testdata/struct.pb.cc \
626 google/protobuf/util/internal/testdata/struct.pb.h \
627 google/protobuf/util/internal/testdata/timestamp_duration.pb.cc \
628 google/protobuf/util/internal/testdata/timestamp_duration.pb.h \
629 google/protobuf/util/json_format_proto3.pb.cc \
630 google/protobuf/util/json_format_proto3.pb.h \
631 google/protobuf/util/message_differencer_unittest.pb.cc \
632 google/protobuf/util/message_differencer_unittest.pb.h
273 633
274 BUILT_SOURCES = $(protoc_outputs) 634 BUILT_SOURCES = $(protoc_outputs)
275 635
276 if USE_EXTERNAL_PROTOC 636 if USE_EXTERNAL_PROTOC
277 637
278 unittest_proto_middleman: $(protoc_inputs) 638 unittest_proto_middleman: $(protoc_inputs)
279 $(PROTOC) -I$(srcdir) --cpp_out=. $^ 639 $(PROTOC) -I$(srcdir) --cpp_out=. $^
280 touch unittest_proto_middleman 640 touch unittest_proto_middleman
281 641
282 else 642 else
283 643
284 # We have to cd to $(srcdir) before executing protoc because $(protoc_inputs) is 644 # We have to cd to $(srcdir) before executing protoc because $(protoc_inputs) is
285 # relative to srcdir, which may not be the same as the current directory when 645 # relative to srcdir, which may not be the same as the current directory when
286 # building out-of-tree. 646 # building out-of-tree.
287 unittest_proto_middleman: protoc$(EXEEXT) $(protoc_inputs) 647 unittest_proto_middleman: protoc$(EXEEXT) $(protoc_inputs)
288 oldpwd=`pwd` && ( cd $(srcdir) && $$oldpwd/protoc$(EXEEXT) -I. --cpp_out =$$oldpwd $(protoc_inputs) ) 648 oldpwd=`pwd` && ( cd $(srcdir) && $$oldpwd/protoc$(EXEEXT) -I. --cpp_out =$$oldpwd $(protoc_inputs) )
289 touch unittest_proto_middleman 649 touch unittest_proto_middleman
290 650
291 endif 651 endif
292 652
293 $(protoc_outputs): unittest_proto_middleman 653 $(protoc_outputs): unittest_proto_middleman
294 654
295 COMMON_TEST_SOURCES = \ 655 COMMON_TEST_SOURCES = \
656 google/protobuf/arena_test_util.cc \
657 google/protobuf/arena_test_util.h \
658 google/protobuf/map_test_util.cc \
659 google/protobuf/map_test_util.h \
660 google/protobuf/map_test_util_impl.h \
296 google/protobuf/test_util.cc \ 661 google/protobuf/test_util.cc \
297 google/protobuf/test_util.h \ 662 google/protobuf/test_util.h \
298 google/protobuf/testing/googletest.cc \ 663 google/protobuf/testing/googletest.cc \
299 google/protobuf/testing/googletest.h \ 664 google/protobuf/testing/googletest.h \
300 google/protobuf/testing/file.cc \ 665 google/protobuf/testing/file.cc \
301 google/protobuf/testing/file.h 666 google/protobuf/testing/file.h
302 667
303 check_PROGRAMS = protoc protobuf-test protobuf-lazy-descriptor-test \ 668 check_PROGRAMS = protoc protobuf-test protobuf-lazy-descriptor-test \
304 protobuf-lite-test test_plugin $(GZCHECKPROGRAMS) 669 protobuf-lite-test test_plugin protobuf-lite-arena-test \
670 $(GZCHECKPROGRAMS)
305 protobuf_test_LDADD = $(PTHREAD_LIBS) libprotobuf.la libprotoc.la \ 671 protobuf_test_LDADD = $(PTHREAD_LIBS) libprotobuf.la libprotoc.la \
306 $(top_builddir)/gtest/lib/libgtest.la \ 672 ../gmock/gtest/lib/libgtest.la \
307 $(top_builddir)/gtest/lib/libgtest_main.la 673 ../gmock/lib/libgmock.la \
308 protobuf_test_CPPFLAGS = -I$(top_srcdir)/gtest/include \ 674 ../gmock/lib/libgmock_main.la
309 -I$(top_builddir)/gtest/include 675 protobuf_test_CPPFLAGS = -I$(srcdir)/../gmock/gtest/include \
676 -I$(srcdir)/../gmock/include
310 # Disable optimization for tests unless the user explicitly asked for it, 677 # Disable optimization for tests unless the user explicitly asked for it,
311 # since test_util.cc takes forever to compile with optimization (with GCC). 678 # since test_util.cc takes forever to compile with optimization (with GCC).
312 # See configure.ac for more info. 679 # See configure.ac for more info.
313 protobuf_test_CXXFLAGS = $(NO_OPT_CXXFLAGS) 680 protobuf_test_CXXFLAGS = $(NO_OPT_CXXFLAGS)
314 protobuf_test_SOURCES = \ 681 protobuf_test_SOURCES = \
682 google/protobuf/stubs/bytestream_unittest.cc \
315 google/protobuf/stubs/common_unittest.cc \ 683 google/protobuf/stubs/common_unittest.cc \
684 google/protobuf/stubs/int128_unittest.cc \
316 google/protobuf/stubs/once_unittest.cc \ 685 google/protobuf/stubs/once_unittest.cc \
686 google/protobuf/stubs/statusor_test.cc \
687 google/protobuf/stubs/status_test.cc \
688 google/protobuf/stubs/stringpiece_unittest.cc \
689 google/protobuf/stubs/stringprintf_unittest.cc \
690 google/protobuf/stubs/structurally_valid_unittest.cc \
317 google/protobuf/stubs/strutil_unittest.cc \ 691 google/protobuf/stubs/strutil_unittest.cc \
318 google/protobuf/stubs/structurally_valid_unittest.cc \
319 google/protobuf/stubs/stringprintf_unittest.cc \
320 google/protobuf/stubs/template_util_unittest.cc \ 692 google/protobuf/stubs/template_util_unittest.cc \
693 google/protobuf/stubs/time_test.cc \
321 google/protobuf/stubs/type_traits_unittest.cc \ 694 google/protobuf/stubs/type_traits_unittest.cc \
695 google/protobuf/any_test.cc \
696 google/protobuf/arenastring_unittest.cc \
697 google/protobuf/arena_unittest.cc \
322 google/protobuf/descriptor_database_unittest.cc \ 698 google/protobuf/descriptor_database_unittest.cc \
323 google/protobuf/descriptor_unittest.cc \ 699 google/protobuf/descriptor_unittest.cc \
700 google/protobuf/drop_unknown_fields_test.cc \
324 google/protobuf/dynamic_message_unittest.cc \ 701 google/protobuf/dynamic_message_unittest.cc \
325 google/protobuf/extension_set_unittest.cc \ 702 google/protobuf/extension_set_unittest.cc \
326 google/protobuf/generated_message_reflection_unittest.cc \ 703 google/protobuf/generated_message_reflection_unittest.cc \
704 google/protobuf/map_field_test.cc \
705 google/protobuf/map_test.cc \
327 google/protobuf/message_unittest.cc \ 706 google/protobuf/message_unittest.cc \
707 google/protobuf/no_field_presence_test.cc \
708 google/protobuf/preserve_unknown_enum_test.cc \
709 google/protobuf/proto3_arena_unittest.cc \
328 google/protobuf/reflection_ops_unittest.cc \ 710 google/protobuf/reflection_ops_unittest.cc \
711 google/protobuf/repeated_field_reflection_unittest.cc \
329 google/protobuf/repeated_field_unittest.cc \ 712 google/protobuf/repeated_field_unittest.cc \
330 google/protobuf/repeated_field_reflection_unittest.cc \
331 google/protobuf/text_format_unittest.cc \ 713 google/protobuf/text_format_unittest.cc \
332 google/protobuf/unknown_field_set_unittest.cc \ 714 google/protobuf/unknown_field_set_unittest.cc \
715 google/protobuf/well_known_types_unittest.cc \
333 google/protobuf/wire_format_unittest.cc \ 716 google/protobuf/wire_format_unittest.cc \
334 google/protobuf/io/coded_stream_unittest.cc \ 717 google/protobuf/io/coded_stream_unittest.cc \
335 google/protobuf/io/printer_unittest.cc \ 718 google/protobuf/io/printer_unittest.cc \
336 google/protobuf/io/tokenizer_unittest.cc \ 719 google/protobuf/io/tokenizer_unittest.cc \
337 google/protobuf/io/zero_copy_stream_unittest.cc \ 720 google/protobuf/io/zero_copy_stream_unittest.cc \
338 google/protobuf/compiler/command_line_interface_unittest.cc \ 721 google/protobuf/compiler/command_line_interface_unittest.cc \
339 google/protobuf/compiler/importer_unittest.cc \ 722 google/protobuf/compiler/importer_unittest.cc \
340 google/protobuf/compiler/mock_code_generator.cc \ 723 google/protobuf/compiler/mock_code_generator.cc \
341 google/protobuf/compiler/mock_code_generator.h \ 724 google/protobuf/compiler/mock_code_generator.h \
342 google/protobuf/compiler/parser_unittest.cc \ 725 google/protobuf/compiler/parser_unittest.cc \
343 google/protobuf/compiler/cpp/cpp_bootstrap_unittest.cc \ 726 google/protobuf/compiler/cpp/cpp_bootstrap_unittest.cc \
344 google/protobuf/compiler/cpp/cpp_unittest.h \ 727 google/protobuf/compiler/cpp/cpp_unittest.h \
345 google/protobuf/compiler/cpp/cpp_unittest.cc \ 728 google/protobuf/compiler/cpp/cpp_unittest.cc \
346 google/protobuf/compiler/cpp/cpp_plugin_unittest.cc \ 729 google/protobuf/compiler/cpp/cpp_plugin_unittest.cc \
347 google/protobuf/compiler/java/java_plugin_unittest.cc \ 730 google/protobuf/compiler/java/java_plugin_unittest.cc \
348 google/protobuf/compiler/java/java_doc_comment_unittest.cc \ 731 google/protobuf/compiler/java/java_doc_comment_unittest.cc \
732 google/protobuf/compiler/objectivec/objectivec_helpers_unittest.cc \
349 google/protobuf/compiler/python/python_plugin_unittest.cc \ 733 google/protobuf/compiler/python/python_plugin_unittest.cc \
734 google/protobuf/compiler/ruby/ruby_generator_unittest.cc \
735 google/protobuf/compiler/csharp/csharp_generator_unittest.cc \
736 google/protobuf/util/field_comparator_test.cc \
737 google/protobuf/util/field_mask_util_test.cc \
738 google/protobuf/util/internal/default_value_objectwriter_test.cc \
739 google/protobuf/util/internal/json_objectwriter_test.cc \
740 google/protobuf/util/internal/json_stream_parser_test.cc \
741 google/protobuf/util/internal/protostream_objectsource_test.cc \
742 google/protobuf/util/internal/protostream_objectwriter_test.cc \
743 google/protobuf/util/internal/type_info_test_helper.cc \
744 google/protobuf/util/json_util_test.cc \
745 google/protobuf/util/message_differencer_unittest.cc \
746 google/protobuf/util/time_util_test.cc \
747 google/protobuf/util/type_resolver_util_test.cc \
350 $(COMMON_TEST_SOURCES) 748 $(COMMON_TEST_SOURCES)
749
750
351 nodist_protobuf_test_SOURCES = $(protoc_outputs) 751 nodist_protobuf_test_SOURCES = $(protoc_outputs)
352 752
353 # Run cpp_unittest again with PROTOBUF_TEST_NO_DESCRIPTORS defined. 753 # Run cpp_unittest again with PROTOBUF_TEST_NO_DESCRIPTORS defined.
354 protobuf_lazy_descriptor_test_LDADD = $(PTHREAD_LIBS) libprotobuf.la \ 754 protobuf_lazy_descriptor_test_LDADD = $(PTHREAD_LIBS) libprotobuf.la \
355 $(top_builddir)/gtest/lib/libgtest.la \ 755 libprotoc.la \
356 $(top_builddir)/gtest/lib/libgtest_main.la 756 ../gmock/gtest/lib/libgtest.la \
357 protobuf_lazy_descriptor_test_CPPFLAGS = -I$(top_srcdir)/gtest/include \ 757 ../gmock/lib/libgmock.la \
358 -I$(top_builddir)/gtest/include \ 758 ../gmock/lib/libgmock_main.la
759 protobuf_lazy_descriptor_test_CPPFLAGS = -I$(srcdir)/../gmock/include \
760 -I$(srcdir)/../gmock/gtest/include \
359 -DPROTOBUF_TEST_NO_DESCRIPTORS 761 -DPROTOBUF_TEST_NO_DESCRIPTORS
360 protobuf_lazy_descriptor_test_CXXFLAGS = $(NO_OPT_CXXFLAGS) 762 protobuf_lazy_descriptor_test_CXXFLAGS = $(NO_OPT_CXXFLAGS)
361 protobuf_lazy_descriptor_test_SOURCES = \ 763 protobuf_lazy_descriptor_test_SOURCES = \
362 google/protobuf/compiler/cpp/cpp_unittest.cc \ 764 google/protobuf/compiler/cpp/cpp_unittest.cc \
363 $(COMMON_TEST_SOURCES) 765 $(COMMON_TEST_SOURCES)
364 nodist_protobuf_lazy_descriptor_test_SOURCES = $(protoc_outputs) 766 nodist_protobuf_lazy_descriptor_test_SOURCES = $(protoc_outputs)
365 767
366 # Build lite_unittest separately, since it doesn't use gtest. 768 COMMON_LITE_TEST_SOURCES = \
769 google/protobuf/arena_test_util.cc \
770 google/protobuf/arena_test_util.h \
771 google/protobuf/map_lite_test_util.cc \
772 google/protobuf/map_lite_test_util.h \
773 google/protobuf/test_util_lite.cc \
774 google/protobuf/test_util_lite.h
775
776 # Build lite_unittest separately, since it doesn't use gtest. It can't
777 # depend on gtest because our internal version of gtest depend on proto
778 # full runtime and we want to make sure this test builds without full
779 # runtime.
367 protobuf_lite_test_LDADD = $(PTHREAD_LIBS) libprotobuf-lite.la 780 protobuf_lite_test_LDADD = $(PTHREAD_LIBS) libprotobuf-lite.la
368 protobuf_lite_test_CXXFLAGS = $(NO_OPT_CXXFLAGS) 781 protobuf_lite_test_CXXFLAGS = $(NO_OPT_CXXFLAGS)
369 protobuf_lite_test_SOURCES = \ 782 protobuf_lite_test_SOURCES = \
370 google/protobuf/lite_unittest.cc \ 783 google/protobuf/lite_unittest.cc \
371 google/protobuf/test_util_lite.cc \ 784 $(COMMON_LITE_TEST_SOURCES)
372 google/protobuf/test_util_lite.h
373 nodist_protobuf_lite_test_SOURCES = $(protoc_lite_outputs) 785 nodist_protobuf_lite_test_SOURCES = $(protoc_lite_outputs)
374 786
787 # lite_arena_unittest depends on gtest because teboring@ found that without
788 # gtest when building the test internally our memory sanitizer doesn't detect
789 # memory leaks (don't know why).
790 protobuf_lite_arena_test_LDADD = $(PTHREAD_LIBS) libprotobuf-lite.la \
791 ../gmock/gtest/lib/libgtest.la \
792 ../gmock/lib/libgmock.la \
793 ../gmock/lib/libgmock_main.la
794 protobuf_lite_arena_test_CPPFLAGS = -I$(srcdir)/../gmock/include \
795 -I$(srcdir)/../gmock/gtest/include
796 protobuf_lite_arena_test_CXXFLAGS = $(NO_OPT_CXXFLAGS)
797 protobuf_lite_arena_test_SOURCES = \
798 google/protobuf/lite_arena_unittest.cc \
799 $(COMMON_LITE_TEST_SOURCES)
800 nodist_protobuf_lite_arena_test_SOURCES = $(protoc_lite_outputs)
801
375 # Test plugin binary. 802 # Test plugin binary.
376 test_plugin_LDADD = $(PTHREAD_LIBS) libprotobuf.la libprotoc.la \ 803 test_plugin_LDADD = $(PTHREAD_LIBS) libprotobuf.la libprotoc.la \
377 $(top_builddir)/gtest/lib/libgtest.la 804 ../gmock/gtest/lib/libgtest.la
378 test_plugin_CPPFLAGS = -I$(top_srcdir)/gtest/include \ 805 test_plugin_CPPFLAGS = -I$(srcdir)/../gmock/gtest/include
379 -I$(top_builddir)/gtest/include
380 test_plugin_SOURCES = \ 806 test_plugin_SOURCES = \
381 google/protobuf/compiler/mock_code_generator.cc \ 807 google/protobuf/compiler/mock_code_generator.cc \
382 google/protobuf/testing/file.cc \ 808 google/protobuf/testing/file.cc \
383 google/protobuf/testing/file.h \ 809 google/protobuf/testing/file.h \
384 google/protobuf/compiler/test_plugin.cc 810 google/protobuf/compiler/test_plugin.cc
385 811
386 if HAVE_ZLIB 812 if HAVE_ZLIB
387 zcgzip_LDADD = $(PTHREAD_LIBS) libprotobuf.la 813 zcgzip_LDADD = $(PTHREAD_LIBS) libprotobuf.la
388 zcgzip_SOURCES = google/protobuf/testing/zcgzip.cc 814 zcgzip_SOURCES = google/protobuf/testing/zcgzip.cc
389 815
390 zcgunzip_LDADD = $(PTHREAD_LIBS) libprotobuf.la 816 zcgunzip_LDADD = $(PTHREAD_LIBS) libprotobuf.la
391 zcgunzip_SOURCES = google/protobuf/testing/zcgunzip.cc 817 zcgunzip_SOURCES = google/protobuf/testing/zcgunzip.cc
392 endif 818 endif
393 819
394 TESTS = protobuf-test protobuf-lazy-descriptor-test protobuf-lite-test \ 820 TESTS = protobuf-test protobuf-lazy-descriptor-test protobuf-lite-test \
395 google/protobuf/compiler/zip_output_unittest.sh $(GZTESTS) 821 google/protobuf/compiler/zip_output_unittest.sh $(GZTESTS) \
822 protobuf-lite-arena-test
OLDNEW
« no previous file with comments | « third_party/protobuf/six.BUILD ('k') | third_party/protobuf/src/google/protobuf/SEBS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698