aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/restricted/thrift/ya.make
blob: ffdf32e4f7b621a7062049cdeb56a416726a3a5b (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
LIBRARY()

VERSION(0.10.0)

LICENSE(Apache-2.0)

LICENSE_TEXTS(.yandex_meta/licenses.list.txt)

OWNER(
    g:contrib
    g:cpp-contrib
)

NO_UTIL()

NO_COMPILER_WARNINGS()

ADDINCL(
    GLOBAL contrib/restricted/thrift
)

PEERDIR(
    contrib/libs/libevent
    contrib/libs/openssl
    contrib/libs/zlib
    contrib/restricted/boost
    contrib/restricted/boost/libs/system
    contrib/restricted/boost/libs/thread
)

SRCS(
    thrift/TApplicationException.cpp
    thrift/TOutput.cpp
    thrift/VirtualProfiling.cpp
    thrift/async/TAsyncChannel.cpp
    thrift/async/TAsyncProtocolProcessor.cpp
    thrift/async/TConcurrentClientSyncInfo.cpp
    thrift/async/TEvhttpClientChannel.cpp
    thrift/async/TEvhttpServer.cpp
    thrift/concurrency/StdMonitor.cpp
    thrift/concurrency/StdMutex.cpp
    thrift/concurrency/StdThreadFactory.cpp
    thrift/concurrency/ThreadManager.cpp
    thrift/concurrency/TimerManager.cpp
    thrift/concurrency/Util.cpp
    thrift/processor/PeekProcessor.cpp
    thrift/protocol/TBase64Utils.cpp
    thrift/protocol/TDebugProtocol.cpp
    thrift/protocol/THeaderProtocol.cpp
    thrift/protocol/TJSONProtocol.cpp
    thrift/protocol/TMultiplexedProtocol.cpp
    thrift/protocol/TProtocol.cpp
    thrift/server/TConnectedClient.cpp
    thrift/server/TNonblockingServer.cpp
    thrift/server/TServer.cpp
    thrift/server/TServerFramework.cpp
    thrift/server/TSimpleServer.cpp
    thrift/server/TThreadPoolServer.cpp
    thrift/server/TThreadedServer.cpp
    thrift/transport/TBufferTransports.cpp
    thrift/transport/TFDTransport.cpp
    thrift/transport/TFileTransport.cpp
    thrift/transport/THeaderTransport.cpp
    thrift/transport/THttpClient.cpp
    thrift/transport/THttpServer.cpp
    thrift/transport/THttpTransport.cpp
    thrift/transport/TNonblockingSSLServerSocket.cpp
    thrift/transport/TNonblockingServerSocket.cpp
    thrift/transport/TPipe.cpp
    thrift/transport/TPipeServer.cpp
    thrift/transport/TSSLServerSocket.cpp
    thrift/transport/TSSLSocket.cpp
    thrift/transport/TServerSocket.cpp
    thrift/transport/TSimpleFileTransport.cpp
    thrift/transport/TSocket.cpp
    thrift/transport/TSocketPool.cpp
    thrift/transport/TTransportException.cpp
    thrift/transport/TTransportUtils.cpp
    thrift/transport/TZlibTransport.cpp
)

IF (OS_WINDOWS)
    SRCS(
        thrift/windows/GetTimeOfDay.cpp
        thrift/windows/OverlappedSubmissionThread.cpp
        thrift/windows/SocketPair.cpp
        thrift/windows/TWinsockSingleton.cpp
        thrift/windows/WinFcntl.cpp
    )
ELSE()
    CXXFLAGS(
        -Wno-deprecated-declarations
        -Wno-unused-function
        -Wno-unused-parameter
        -Wno-unused-private-field
        -Wno-unused-variable
    )
ENDIF()

END()