aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/grpc/src/python/grpcio_status/ya.make
blob: fb7f71272a1a616f21bf9160657f3975ddb88e48 (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
PY23_LIBRARY()

LICENSE(Apache-2.0) 
 
LICENSE_TEXTS(.yandex_meta/licenses.list.txt)

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

PEERDIR(
    contrib/python/google-api-core
    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_status/__init__.py
    grpc_status/_common.py
    grpc_status/rpc_status.py
)

IF (PYTHON3)
    PY_SRCS(
        TOP_LEVEL
        grpc_status/_async.py
    )
ENDIF()

END()