1
1
cpp_library(
2
- name = 'reactivesocket- internal',
2
+ name = 'internal',
3
3
4
4
header_namespace = 'src',
5
5
headers = subdir_glob([
@@ -24,7 +24,7 @@ cpp_library(
24
24
# A target, on which implementations of various pluggable strategies depend.
25
25
# Contains minimal amount of code needed to implement those strategies.
26
26
cpp_library(
27
- name = 'reactivesocket- plugins',
27
+ name = 'plugins',
28
28
29
29
headers = [
30
30
'src/DuplexConnection.h',
@@ -44,8 +44,8 @@ cpp_library(
44
44
'src/folly/FollyKeepaliveTimer.cpp',
45
45
],
46
46
deps = [
47
- ':reactivesocket- internal',
48
- ':reactivesocket- streams',
47
+ ':internal',
48
+ ':streams',
49
49
'@/folly:exception_wrapper',
50
50
'@/folly/io:iobuf',
51
51
'@/folly/io/async:async',
@@ -87,47 +87,45 @@ cpp_library(
87
87
'src/StreamsFactory.cpp',
88
88
]),
89
89
deps = [
90
- ':reactivesocket- internal',
91
- ':reactivesocket- streams',
90
+ ':internal',
91
+ ':streams',
92
92
'@/folly/futures:futures',
93
93
'@/folly/io:iobuf',
94
94
'@/folly:exception_wrapper',
95
- '@/lithium/reactivesocket-utils:reactivesocket-external-utils',
96
95
],
97
96
compiler_flags=['-DREACTIVE_SOCKET_EXTERNAL_STACK_TRACE_UTILS'],
98
97
)
99
98
100
99
cpp_library(
101
- name = 'reactivesocket- tcp-internal',
100
+ name = 'tcp-internal',
102
101
103
102
header_namespace = "src",
104
103
headers = subdir_glob([
105
104
('src/tcp', '**/*.h'),
106
105
]),
107
106
deps = [
108
- ':reactivesocket- internal',
107
+ ':internal',
109
108
],
110
109
)
111
110
112
111
cpp_library(
113
- name = 'reactivesocket- tcp',
112
+ name = 'tcp',
114
113
headers = [
115
114
'src/tcp/TcpDuplexConnection.h',
116
115
],
117
116
srcs = [
118
117
'src/tcp/TcpDuplexConnection.cpp',
119
118
],
120
119
deps = [
121
- ':reactivesocket- tcp-internal',
120
+ ':tcp-internal',
122
121
'@/lithium/reactive-streams-cpp:reactive-streams',
123
- '@/lithium/reactivesocket-utils:reactivesocket-external-utils',
124
122
'@/folly/io/async:async',
125
123
],
126
124
compiler_flags=['-DREACTIVE_SOCKET_EXTERNAL_STACK_TRACE_UTILS'],
127
125
)
128
126
129
127
cpp_library(
130
- name='reactivesocket- inline-conn',
128
+ name='inline-conn',
131
129
headers=[
132
130
'test/InlineConnection.h',
133
131
],
@@ -136,15 +134,15 @@ cpp_library(
136
134
],
137
135
deps=[
138
136
':reactivesocket',
139
- ':reactivesocket- streams-mocks',
137
+ ':streams-mocks',
140
138
],
141
139
external_deps=[
142
140
('googletest', None, 'gmock'),
143
141
],
144
142
)
145
143
146
144
cpp_unittest(
147
- name = 'reactivesocket- tests',
145
+ name = 'tests',
148
146
149
147
header_namespace = 'test',
150
148
headers = subdir_glob([
@@ -158,10 +156,10 @@ cpp_unittest(
158
156
'test/simple/*.cpp',
159
157
]),
160
158
deps = [
161
- ':reactivesocket- internal',
159
+ ':internal',
162
160
':reactivesocket',
163
- ':reactivesocket- plugins',
164
- ':reactivesocket- streams-mocks',
161
+ ':plugins',
162
+ ':streams-mocks',
165
163
'@/folly/io/async:scoped_event_base_thread',
166
164
],
167
165
external_deps = [
@@ -171,7 +169,7 @@ cpp_unittest(
171
169
)
172
170
173
171
cpp_library(
174
- name='reactivesocket- tests-internal',
172
+ name='tests-internal',
175
173
header_namespace = 'test',
176
174
headers = subdir_glob([
177
175
('test', '**/*.h'),
@@ -185,7 +183,7 @@ cpp_library(
185
183
)
186
184
187
185
cpp_binary(
188
- name = 'reactivesocket- tck-server',
186
+ name = 'tck-server',
189
187
header_namespace = 'tck-test',
190
188
headers = subdir_glob([
191
189
('tck-test', '**/*.h'),
@@ -195,16 +193,18 @@ cpp_binary(
195
193
'tck-test/MarbleProcessor.cpp',
196
194
]),
197
195
deps = [
198
- ':reactivesocket- tcp',
196
+ ':tcp',
199
197
':reactivesocket',
200
- ':reactivesocket-streams-mocks',
201
- ':reactivesocket-tests-internal',
198
+ ':plugins',
199
+ ':streams-mocks',
200
+ ':tests-internal',
202
201
'@/folly/io/async:scoped_event_base_thread',
202
+ '@/folly/io/async:server_socket',
203
203
],
204
204
)
205
205
206
206
cpp_binary(
207
- name = 'reactivesocket- tck-client',
207
+ name = 'tck-client',
208
208
header_namespace = 'tck-test',
209
209
headers = subdir_glob([
210
210
('tck-test', '**/*.h'),
@@ -217,15 +217,17 @@ cpp_binary(
217
217
'tck-test/TestSuite.cpp',
218
218
]),
219
219
deps = [
220
- ':reactivesocket- tcp',
220
+ ':tcp',
221
221
':reactivesocket',
222
- ':reactivesocket-streams-mocks',
222
+ ':plugins',
223
+ ':streams-mocks',
223
224
'@/folly/io/async:scoped_event_base_thread',
225
+ '@/folly/io/async:server_socket',
224
226
],
225
227
)
226
228
227
229
cpp_binary(
228
- name = 'reactivesocket- test-resumeclient',
230
+ name = 'test-resumeclient',
229
231
header_namespace = 'test',
230
232
headers = subdir_glob([
231
233
('test', '**/*.h'),
@@ -235,15 +237,16 @@ cpp_binary(
235
237
'test/simple/*.cpp',
236
238
]),
237
239
deps = [
238
- ':reactivesocket- tcp',
240
+ ':tcp',
239
241
':reactivesocket',
240
- ':reactivesocket-streams-mocks',
242
+ ':plugins',
243
+ ':streams-mocks',
241
244
'@/folly/io/async:scoped_event_base_thread',
242
245
],
243
246
)
244
247
245
248
cpp_binary(
246
- name = 'reactivesocket- test-resumeserver',
249
+ name = 'test-resumeserver',
247
250
header_namespace = 'test',
248
251
headers = subdir_glob([
249
252
('test', '**/*.h'),
@@ -253,15 +256,17 @@ cpp_binary(
253
256
'test/simple/*.cpp',
254
257
]),
255
258
deps = [
256
- ':reactivesocket- tcp',
259
+ ':tcp',
257
260
':reactivesocket',
258
- ':reactivesocket-streams-mocks',
261
+ ':plugins',
262
+ ':streams-mocks',
259
263
'@/folly/io/async:scoped_event_base_thread',
264
+ '@/folly/io/async:server_socket',
260
265
],
261
266
)
262
267
263
268
cpp_binary(
264
- name = 'reactivesocket- test-tcpclient',
269
+ name = 'test-tcpclient',
265
270
header_namespace = 'test',
266
271
headers = subdir_glob([
267
272
('test', '**/*.h'),
@@ -271,15 +276,17 @@ cpp_binary(
271
276
'test/simple/*.cpp',
272
277
]),
273
278
deps = [
274
- ':reactivesocket- tcp',
279
+ ':tcp',
275
280
':reactivesocket',
276
- ':reactivesocket-streams-mocks',
281
+ ':plugins',
282
+ ':streams-mocks',
277
283
'@/folly/io/async:scoped_event_base_thread',
284
+ '@/folly/io/async:server_socket',
278
285
],
279
286
)
280
287
281
288
cpp_binary(
282
- name = 'reactivesocket- test-tcpserver',
289
+ name = 'test-tcpserver',
283
290
header_namespace = 'test',
284
291
headers = subdir_glob([
285
292
('test', '**/*.h'),
@@ -289,24 +296,26 @@ cpp_binary(
289
296
'test/simple/*.cpp',
290
297
]),
291
298
deps = [
292
- ':reactivesocket- tcp',
299
+ ':tcp',
293
300
':reactivesocket',
294
- ':reactivesocket-streams-mocks',
301
+ ':plugins',
302
+ ':streams-mocks',
295
303
'@/folly/io/async:scoped_event_base_thread',
304
+ '@/folly/io/async:server_socket',
296
305
],
297
306
)
298
307
299
308
# Compatibility target for ReactiveStreams API.
300
309
cpp_library(
301
- name = 'reactivesocket- streams',
310
+ name = 'streams',
302
311
303
312
headers = ['src/ReactiveStreamsCompat.h',],
304
313
deps = ['@/lithium/reactive-streams-cpp:reactive-streams',],
305
314
)
306
315
307
316
# Compatibility target for ReactiveStreams mocking helpers.
308
317
cpp_library(
309
- name = 'reactivesocket- streams-mocks',
318
+ name = 'streams-mocks',
310
319
311
320
headers = ['test/ReactiveStreamsMocksCompat.h', 'test/streams/Mocks.h'],
312
321
deps = ['@/lithium/reactive-streams-cpp:reactive-streams-mocks',],
@@ -323,23 +332,21 @@ cpp_library(
323
332
]),
324
333
srcs = glob([
325
334
'experimental/rsocket-src/*.cpp',
326
- 'experimental/rsocket-src/facebook/transports/*.cpp',
327
- 'experimental/rsocket-src/transports/*.cpp',
335
+ 'experimental/rsocket-src/facebook/transports/*.cpp', #TODO: move to rsocket/transports
336
+ 'experimental/rsocket-src/transports/*.cpp', #TODO: move to rsocket/transports
328
337
]),
329
338
deps = [
330
339
':reactivesocket',
331
- ':reactivesocket- internal',
332
- ':reactivesocket- streams',
333
- ':reactivesocket- tcp',
340
+ ':internal',
341
+ ':streams',
342
+ ':tcp',
334
343
'@/folly/futures:futures',
344
+ '@/folly/io/async:async',
345
+ '@/folly/io/async:server_socket',
346
+ '@/folly/io/async:scoped_event_base_thread',
335
347
'@/folly/io:iobuf',
336
348
'@/folly:exception_wrapper',
337
- '@/lithium/duplexconnection-proxygen:server',
338
- '@/lithium/duplexconnection:util',
339
- '@/lithium/reactivesocket-cpp/experimental/yarpl:reactive-streams',
340
- '@/lithium/reactivesocket-cpp/experimental/yarpl:yarpl',
341
- '@/lithium/reactivesocket-utils:reactivesocket-external-utils',
342
- '@/proxygen/httpserver:httpserver',
349
+ '@/rsocket/dev/experimental/yarpl:yarpl',
343
350
],
344
351
compiler_flags=['-DREACTIVE_SOCKET_EXTERNAL_STACK_TRACE_UTILS'],
345
352
)
0 commit comments