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