aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/protobuf/py3/ya.make
blob: da1daa078e267a815c53c25785fac4cf898ce1c6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Generated by devtools/yamaker/ym2

PY3_LIBRARY()

LICENSE(
    BSD-3-Clause AND
    Protobuf-License
)

LICENSE_TEXTS(.yandex_meta/licenses.list.txt)

VERSION(4.22.5)

ORIGINAL_SOURCE(https://github.com/protocolbuffers/protobuf/archive/refs/tags/v4.22.5.tar.gz)

NO_COMPILER_WARNINGS()

PEERDIR(
    contrib/libs/protobuf
    contrib/libs/protobuf/builtin_proto/protos_from_protobuf
    contrib/libs/protobuf/builtin_proto/protos_from_protoc
    contrib/libs/python
    contrib/restricted/abseil-cpp-tstring/y_absl/strings
    contrib/restricted/abseil-cpp-tstring/y_absl/log
)

NO_LINT()

ADDINCL(
    contrib/python/protobuf/py3
)

CFLAGS(
    -DPYTHON_PROTO2_CPP_IMPL_V2
)

INCLUDE(ya.make.inc)

PY_REGISTER(
    google.protobuf.internal._api_implementation
    google.protobuf.pyext._message
)

END()