1*6777b538SAndroid Build Coastguard Worker## Process this file with automake to produce Makefile.in 2*6777b538SAndroid Build Coastguard Worker 3*6777b538SAndroid Build Coastguard Workerif HAVE_ZLIB 4*6777b538SAndroid Build Coastguard WorkerGZCHECKPROGRAMS = zcgzip zcgunzip 5*6777b538SAndroid Build Coastguard WorkerGZHEADERS = google/protobuf/io/gzip_stream.h 6*6777b538SAndroid Build Coastguard WorkerGZTESTS = google/protobuf/io/gzip_stream_unittest.sh 7*6777b538SAndroid Build Coastguard WorkerZLIB_DEF = -DHAVE_ZLIB=1 8*6777b538SAndroid Build Coastguard Workerelse 9*6777b538SAndroid Build Coastguard WorkerGZCHECKPROGRAMS = 10*6777b538SAndroid Build Coastguard WorkerGZHEADERS = 11*6777b538SAndroid Build Coastguard WorkerGZTESTS = 12*6777b538SAndroid Build Coastguard WorkerZLIB_DEF = 13*6777b538SAndroid Build Coastguard Workerendif 14*6777b538SAndroid Build Coastguard Worker 15*6777b538SAndroid Build Coastguard Workerif HAVE_PTHREAD 16*6777b538SAndroid Build Coastguard WorkerPTHREAD_DEF = -DHAVE_PTHREAD=1 17*6777b538SAndroid Build Coastguard Workerelse 18*6777b538SAndroid Build Coastguard WorkerPTHREAD_DEF = 19*6777b538SAndroid Build Coastguard Workerendif 20*6777b538SAndroid Build Coastguard Worker 21*6777b538SAndroid Build Coastguard WorkerPROTOBUF_VERSION = 32:12:0 22*6777b538SAndroid Build Coastguard Worker 23*6777b538SAndroid Build Coastguard Workerif GCC 24*6777b538SAndroid Build Coastguard Worker# Turn on all warnings except for sign comparison (we ignore sign comparison 25*6777b538SAndroid Build Coastguard Worker# in Google so our code base have tons of such warnings). 26*6777b538SAndroid Build Coastguard WorkerNO_OPT_CXXFLAGS = $(PTHREAD_CFLAGS) $(PTHREAD_DEF) $(ZLIB_DEF) -Wall -Wno-sign-compare 27*6777b538SAndroid Build Coastguard Workerelse 28*6777b538SAndroid Build Coastguard WorkerNO_OPT_CXXFLAGS = $(PTHREAD_CFLAGS) $(PTHREAD_DEF) $(ZLIB_DEF) 29*6777b538SAndroid Build Coastguard Workerendif 30*6777b538SAndroid Build Coastguard Worker 31*6777b538SAndroid Build Coastguard WorkerAM_CXXFLAGS = $(NO_OPT_CXXFLAGS) $(PROTOBUF_OPT_FLAG) 32*6777b538SAndroid Build Coastguard Worker 33*6777b538SAndroid Build Coastguard WorkerAM_LDFLAGS = $(PTHREAD_CFLAGS) ${LIBLOG_LIBS} 34*6777b538SAndroid Build Coastguard Worker 35*6777b538SAndroid Build Coastguard Worker# If I say "dist_include_DATA", automake complains that $(includedir) is not 36*6777b538SAndroid Build Coastguard Worker# a "legitimate" directory for DATA. Screw you, automake. 37*6777b538SAndroid Build Coastguard Workerprotodir = $(includedir) 38*6777b538SAndroid Build Coastguard Worker 39*6777b538SAndroid Build Coastguard Worker# If you are adding new files here, also remember to change the build files for 40*6777b538SAndroid Build Coastguard Worker# all other languages, //protoc-artifacts/build-zip.sh and run 41*6777b538SAndroid Build Coastguard Worker# //update_file_list.sh for bazel. 42*6777b538SAndroid Build Coastguard Workernobase_dist_proto_DATA = \ 43*6777b538SAndroid Build Coastguard Worker google/protobuf/any.proto \ 44*6777b538SAndroid Build Coastguard Worker google/protobuf/api.proto \ 45*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/plugin.proto \ 46*6777b538SAndroid Build Coastguard Worker google/protobuf/descriptor.proto \ 47*6777b538SAndroid Build Coastguard Worker google/protobuf/duration.proto \ 48*6777b538SAndroid Build Coastguard Worker google/protobuf/empty.proto \ 49*6777b538SAndroid Build Coastguard Worker google/protobuf/field_mask.proto \ 50*6777b538SAndroid Build Coastguard Worker google/protobuf/source_context.proto \ 51*6777b538SAndroid Build Coastguard Worker google/protobuf/struct.proto \ 52*6777b538SAndroid Build Coastguard Worker google/protobuf/timestamp.proto \ 53*6777b538SAndroid Build Coastguard Worker google/protobuf/type.proto \ 54*6777b538SAndroid Build Coastguard Worker google/protobuf/wrappers.proto 55*6777b538SAndroid Build Coastguard Worker 56*6777b538SAndroid Build Coastguard Worker# Not sure why these don't get cleaned automatically. 57*6777b538SAndroid Build Coastguard Workerclean-local: 58*6777b538SAndroid Build Coastguard Worker rm -f *.loT 59*6777b538SAndroid Build Coastguard Worker 60*6777b538SAndroid Build Coastguard WorkerCLEANFILES = $(protoc_outputs) unittest_proto_middleman \ 61*6777b538SAndroid Build Coastguard Worker testzip.jar testzip.list testzip.proto testzip.zip \ 62*6777b538SAndroid Build Coastguard Worker no_warning_test.cc 63*6777b538SAndroid Build Coastguard Worker 64*6777b538SAndroid Build Coastguard WorkerMAINTAINERCLEANFILES = \ 65*6777b538SAndroid Build Coastguard Worker Makefile.in 66*6777b538SAndroid Build Coastguard Worker 67*6777b538SAndroid Build Coastguard Workernobase_include_HEADERS = \ 68*6777b538SAndroid Build Coastguard Worker google/protobuf/any.h \ 69*6777b538SAndroid Build Coastguard Worker google/protobuf/any.pb.h \ 70*6777b538SAndroid Build Coastguard Worker google/protobuf/api.pb.h \ 71*6777b538SAndroid Build Coastguard Worker google/protobuf/arena.h \ 72*6777b538SAndroid Build Coastguard Worker google/protobuf/arena_impl.h \ 73*6777b538SAndroid Build Coastguard Worker google/protobuf/arenastring.h \ 74*6777b538SAndroid Build Coastguard Worker google/protobuf/arenaz_sampler.h \ 75*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/code_generator.h \ 76*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/command_line_interface.h \ 77*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/cpp/cpp_generator.h \ 78*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/cpp/file.h \ 79*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/cpp/generator.h \ 80*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/cpp/helpers.h \ 81*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/cpp/names.h \ 82*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/csharp/csharp_doc_comment.h \ 83*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/csharp/csharp_generator.h \ 84*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/csharp/csharp_names.h \ 85*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/csharp/csharp_options.h \ 86*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/importer.h \ 87*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/java/generator.h \ 88*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/java/java_generator.h \ 89*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/java/kotlin_generator.h \ 90*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/java/names.h \ 91*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/objectivec/objectivec_generator.h \ 92*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/objectivec/objectivec_helpers.h \ 93*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/parser.h \ 94*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/php/php_generator.h \ 95*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/plugin.h \ 96*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/plugin.pb.h \ 97*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/python/generator.h \ 98*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/python/pyi_generator.h \ 99*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/python/python_generator.h \ 100*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/ruby/ruby_generator.h \ 101*6777b538SAndroid Build Coastguard Worker google/protobuf/descriptor.h \ 102*6777b538SAndroid Build Coastguard Worker google/protobuf/descriptor.pb.h \ 103*6777b538SAndroid Build Coastguard Worker google/protobuf/descriptor_database.h \ 104*6777b538SAndroid Build Coastguard Worker google/protobuf/duration.pb.h \ 105*6777b538SAndroid Build Coastguard Worker google/protobuf/dynamic_message.h \ 106*6777b538SAndroid Build Coastguard Worker google/protobuf/empty.pb.h \ 107*6777b538SAndroid Build Coastguard Worker google/protobuf/endian.h \ 108*6777b538SAndroid Build Coastguard Worker google/protobuf/explicitly_constructed.h \ 109*6777b538SAndroid Build Coastguard Worker google/protobuf/extension_set.h \ 110*6777b538SAndroid Build Coastguard Worker google/protobuf/extension_set_inl.h \ 111*6777b538SAndroid Build Coastguard Worker google/protobuf/field_access_listener.h \ 112*6777b538SAndroid Build Coastguard Worker google/protobuf/field_mask.pb.h \ 113*6777b538SAndroid Build Coastguard Worker google/protobuf/generated_enum_reflection.h \ 114*6777b538SAndroid Build Coastguard Worker google/protobuf/generated_enum_util.h \ 115*6777b538SAndroid Build Coastguard Worker google/protobuf/generated_message_bases.h \ 116*6777b538SAndroid Build Coastguard Worker google/protobuf/generated_message_reflection.h \ 117*6777b538SAndroid Build Coastguard Worker google/protobuf/generated_message_tctable_decl.h \ 118*6777b538SAndroid Build Coastguard Worker google/protobuf/generated_message_tctable_impl.h \ 119*6777b538SAndroid Build Coastguard Worker google/protobuf/generated_message_util.h \ 120*6777b538SAndroid Build Coastguard Worker google/protobuf/has_bits.h \ 121*6777b538SAndroid Build Coastguard Worker google/protobuf/implicit_weak_message.h \ 122*6777b538SAndroid Build Coastguard Worker google/protobuf/inlined_string_field.h \ 123*6777b538SAndroid Build Coastguard Worker google/protobuf/io/coded_stream.h \ 124*6777b538SAndroid Build Coastguard Worker $(GZHEADERS) \ 125*6777b538SAndroid Build Coastguard Worker google/protobuf/io/io_win32.h \ 126*6777b538SAndroid Build Coastguard Worker google/protobuf/io/printer.h \ 127*6777b538SAndroid Build Coastguard Worker google/protobuf/io/strtod.h \ 128*6777b538SAndroid Build Coastguard Worker google/protobuf/io/tokenizer.h \ 129*6777b538SAndroid Build Coastguard Worker google/protobuf/io/zero_copy_stream.h \ 130*6777b538SAndroid Build Coastguard Worker google/protobuf/io/zero_copy_stream_impl.h \ 131*6777b538SAndroid Build Coastguard Worker google/protobuf/io/zero_copy_stream_impl_lite.h \ 132*6777b538SAndroid Build Coastguard Worker google/protobuf/map.h \ 133*6777b538SAndroid Build Coastguard Worker google/protobuf/map_entry.h \ 134*6777b538SAndroid Build Coastguard Worker google/protobuf/map_entry_lite.h \ 135*6777b538SAndroid Build Coastguard Worker google/protobuf/map_field.h \ 136*6777b538SAndroid Build Coastguard Worker google/protobuf/map_field_inl.h \ 137*6777b538SAndroid Build Coastguard Worker google/protobuf/map_field_lite.h \ 138*6777b538SAndroid Build Coastguard Worker google/protobuf/map_type_handler.h \ 139*6777b538SAndroid Build Coastguard Worker google/protobuf/message.h \ 140*6777b538SAndroid Build Coastguard Worker google/protobuf/message_lite.h \ 141*6777b538SAndroid Build Coastguard Worker google/protobuf/metadata.h \ 142*6777b538SAndroid Build Coastguard Worker google/protobuf/metadata_lite.h \ 143*6777b538SAndroid Build Coastguard Worker google/protobuf/parse_context.h \ 144*6777b538SAndroid Build Coastguard Worker google/protobuf/port.h \ 145*6777b538SAndroid Build Coastguard Worker google/protobuf/port_def.inc \ 146*6777b538SAndroid Build Coastguard Worker google/protobuf/port_undef.inc \ 147*6777b538SAndroid Build Coastguard Worker google/protobuf/reflection.h \ 148*6777b538SAndroid Build Coastguard Worker google/protobuf/reflection_internal.h \ 149*6777b538SAndroid Build Coastguard Worker google/protobuf/reflection_ops.h \ 150*6777b538SAndroid Build Coastguard Worker google/protobuf/repeated_field.h \ 151*6777b538SAndroid Build Coastguard Worker google/protobuf/repeated_ptr_field.h \ 152*6777b538SAndroid Build Coastguard Worker google/protobuf/service.h \ 153*6777b538SAndroid Build Coastguard Worker google/protobuf/source_context.pb.h \ 154*6777b538SAndroid Build Coastguard Worker google/protobuf/struct.pb.h \ 155*6777b538SAndroid Build Coastguard Worker google/protobuf/stubs/bytestream.h \ 156*6777b538SAndroid Build Coastguard Worker google/protobuf/stubs/callback.h \ 157*6777b538SAndroid Build Coastguard Worker google/protobuf/stubs/casts.h \ 158*6777b538SAndroid Build Coastguard Worker google/protobuf/stubs/common.h \ 159*6777b538SAndroid Build Coastguard Worker google/protobuf/stubs/hash.h \ 160*6777b538SAndroid Build Coastguard Worker google/protobuf/stubs/logging.h \ 161*6777b538SAndroid Build Coastguard Worker google/protobuf/stubs/macros.h \ 162*6777b538SAndroid Build Coastguard Worker google/protobuf/stubs/map_util.h \ 163*6777b538SAndroid Build Coastguard Worker google/protobuf/stubs/mutex.h \ 164*6777b538SAndroid Build Coastguard Worker google/protobuf/stubs/once.h \ 165*6777b538SAndroid Build Coastguard Worker google/protobuf/stubs/platform_macros.h \ 166*6777b538SAndroid Build Coastguard Worker google/protobuf/stubs/port.h \ 167*6777b538SAndroid Build Coastguard Worker google/protobuf/stubs/status.h \ 168*6777b538SAndroid Build Coastguard Worker google/protobuf/stubs/stl_util.h \ 169*6777b538SAndroid Build Coastguard Worker google/protobuf/stubs/stringpiece.h \ 170*6777b538SAndroid Build Coastguard Worker google/protobuf/stubs/strutil.h \ 171*6777b538SAndroid Build Coastguard Worker google/protobuf/stubs/template_util.h \ 172*6777b538SAndroid Build Coastguard Worker google/protobuf/text_format.h \ 173*6777b538SAndroid Build Coastguard Worker google/protobuf/timestamp.pb.h \ 174*6777b538SAndroid Build Coastguard Worker google/protobuf/type.pb.h \ 175*6777b538SAndroid Build Coastguard Worker google/protobuf/unknown_field_set.h \ 176*6777b538SAndroid Build Coastguard Worker google/protobuf/util/delimited_message_util.h \ 177*6777b538SAndroid Build Coastguard Worker google/protobuf/util/field_comparator.h \ 178*6777b538SAndroid Build Coastguard Worker google/protobuf/util/field_mask_util.h \ 179*6777b538SAndroid Build Coastguard Worker google/protobuf/util/json_util.h \ 180*6777b538SAndroid Build Coastguard Worker google/protobuf/util/message_differencer.h \ 181*6777b538SAndroid Build Coastguard Worker google/protobuf/util/time_util.h \ 182*6777b538SAndroid Build Coastguard Worker google/protobuf/util/type_resolver.h \ 183*6777b538SAndroid Build Coastguard Worker google/protobuf/util/type_resolver_util.h \ 184*6777b538SAndroid Build Coastguard Worker google/protobuf/wire_format.h \ 185*6777b538SAndroid Build Coastguard Worker google/protobuf/wire_format_lite.h \ 186*6777b538SAndroid Build Coastguard Worker google/protobuf/wrappers.pb.h 187*6777b538SAndroid Build Coastguard Worker 188*6777b538SAndroid Build Coastguard Workerlib_LTLIBRARIES = libprotobuf-lite.la libprotobuf.la libprotoc.la 189*6777b538SAndroid Build Coastguard Worker 190*6777b538SAndroid Build Coastguard Workerlibprotobuf_lite_la_LIBADD = $(PTHREAD_LIBS) $(LIBATOMIC_LIBS) 191*6777b538SAndroid Build Coastguard Workerlibprotobuf_lite_la_LDFLAGS = -version-info $(PROTOBUF_VERSION) -export-dynamic -no-undefined 192*6777b538SAndroid Build Coastguard Workerif HAVE_LD_VERSION_SCRIPT 193*6777b538SAndroid Build Coastguard Workerlibprotobuf_lite_la_LDFLAGS += -Wl,--version-script=$(srcdir)/libprotobuf-lite.map 194*6777b538SAndroid Build Coastguard WorkerEXTRA_libprotobuf_lite_la_DEPENDENCIES = libprotobuf-lite.map 195*6777b538SAndroid Build Coastguard Workerendif 196*6777b538SAndroid Build Coastguard Workerlibprotobuf_lite_la_SOURCES = \ 197*6777b538SAndroid Build Coastguard Worker google/protobuf/any_lite.cc \ 198*6777b538SAndroid Build Coastguard Worker google/protobuf/arena.cc \ 199*6777b538SAndroid Build Coastguard Worker google/protobuf/arenastring.cc \ 200*6777b538SAndroid Build Coastguard Worker google/protobuf/arenaz_sampler.cc \ 201*6777b538SAndroid Build Coastguard Worker google/protobuf/extension_set.cc \ 202*6777b538SAndroid Build Coastguard Worker google/protobuf/generated_enum_util.cc \ 203*6777b538SAndroid Build Coastguard Worker google/protobuf/generated_message_tctable_lite.cc \ 204*6777b538SAndroid Build Coastguard Worker google/protobuf/generated_message_util.cc \ 205*6777b538SAndroid Build Coastguard Worker google/protobuf/implicit_weak_message.cc \ 206*6777b538SAndroid Build Coastguard Worker google/protobuf/inlined_string_field.cc \ 207*6777b538SAndroid Build Coastguard Worker google/protobuf/io/coded_stream.cc \ 208*6777b538SAndroid Build Coastguard Worker google/protobuf/io/io_win32.cc \ 209*6777b538SAndroid Build Coastguard Worker google/protobuf/io/strtod.cc \ 210*6777b538SAndroid Build Coastguard Worker google/protobuf/io/zero_copy_stream.cc \ 211*6777b538SAndroid Build Coastguard Worker google/protobuf/io/zero_copy_stream_impl.cc \ 212*6777b538SAndroid Build Coastguard Worker google/protobuf/io/zero_copy_stream_impl_lite.cc \ 213*6777b538SAndroid Build Coastguard Worker google/protobuf/map.cc \ 214*6777b538SAndroid Build Coastguard Worker google/protobuf/message_lite.cc \ 215*6777b538SAndroid Build Coastguard Worker google/protobuf/parse_context.cc \ 216*6777b538SAndroid Build Coastguard Worker google/protobuf/repeated_field.cc \ 217*6777b538SAndroid Build Coastguard Worker google/protobuf/repeated_ptr_field.cc \ 218*6777b538SAndroid Build Coastguard Worker google/protobuf/string_member_robber.h \ 219*6777b538SAndroid Build Coastguard Worker google/protobuf/stubs/bytestream.cc \ 220*6777b538SAndroid Build Coastguard Worker google/protobuf/stubs/common.cc \ 221*6777b538SAndroid Build Coastguard Worker google/protobuf/stubs/int128.cc \ 222*6777b538SAndroid Build Coastguard Worker google/protobuf/stubs/int128.h \ 223*6777b538SAndroid Build Coastguard Worker google/protobuf/stubs/mathutil.h \ 224*6777b538SAndroid Build Coastguard Worker google/protobuf/stubs/status.cc \ 225*6777b538SAndroid Build Coastguard Worker google/protobuf/stubs/status_macros.h \ 226*6777b538SAndroid Build Coastguard Worker google/protobuf/stubs/statusor.cc \ 227*6777b538SAndroid Build Coastguard Worker google/protobuf/stubs/statusor.h \ 228*6777b538SAndroid Build Coastguard Worker google/protobuf/stubs/stringpiece.cc \ 229*6777b538SAndroid Build Coastguard Worker google/protobuf/stubs/stringprintf.cc \ 230*6777b538SAndroid Build Coastguard Worker google/protobuf/stubs/stringprintf.h \ 231*6777b538SAndroid Build Coastguard Worker google/protobuf/stubs/structurally_valid.cc \ 232*6777b538SAndroid Build Coastguard Worker google/protobuf/stubs/strutil.cc \ 233*6777b538SAndroid Build Coastguard Worker google/protobuf/stubs/time.cc \ 234*6777b538SAndroid Build Coastguard Worker google/protobuf/stubs/time.h \ 235*6777b538SAndroid Build Coastguard Worker google/protobuf/wire_format_lite.cc 236*6777b538SAndroid Build Coastguard Worker 237*6777b538SAndroid Build Coastguard Workerlibprotobuf_la_LIBADD = $(PTHREAD_LIBS) $(LIBATOMIC_LIBS) 238*6777b538SAndroid Build Coastguard Workerlibprotobuf_la_LDFLAGS = -version-info $(PROTOBUF_VERSION) -export-dynamic -no-undefined 239*6777b538SAndroid Build Coastguard Workerif HAVE_LD_VERSION_SCRIPT 240*6777b538SAndroid Build Coastguard Workerlibprotobuf_la_LDFLAGS += -Wl,--version-script=$(srcdir)/libprotobuf.map 241*6777b538SAndroid Build Coastguard WorkerEXTRA_libprotobuf_la_DEPENDENCIES = libprotobuf.map 242*6777b538SAndroid Build Coastguard Workerendif 243*6777b538SAndroid Build Coastguard Workerlibprotobuf_la_SOURCES = \ 244*6777b538SAndroid Build Coastguard Worker $(libprotobuf_lite_la_SOURCES) \ 245*6777b538SAndroid Build Coastguard Worker google/protobuf/any.cc \ 246*6777b538SAndroid Build Coastguard Worker google/protobuf/any.pb.cc \ 247*6777b538SAndroid Build Coastguard Worker google/protobuf/api.pb.cc \ 248*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/importer.cc \ 249*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/parser.cc \ 250*6777b538SAndroid Build Coastguard Worker google/protobuf/descriptor.cc \ 251*6777b538SAndroid Build Coastguard Worker google/protobuf/descriptor.pb.cc \ 252*6777b538SAndroid Build Coastguard Worker google/protobuf/descriptor_database.cc \ 253*6777b538SAndroid Build Coastguard Worker google/protobuf/duration.pb.cc \ 254*6777b538SAndroid Build Coastguard Worker google/protobuf/dynamic_message.cc \ 255*6777b538SAndroid Build Coastguard Worker google/protobuf/empty.pb.cc \ 256*6777b538SAndroid Build Coastguard Worker google/protobuf/extension_set_heavy.cc \ 257*6777b538SAndroid Build Coastguard Worker google/protobuf/field_mask.pb.cc \ 258*6777b538SAndroid Build Coastguard Worker google/protobuf/generated_message_bases.cc \ 259*6777b538SAndroid Build Coastguard Worker google/protobuf/generated_message_reflection.cc \ 260*6777b538SAndroid Build Coastguard Worker google/protobuf/generated_message_tctable_full.cc \ 261*6777b538SAndroid Build Coastguard Worker google/protobuf/io/gzip_stream.cc \ 262*6777b538SAndroid Build Coastguard Worker google/protobuf/io/printer.cc \ 263*6777b538SAndroid Build Coastguard Worker google/protobuf/io/tokenizer.cc \ 264*6777b538SAndroid Build Coastguard Worker google/protobuf/map_field.cc \ 265*6777b538SAndroid Build Coastguard Worker google/protobuf/message.cc \ 266*6777b538SAndroid Build Coastguard Worker google/protobuf/reflection_ops.cc \ 267*6777b538SAndroid Build Coastguard Worker google/protobuf/service.cc \ 268*6777b538SAndroid Build Coastguard Worker google/protobuf/source_context.pb.cc \ 269*6777b538SAndroid Build Coastguard Worker google/protobuf/struct.pb.cc \ 270*6777b538SAndroid Build Coastguard Worker google/protobuf/stubs/substitute.cc \ 271*6777b538SAndroid Build Coastguard Worker google/protobuf/stubs/substitute.h \ 272*6777b538SAndroid Build Coastguard Worker google/protobuf/text_format.cc \ 273*6777b538SAndroid Build Coastguard Worker google/protobuf/timestamp.pb.cc \ 274*6777b538SAndroid Build Coastguard Worker google/protobuf/type.pb.cc \ 275*6777b538SAndroid Build Coastguard Worker google/protobuf/unknown_field_set.cc \ 276*6777b538SAndroid Build Coastguard Worker google/protobuf/util/delimited_message_util.cc \ 277*6777b538SAndroid Build Coastguard Worker google/protobuf/util/field_comparator.cc \ 278*6777b538SAndroid Build Coastguard Worker google/protobuf/util/field_mask_util.cc \ 279*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/constants.h \ 280*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/datapiece.cc \ 281*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/datapiece.h \ 282*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/default_value_objectwriter.cc \ 283*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/default_value_objectwriter.h \ 284*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/error_listener.cc \ 285*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/error_listener.h \ 286*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/expecting_objectwriter.h \ 287*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/field_mask_utility.cc \ 288*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/field_mask_utility.h \ 289*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/json_escaping.cc \ 290*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/json_escaping.h \ 291*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/json_objectwriter.cc \ 292*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/json_objectwriter.h \ 293*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/json_stream_parser.cc \ 294*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/json_stream_parser.h \ 295*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/location_tracker.h \ 296*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/mock_error_listener.h \ 297*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/object_location_tracker.h \ 298*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/object_source.h \ 299*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/object_writer.cc \ 300*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/object_writer.h \ 301*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/proto_writer.cc \ 302*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/proto_writer.h \ 303*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/protostream_objectsource.cc \ 304*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/protostream_objectsource.h \ 305*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/protostream_objectwriter.cc \ 306*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/protostream_objectwriter.h \ 307*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/structured_objectwriter.h \ 308*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/type_info.cc \ 309*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/type_info.h \ 310*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/type_info_test_helper.h \ 311*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/utility.cc \ 312*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/utility.h \ 313*6777b538SAndroid Build Coastguard Worker google/protobuf/util/json_util.cc \ 314*6777b538SAndroid Build Coastguard Worker google/protobuf/util/message_differencer.cc \ 315*6777b538SAndroid Build Coastguard Worker google/protobuf/util/time_util.cc \ 316*6777b538SAndroid Build Coastguard Worker google/protobuf/util/type_resolver_util.cc \ 317*6777b538SAndroid Build Coastguard Worker google/protobuf/wire_format.cc \ 318*6777b538SAndroid Build Coastguard Worker google/protobuf/wrappers.pb.cc 319*6777b538SAndroid Build Coastguard Worker 320*6777b538SAndroid Build Coastguard Workernodist_libprotobuf_la_SOURCES = $(nodist_libprotobuf_lite_la_SOURCES) 321*6777b538SAndroid Build Coastguard Worker 322*6777b538SAndroid Build Coastguard Workerlibprotoc_la_LIBADD = $(PTHREAD_LIBS) libprotobuf.la 323*6777b538SAndroid Build Coastguard Workerlibprotoc_la_LDFLAGS = -version-info $(PROTOBUF_VERSION) -export-dynamic -no-undefined 324*6777b538SAndroid Build Coastguard Workerif HAVE_LD_VERSION_SCRIPT 325*6777b538SAndroid Build Coastguard Workerlibprotoc_la_LDFLAGS += -Wl,--version-script=$(srcdir)/libprotoc.map 326*6777b538SAndroid Build Coastguard WorkerEXTRA_libprotoc_la_DEPENDENCIES = libprotoc.map 327*6777b538SAndroid Build Coastguard Workerendif 328*6777b538SAndroid Build Coastguard Workerlibprotoc_la_SOURCES = \ 329*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/code_generator.cc \ 330*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/command_line_interface.cc \ 331*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/cpp/enum.cc \ 332*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/cpp/enum.h \ 333*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/cpp/enum_field.cc \ 334*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/cpp/enum_field.h \ 335*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/cpp/extension.cc \ 336*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/cpp/extension.h \ 337*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/cpp/field.cc \ 338*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/cpp/field.h \ 339*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/cpp/file.cc \ 340*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/cpp/generator.cc \ 341*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/cpp/helpers.cc \ 342*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/cpp/map_field.cc \ 343*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/cpp/map_field.h \ 344*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/cpp/message.cc \ 345*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/cpp/message.h \ 346*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/cpp/message_field.cc \ 347*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/cpp/message_field.h \ 348*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/cpp/message_layout_helper.h \ 349*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/cpp/options.h \ 350*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/cpp/padding_optimizer.cc \ 351*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/cpp/padding_optimizer.h \ 352*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/cpp/parse_function_generator.cc \ 353*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/cpp/parse_function_generator.h \ 354*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/cpp/primitive_field.cc \ 355*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/cpp/primitive_field.h \ 356*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/cpp/service.cc \ 357*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/cpp/service.h \ 358*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/cpp/string_field.cc \ 359*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/cpp/string_field.h \ 360*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/csharp/csharp_doc_comment.cc \ 361*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/csharp/csharp_enum.cc \ 362*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/csharp/csharp_enum.h \ 363*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/csharp/csharp_enum_field.cc \ 364*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/csharp/csharp_enum_field.h \ 365*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/csharp/csharp_field_base.cc \ 366*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/csharp/csharp_field_base.h \ 367*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/csharp/csharp_generator.cc \ 368*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/csharp/csharp_helpers.cc \ 369*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/csharp/csharp_helpers.h \ 370*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/csharp/csharp_map_field.cc \ 371*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/csharp/csharp_map_field.h \ 372*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/csharp/csharp_message.cc \ 373*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/csharp/csharp_message.h \ 374*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/csharp/csharp_message_field.cc \ 375*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/csharp/csharp_message_field.h \ 376*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/csharp/csharp_primitive_field.cc \ 377*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/csharp/csharp_primitive_field.h \ 378*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/csharp/csharp_reflection_class.cc \ 379*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/csharp/csharp_reflection_class.h \ 380*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/csharp/csharp_repeated_enum_field.cc \ 381*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/csharp/csharp_repeated_enum_field.h \ 382*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/csharp/csharp_repeated_message_field.cc \ 383*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/csharp/csharp_repeated_message_field.h \ 384*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/csharp/csharp_repeated_primitive_field.cc \ 385*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/csharp/csharp_repeated_primitive_field.h \ 386*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/csharp/csharp_source_generator_base.cc \ 387*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/csharp/csharp_source_generator_base.h \ 388*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/csharp/csharp_wrapper_field.cc \ 389*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/csharp/csharp_wrapper_field.h \ 390*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/java/context.cc \ 391*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/java/context.h \ 392*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/java/doc_comment.cc \ 393*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/java/doc_comment.h \ 394*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/java/enum.cc \ 395*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/java/enum.h \ 396*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/java/enum_field.cc \ 397*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/java/enum_field.h \ 398*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/java/enum_field_lite.cc \ 399*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/java/enum_field_lite.h \ 400*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/java/enum_lite.cc \ 401*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/java/enum_lite.h \ 402*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/java/extension.cc \ 403*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/java/extension.h \ 404*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/java/extension_lite.cc \ 405*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/java/extension_lite.h \ 406*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/java/field.cc \ 407*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/java/field.h \ 408*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/java/file.cc \ 409*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/java/file.h \ 410*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/java/generator.cc \ 411*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/java/generator_factory.cc \ 412*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/java/generator_factory.h \ 413*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/java/helpers.cc \ 414*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/java/helpers.h \ 415*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/java/kotlin_generator.cc \ 416*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/java/map_field.cc \ 417*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/java/map_field.h \ 418*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/java/map_field_lite.cc \ 419*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/java/map_field_lite.h \ 420*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/java/message.cc \ 421*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/java/message.h \ 422*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/java/message_builder.cc \ 423*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/java/message_builder.h \ 424*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/java/message_builder_lite.cc \ 425*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/java/message_builder_lite.h \ 426*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/java/message_field.cc \ 427*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/java/message_field.h \ 428*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/java/message_field_lite.cc \ 429*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/java/message_field_lite.h \ 430*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/java/message_lite.cc \ 431*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/java/message_lite.h \ 432*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/java/name_resolver.cc \ 433*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/java/name_resolver.h \ 434*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/java/options.h \ 435*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/java/primitive_field.cc \ 436*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/java/primitive_field.h \ 437*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/java/primitive_field_lite.cc \ 438*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/java/primitive_field_lite.h \ 439*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/java/service.cc \ 440*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/java/service.h \ 441*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/java/shared_code_generator.cc \ 442*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/java/shared_code_generator.h \ 443*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/java/string_field.cc \ 444*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/java/string_field.h \ 445*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/java/string_field_lite.cc \ 446*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/java/string_field_lite.h \ 447*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/objectivec/objectivec_enum.cc \ 448*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/objectivec/objectivec_enum.h \ 449*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/objectivec/objectivec_enum_field.cc \ 450*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/objectivec/objectivec_enum_field.h \ 451*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/objectivec/objectivec_extension.cc \ 452*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/objectivec/objectivec_extension.h \ 453*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/objectivec/objectivec_field.cc \ 454*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/objectivec/objectivec_field.h \ 455*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/objectivec/objectivec_file.cc \ 456*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/objectivec/objectivec_file.h \ 457*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/objectivec/objectivec_generator.cc \ 458*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/objectivec/objectivec_helpers.cc \ 459*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/objectivec/objectivec_map_field.cc \ 460*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/objectivec/objectivec_map_field.h \ 461*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/objectivec/objectivec_message.cc \ 462*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/objectivec/objectivec_message.h \ 463*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/objectivec/objectivec_message_field.cc \ 464*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/objectivec/objectivec_message_field.h \ 465*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/objectivec/objectivec_nsobject_methods.h \ 466*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/objectivec/objectivec_oneof.cc \ 467*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/objectivec/objectivec_oneof.h \ 468*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/objectivec/objectivec_primitive_field.cc \ 469*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/objectivec/objectivec_primitive_field.h \ 470*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/php/php_generator.cc \ 471*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/plugin.cc \ 472*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/plugin.pb.cc \ 473*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/python/generator.cc \ 474*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/python/helpers.cc \ 475*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/python/helpers.h \ 476*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/python/pyi_generator.cc \ 477*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/ruby/ruby_generator.cc \ 478*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/scc.h \ 479*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/subprocess.cc \ 480*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/subprocess.h \ 481*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/zip_writer.cc \ 482*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/zip_writer.h 483*6777b538SAndroid Build Coastguard Worker 484*6777b538SAndroid Build Coastguard Workerbin_PROGRAMS = protoc 485*6777b538SAndroid Build Coastguard Workerprotoc_LDADD = $(PTHREAD_LIBS) libprotobuf.la libprotoc.la 486*6777b538SAndroid Build Coastguard Workerprotoc_SOURCES = google/protobuf/compiler/main.cc 487*6777b538SAndroid Build Coastguard Worker 488*6777b538SAndroid Build Coastguard Worker# Tests ============================================================== 489*6777b538SAndroid Build Coastguard Worker 490*6777b538SAndroid Build Coastguard Workerprotoc_inputs = \ 491*6777b538SAndroid Build Coastguard Worker google/protobuf/any_test.proto \ 492*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/cpp/test_bad_identifiers.proto \ 493*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/cpp/test_large_enum_value.proto \ 494*6777b538SAndroid Build Coastguard Worker google/protobuf/map_lite_unittest.proto \ 495*6777b538SAndroid Build Coastguard Worker google/protobuf/map_proto2_unittest.proto \ 496*6777b538SAndroid Build Coastguard Worker google/protobuf/map_unittest.proto \ 497*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest.proto \ 498*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_arena.proto \ 499*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_custom_options.proto \ 500*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_drop_unknown_fields.proto \ 501*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_embed_optimize_for.proto \ 502*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_empty.proto \ 503*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_enormous_descriptor.proto \ 504*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_import.proto \ 505*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_import_lite.proto \ 506*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_import_public.proto \ 507*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_import_public_lite.proto \ 508*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_lazy_dependencies.proto \ 509*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_lazy_dependencies_custom_option.proto \ 510*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_lazy_dependencies_enum.proto \ 511*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_lite.proto \ 512*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_lite_imports_nonlite.proto \ 513*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_mset.proto \ 514*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_mset_wire_format.proto \ 515*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_no_field_presence.proto \ 516*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_no_generic_services.proto \ 517*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_optimize_for.proto \ 518*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_preserve_unknown_enum.proto \ 519*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_preserve_unknown_enum2.proto \ 520*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_proto3.proto \ 521*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_proto3_arena.proto \ 522*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_proto3_arena_lite.proto \ 523*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_proto3_lite.proto \ 524*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_proto3_optional.proto \ 525*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_well_known_types.proto \ 526*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/testdata/anys.proto \ 527*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/testdata/books.proto \ 528*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/testdata/default_value.proto \ 529*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/testdata/default_value_test.proto \ 530*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/testdata/field_mask.proto \ 531*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/testdata/maps.proto \ 532*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/testdata/oneofs.proto \ 533*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/testdata/proto3.proto \ 534*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/testdata/struct.proto \ 535*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/testdata/timestamp_duration.proto \ 536*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/testdata/wrappers.proto \ 537*6777b538SAndroid Build Coastguard Worker google/protobuf/util/json_format.proto \ 538*6777b538SAndroid Build Coastguard Worker google/protobuf/util/json_format_proto3.proto \ 539*6777b538SAndroid Build Coastguard Worker google/protobuf/util/message_differencer_unittest.proto 540*6777b538SAndroid Build Coastguard Worker 541*6777b538SAndroid Build Coastguard WorkerEXTRA_DIST = \ 542*6777b538SAndroid Build Coastguard Worker $(protoc_inputs) \ 543*6777b538SAndroid Build Coastguard Worker README.md \ 544*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/package_info.h \ 545*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/ruby/ruby_generated_code.proto \ 546*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/ruby/ruby_generated_code_pb.rb \ 547*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/ruby/ruby_generated_code_proto2.proto \ 548*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/ruby/ruby_generated_code_proto2_import.proto \ 549*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/ruby/ruby_generated_code_proto2_pb.rb \ 550*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/ruby/ruby_generated_pkg_explicit.proto \ 551*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/ruby/ruby_generated_pkg_explicit_legacy.proto \ 552*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/ruby/ruby_generated_pkg_explicit_legacy_pb.rb \ 553*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/ruby/ruby_generated_pkg_explicit_pb.rb \ 554*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/ruby/ruby_generated_pkg_implicit.proto \ 555*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/ruby/ruby_generated_pkg_implicit_pb.rb \ 556*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/zip_output_unittest.sh \ 557*6777b538SAndroid Build Coastguard Worker google/protobuf/io/gzip_stream.h \ 558*6777b538SAndroid Build Coastguard Worker google/protobuf/io/gzip_stream_unittest.sh \ 559*6777b538SAndroid Build Coastguard Worker google/protobuf/io/package_info.h \ 560*6777b538SAndroid Build Coastguard Worker google/protobuf/package_info.h \ 561*6777b538SAndroid Build Coastguard Worker google/protobuf/test_messages_proto2.proto \ 562*6777b538SAndroid Build Coastguard Worker google/protobuf/test_messages_proto3.proto \ 563*6777b538SAndroid Build Coastguard Worker google/protobuf/testdata/bad_utf8_string \ 564*6777b538SAndroid Build Coastguard Worker google/protobuf/testdata/golden_message \ 565*6777b538SAndroid Build Coastguard Worker google/protobuf/testdata/golden_message_maps \ 566*6777b538SAndroid Build Coastguard Worker google/protobuf/testdata/golden_message_oneof_implemented \ 567*6777b538SAndroid Build Coastguard Worker google/protobuf/testdata/golden_message_proto3 \ 568*6777b538SAndroid Build Coastguard Worker google/protobuf/testdata/golden_packed_fields_message \ 569*6777b538SAndroid Build Coastguard Worker google/protobuf/testdata/map_test_data.txt \ 570*6777b538SAndroid Build Coastguard Worker google/protobuf/testdata/text_format_unittest_data.txt \ 571*6777b538SAndroid Build Coastguard Worker google/protobuf/testdata/text_format_unittest_data_oneof_implemented.txt \ 572*6777b538SAndroid Build Coastguard Worker google/protobuf/testdata/text_format_unittest_data_pointy.txt \ 573*6777b538SAndroid Build Coastguard Worker google/protobuf/testdata/text_format_unittest_data_pointy_oneof.txt \ 574*6777b538SAndroid Build Coastguard Worker google/protobuf/testdata/text_format_unittest_extensions_data.txt \ 575*6777b538SAndroid Build Coastguard Worker google/protobuf/testdata/text_format_unittest_extensions_data_pointy.txt \ 576*6777b538SAndroid Build Coastguard Worker google/protobuf/util/package_info.h \ 577*6777b538SAndroid Build Coastguard Worker libprotobuf-lite.map \ 578*6777b538SAndroid Build Coastguard Worker libprotobuf.map \ 579*6777b538SAndroid Build Coastguard Worker libprotoc.map \ 580*6777b538SAndroid Build Coastguard Worker solaris/libstdc++.la 581*6777b538SAndroid Build Coastguard Worker 582*6777b538SAndroid Build Coastguard Workerprotoc_lite_outputs = \ 583*6777b538SAndroid Build Coastguard Worker google/protobuf/map_lite_unittest.pb.cc \ 584*6777b538SAndroid Build Coastguard Worker google/protobuf/map_lite_unittest.pb.h \ 585*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_import_lite.pb.cc \ 586*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_import_lite.pb.h \ 587*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_import_public_lite.pb.cc \ 588*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_import_public_lite.pb.h \ 589*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_lite.pb.cc \ 590*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_lite.pb.h 591*6777b538SAndroid Build Coastguard Worker 592*6777b538SAndroid Build Coastguard Workerprotoc_outputs = \ 593*6777b538SAndroid Build Coastguard Worker $(protoc_lite_outputs) \ 594*6777b538SAndroid Build Coastguard Worker google/protobuf/any_test.pb.cc \ 595*6777b538SAndroid Build Coastguard Worker google/protobuf/any_test.pb.h \ 596*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/cpp/test_bad_identifiers.pb.cc \ 597*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/cpp/test_bad_identifiers.pb.h \ 598*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/cpp/test_large_enum_value.pb.cc \ 599*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/cpp/test_large_enum_value.pb.h \ 600*6777b538SAndroid Build Coastguard Worker google/protobuf/map_proto2_unittest.pb.cc \ 601*6777b538SAndroid Build Coastguard Worker google/protobuf/map_proto2_unittest.pb.h \ 602*6777b538SAndroid Build Coastguard Worker google/protobuf/map_unittest.pb.cc \ 603*6777b538SAndroid Build Coastguard Worker google/protobuf/map_unittest.pb.h \ 604*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest.pb.cc \ 605*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest.pb.h \ 606*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_arena.pb.cc \ 607*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_arena.pb.h \ 608*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_custom_options.pb.cc \ 609*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_custom_options.pb.h \ 610*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_drop_unknown_fields.pb.cc \ 611*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_drop_unknown_fields.pb.h \ 612*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_embed_optimize_for.pb.cc \ 613*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_embed_optimize_for.pb.h \ 614*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_empty.pb.cc \ 615*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_empty.pb.h \ 616*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_enormous_descriptor.pb.cc \ 617*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_enormous_descriptor.pb.h \ 618*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_import.pb.cc \ 619*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_import.pb.h \ 620*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_import_public.pb.cc \ 621*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_import_public.pb.h \ 622*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_lazy_dependencies.pb.cc \ 623*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_lazy_dependencies.pb.h \ 624*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_lazy_dependencies_custom_option.pb.cc \ 625*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_lazy_dependencies_custom_option.pb.h \ 626*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_lazy_dependencies_enum.pb.cc \ 627*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_lazy_dependencies_enum.pb.h \ 628*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_lite_imports_nonlite.pb.cc \ 629*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_lite_imports_nonlite.pb.h \ 630*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_mset.pb.cc \ 631*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_mset.pb.h \ 632*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_mset_wire_format.pb.cc \ 633*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_mset_wire_format.pb.h \ 634*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_no_field_presence.pb.cc \ 635*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_no_field_presence.pb.h \ 636*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_no_generic_services.pb.cc \ 637*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_no_generic_services.pb.h \ 638*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_optimize_for.pb.cc \ 639*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_optimize_for.pb.h \ 640*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_preserve_unknown_enum.pb.cc \ 641*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_preserve_unknown_enum.pb.h \ 642*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_preserve_unknown_enum2.pb.cc \ 643*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_preserve_unknown_enum2.pb.h \ 644*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_proto3.pb.cc \ 645*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_proto3.pb.h \ 646*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_proto3_arena.pb.cc \ 647*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_proto3_arena.pb.h \ 648*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_proto3_arena_lite.pb.cc \ 649*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_proto3_arena_lite.pb.h \ 650*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_proto3_lite.pb.cc \ 651*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_proto3_lite.pb.h \ 652*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_proto3_optional.pb.cc \ 653*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_proto3_optional.pb.h \ 654*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_well_known_types.pb.cc \ 655*6777b538SAndroid Build Coastguard Worker google/protobuf/unittest_well_known_types.pb.h \ 656*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/testdata/anys.pb.cc \ 657*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/testdata/anys.pb.h \ 658*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/testdata/books.pb.cc \ 659*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/testdata/books.pb.h \ 660*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/testdata/default_value.pb.cc \ 661*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/testdata/default_value.pb.h \ 662*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/testdata/default_value_test.pb.cc \ 663*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/testdata/default_value_test.pb.h \ 664*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/testdata/field_mask.pb.cc \ 665*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/testdata/field_mask.pb.h \ 666*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/testdata/maps.pb.cc \ 667*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/testdata/maps.pb.h \ 668*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/testdata/oneofs.pb.cc \ 669*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/testdata/oneofs.pb.h \ 670*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/testdata/proto3.pb.cc \ 671*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/testdata/proto3.pb.h \ 672*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/testdata/struct.pb.cc \ 673*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/testdata/struct.pb.h \ 674*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/testdata/timestamp_duration.pb.cc \ 675*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/testdata/timestamp_duration.pb.h \ 676*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/testdata/wrappers.pb.cc \ 677*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/testdata/wrappers.pb.h \ 678*6777b538SAndroid Build Coastguard Worker google/protobuf/util/json_format.pb.cc \ 679*6777b538SAndroid Build Coastguard Worker google/protobuf/util/json_format.pb.h \ 680*6777b538SAndroid Build Coastguard Worker google/protobuf/util/json_format_proto3.pb.cc \ 681*6777b538SAndroid Build Coastguard Worker google/protobuf/util/json_format_proto3.pb.h \ 682*6777b538SAndroid Build Coastguard Worker google/protobuf/util/message_differencer_unittest.pb.cc \ 683*6777b538SAndroid Build Coastguard Worker google/protobuf/util/message_differencer_unittest.pb.h 684*6777b538SAndroid Build Coastguard Worker 685*6777b538SAndroid Build Coastguard Workerif USE_EXTERNAL_PROTOC 686*6777b538SAndroid Build Coastguard Worker 687*6777b538SAndroid Build Coastguard Workerunittest_proto_middleman: $(protoc_inputs) 688*6777b538SAndroid Build Coastguard Worker $(PROTOC) -I$(srcdir) --cpp_out=. $^ 689*6777b538SAndroid Build Coastguard Worker touch unittest_proto_middleman 690*6777b538SAndroid Build Coastguard Worker 691*6777b538SAndroid Build Coastguard Workerelse 692*6777b538SAndroid Build Coastguard Worker 693*6777b538SAndroid Build Coastguard Worker# We have to cd to $(srcdir) before executing protoc because $(protoc_inputs) is 694*6777b538SAndroid Build Coastguard Worker# relative to srcdir, which may not be the same as the current directory when 695*6777b538SAndroid Build Coastguard Worker# building out-of-tree. 696*6777b538SAndroid Build Coastguard Workerunittest_proto_middleman: protoc$(EXEEXT) $(protoc_inputs) 697*6777b538SAndroid Build Coastguard Worker oldpwd=`pwd` && ( cd $(srcdir) && $$oldpwd/protoc$(EXEEXT) -I. --cpp_out=$$oldpwd $(protoc_inputs) --experimental_allow_proto3_optional ) 698*6777b538SAndroid Build Coastguard Worker touch unittest_proto_middleman 699*6777b538SAndroid Build Coastguard Worker 700*6777b538SAndroid Build Coastguard Workerendif 701*6777b538SAndroid Build Coastguard Worker 702*6777b538SAndroid Build Coastguard Worker$(protoc_outputs): unittest_proto_middleman 703*6777b538SAndroid Build Coastguard Worker 704*6777b538SAndroid Build Coastguard WorkerCOMMON_TEST_SOURCES = \ 705*6777b538SAndroid Build Coastguard Worker $(COMMON_LITE_TEST_SOURCES) \ 706*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/cpp/unittest.h \ 707*6777b538SAndroid Build Coastguard Worker google/protobuf/map_test_util.h \ 708*6777b538SAndroid Build Coastguard Worker google/protobuf/map_test_util.inc \ 709*6777b538SAndroid Build Coastguard Worker google/protobuf/reflection_tester.cc \ 710*6777b538SAndroid Build Coastguard Worker google/protobuf/reflection_tester.h \ 711*6777b538SAndroid Build Coastguard Worker google/protobuf/test_util.cc \ 712*6777b538SAndroid Build Coastguard Worker google/protobuf/test_util.h \ 713*6777b538SAndroid Build Coastguard Worker google/protobuf/test_util.inc \ 714*6777b538SAndroid Build Coastguard Worker google/protobuf/test_util2.h \ 715*6777b538SAndroid Build Coastguard Worker google/protobuf/testing/file.cc \ 716*6777b538SAndroid Build Coastguard Worker google/protobuf/testing/file.h \ 717*6777b538SAndroid Build Coastguard Worker google/protobuf/testing/googletest.cc \ 718*6777b538SAndroid Build Coastguard Worker google/protobuf/testing/googletest.h 719*6777b538SAndroid Build Coastguard Worker 720*6777b538SAndroid Build Coastguard WorkerGOOGLETEST_BUILD_DIR=../third_party/googletest/googletest 721*6777b538SAndroid Build Coastguard WorkerGOOGLEMOCK_BUILD_DIR=../third_party/googletest/googlemock 722*6777b538SAndroid Build Coastguard WorkerGOOGLETEST_SRC_DIR=$(srcdir)/../third_party/googletest/googletest 723*6777b538SAndroid Build Coastguard WorkerGOOGLEMOCK_SRC_DIR=$(srcdir)/../third_party/googletest/googlemock 724*6777b538SAndroid Build Coastguard Workercheck_PROGRAMS = protoc protobuf-test protobuf-lazy-descriptor-test \ 725*6777b538SAndroid Build Coastguard Worker protobuf-lite-test test_plugin protobuf-lite-arena-test \ 726*6777b538SAndroid Build Coastguard Worker no-warning-test $(GZCHECKPROGRAMS) 727*6777b538SAndroid Build Coastguard Workerprotobuf_test_LDADD = $(PTHREAD_LIBS) libprotobuf.la libprotoc.la \ 728*6777b538SAndroid Build Coastguard Worker $(GOOGLETEST_BUILD_DIR)/lib/libgtest.la \ 729*6777b538SAndroid Build Coastguard Worker $(GOOGLEMOCK_BUILD_DIR)/lib/libgmock.la \ 730*6777b538SAndroid Build Coastguard Worker $(GOOGLEMOCK_BUILD_DIR)/lib/libgmock_main.la 731*6777b538SAndroid Build Coastguard Workerprotobuf_test_CPPFLAGS = -I$(GOOGLETEST_SRC_DIR)/include \ 732*6777b538SAndroid Build Coastguard Worker -I$(GOOGLEMOCK_SRC_DIR)/include 733*6777b538SAndroid Build Coastguard Worker# Disable optimization for tests unless the user explicitly asked for it, 734*6777b538SAndroid Build Coastguard Worker# since test_util.cc takes forever to compile with optimization (with GCC). 735*6777b538SAndroid Build Coastguard Worker# See configure.ac for more info. 736*6777b538SAndroid Build Coastguard Workerprotobuf_test_CXXFLAGS = $(NO_OPT_CXXFLAGS) 737*6777b538SAndroid Build Coastguard Workerprotobuf_test_SOURCES = \ 738*6777b538SAndroid Build Coastguard Worker $(COMMON_TEST_SOURCES) \ 739*6777b538SAndroid Build Coastguard Worker google/protobuf/any_test.cc \ 740*6777b538SAndroid Build Coastguard Worker google/protobuf/arena_unittest.cc \ 741*6777b538SAndroid Build Coastguard Worker google/protobuf/arenastring_unittest.cc \ 742*6777b538SAndroid Build Coastguard Worker google/protobuf/arenaz_sampler_test.cc \ 743*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/annotation_test_util.cc \ 744*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/annotation_test_util.h \ 745*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/command_line_interface_unittest.cc \ 746*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/cpp/bootstrap_unittest.cc \ 747*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/cpp/message_size_unittest.cc \ 748*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/cpp/metadata_test.cc \ 749*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/cpp/move_unittest.cc \ 750*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/cpp/plugin_unittest.cc \ 751*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/cpp/unittest.cc \ 752*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/cpp/unittest.inc \ 753*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/csharp/csharp_bootstrap_unittest.cc \ 754*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/csharp/csharp_generator_unittest.cc \ 755*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/importer_unittest.cc \ 756*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/java/doc_comment_unittest.cc \ 757*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/java/plugin_unittest.cc \ 758*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/mock_code_generator.cc \ 759*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/mock_code_generator.h \ 760*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/objectivec/objectivec_helpers_unittest.cc \ 761*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/parser_unittest.cc \ 762*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/python/plugin_unittest.cc \ 763*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/ruby/ruby_generator_unittest.cc \ 764*6777b538SAndroid Build Coastguard Worker google/protobuf/descriptor_database_unittest.cc \ 765*6777b538SAndroid Build Coastguard Worker google/protobuf/descriptor_unittest.cc \ 766*6777b538SAndroid Build Coastguard Worker google/protobuf/drop_unknown_fields_test.cc \ 767*6777b538SAndroid Build Coastguard Worker google/protobuf/dynamic_message_unittest.cc \ 768*6777b538SAndroid Build Coastguard Worker google/protobuf/extension_set_unittest.cc \ 769*6777b538SAndroid Build Coastguard Worker google/protobuf/generated_message_reflection_unittest.cc \ 770*6777b538SAndroid Build Coastguard Worker google/protobuf/generated_message_tctable_lite_test.cc \ 771*6777b538SAndroid Build Coastguard Worker google/protobuf/inlined_string_field_unittest.cc \ 772*6777b538SAndroid Build Coastguard Worker google/protobuf/io/coded_stream_unittest.cc \ 773*6777b538SAndroid Build Coastguard Worker google/protobuf/io/io_win32_unittest.cc \ 774*6777b538SAndroid Build Coastguard Worker google/protobuf/io/printer_unittest.cc \ 775*6777b538SAndroid Build Coastguard Worker google/protobuf/io/tokenizer_unittest.cc \ 776*6777b538SAndroid Build Coastguard Worker google/protobuf/io/zero_copy_stream_unittest.cc \ 777*6777b538SAndroid Build Coastguard Worker google/protobuf/map_field_test.cc \ 778*6777b538SAndroid Build Coastguard Worker google/protobuf/map_test.cc \ 779*6777b538SAndroid Build Coastguard Worker google/protobuf/map_test.inc \ 780*6777b538SAndroid Build Coastguard Worker google/protobuf/message_unittest.cc \ 781*6777b538SAndroid Build Coastguard Worker google/protobuf/message_unittest.inc \ 782*6777b538SAndroid Build Coastguard Worker google/protobuf/no_field_presence_test.cc \ 783*6777b538SAndroid Build Coastguard Worker google/protobuf/preserve_unknown_enum_test.cc \ 784*6777b538SAndroid Build Coastguard Worker google/protobuf/proto3_arena_lite_unittest.cc \ 785*6777b538SAndroid Build Coastguard Worker google/protobuf/proto3_arena_unittest.cc \ 786*6777b538SAndroid Build Coastguard Worker google/protobuf/proto3_lite_unittest.cc \ 787*6777b538SAndroid Build Coastguard Worker google/protobuf/proto3_lite_unittest.inc \ 788*6777b538SAndroid Build Coastguard Worker google/protobuf/reflection_ops_unittest.cc \ 789*6777b538SAndroid Build Coastguard Worker google/protobuf/repeated_field_reflection_unittest.cc \ 790*6777b538SAndroid Build Coastguard Worker google/protobuf/repeated_field_unittest.cc \ 791*6777b538SAndroid Build Coastguard Worker google/protobuf/stubs/bytestream_unittest.cc \ 792*6777b538SAndroid Build Coastguard Worker google/protobuf/stubs/common_unittest.cc \ 793*6777b538SAndroid Build Coastguard Worker google/protobuf/stubs/int128_unittest.cc \ 794*6777b538SAndroid Build Coastguard Worker google/protobuf/stubs/status_test.cc \ 795*6777b538SAndroid Build Coastguard Worker google/protobuf/stubs/statusor_test.cc \ 796*6777b538SAndroid Build Coastguard Worker google/protobuf/stubs/stringpiece_unittest.cc \ 797*6777b538SAndroid Build Coastguard Worker google/protobuf/stubs/stringprintf_unittest.cc \ 798*6777b538SAndroid Build Coastguard Worker google/protobuf/stubs/structurally_valid_unittest.cc \ 799*6777b538SAndroid Build Coastguard Worker google/protobuf/stubs/strutil_unittest.cc \ 800*6777b538SAndroid Build Coastguard Worker google/protobuf/stubs/template_util_unittest.cc \ 801*6777b538SAndroid Build Coastguard Worker google/protobuf/stubs/time_test.cc \ 802*6777b538SAndroid Build Coastguard Worker google/protobuf/text_format_unittest.cc \ 803*6777b538SAndroid Build Coastguard Worker google/protobuf/unknown_field_set_unittest.cc \ 804*6777b538SAndroid Build Coastguard Worker google/protobuf/util/delimited_message_util_test.cc \ 805*6777b538SAndroid Build Coastguard Worker google/protobuf/util/field_comparator_test.cc \ 806*6777b538SAndroid Build Coastguard Worker google/protobuf/util/field_mask_util_test.cc \ 807*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/default_value_objectwriter_test.cc \ 808*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/json_objectwriter_test.cc \ 809*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/json_stream_parser_test.cc \ 810*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/protostream_objectsource_test.cc \ 811*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/protostream_objectwriter_test.cc \ 812*6777b538SAndroid Build Coastguard Worker google/protobuf/util/internal/type_info_test_helper.cc \ 813*6777b538SAndroid Build Coastguard Worker google/protobuf/util/json_util_test.cc \ 814*6777b538SAndroid Build Coastguard Worker google/protobuf/util/message_differencer_unittest.cc \ 815*6777b538SAndroid Build Coastguard Worker google/protobuf/util/time_util_test.cc \ 816*6777b538SAndroid Build Coastguard Worker google/protobuf/util/type_resolver_util_test.cc \ 817*6777b538SAndroid Build Coastguard Worker google/protobuf/well_known_types_unittest.cc \ 818*6777b538SAndroid Build Coastguard Worker google/protobuf/wire_format_unittest.cc \ 819*6777b538SAndroid Build Coastguard Worker google/protobuf/wire_format_unittest.inc 820*6777b538SAndroid Build Coastguard Worker 821*6777b538SAndroid Build Coastguard Workernodist_protobuf_test_SOURCES = $(protoc_outputs) 822*6777b538SAndroid Build Coastguard Worker$(am_protobuf_test_OBJECTS): unittest_proto_middleman 823*6777b538SAndroid Build Coastguard Worker 824*6777b538SAndroid Build Coastguard Worker# Run cpp_unittest again with PROTOBUF_TEST_NO_DESCRIPTORS defined. 825*6777b538SAndroid Build Coastguard Workerprotobuf_lazy_descriptor_test_LDADD = $(PTHREAD_LIBS) libprotobuf.la \ 826*6777b538SAndroid Build Coastguard Worker libprotoc.la \ 827*6777b538SAndroid Build Coastguard Worker $(GOOGLETEST_BUILD_DIR)/lib/libgtest.la \ 828*6777b538SAndroid Build Coastguard Worker $(GOOGLEMOCK_BUILD_DIR)/lib/libgmock.la \ 829*6777b538SAndroid Build Coastguard Worker $(GOOGLEMOCK_BUILD_DIR)/lib/libgmock_main.la 830*6777b538SAndroid Build Coastguard Workerprotobuf_lazy_descriptor_test_CPPFLAGS = -I$(GOOGLEMOCK_SRC_DIR)/include \ 831*6777b538SAndroid Build Coastguard Worker -I$(GOOGLETEST_SRC_DIR)/include \ 832*6777b538SAndroid Build Coastguard Worker -DPROTOBUF_TEST_NO_DESCRIPTORS 833*6777b538SAndroid Build Coastguard Workerprotobuf_lazy_descriptor_test_CXXFLAGS = $(NO_OPT_CXXFLAGS) 834*6777b538SAndroid Build Coastguard Workerprotobuf_lazy_descriptor_test_SOURCES = \ 835*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/cpp/unittest.cc \ 836*6777b538SAndroid Build Coastguard Worker $(COMMON_TEST_SOURCES) 837*6777b538SAndroid Build Coastguard Workernodist_protobuf_lazy_descriptor_test_SOURCES = $(protoc_outputs) 838*6777b538SAndroid Build Coastguard Worker$(am_protobuf_lazy_descriptor_test_OBJECTS): unittest_proto_middleman 839*6777b538SAndroid Build Coastguard Worker 840*6777b538SAndroid Build Coastguard WorkerCOMMON_LITE_TEST_SOURCES = \ 841*6777b538SAndroid Build Coastguard Worker google/protobuf/arena_test_util.cc \ 842*6777b538SAndroid Build Coastguard Worker google/protobuf/arena_test_util.h \ 843*6777b538SAndroid Build Coastguard Worker google/protobuf/map_lite_test_util.cc \ 844*6777b538SAndroid Build Coastguard Worker google/protobuf/map_lite_test_util.h \ 845*6777b538SAndroid Build Coastguard Worker google/protobuf/map_test_util_impl.h \ 846*6777b538SAndroid Build Coastguard Worker google/protobuf/test_util_lite.cc \ 847*6777b538SAndroid Build Coastguard Worker google/protobuf/test_util_lite.h 848*6777b538SAndroid Build Coastguard Worker 849*6777b538SAndroid Build Coastguard Worker# Build lite_unittest separately, since it doesn't use gtest. It can't 850*6777b538SAndroid Build Coastguard Worker# depend on gtest because our internal version of gtest depend on proto 851*6777b538SAndroid Build Coastguard Worker# full runtime and we want to make sure this test builds without full 852*6777b538SAndroid Build Coastguard Worker# runtime. 853*6777b538SAndroid Build Coastguard Workerprotobuf_lite_test_LDADD = $(PTHREAD_LIBS) libprotobuf-lite.la \ 854*6777b538SAndroid Build Coastguard Worker $(GOOGLETEST_BUILD_DIR)/lib/libgtest.la \ 855*6777b538SAndroid Build Coastguard Worker $(GOOGLEMOCK_BUILD_DIR)/lib/libgmock.la \ 856*6777b538SAndroid Build Coastguard Worker $(GOOGLEMOCK_BUILD_DIR)/lib/libgmock_main.la 857*6777b538SAndroid Build Coastguard Workerprotobuf_lite_test_CPPFLAGS= -I$(GOOGLEMOCK_SRC_DIR)/include \ 858*6777b538SAndroid Build Coastguard Worker -I$(GOOGLETEST_SRC_DIR)/include 859*6777b538SAndroid Build Coastguard Workerprotobuf_lite_test_CXXFLAGS = $(NO_OPT_CXXFLAGS) 860*6777b538SAndroid Build Coastguard Workerprotobuf_lite_test_SOURCES = \ 861*6777b538SAndroid Build Coastguard Worker google/protobuf/lite_unittest.cc \ 862*6777b538SAndroid Build Coastguard Worker $(COMMON_LITE_TEST_SOURCES) 863*6777b538SAndroid Build Coastguard Workernodist_protobuf_lite_test_SOURCES = $(protoc_lite_outputs) 864*6777b538SAndroid Build Coastguard Worker$(am_protobuf_lite_test_OBJECTS): unittest_proto_middleman 865*6777b538SAndroid Build Coastguard Worker 866*6777b538SAndroid Build Coastguard Worker# lite_arena_unittest depends on gtest because teboring@ found that without 867*6777b538SAndroid Build Coastguard Worker# gtest when building the test internally our memory sanitizer doesn't detect 868*6777b538SAndroid Build Coastguard Worker# memory leaks (don't know why). 869*6777b538SAndroid Build Coastguard Workerprotobuf_lite_arena_test_LDADD = $(PTHREAD_LIBS) libprotobuf-lite.la \ 870*6777b538SAndroid Build Coastguard Worker $(GOOGLETEST_BUILD_DIR)/lib/libgtest.la \ 871*6777b538SAndroid Build Coastguard Worker $(GOOGLEMOCK_BUILD_DIR)/lib/libgmock.la \ 872*6777b538SAndroid Build Coastguard Worker $(GOOGLEMOCK_BUILD_DIR)/lib/libgmock_main.la 873*6777b538SAndroid Build Coastguard Workerprotobuf_lite_arena_test_CPPFLAGS = -I$(GOOGLEMOCK_SRC_DIR)/include \ 874*6777b538SAndroid Build Coastguard Worker -I$(GOOGLETEST_SRC_DIR)/include 875*6777b538SAndroid Build Coastguard Workerprotobuf_lite_arena_test_CXXFLAGS = $(NO_OPT_CXXFLAGS) 876*6777b538SAndroid Build Coastguard Workerprotobuf_lite_arena_test_SOURCES = \ 877*6777b538SAndroid Build Coastguard Worker google/protobuf/lite_arena_unittest.cc \ 878*6777b538SAndroid Build Coastguard Worker $(COMMON_LITE_TEST_SOURCES) 879*6777b538SAndroid Build Coastguard Workernodist_protobuf_lite_arena_test_SOURCES = $(protoc_lite_outputs) 880*6777b538SAndroid Build Coastguard Worker$(am_protobuf_lite_arena_test_OBJECTS): unittest_proto_middleman 881*6777b538SAndroid Build Coastguard Worker 882*6777b538SAndroid Build Coastguard Worker# Test plugin binary. 883*6777b538SAndroid Build Coastguard Workertest_plugin_LDADD = $(PTHREAD_LIBS) libprotobuf.la libprotoc.la \ 884*6777b538SAndroid Build Coastguard Worker $(GOOGLETEST_BUILD_DIR)/lib/libgtest.la 885*6777b538SAndroid Build Coastguard Workertest_plugin_CPPFLAGS = -I$(GOOGLETEST_SRC_DIR)/include 886*6777b538SAndroid Build Coastguard Workertest_plugin_SOURCES = \ 887*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/mock_code_generator.cc \ 888*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/test_plugin.cc \ 889*6777b538SAndroid Build Coastguard Worker google/protobuf/testing/file.cc \ 890*6777b538SAndroid Build Coastguard Worker google/protobuf/testing/file.h 891*6777b538SAndroid Build Coastguard Worker 892*6777b538SAndroid Build Coastguard Workerif HAVE_ZLIB 893*6777b538SAndroid Build Coastguard Workerzcgzip_LDADD = $(PTHREAD_LIBS) libprotobuf.la 894*6777b538SAndroid Build Coastguard Workerzcgzip_SOURCES = google/protobuf/testing/zcgzip.cc 895*6777b538SAndroid Build Coastguard Worker 896*6777b538SAndroid Build Coastguard Workerzcgunzip_LDADD = $(PTHREAD_LIBS) libprotobuf.la 897*6777b538SAndroid Build Coastguard Workerzcgunzip_SOURCES = google/protobuf/testing/zcgunzip.cc 898*6777b538SAndroid Build Coastguard Workerendif 899*6777b538SAndroid Build Coastguard Worker 900*6777b538SAndroid Build Coastguard Worker# This test target is to ensure all our public header files and generated 901*6777b538SAndroid Build Coastguard Worker# code is free from warnings. We have to be more pedantic about these 902*6777b538SAndroid Build Coastguard Worker# files because they are compiled by users with different compiler flags. 903*6777b538SAndroid Build Coastguard Workerno_warning_test.cc: 904*6777b538SAndroid Build Coastguard Worker echo "// Generated from Makefile.am" > no_warning_test.cc 905*6777b538SAndroid Build Coastguard Worker for FILE in $(nobase_include_HEADERS); do \ 906*6777b538SAndroid Build Coastguard Worker case $$FILE in *.inc) continue;; esac; \ 907*6777b538SAndroid Build Coastguard Worker echo "#include <$${FILE}>" >> no_warning_test.cc; \ 908*6777b538SAndroid Build Coastguard Worker done 909*6777b538SAndroid Build Coastguard Worker echo "int main(int, char**) { return 0; }" >> no_warning_test.cc 910*6777b538SAndroid Build Coastguard Worker 911*6777b538SAndroid Build Coastguard Workerno_warning_test_LDADD = $(PTHREAD_LIBS) libprotobuf.la libprotoc.la 912*6777b538SAndroid Build Coastguard Workerno_warning_test_CXXFLAGS = $(PTHREAD_CFLAGS) $(PTHREAD_DEF) $(ZLIB_DEF) \ 913*6777b538SAndroid Build Coastguard Worker -Wall -Wextra -Werror -Wno-unused-parameter 914*6777b538SAndroid Build Coastguard Workernodist_no_warning_test_SOURCES = no_warning_test.cc $(protoc_outputs) 915*6777b538SAndroid Build Coastguard Worker 916*6777b538SAndroid Build Coastguard WorkerTESTS = protobuf-test protobuf-lazy-descriptor-test protobuf-lite-test \ 917*6777b538SAndroid Build Coastguard Worker google/protobuf/compiler/zip_output_unittest.sh $(GZTESTS) \ 918*6777b538SAndroid Build Coastguard Worker protobuf-lite-arena-test no-warning-test 919