ya.make 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. # Generated by devtools/yamaker from nixpkgs 22.11.
  2. LIBRARY()
  3. LICENSE(
  4. BSD-3-Clause AND
  5. Protobuf-License
  6. )
  7. LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
  8. PROVIDES(protobuf)
  9. VERSION(3.21.3)
  10. ORIGINAL_SOURCE(https://github.com/protocolbuffers/protobuf/archive/v3.21.3.tar.gz)
  11. IF (OPENSOURCE_REPLACE_PROTOBUF AND EXPORT_CMAKE)
  12. OPENSOURCE_EXPORT_REPLACEMENT(
  13. CMAKE
  14. Protobuf
  15. CMAKE_TARGET
  16. protobuf::libprotobuf
  17. protobuf::libprotoc
  18. CONAN
  19. protobuf/${OPENSOURCE_REPLACE_PROTOBUF}
  20. CONAN_ADDITIONAL_SEMS
  21. "&& conan_require_tool"
  22. protobuf/${OPENSOURCE_REPLACE_PROTOBUF}
  23. "&& conan-tool_requires"
  24. protobuf/${OPENSOURCE_REPLACE_PROTOBUF}
  25. "&& conan_import \"bin, protoc* -> ./bin\" && conan-imports 'bin, protoc* -> ./bin' && vanilla_protobuf"
  26. )
  27. ELSE()
  28. ADDINCL(
  29. GLOBAL contrib/libs/protobuf/src
  30. GLOBAL FOR
  31. proto
  32. contrib/libs/protobuf/src
  33. )
  34. ENDIF()
  35. PEERDIR(
  36. contrib/libs/zlib
  37. library/cpp/sanitizer/include
  38. )
  39. NO_COMPILER_WARNINGS()
  40. CFLAGS(
  41. -DGOOGLE_PROTOBUF_CMAKE_BUILD
  42. -DHAVE_ZLIB
  43. )
  44. IF (OS_ANDROID)
  45. EXTRALIBS(log)
  46. ENDIF()
  47. SRCS(
  48. GLOBAL src/google/protobuf/generated_message_util.cc
  49. src/google/protobuf/any.cc
  50. src/google/protobuf/any.pb.cc
  51. src/google/protobuf/any_lite.cc
  52. src/google/protobuf/api.pb.cc
  53. src/google/protobuf/arena.cc
  54. src/google/protobuf/arenastring.cc
  55. src/google/protobuf/arenaz_sampler.cc
  56. src/google/protobuf/descriptor.cc
  57. src/google/protobuf/descriptor.pb.cc
  58. src/google/protobuf/descriptor_database.cc
  59. src/google/protobuf/duration.pb.cc
  60. src/google/protobuf/dynamic_message.cc
  61. src/google/protobuf/empty.pb.cc
  62. src/google/protobuf/extension_set.cc
  63. src/google/protobuf/extension_set_heavy.cc
  64. src/google/protobuf/field_mask.pb.cc
  65. src/google/protobuf/generated_enum_util.cc
  66. src/google/protobuf/generated_message_bases.cc
  67. src/google/protobuf/generated_message_reflection.cc
  68. src/google/protobuf/generated_message_tctable_full.cc
  69. src/google/protobuf/generated_message_tctable_lite.cc
  70. src/google/protobuf/implicit_weak_message.cc
  71. src/google/protobuf/inlined_string_field.cc
  72. src/google/protobuf/io/coded_stream.cc
  73. src/google/protobuf/io/gzip_stream.cc
  74. src/google/protobuf/io/io_win32.cc
  75. src/google/protobuf/io/printer.cc
  76. src/google/protobuf/io/strtod.cc
  77. src/google/protobuf/io/tokenizer.cc
  78. src/google/protobuf/io/zero_copy_stream.cc
  79. src/google/protobuf/io/zero_copy_stream_impl.cc
  80. src/google/protobuf/io/zero_copy_stream_impl_lite.cc
  81. src/google/protobuf/json_util.cc
  82. src/google/protobuf/map.cc
  83. src/google/protobuf/map_field.cc
  84. src/google/protobuf/message.cc
  85. src/google/protobuf/message_lite.cc
  86. src/google/protobuf/messagext.cc
  87. src/google/protobuf/parse_context.cc
  88. src/google/protobuf/reflection_ops.cc
  89. src/google/protobuf/repeated_field.cc
  90. src/google/protobuf/repeated_ptr_field.cc
  91. src/google/protobuf/service.cc
  92. src/google/protobuf/source_context.pb.cc
  93. src/google/protobuf/struct.pb.cc
  94. src/google/protobuf/stubs/bytestream.cc
  95. src/google/protobuf/stubs/common.cc
  96. src/google/protobuf/stubs/int128.cc
  97. src/google/protobuf/stubs/status.cc
  98. src/google/protobuf/stubs/statusor.cc
  99. src/google/protobuf/stubs/stringpiece.cc
  100. src/google/protobuf/stubs/stringprintf.cc
  101. src/google/protobuf/stubs/structurally_valid.cc
  102. src/google/protobuf/stubs/strutil.cc
  103. src/google/protobuf/stubs/substitute.cc
  104. src/google/protobuf/stubs/time.cc
  105. src/google/protobuf/text_format.cc
  106. src/google/protobuf/timestamp.pb.cc
  107. src/google/protobuf/type.pb.cc
  108. src/google/protobuf/unknown_field_set.cc
  109. src/google/protobuf/util/delimited_message_util.cc
  110. src/google/protobuf/util/field_comparator.cc
  111. src/google/protobuf/util/field_mask_util.cc
  112. src/google/protobuf/util/internal/datapiece.cc
  113. src/google/protobuf/util/internal/default_value_objectwriter.cc
  114. src/google/protobuf/util/internal/error_listener.cc
  115. src/google/protobuf/util/internal/field_mask_utility.cc
  116. src/google/protobuf/util/internal/json_escaping.cc
  117. src/google/protobuf/util/internal/json_objectwriter.cc
  118. src/google/protobuf/util/internal/json_stream_parser.cc
  119. src/google/protobuf/util/internal/object_writer.cc
  120. src/google/protobuf/util/internal/proto_writer.cc
  121. src/google/protobuf/util/internal/protostream_objectsource.cc
  122. src/google/protobuf/util/internal/protostream_objectwriter.cc
  123. src/google/protobuf/util/internal/type_info.cc
  124. src/google/protobuf/util/internal/utility.cc
  125. src/google/protobuf/util/json_util.cc
  126. src/google/protobuf/util/message_differencer.cc
  127. src/google/protobuf/util/time_util.cc
  128. src/google/protobuf/util/type_resolver_util.cc
  129. src/google/protobuf/wire_format.cc
  130. src/google/protobuf/wire_format_lite.cc
  131. src/google/protobuf/wrappers.pb.cc
  132. )
  133. FILES(
  134. src/google/protobuf/any.proto
  135. src/google/protobuf/api.proto
  136. src/google/protobuf/descriptor.proto
  137. src/google/protobuf/duration.proto
  138. src/google/protobuf/empty.proto
  139. src/google/protobuf/field_mask.proto
  140. src/google/protobuf/source_context.proto
  141. src/google/protobuf/struct.proto
  142. src/google/protobuf/timestamp.proto
  143. src/google/protobuf/type.proto
  144. src/google/protobuf/wrappers.proto
  145. )
  146. END()
  147. RECURSE(
  148. builtin_proto
  149. )