ya.make 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. # Generated by devtools/yamaker.
  2. LIBRARY()
  3. LICENSE(
  4. BSD-3-Clause AND
  5. Protobuf-License
  6. )
  7. PROVIDES(protoc)
  8. VERSION(3.22.5)
  9. ORIGINAL_SOURCE(https://github.com/protocolbuffers/protobuf/archive/v3.22.5.tar.gz)
  10. IF (OPENSOURCE_REPLACE_PROTOBUF AND EXPORT_CMAKE)
  11. OPENSOURCE_EXPORT_REPLACEMENT(
  12. CMAKE
  13. Protobuf
  14. CMAKE_TARGET
  15. protobuf::libprotobuf
  16. protobuf::libprotoc
  17. CONAN
  18. protobuf/${OPENSOURCE_REPLACE_PROTOBUF}
  19. CONAN_ADDITIONAL_SEMS
  20. "&& conan_require_tool"
  21. protobuf/${OPENSOURCE_REPLACE_PROTOBUF}
  22. "&& conan-tool_requires"
  23. protobuf/${OPENSOURCE_REPLACE_PROTOBUF}
  24. "&& conan_import \"bin, protoc* -> ./bin\" && conan-imports 'bin, protoc* -> ./bin' && vanilla_protobuf"
  25. )
  26. ELSE()
  27. ADDINCL(
  28. GLOBAL contrib/libs/protoc/src
  29. )
  30. ENDIF()
  31. LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
  32. PEERDIR(
  33. contrib/libs/protobuf
  34. )
  35. ADDINCL(
  36. contrib/libs/protobuf/third_party/utf8_range
  37. )
  38. NO_COMPILER_WARNINGS()
  39. NO_UTIL()
  40. CFLAGS(
  41. -DGOOGLE_PROTOBUF_CMAKE_BUILD
  42. -DHAVE_ZLIB
  43. )
  44. SRCS(
  45. src/google/protobuf/compiler/code_generator.cc
  46. src/google/protobuf/compiler/command_line_interface.cc
  47. src/google/protobuf/compiler/cpp/enum.cc
  48. src/google/protobuf/compiler/cpp/extension.cc
  49. src/google/protobuf/compiler/cpp/field.cc
  50. src/google/protobuf/compiler/cpp/field_generators/enum_field.cc
  51. src/google/protobuf/compiler/cpp/field_generators/map_field.cc
  52. src/google/protobuf/compiler/cpp/field_generators/message_field.cc
  53. src/google/protobuf/compiler/cpp/field_generators/primitive_field.cc
  54. src/google/protobuf/compiler/cpp/field_generators/string_field.cc
  55. src/google/protobuf/compiler/cpp/file.cc
  56. src/google/protobuf/compiler/cpp/generator.cc
  57. src/google/protobuf/compiler/cpp/helpers.cc
  58. src/google/protobuf/compiler/cpp/message.cc
  59. src/google/protobuf/compiler/cpp/padding_optimizer.cc
  60. src/google/protobuf/compiler/cpp/parse_function_generator.cc
  61. src/google/protobuf/compiler/cpp/service.cc
  62. src/google/protobuf/compiler/cpp/tracker.cc
  63. src/google/protobuf/compiler/csharp/csharp_doc_comment.cc
  64. src/google/protobuf/compiler/csharp/csharp_enum.cc
  65. src/google/protobuf/compiler/csharp/csharp_enum_field.cc
  66. src/google/protobuf/compiler/csharp/csharp_field_base.cc
  67. src/google/protobuf/compiler/csharp/csharp_generator.cc
  68. src/google/protobuf/compiler/csharp/csharp_helpers.cc
  69. src/google/protobuf/compiler/csharp/csharp_map_field.cc
  70. src/google/protobuf/compiler/csharp/csharp_message.cc
  71. src/google/protobuf/compiler/csharp/csharp_message_field.cc
  72. src/google/protobuf/compiler/csharp/csharp_primitive_field.cc
  73. src/google/protobuf/compiler/csharp/csharp_reflection_class.cc
  74. src/google/protobuf/compiler/csharp/csharp_repeated_enum_field.cc
  75. src/google/protobuf/compiler/csharp/csharp_repeated_message_field.cc
  76. src/google/protobuf/compiler/csharp/csharp_repeated_primitive_field.cc
  77. src/google/protobuf/compiler/csharp/csharp_source_generator_base.cc
  78. src/google/protobuf/compiler/csharp/csharp_wrapper_field.cc
  79. src/google/protobuf/compiler/csharp/names.cc
  80. src/google/protobuf/compiler/importer.cc
  81. src/google/protobuf/compiler/java/context.cc
  82. src/google/protobuf/compiler/java/doc_comment.cc
  83. src/google/protobuf/compiler/java/enum.cc
  84. src/google/protobuf/compiler/java/enum_field.cc
  85. src/google/protobuf/compiler/java/enum_field_lite.cc
  86. src/google/protobuf/compiler/java/enum_lite.cc
  87. src/google/protobuf/compiler/java/extension.cc
  88. src/google/protobuf/compiler/java/extension_lite.cc
  89. src/google/protobuf/compiler/java/field.cc
  90. src/google/protobuf/compiler/java/file.cc
  91. src/google/protobuf/compiler/java/generator.cc
  92. src/google/protobuf/compiler/java/generator_factory.cc
  93. src/google/protobuf/compiler/java/helpers.cc
  94. src/google/protobuf/compiler/java/kotlin_generator.cc
  95. src/google/protobuf/compiler/java/map_field.cc
  96. src/google/protobuf/compiler/java/map_field_lite.cc
  97. src/google/protobuf/compiler/java/message.cc
  98. src/google/protobuf/compiler/java/message_builder.cc
  99. src/google/protobuf/compiler/java/message_builder_lite.cc
  100. src/google/protobuf/compiler/java/message_field.cc
  101. src/google/protobuf/compiler/java/message_field_lite.cc
  102. src/google/protobuf/compiler/java/message_lite.cc
  103. src/google/protobuf/compiler/java/message_serialization.cc
  104. src/google/protobuf/compiler/java/name_resolver.cc
  105. src/google/protobuf/compiler/java/names.cc
  106. src/google/protobuf/compiler/java/primitive_field.cc
  107. src/google/protobuf/compiler/java/primitive_field_lite.cc
  108. src/google/protobuf/compiler/java/service.cc
  109. src/google/protobuf/compiler/java/shared_code_generator.cc
  110. src/google/protobuf/compiler/java/string_field.cc
  111. src/google/protobuf/compiler/java/string_field_lite.cc
  112. src/google/protobuf/compiler/objectivec/enum.cc
  113. src/google/protobuf/compiler/objectivec/enum_field.cc
  114. src/google/protobuf/compiler/objectivec/extension.cc
  115. src/google/protobuf/compiler/objectivec/field.cc
  116. src/google/protobuf/compiler/objectivec/file.cc
  117. src/google/protobuf/compiler/objectivec/generator.cc
  118. src/google/protobuf/compiler/objectivec/helpers.cc
  119. src/google/protobuf/compiler/objectivec/import_writer.cc
  120. src/google/protobuf/compiler/objectivec/line_consumer.cc
  121. src/google/protobuf/compiler/objectivec/map_field.cc
  122. src/google/protobuf/compiler/objectivec/message.cc
  123. src/google/protobuf/compiler/objectivec/message_field.cc
  124. src/google/protobuf/compiler/objectivec/names.cc
  125. src/google/protobuf/compiler/objectivec/oneof.cc
  126. src/google/protobuf/compiler/objectivec/primitive_field.cc
  127. src/google/protobuf/compiler/objectivec/text_format_decode_data.cc
  128. src/google/protobuf/compiler/parser.cc
  129. src/google/protobuf/compiler/php/names.cc
  130. src/google/protobuf/compiler/php/php_generator.cc
  131. src/google/protobuf/compiler/plugin.cc
  132. src/google/protobuf/compiler/plugin.pb.cc
  133. src/google/protobuf/compiler/python/generator.cc
  134. src/google/protobuf/compiler/python/helpers.cc
  135. src/google/protobuf/compiler/python/pyi_generator.cc
  136. src/google/protobuf/compiler/retention.cc
  137. src/google/protobuf/compiler/ruby/ruby_generator.cc
  138. src/google/protobuf/compiler/subprocess.cc
  139. src/google/protobuf/compiler/zip_writer.cc
  140. )
  141. END()