ya.make 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. PY2_LIBRARY()
  2. LICENSE(BSD-3-Clause)
  3. LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
  4. VERSION(3.17.3)
  5. ORIGINAL_SOURCE(https://github.com/protocolbuffers/protobuf/archive/v3.17.3.tar.gz)
  6. PEERDIR(
  7. contrib/libs/protobuf_old
  8. contrib/libs/protobuf_old/builtin_proto/protos_from_protobuf
  9. #contrib/libs/protobuf_old/builtin_proto/protos_from_protoc
  10. contrib/python/six
  11. )
  12. ADDINCL(
  13. contrib/python/protobuf/py2
  14. contrib/libs/protobuf_old
  15. contrib/libs/protobuf_old/src
  16. )
  17. NO_COMPILER_WARNINGS()
  18. NO_LINT()
  19. PY_REGISTER(
  20. google.protobuf.internal._api_implementation
  21. google.protobuf.pyext._message
  22. )
  23. PY_SRCS(
  24. TOP_LEVEL
  25. google/__init__.py
  26. google/protobuf/__init__.py
  27. google/protobuf/compiler/__init__.py
  28. google/protobuf/descriptor.py
  29. google/protobuf/descriptor_database.py
  30. google/protobuf/descriptor_pool.py
  31. google/protobuf/internal/__init__.py
  32. google/protobuf/internal/_parameterized.py
  33. google/protobuf/internal/api_implementation.py
  34. google/protobuf/internal/containers.py
  35. google/protobuf/internal/decoder.py
  36. google/protobuf/internal/encoder.py
  37. google/protobuf/internal/enum_type_wrapper.py
  38. google/protobuf/internal/extension_dict.py
  39. google/protobuf/internal/message_listener.py
  40. google/protobuf/internal/python_message.py
  41. google/protobuf/internal/type_checkers.py
  42. google/protobuf/internal/well_known_types.py
  43. google/protobuf/internal/wire_format.py
  44. google/protobuf/json_format.py
  45. google/protobuf/message.py
  46. google/protobuf/message_factory.py
  47. google/protobuf/proto_builder.py
  48. google/protobuf/pyext/__init__.py
  49. google/protobuf/pyext/cpp_message.py
  50. google/protobuf/reflection.py
  51. google/protobuf/service.py
  52. google/protobuf/service_reflection.py
  53. google/protobuf/symbol_database.py
  54. google/protobuf/text_encoding.py
  55. google/protobuf/text_format.py
  56. google/protobuf/util/__init__.py
  57. )
  58. NO_LTO()
  59. CFLAGS(
  60. -DPYTHON_PROTO2_CPP_IMPL_V2
  61. )
  62. SRCS(
  63. google/protobuf/internal/api_implementation.cc
  64. google/protobuf/pyext/descriptor.cc
  65. google/protobuf/pyext/descriptor_containers.cc
  66. google/protobuf/pyext/descriptor_database.cc
  67. google/protobuf/pyext/descriptor_pool.cc
  68. google/protobuf/pyext/extension_dict.cc
  69. google/protobuf/pyext/field.cc
  70. google/protobuf/pyext/map_container.cc
  71. google/protobuf/pyext/message.cc
  72. google/protobuf/pyext/message_factory.cc
  73. google/protobuf/pyext/message_module.cc
  74. google/protobuf/pyext/repeated_composite_container.cc
  75. google/protobuf/pyext/repeated_scalar_container.cc
  76. google/protobuf/pyext/unknown_fields.cc
  77. )
  78. END()