aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/grpc/src/compiler/grpc_cpp_plugin/ya.make
blob: 1d25cd3eb11024d77bbc3727b13d59f71279407c (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
# Generated by devtools/yamaker.

PROGRAM()

WITHOUT_LICENSE_TEXTS()

LICENSE(Apache-2.0)

PEERDIR(
    contrib/libs/grpc/src/compiler/grpc_plugin_support
    contrib/libs/protobuf
    contrib/libs/protoc
)

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

NO_COMPILER_WARNINGS()

SRCDIR(contrib/libs/grpc/src/compiler)

IF (OS_LINUX OR OS_DARWIN)
    CFLAGS(
        -DGRPC_POSIX_FORK_ALLOW_PTHREAD_ATFORK=1
    )
ENDIF()

SRCS(
    cpp_plugin.cc
)

END()