aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/grpc/src/python/grpcio/ya.make
blob: 5cdb0230c412e3941b364bd37b2ad6fb5b40916c (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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
PY23_LIBRARY()

LICENSE(Apache-2.0)

LICENSE_TEXTS(.yandex_meta/licenses.list.txt)

OWNER(
    akastornov
    g:contrib
    g:cpp-contrib
)

PEERDIR(
    contrib/libs/grpc/grpc
    contrib/python/six
)

IF (PYTHON2)
    PEERDIR(
        contrib/python/enum34
        contrib/python/futures
    )
ENDIF()

ADDINCL(
    ${ARCADIA_BUILD_ROOT}/contrib/libs/grpc
    contrib/libs/grpc
    contrib/libs/grpc/include
)

IF (SANITIZER_TYPE == undefined)
    # https://github.com/grpc/grpc/blob/v1.15.1/tools/bazel.rc#L43
    CXXFLAGS(-fno-sanitize=function)
ENDIF()

NO_LINT()

NO_COMPILER_WARNINGS()

PY_SRCS(
    TOP_LEVEL
    grpc/__init__.py
    grpc/_auth.py
    grpc/_channel.py
    grpc/_common.py
    grpc/_compression.py
    grpc/_cython/__init__.py
    grpc/_cython/_cygrpc/__init__.py
    grpc/_cython/cygrpc.pyx
    grpc/_grpcio_metadata.py
    grpc/_interceptor.py
    grpc/_plugin_wrapping.py
    grpc/_runtime_protos.py
    grpc/_server.py
    grpc/_utilities.py
    grpc/beta/__init__.py
    grpc/beta/_client_adaptations.py
    grpc/beta/_metadata.py
    grpc/beta/_server_adaptations.py
    grpc/beta/implementations.py
    grpc/beta/interfaces.py
    grpc/beta/utilities.py
    grpc/experimental/__init__.py
    grpc/experimental/gevent.py
    grpc/experimental/session_cache.py
    grpc/framework/__init__.py
    grpc/framework/common/__init__.py
    grpc/framework/common/cardinality.py
    grpc/framework/common/style.py
    grpc/framework/foundation/__init__.py
    grpc/framework/foundation/abandonment.py
    grpc/framework/foundation/callable_util.py
    grpc/framework/foundation/future.py
    grpc/framework/foundation/logging_pool.py
    grpc/framework/foundation/stream.py
    grpc/framework/foundation/stream_util.py
    grpc/framework/interfaces/__init__.py
    grpc/framework/interfaces/base/__init__.py
    grpc/framework/interfaces/base/base.py
    grpc/framework/interfaces/base/utilities.py
    grpc/framework/interfaces/face/__init__.py
    grpc/framework/interfaces/face/face.py
    grpc/framework/interfaces/face/utilities.py
)

IF (PYTHON3)
    PY_SRCS(
        TOP_LEVEL
        grpc/_simple_stubs.py
        grpc/aio/_base_call.py
        grpc/aio/_base_channel.py
        grpc/aio/_base_server.py
        grpc/aio/_call.py
        grpc/aio/_channel.py
        grpc/aio/__init__.py
        grpc/aio/_interceptor.py
        grpc/aio/_metadata.py
        grpc/aio/_server.py
        grpc/aio/_typing.py
        grpc/aio/_utils.py
        grpc/experimental/aio/__init__.py
    )
ENDIF()

END()