ya.make 5.2 KB

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