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

LICENSE(Apache-2.0)

LICENSE_TEXTS(.yandex_meta/licenses.list.txt)

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

PEERDIR(
    contrib/libs/grpc/grpc
    contrib/python/six
    contrib/libs/grpc/src/proto/grpc/reflection/v1alpha
)

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_reflection/__init__.py
    grpc_reflection/v1alpha/__init__.py
    grpc_reflection/v1alpha/_base.py
    grpc_reflection/v1alpha/reflection.py
)

IF (PYTHON3)
    PY_SRCS(
        TOP_LEVEL
        grpc_reflection/v1alpha/_async.py
    )
ENDIF()

END()