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

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

Issue 2495533002: third_party/protobuf: Update to HEAD (83d681ee2c) (Closed)
Patch Set: Update to new HEAD (b7632464b4) + restore GOOGLE_PROTOBUF_NO_STATIC_INITIALIZER Created 4 years 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 ## 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 ZLIB_DEF = -DHAVE_ZLIB=1
8 else 8 else
9 GZCHECKPROGRAMS = 9 GZCHECKPROGRAMS =
10 GZHEADERS = 10 GZHEADERS =
11 GZTESTS = 11 GZTESTS =
12 ZLIB_DEF = 12 ZLIB_DEF =
13 endif 13 endif
14 14
15 if HAVE_PTHREAD 15 if HAVE_PTHREAD
16 PTHREAD_DEF = -DHAVE_PTHREAD=1 16 PTHREAD_DEF = -DHAVE_PTHREAD=1
17 else 17 else
18 PTHREAD_DEF = 18 PTHREAD_DEF =
19 endif 19 endif
20 20
21 if GCC 21 if GCC
22 # These are good warnings to turn on by default 22 # Turn on all warnings except for sign comparison (we ignore sign comparison
23 NO_OPT_CXXFLAGS = $(PTHREAD_CFLAGS) $(PTHREAD_DEF) $(ZLIB_DEF) -Wall -Wwrite-str ings -Woverloaded-virtual -Wno-sign-compare 23 # in Google so our code base have tons of such warnings).
24 NO_OPT_CXXFLAGS = $(PTHREAD_CFLAGS) $(PTHREAD_DEF) $(ZLIB_DEF) -Wall -Wno-sign-c ompare
24 else 25 else
25 NO_OPT_CXXFLAGS = $(PTHREAD_CFLAGS) $(PTHREAD_DEF) $(ZLIB_DEF) 26 NO_OPT_CXXFLAGS = $(PTHREAD_CFLAGS) $(PTHREAD_DEF) $(ZLIB_DEF)
26 endif 27 endif
27 28
28 AM_CXXFLAGS = $(NO_OPT_CXXFLAGS) $(PROTOBUF_OPT_FLAG) 29 AM_CXXFLAGS = $(NO_OPT_CXXFLAGS) $(PROTOBUF_OPT_FLAG)
29 30
30 AM_LDFLAGS = $(PTHREAD_CFLAGS) 31 AM_LDFLAGS = $(PTHREAD_CFLAGS)
31 32
32 # If I say "dist_include_DATA", automake complains that $(includedir) is not 33 # If I say "dist_include_DATA", automake complains that $(includedir) is not
33 # a "legitimate" directory for DATA. Screw you, automake. 34 # a "legitimate" directory for DATA. Screw you, automake.
34 protodir = $(includedir) 35 protodir = $(includedir)
36
37 # If you are adding new files here, also remember to change the build files for
38 # all other languages, //protoc-artifacts/build-zip.sh and run
39 # //update_file_list.sh for bazel.
35 nobase_dist_proto_DATA = google/protobuf/descriptor.proto \ 40 nobase_dist_proto_DATA = google/protobuf/descriptor.proto \
36 google/protobuf/any.proto \ 41 google/protobuf/any.proto \
37 google/protobuf/api.proto \ 42 google/protobuf/api.proto \
38 google/protobuf/duration.proto \ 43 google/protobuf/duration.proto \
39 google/protobuf/empty.proto \ 44 google/protobuf/empty.proto \
40 google/protobuf/field_mask.proto \ 45 google/protobuf/field_mask.proto \
41 google/protobuf/source_context.proto \ 46 google/protobuf/source_context.proto \
42 google/protobuf/struct.proto \ 47 google/protobuf/struct.proto \
43 google/protobuf/timestamp.proto \ 48 google/protobuf/timestamp.proto \
44 google/protobuf/type.proto \ 49 google/protobuf/type.proto \
45 google/protobuf/wrappers.proto \ 50 google/protobuf/wrappers.proto \
46 google/protobuf/compiler/plugin.proto 51 google/protobuf/compiler/plugin.proto
47 52
48 # Not sure why these don't get cleaned automatically. 53 # Not sure why these don't get cleaned automatically.
49 clean-local: 54 clean-local:
50 rm -f *.loT 55 rm -f *.loT
51 56
52 CLEANFILES = $(protoc_outputs) unittest_proto_middleman \ 57 CLEANFILES = $(protoc_outputs) unittest_proto_middleman \
53 testzip.jar testzip.list testzip.proto testzip.zip 58 testzip.jar testzip.list testzip.proto testzip.zip \
59 no_warning_test.cc
54 60
55 MAINTAINERCLEANFILES = \ 61 MAINTAINERCLEANFILES = \
56 Makefile.in 62 Makefile.in
57 63
58 nobase_include_HEADERS = \ 64 nobase_include_HEADERS = \
59 google/protobuf/stubs/atomic_sequence_num.h \ 65 google/protobuf/stubs/atomic_sequence_num.h \
60 google/protobuf/stubs/atomicops.h \ 66 google/protobuf/stubs/atomicops.h \
61 google/protobuf/stubs/atomicops_internals_power.h \ 67 google/protobuf/stubs/atomicops_internals_power.h \
62 google/protobuf/stubs/atomicops_internals_arm64_gcc.h \ 68 google/protobuf/stubs/atomicops_internals_ppc_gcc.h \
63 google/protobuf/stubs/atomicops_internals_arm_gcc.h \ 69 google/protobuf/stubs/atomicops_internals_arm64_gcc.h \
64 google/protobuf/stubs/atomicops_internals_arm_qnx.h \ 70 google/protobuf/stubs/atomicops_internals_arm_gcc.h \
65 google/protobuf/stubs/atomicops_internals_atomicword_compat.h \ 71 google/protobuf/stubs/atomicops_internals_arm_qnx.h \
66 google/protobuf/stubs/atomicops_internals_generic_gcc.h \ 72 google/protobuf/stubs/atomicops_internals_atomicword_compat.h \
67 google/protobuf/stubs/atomicops_internals_macosx.h \ 73 google/protobuf/stubs/atomicops_internals_generic_c11_atomic.h \
68 google/protobuf/stubs/atomicops_internals_mips_gcc.h \ 74 google/protobuf/stubs/atomicops_internals_generic_gcc.h \
69 google/protobuf/stubs/atomicops_internals_pnacl.h \ 75 google/protobuf/stubs/atomicops_internals_macosx.h \
70 google/protobuf/stubs/atomicops_internals_solaris.h \ 76 google/protobuf/stubs/atomicops_internals_mips_gcc.h \
71 google/protobuf/stubs/atomicops_internals_tsan.h \ 77 google/protobuf/stubs/atomicops_internals_solaris.h \
72 google/protobuf/stubs/atomicops_internals_x86_gcc.h \ 78 google/protobuf/stubs/atomicops_internals_tsan.h \
73 google/protobuf/stubs/atomicops_internals_x86_msvc.h \ 79 google/protobuf/stubs/atomicops_internals_x86_gcc.h \
74 google/protobuf/stubs/callback.h \ 80 google/protobuf/stubs/atomicops_internals_x86_msvc.h \
75 google/protobuf/stubs/bytestream.h \ 81 google/protobuf/stubs/callback.h \
76 google/protobuf/stubs/casts.h \ 82 google/protobuf/stubs/bytestream.h \
77 google/protobuf/stubs/common.h \ 83 google/protobuf/stubs/casts.h \
78 google/protobuf/stubs/fastmem.h \ 84 google/protobuf/stubs/common.h \
79 google/protobuf/stubs/hash.h \ 85 google/protobuf/stubs/fastmem.h \
80 google/protobuf/stubs/logging.h \ 86 google/protobuf/stubs/hash.h \
81 google/protobuf/stubs/macros.h \ 87 google/protobuf/stubs/logging.h \
82 google/protobuf/stubs/mutex.h \ 88 google/protobuf/stubs/macros.h \
83 google/protobuf/stubs/once.h \ 89 google/protobuf/stubs/mutex.h \
84 google/protobuf/stubs/platform_macros.h \ 90 google/protobuf/stubs/once.h \
85 google/protobuf/stubs/port.h \ 91 google/protobuf/stubs/platform_macros.h \
86 google/protobuf/stubs/scoped_ptr.h \ 92 google/protobuf/stubs/port.h \
87 google/protobuf/stubs/shared_ptr.h \ 93 google/protobuf/stubs/scoped_ptr.h \
88 google/protobuf/stubs/singleton.h \ 94 google/protobuf/stubs/shared_ptr.h \
89 google/protobuf/stubs/status.h \ 95 google/protobuf/stubs/singleton.h \
90 google/protobuf/stubs/stl_util.h \ 96 google/protobuf/stubs/status.h \
91 google/protobuf/stubs/stringpiece.h \ 97 google/protobuf/stubs/stl_util.h \
92 google/protobuf/stubs/template_util.h \ 98 google/protobuf/stubs/stringpiece.h \
93 google/protobuf/stubs/type_traits.h \ 99 google/protobuf/stubs/template_util.h \
94 google/protobuf/any.pb.h \ 100 google/protobuf/stubs/type_traits.h \
95 google/protobuf/api.pb.h \ 101 google/protobuf/any.pb.h \
96 google/protobuf/any.h \ 102 google/protobuf/api.pb.h \
97 google/protobuf/arena.h \ 103 google/protobuf/any.h \
98 google/protobuf/arenastring.h \ 104 google/protobuf/arena.h \
99 google/protobuf/descriptor_database.h \ 105 google/protobuf/arenastring.h \
100 google/protobuf/descriptor.h \ 106 google/protobuf/descriptor_database.h \
101 google/protobuf/descriptor.pb.h \ 107 google/protobuf/descriptor.h \
102 google/protobuf/duration.pb.h \ 108 google/protobuf/descriptor.pb.h \
103 google/protobuf/dynamic_message.h \ 109 google/protobuf/duration.pb.h \
104 google/protobuf/empty.pb.h \ 110 google/protobuf/dynamic_message.h \
105 google/protobuf/extension_set.h \ 111 google/protobuf/empty.pb.h \
106 google/protobuf/field_mask.pb.h \ 112 google/protobuf/extension_set.h \
107 google/protobuf/generated_enum_reflection.h \ 113 google/protobuf/field_mask.pb.h \
108 google/protobuf/generated_enum_util.h \ 114 google/protobuf/generated_enum_reflection.h \
109 google/protobuf/generated_message_reflection.h \ 115 google/protobuf/generated_enum_util.h \
110 google/protobuf/generated_message_util.h \ 116 google/protobuf/generated_message_reflection.h \
111 google/protobuf/map_entry.h \ 117 google/protobuf/generated_message_util.h \
112 google/protobuf/map_entry_lite.h \ 118 google/protobuf/has_bits.h \
113 google/protobuf/map_field.h \ 119 google/protobuf/map_entry.h \
114 google/protobuf/map_field_inl.h \ 120 google/protobuf/map_entry_lite.h \
115 google/protobuf/map_field_lite.h \ 121 google/protobuf/map_field.h \
116 google/protobuf/map.h \ 122 google/protobuf/map_field_inl.h \
117 google/protobuf/map_type_handler.h \ 123 google/protobuf/map_field_lite.h \
118 google/protobuf/message.h \ 124 google/protobuf/map.h \
119 google/protobuf/message_lite.h \ 125 google/protobuf/map_type_handler.h \
120 google/protobuf/metadata.h \ 126 google/protobuf/message.h \
121 google/protobuf/reflection.h \ 127 google/protobuf/message_lite.h \
122 google/protobuf/reflection_ops.h \ 128 google/protobuf/metadata.h \
123 google/protobuf/repeated_field.h \ 129 google/protobuf/reflection.h \
124 google/protobuf/repeated_field_reflection.h \ 130 google/protobuf/reflection_ops.h \
125 google/protobuf/service.h \ 131 google/protobuf/repeated_field.h \
126 google/protobuf/source_context.pb.h \ 132 google/protobuf/service.h \
127 google/protobuf/struct.pb.h \ 133 google/protobuf/source_context.pb.h \
128 google/protobuf/text_format.h \ 134 google/protobuf/struct.pb.h \
129 google/protobuf/timestamp.pb.h \ 135 google/protobuf/text_format.h \
130 google/protobuf/type.pb.h \ 136 google/protobuf/timestamp.pb.h \
131 google/protobuf/unknown_field_set.h \ 137 google/protobuf/type.pb.h \
132 google/protobuf/wire_format.h \ 138 google/protobuf/unknown_field_set.h \
133 google/protobuf/wire_format_lite.h \ 139 google/protobuf/wire_format.h \
134 google/protobuf/wire_format_lite_inl.h \ 140 google/protobuf/wire_format_lite.h \
135 google/protobuf/wrappers.pb.h \ 141 google/protobuf/wire_format_lite_inl.h \
136 google/protobuf/io/coded_stream.h \ 142 google/protobuf/wrappers.pb.h \
137 $(GZHEADERS) \ 143 google/protobuf/io/coded_stream.h \
138 google/protobuf/io/printer.h \ 144 $(GZHEADERS) \
139 google/protobuf/io/strtod.h \ 145 google/protobuf/io/printer.h \
140 google/protobuf/io/tokenizer.h \ 146 google/protobuf/io/strtod.h \
141 google/protobuf/io/zero_copy_stream.h \ 147 google/protobuf/io/tokenizer.h \
142 google/protobuf/io/zero_copy_stream_impl.h \ 148 google/protobuf/io/zero_copy_stream.h \
143 google/protobuf/io/zero_copy_stream_impl_lite.h \ 149 google/protobuf/io/zero_copy_stream_impl.h \
144 google/protobuf/compiler/code_generator.h \ 150 google/protobuf/io/zero_copy_stream_impl_lite.h \
145 google/protobuf/compiler/command_line_interface.h \ 151 google/protobuf/compiler/code_generator.h \
146 google/protobuf/compiler/importer.h \ 152 google/protobuf/compiler/command_line_interface.h \
147 google/protobuf/compiler/parser.h \ 153 google/protobuf/compiler/importer.h \
148 google/protobuf/compiler/plugin.h \ 154 google/protobuf/compiler/parser.h \
149 google/protobuf/compiler/plugin.pb.h \ 155 google/protobuf/compiler/plugin.h \
150 google/protobuf/compiler/cpp/cpp_generator.h \ 156 google/protobuf/compiler/plugin.pb.h \
151 google/protobuf/compiler/csharp/csharp_generator.h \ 157 google/protobuf/compiler/cpp/cpp_generator.h \
152 google/protobuf/compiler/csharp/csharp_names.h \ 158 google/protobuf/compiler/csharp/csharp_generator.h \
153 google/protobuf/compiler/java/java_generator.h \ 159 google/protobuf/compiler/csharp/csharp_names.h \
154 google/protobuf/compiler/java/java_names.h \ 160 google/protobuf/compiler/java/java_generator.h \
155 google/protobuf/compiler/javanano/javanano_generator.h \ 161 google/protobuf/compiler/java/java_names.h \
156 google/protobuf/compiler/js/js_generator.h \ 162 google/protobuf/compiler/javanano/javanano_generator.h \
157 google/protobuf/compiler/objectivec/objectivec_generator.h \ 163 google/protobuf/compiler/js/js_generator.h \
158 google/protobuf/compiler/objectivec/objectivec_helpers.h \ 164 google/protobuf/compiler/objectivec/objectivec_generator.h \
159 google/protobuf/compiler/python/python_generator.h \ 165 google/protobuf/compiler/objectivec/objectivec_helpers.h \
160 google/protobuf/compiler/ruby/ruby_generator.h \ 166 google/protobuf/compiler/php/php_generator.h \
161 google/protobuf/util/type_resolver.h \ 167 google/protobuf/compiler/python/python_generator.h \
162 google/protobuf/util/field_comparator.h \ 168 google/protobuf/compiler/ruby/ruby_generator.h \
163 google/protobuf/util/field_mask_util.h \ 169 google/protobuf/util/type_resolver.h \
164 google/protobuf/util/json_util.h \ 170 google/protobuf/util/field_comparator.h \
165 google/protobuf/util/time_util.h \ 171 google/protobuf/util/field_mask_util.h \
166 google/protobuf/util/type_resolver_util.h \ 172 google/protobuf/util/json_util.h \
173 google/protobuf/util/time_util.h \
174 google/protobuf/util/type_resolver_util.h \
167 google/protobuf/util/message_differencer.h 175 google/protobuf/util/message_differencer.h
168 176
169 lib_LTLIBRARIES = libprotobuf-lite.la libprotobuf.la libprotoc.la 177 lib_LTLIBRARIES = libprotobuf-lite.la libprotobuf.la libprotoc.la
170 178
171 libprotobuf_lite_la_LIBADD = $(PTHREAD_LIBS) 179 libprotobuf_lite_la_LIBADD = $(PTHREAD_LIBS)
172 libprotobuf_lite_la_LDFLAGS = -version-info 10:0:0 -export-dynamic -no-undefined 180 libprotobuf_lite_la_LDFLAGS = -version-info 11:0:0 -export-dynamic -no-undefined
173 libprotobuf_lite_la_SOURCES = \ 181 libprotobuf_lite_la_SOURCES = \
174 google/protobuf/stubs/atomicops_internals_x86_gcc.cc \ 182 google/protobuf/stubs/atomicops_internals_x86_gcc.cc \
175 google/protobuf/stubs/atomicops_internals_x86_msvc.cc \ 183 google/protobuf/stubs/atomicops_internals_x86_msvc.cc \
176 google/protobuf/stubs/bytestream.cc \ 184 google/protobuf/stubs/bytestream.cc \
177 google/protobuf/stubs/bytestream.h \ 185 google/protobuf/stubs/bytestream.h \
178 google/protobuf/stubs/common.cc \ 186 google/protobuf/stubs/common.cc \
179 google/protobuf/stubs/hash.h \ 187 google/protobuf/stubs/hash.h \
180 google/protobuf/stubs/int128.cc \ 188 google/protobuf/stubs/int128.cc \
181 google/protobuf/stubs/int128.h \ 189 google/protobuf/stubs/int128.h \
182 google/protobuf/stubs/map_util.h \ 190 google/protobuf/stubs/map_util.h \
(...skipping 20 matching lines...) Expand all
203 google/protobuf/generated_message_util.cc \ 211 google/protobuf/generated_message_util.cc \
204 google/protobuf/message_lite.cc \ 212 google/protobuf/message_lite.cc \
205 google/protobuf/repeated_field.cc \ 213 google/protobuf/repeated_field.cc \
206 google/protobuf/wire_format_lite.cc \ 214 google/protobuf/wire_format_lite.cc \
207 google/protobuf/io/coded_stream.cc \ 215 google/protobuf/io/coded_stream.cc \
208 google/protobuf/io/coded_stream_inl.h \ 216 google/protobuf/io/coded_stream_inl.h \
209 google/protobuf/io/zero_copy_stream.cc \ 217 google/protobuf/io/zero_copy_stream.cc \
210 google/protobuf/io/zero_copy_stream_impl_lite.cc 218 google/protobuf/io/zero_copy_stream_impl_lite.cc
211 219
212 libprotobuf_la_LIBADD = $(PTHREAD_LIBS) 220 libprotobuf_la_LIBADD = $(PTHREAD_LIBS)
213 libprotobuf_la_LDFLAGS = -version-info 10:0:0 -export-dynamic -no-undefined 221 libprotobuf_la_LDFLAGS = -version-info 11:0:0 -export-dynamic -no-undefined
214 libprotobuf_la_SOURCES = \ 222 libprotobuf_la_SOURCES = \
215 $(libprotobuf_lite_la_SOURCES) \ 223 $(libprotobuf_lite_la_SOURCES) \
216 google/protobuf/any.pb.cc \ 224 google/protobuf/any.pb.cc \
217 google/protobuf/api.pb.cc \ 225 google/protobuf/api.pb.cc \
218 google/protobuf/stubs/mathlimits.cc \ 226 google/protobuf/stubs/mathlimits.cc \
219 google/protobuf/stubs/mathlimits.h \ 227 google/protobuf/stubs/mathlimits.h \
220 google/protobuf/any.cc \ 228 google/protobuf/any.cc \
221 google/protobuf/descriptor.cc \ 229 google/protobuf/descriptor.cc \
222 google/protobuf/descriptor_database.cc \ 230 google/protobuf/descriptor_database.cc \
223 google/protobuf/descriptor.pb.cc \ 231 google/protobuf/descriptor.pb.cc \
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 google/protobuf/util/internal/utility.cc \ 295 google/protobuf/util/internal/utility.cc \
288 google/protobuf/util/internal/utility.h \ 296 google/protobuf/util/internal/utility.h \
289 google/protobuf/util/json_util.cc \ 297 google/protobuf/util/json_util.cc \
290 google/protobuf/util/message_differencer.cc \ 298 google/protobuf/util/message_differencer.cc \
291 google/protobuf/util/time_util.cc \ 299 google/protobuf/util/time_util.cc \
292 google/protobuf/util/type_resolver_util.cc 300 google/protobuf/util/type_resolver_util.cc
293 301
294 nodist_libprotobuf_la_SOURCES = $(nodist_libprotobuf_lite_la_SOURCES) 302 nodist_libprotobuf_la_SOURCES = $(nodist_libprotobuf_lite_la_SOURCES)
295 303
296 libprotoc_la_LIBADD = $(PTHREAD_LIBS) libprotobuf.la 304 libprotoc_la_LIBADD = $(PTHREAD_LIBS) libprotobuf.la
297 libprotoc_la_LDFLAGS = -version-info 10:0:0 -export-dynamic -no-undefined 305 libprotoc_la_LDFLAGS = -version-info 11:0:0 -export-dynamic -no-undefined
298 libprotoc_la_SOURCES = \ 306 libprotoc_la_SOURCES = \
299 google/protobuf/compiler/code_generator.cc \ 307 google/protobuf/compiler/code_generator.cc \
300 google/protobuf/compiler/command_line_interface.cc \ 308 google/protobuf/compiler/command_line_interface.cc \
301 google/protobuf/compiler/plugin.cc \ 309 google/protobuf/compiler/plugin.cc \
302 google/protobuf/compiler/plugin.pb.cc \ 310 google/protobuf/compiler/plugin.pb.cc \
303 google/protobuf/compiler/subprocess.cc \ 311 google/protobuf/compiler/subprocess.cc \
304 google/protobuf/compiler/subprocess.h \ 312 google/protobuf/compiler/subprocess.h \
305 google/protobuf/compiler/zip_writer.cc \ 313 google/protobuf/compiler/zip_writer.cc \
306 google/protobuf/compiler/zip_writer.h \ 314 google/protobuf/compiler/zip_writer.h \
307 google/protobuf/compiler/cpp/cpp_enum.cc \ 315 google/protobuf/compiler/cpp/cpp_enum.cc \
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
368 google/protobuf/compiler/java/java_message_field.cc \ 376 google/protobuf/compiler/java/java_message_field.cc \
369 google/protobuf/compiler/java/java_message_field.h \ 377 google/protobuf/compiler/java/java_message_field.h \
370 google/protobuf/compiler/java/java_message_field_lite.cc \ 378 google/protobuf/compiler/java/java_message_field_lite.cc \
371 google/protobuf/compiler/java/java_message_field_lite.h \ 379 google/protobuf/compiler/java/java_message_field_lite.h \
372 google/protobuf/compiler/java/java_message.h \ 380 google/protobuf/compiler/java/java_message.h \
373 google/protobuf/compiler/java/java_message_lite.h \ 381 google/protobuf/compiler/java/java_message_lite.h \
374 google/protobuf/compiler/java/java_message_builder.h \ 382 google/protobuf/compiler/java/java_message_builder.h \
375 google/protobuf/compiler/java/java_message_builder_lite.h \ 383 google/protobuf/compiler/java/java_message_builder_lite.h \
376 google/protobuf/compiler/java/java_name_resolver.cc \ 384 google/protobuf/compiler/java/java_name_resolver.cc \
377 google/protobuf/compiler/java/java_name_resolver.h \ 385 google/protobuf/compiler/java/java_name_resolver.h \
386 google/protobuf/compiler/java/java_options.h \
378 google/protobuf/compiler/java/java_primitive_field.cc \ 387 google/protobuf/compiler/java/java_primitive_field.cc \
379 google/protobuf/compiler/java/java_primitive_field.h \ 388 google/protobuf/compiler/java/java_primitive_field.h \
380 google/protobuf/compiler/java/java_primitive_field_lite.cc \ 389 google/protobuf/compiler/java/java_primitive_field_lite.cc \
381 google/protobuf/compiler/java/java_primitive_field_lite.h \ 390 google/protobuf/compiler/java/java_primitive_field_lite.h \
382 google/protobuf/compiler/java/java_shared_code_generator.cc \ 391 google/protobuf/compiler/java/java_shared_code_generator.cc \
383 google/protobuf/compiler/java/java_shared_code_generator.h \ 392 google/protobuf/compiler/java/java_shared_code_generator.h \
384 google/protobuf/compiler/java/java_service.cc \ 393 google/protobuf/compiler/java/java_service.cc \
385 google/protobuf/compiler/java/java_service.h \ 394 google/protobuf/compiler/java/java_service.h \
386 google/protobuf/compiler/java/java_string_field.cc \ 395 google/protobuf/compiler/java/java_string_field.cc \
387 google/protobuf/compiler/java/java_string_field.h \ 396 google/protobuf/compiler/java/java_string_field.h \
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
429 google/protobuf/compiler/objectivec/objectivec_map_field.cc \ 438 google/protobuf/compiler/objectivec/objectivec_map_field.cc \
430 google/protobuf/compiler/objectivec/objectivec_map_field.h \ 439 google/protobuf/compiler/objectivec/objectivec_map_field.h \
431 google/protobuf/compiler/objectivec/objectivec_message.cc \ 440 google/protobuf/compiler/objectivec/objectivec_message.cc \
432 google/protobuf/compiler/objectivec/objectivec_message.h \ 441 google/protobuf/compiler/objectivec/objectivec_message.h \
433 google/protobuf/compiler/objectivec/objectivec_message_field.cc \ 442 google/protobuf/compiler/objectivec/objectivec_message_field.cc \
434 google/protobuf/compiler/objectivec/objectivec_message_field.h \ 443 google/protobuf/compiler/objectivec/objectivec_message_field.h \
435 google/protobuf/compiler/objectivec/objectivec_oneof.cc \ 444 google/protobuf/compiler/objectivec/objectivec_oneof.cc \
436 google/protobuf/compiler/objectivec/objectivec_oneof.h \ 445 google/protobuf/compiler/objectivec/objectivec_oneof.h \
437 google/protobuf/compiler/objectivec/objectivec_primitive_field.cc \ 446 google/protobuf/compiler/objectivec/objectivec_primitive_field.cc \
438 google/protobuf/compiler/objectivec/objectivec_primitive_field.h \ 447 google/protobuf/compiler/objectivec/objectivec_primitive_field.h \
448 google/protobuf/compiler/php/php_generator.cc \
439 google/protobuf/compiler/python/python_generator.cc \ 449 google/protobuf/compiler/python/python_generator.cc \
440 google/protobuf/compiler/ruby/ruby_generator.cc \ 450 google/protobuf/compiler/ruby/ruby_generator.cc \
441 google/protobuf/compiler/csharp/csharp_doc_comment.cc \ 451 google/protobuf/compiler/csharp/csharp_doc_comment.cc \
442 google/protobuf/compiler/csharp/csharp_doc_comment.h \ 452 google/protobuf/compiler/csharp/csharp_doc_comment.h \
443 google/protobuf/compiler/csharp/csharp_enum.cc \ 453 google/protobuf/compiler/csharp/csharp_enum.cc \
444 google/protobuf/compiler/csharp/csharp_enum.h \ 454 google/protobuf/compiler/csharp/csharp_enum.h \
445 google/protobuf/compiler/csharp/csharp_enum_field.cc \ 455 google/protobuf/compiler/csharp/csharp_enum_field.cc \
446 google/protobuf/compiler/csharp/csharp_enum_field.h \ 456 google/protobuf/compiler/csharp/csharp_enum_field.h \
447 google/protobuf/compiler/csharp/csharp_field_base.cc \ 457 google/protobuf/compiler/csharp/csharp_field_base.cc \
448 google/protobuf/compiler/csharp/csharp_field_base.h \ 458 google/protobuf/compiler/csharp/csharp_field_base.h \
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
510 google/protobuf/unittest_proto3_arena_lite.proto \ 520 google/protobuf/unittest_proto3_arena_lite.proto \
511 google/protobuf/unittest_proto3_lite.proto \ 521 google/protobuf/unittest_proto3_lite.proto \
512 google/protobuf/unittest_well_known_types.proto \ 522 google/protobuf/unittest_well_known_types.proto \
513 google/protobuf/util/internal/testdata/anys.proto \ 523 google/protobuf/util/internal/testdata/anys.proto \
514 google/protobuf/util/internal/testdata/books.proto \ 524 google/protobuf/util/internal/testdata/books.proto \
515 google/protobuf/util/internal/testdata/default_value.proto \ 525 google/protobuf/util/internal/testdata/default_value.proto \
516 google/protobuf/util/internal/testdata/default_value_test.proto \ 526 google/protobuf/util/internal/testdata/default_value_test.proto \
517 google/protobuf/util/internal/testdata/field_mask.proto \ 527 google/protobuf/util/internal/testdata/field_mask.proto \
518 google/protobuf/util/internal/testdata/maps.proto \ 528 google/protobuf/util/internal/testdata/maps.proto \
519 google/protobuf/util/internal/testdata/oneofs.proto \ 529 google/protobuf/util/internal/testdata/oneofs.proto \
530 google/protobuf/util/internal/testdata/proto3.proto \
520 google/protobuf/util/internal/testdata/struct.proto \ 531 google/protobuf/util/internal/testdata/struct.proto \
521 google/protobuf/util/internal/testdata/timestamp_duration.proto \ 532 google/protobuf/util/internal/testdata/timestamp_duration.proto \
533 google/protobuf/util/internal/testdata/wrappers.proto \
522 google/protobuf/util/json_format_proto3.proto \ 534 google/protobuf/util/json_format_proto3.proto \
523 google/protobuf/util/message_differencer_unittest.proto \ 535 google/protobuf/util/message_differencer_unittest.proto \
524 google/protobuf/compiler/cpp/cpp_test_large_enum_value.proto 536 google/protobuf/compiler/cpp/cpp_test_large_enum_value.proto
525 537
526 EXTRA_DIST = \ 538 EXTRA_DIST = \
527 $(protoc_inputs) \ 539 $(protoc_inputs) \
528 solaris/libstdc++.la \ 540 solaris/libstdc++.la \
529 google/protobuf/io/gzip_stream.h \ 541 google/protobuf/io/gzip_stream.h \
530 google/protobuf/io/gzip_stream_unittest.sh \ 542 google/protobuf/io/gzip_stream_unittest.sh \
531 google/protobuf/testdata/golden_message \ 543 google/protobuf/testdata/golden_message \
544 google/protobuf/testdata/golden_message_maps \
532 google/protobuf/testdata/golden_message_oneof_implemented \ 545 google/protobuf/testdata/golden_message_oneof_implemented \
533 google/protobuf/testdata/golden_message_proto3 \ 546 google/protobuf/testdata/golden_message_proto3 \
534 google/protobuf/testdata/golden_packed_fields_message \ 547 google/protobuf/testdata/golden_packed_fields_message \
535 google/protobuf/testdata/bad_utf8_string \ 548 google/protobuf/testdata/bad_utf8_string \
536 google/protobuf/testdata/map_test_data.txt \ 549 google/protobuf/testdata/map_test_data.txt \
537 google/protobuf/testdata/text_format_unittest_data.txt \ 550 google/protobuf/testdata/text_format_unittest_data.txt \
538 google/protobuf/testdata/text_format_unittest_data_oneof_implemented.txt \ 551 google/protobuf/testdata/text_format_unittest_data_oneof_implemented.txt \
539 google/protobuf/testdata/text_format_unittest_data_pointy.txt \ 552 google/protobuf/testdata/text_format_unittest_data_pointy.txt \
540 google/protobuf/testdata/text_format_unittest_data_pointy_oneof.txt \ 553 google/protobuf/testdata/text_format_unittest_data_pointy_oneof.txt \
541 google/protobuf/testdata/text_format_unittest_extensions_data.txt \ 554 google/protobuf/testdata/text_format_unittest_extensions_data.txt \
542 google/protobuf/testdata/text_format_unittest_extensions_data_pointy.txt \ 555 google/protobuf/testdata/text_format_unittest_extensions_data_pointy.txt \
543 google/protobuf/package_info.h \ 556 google/protobuf/package_info.h \
544 google/protobuf/io/package_info.h \ 557 google/protobuf/io/package_info.h \
558 google/protobuf/util/package_info.h \
545 google/protobuf/compiler/ruby/ruby_generated_code.proto \ 559 google/protobuf/compiler/ruby/ruby_generated_code.proto \
546 google/protobuf/compiler/ruby/ruby_generated_code.rb \ 560 google/protobuf/compiler/ruby/ruby_generated_code_pb.rb \
547 google/protobuf/compiler/package_info.h \ 561 google/protobuf/compiler/package_info.h \
548 google/protobuf/compiler/zip_output_unittest.sh 562 google/protobuf/compiler/zip_output_unittest.sh \
563 README.md
549 564
550 protoc_lite_outputs = \ 565 protoc_lite_outputs = \
551 google/protobuf/map_lite_unittest.pb.cc \ 566 google/protobuf/map_lite_unittest.pb.cc \
552 google/protobuf/map_lite_unittest.pb.h \ 567 google/protobuf/map_lite_unittest.pb.h \
553 google/protobuf/unittest_lite.pb.cc \ 568 google/protobuf/unittest_lite.pb.cc \
554 google/protobuf/unittest_lite.pb.h \ 569 google/protobuf/unittest_lite.pb.h \
555 google/protobuf/unittest_no_arena_lite.pb.cc \ 570 google/protobuf/unittest_no_arena_lite.pb.cc \
556 google/protobuf/unittest_no_arena_lite.pb.h \ 571 google/protobuf/unittest_no_arena_lite.pb.h \
557 google/protobuf/unittest_import_lite.pb.cc \ 572 google/protobuf/unittest_import_lite.pb.cc \
558 google/protobuf/unittest_import_lite.pb.h \ 573 google/protobuf/unittest_import_lite.pb.h \
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
624 google/protobuf/util/internal/testdata/default_value.pb.cc \ 639 google/protobuf/util/internal/testdata/default_value.pb.cc \
625 google/protobuf/util/internal/testdata/default_value.pb.h \ 640 google/protobuf/util/internal/testdata/default_value.pb.h \
626 google/protobuf/util/internal/testdata/default_value_test.pb.cc \ 641 google/protobuf/util/internal/testdata/default_value_test.pb.cc \
627 google/protobuf/util/internal/testdata/default_value_test.pb.h \ 642 google/protobuf/util/internal/testdata/default_value_test.pb.h \
628 google/protobuf/util/internal/testdata/field_mask.pb.cc \ 643 google/protobuf/util/internal/testdata/field_mask.pb.cc \
629 google/protobuf/util/internal/testdata/field_mask.pb.h \ 644 google/protobuf/util/internal/testdata/field_mask.pb.h \
630 google/protobuf/util/internal/testdata/maps.pb.cc \ 645 google/protobuf/util/internal/testdata/maps.pb.cc \
631 google/protobuf/util/internal/testdata/maps.pb.h \ 646 google/protobuf/util/internal/testdata/maps.pb.h \
632 google/protobuf/util/internal/testdata/oneofs.pb.cc \ 647 google/protobuf/util/internal/testdata/oneofs.pb.cc \
633 google/protobuf/util/internal/testdata/oneofs.pb.h \ 648 google/protobuf/util/internal/testdata/oneofs.pb.h \
649 google/protobuf/util/internal/testdata/proto3.pb.cc \
650 google/protobuf/util/internal/testdata/proto3.pb.h \
634 google/protobuf/util/internal/testdata/struct.pb.cc \ 651 google/protobuf/util/internal/testdata/struct.pb.cc \
635 google/protobuf/util/internal/testdata/struct.pb.h \ 652 google/protobuf/util/internal/testdata/struct.pb.h \
636 google/protobuf/util/internal/testdata/timestamp_duration.pb.cc \ 653 google/protobuf/util/internal/testdata/timestamp_duration.pb.cc \
637 google/protobuf/util/internal/testdata/timestamp_duration.pb.h \ 654 google/protobuf/util/internal/testdata/timestamp_duration.pb.h \
655 google/protobuf/util/internal/testdata/wrappers.pb.cc \
656 google/protobuf/util/internal/testdata/wrappers.pb.h \
638 google/protobuf/util/json_format_proto3.pb.cc \ 657 google/protobuf/util/json_format_proto3.pb.cc \
639 google/protobuf/util/json_format_proto3.pb.h \ 658 google/protobuf/util/json_format_proto3.pb.h \
640 google/protobuf/util/message_differencer_unittest.pb.cc \ 659 google/protobuf/util/message_differencer_unittest.pb.cc \
641 google/protobuf/util/message_differencer_unittest.pb.h 660 google/protobuf/util/message_differencer_unittest.pb.h
642 661
643 BUILT_SOURCES = $(protoc_outputs) 662 BUILT_SOURCES = $(protoc_outputs)
644 663
645 if USE_EXTERNAL_PROTOC 664 if USE_EXTERNAL_PROTOC
646 665
647 unittest_proto_middleman: $(protoc_inputs) 666 unittest_proto_middleman: $(protoc_inputs)
(...skipping 21 matching lines...) Expand all
669 google/protobuf/map_test_util_impl.h \ 688 google/protobuf/map_test_util_impl.h \
670 google/protobuf/test_util.cc \ 689 google/protobuf/test_util.cc \
671 google/protobuf/test_util.h \ 690 google/protobuf/test_util.h \
672 google/protobuf/testing/googletest.cc \ 691 google/protobuf/testing/googletest.cc \
673 google/protobuf/testing/googletest.h \ 692 google/protobuf/testing/googletest.h \
674 google/protobuf/testing/file.cc \ 693 google/protobuf/testing/file.cc \
675 google/protobuf/testing/file.h 694 google/protobuf/testing/file.h
676 695
677 check_PROGRAMS = protoc protobuf-test protobuf-lazy-descriptor-test \ 696 check_PROGRAMS = protoc protobuf-test protobuf-lazy-descriptor-test \
678 protobuf-lite-test test_plugin protobuf-lite-arena-test \ 697 protobuf-lite-test test_plugin protobuf-lite-arena-test \
679 $(GZCHECKPROGRAMS) 698 no-warning-test $(GZCHECKPROGRAMS)
680 protobuf_test_LDADD = $(PTHREAD_LIBS) libprotobuf.la libprotoc.la \ 699 protobuf_test_LDADD = $(PTHREAD_LIBS) libprotobuf.la libprotoc.la \
681 ../gmock/gtest/lib/libgtest.la \ 700 ../gmock/gtest/lib/libgtest.la \
682 ../gmock/lib/libgmock.la \ 701 ../gmock/lib/libgmock.la \
683 ../gmock/lib/libgmock_main.la 702 ../gmock/lib/libgmock_main.la
684 protobuf_test_CPPFLAGS = -I$(srcdir)/../gmock/gtest/include \ 703 protobuf_test_CPPFLAGS = -I$(srcdir)/../gmock/gtest/include \
685 -I$(srcdir)/../gmock/include 704 -I$(srcdir)/../gmock/include
686 # Disable optimization for tests unless the user explicitly asked for it, 705 # Disable optimization for tests unless the user explicitly asked for it,
687 # since test_util.cc takes forever to compile with optimization (with GCC). 706 # since test_util.cc takes forever to compile with optimization (with GCC).
688 # See configure.ac for more info. 707 # See configure.ac for more info.
689 protobuf_test_CXXFLAGS = $(NO_OPT_CXXFLAGS) 708 protobuf_test_CXXFLAGS = $(NO_OPT_CXXFLAGS)
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
822 google/protobuf/compiler/test_plugin.cc 841 google/protobuf/compiler/test_plugin.cc
823 842
824 if HAVE_ZLIB 843 if HAVE_ZLIB
825 zcgzip_LDADD = $(PTHREAD_LIBS) libprotobuf.la 844 zcgzip_LDADD = $(PTHREAD_LIBS) libprotobuf.la
826 zcgzip_SOURCES = google/protobuf/testing/zcgzip.cc 845 zcgzip_SOURCES = google/protobuf/testing/zcgzip.cc
827 846
828 zcgunzip_LDADD = $(PTHREAD_LIBS) libprotobuf.la 847 zcgunzip_LDADD = $(PTHREAD_LIBS) libprotobuf.la
829 zcgunzip_SOURCES = google/protobuf/testing/zcgunzip.cc 848 zcgunzip_SOURCES = google/protobuf/testing/zcgunzip.cc
830 endif 849 endif
831 850
851 # This test target is to ensure all our public header files and generated
852 # code is free from warnings. We have to be more pedantic about these
853 # files because they are compiled by users with different compiler flags.
854 no_warning_test.cc:
855 echo "// Generated from Makefile.am" > no_warning_test.cc
856 for FILE in $(nobase_include_HEADERS); do \
857 if ! echo $${FILE} | grep "atomicops"; then \
858 echo "#include <$${FILE}>" >> no_warning_test.cc; \
859 fi \
860 done
861 echo "#include <gtest/gtest.h>" >> no_warning_test.cc
862 echo "TEST(NoWarningTest, Empty) {}" >> no_warning_test.cc
863
864 no_warning_test_LDADD = $(PTHREAD_LIBS) libprotobuf.la \
865 ../gmock/gtest/lib/libgtest.la \
866 ../gmock/gtest/lib/libgtest_main.la
867 no_warning_test_CPPFLAGS = -I$(srcdir)/../gmock/gtest/include
868 no_warning_test_CXXFLAGS = $(PTHREAD_CFLAGS) $(PTHREAD_DEF) $(ZLIB_DEF) \
869 -Wall -Werror
870 nodist_no_warning_test_SOURCES = no_warning_test.cc $(protoc_outputs)
871
832 TESTS = protobuf-test protobuf-lazy-descriptor-test protobuf-lite-test \ 872 TESTS = protobuf-test protobuf-lazy-descriptor-test protobuf-lite-test \
833 google/protobuf/compiler/zip_output_unittest.sh $(GZTESTS) \ 873 google/protobuf/compiler/zip_output_unittest.sh $(GZTESTS) \
834 protobuf-lite-arena-test 874 protobuf-lite-arena-test no-warning-test
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698