OLD | NEW |
---|---|
(Empty) | |
1 config("grpc_config") { | |
Garrett Casto
2016/06/21 23:18:33
From our discussion, it seems like the general set
xyzzyz
2016/06/21 23:29:22
Done.
| |
2 include_dirs = [ | |
3 ".", | |
4 "include/", | |
5 ] | |
6 } | |
7 | |
8 config("grpc_no_cxx11_threads") { | |
9 # TODO(xyzzyz): the <condition_variable> header in libstdc++-4.6 we're using | |
10 # in Chromium has a bug, which causes a compilation error on Clang. | |
11 # Therefore, we need to make gRPC not use standard library threading support. | |
Garrett Casto
2016/06/21 23:18:33
Does this change the behavior of gRPC in any way?
xyzzyz
2016/06/21 23:29:22
As far as I know, it doesn't (or at least it shoul
| |
12 defines = [ "GRPC_CXX0X_NO_THREAD" ] | |
13 } | |
14 | |
15 component("gpr") { | |
16 sources = [ | |
17 "src/core/lib/profiling/timers.h", | |
18 "src/core/lib/support/backoff.h", | |
19 "src/core/lib/support/block_annotate.h", | |
20 "src/core/lib/support/env.h", | |
21 "src/core/lib/support/load_file.h", | |
22 "src/core/lib/support/murmur_hash.h", | |
23 "src/core/lib/support/stack_lockfree.h", | |
24 "src/core/lib/support/string.h", | |
25 "src/core/lib/support/string_windows.h", | |
26 "src/core/lib/support/thd_internal.h", | |
27 "src/core/lib/support/time_precise.h", | |
28 "src/core/lib/support/tmpfile.h", | |
29 "src/core/lib/profiling/basic_timers.c", | |
30 "src/core/lib/profiling/stap_timers.c", | |
31 "src/core/lib/support/alloc.c", | |
32 "src/core/lib/support/avl.c", | |
33 "src/core/lib/support/backoff.c", | |
34 "src/core/lib/support/cmdline.c", | |
35 "src/core/lib/support/cpu_iphone.c", | |
36 "src/core/lib/support/cpu_linux.c", | |
37 "src/core/lib/support/cpu_posix.c", | |
38 "src/core/lib/support/cpu_windows.c", | |
39 "src/core/lib/support/env_linux.c", | |
40 "src/core/lib/support/env_posix.c", | |
41 "src/core/lib/support/env_windows.c", | |
42 "src/core/lib/support/histogram.c", | |
43 "src/core/lib/support/host_port.c", | |
44 "src/core/lib/support/load_file.c", | |
45 "src/core/lib/support/log.c", | |
46 "src/core/lib/support/log_android.c", | |
47 "src/core/lib/support/log_linux.c", | |
48 "src/core/lib/support/log_posix.c", | |
49 "src/core/lib/support/log_windows.c", | |
50 "src/core/lib/support/murmur_hash.c", | |
51 "src/core/lib/support/slice.c", | |
52 "src/core/lib/support/slice_buffer.c", | |
53 "src/core/lib/support/stack_lockfree.c", | |
54 "src/core/lib/support/string.c", | |
55 "src/core/lib/support/string_posix.c", | |
56 "src/core/lib/support/string_util_windows.c", | |
57 "src/core/lib/support/string_windows.c", | |
58 "src/core/lib/support/subprocess_posix.c", | |
59 "src/core/lib/support/subprocess_windows.c", | |
60 "src/core/lib/support/sync.c", | |
61 "src/core/lib/support/sync_posix.c", | |
62 "src/core/lib/support/sync_windows.c", | |
63 "src/core/lib/support/thd.c", | |
64 "src/core/lib/support/thd_posix.c", | |
65 "src/core/lib/support/thd_windows.c", | |
66 "src/core/lib/support/time.c", | |
67 "src/core/lib/support/time_posix.c", | |
68 "src/core/lib/support/time_precise.c", | |
69 "src/core/lib/support/time_windows.c", | |
70 "src/core/lib/support/tls_pthread.c", | |
71 "src/core/lib/support/tmpfile_msys.c", | |
72 "src/core/lib/support/tmpfile_posix.c", | |
73 "src/core/lib/support/tmpfile_windows.c", | |
74 "src/core/lib/support/wrap_memcpy.c", | |
75 "include/grpc/support/alloc.h", | |
76 "include/grpc/support/atm.h", | |
77 "include/grpc/support/atm_gcc_atomic.h", | |
78 "include/grpc/support/atm_gcc_sync.h", | |
79 "include/grpc/support/atm_windows.h", | |
80 "include/grpc/support/avl.h", | |
81 "include/grpc/support/cmdline.h", | |
82 "include/grpc/support/cpu.h", | |
83 "include/grpc/support/histogram.h", | |
84 "include/grpc/support/host_port.h", | |
85 "include/grpc/support/log.h", | |
86 "include/grpc/support/log_windows.h", | |
87 "include/grpc/support/port_platform.h", | |
88 "include/grpc/support/slice.h", | |
89 "include/grpc/support/slice_buffer.h", | |
90 "include/grpc/support/string_util.h", | |
91 "include/grpc/support/subprocess.h", | |
92 "include/grpc/support/sync.h", | |
93 "include/grpc/support/sync_generic.h", | |
94 "include/grpc/support/sync_posix.h", | |
95 "include/grpc/support/sync_windows.h", | |
96 "include/grpc/support/thd.h", | |
97 "include/grpc/support/time.h", | |
98 "include/grpc/support/tls.h", | |
99 "include/grpc/support/tls_gcc.h", | |
100 "include/grpc/support/tls_msvc.h", | |
101 "include/grpc/support/tls_pthread.h", | |
102 "include/grpc/support/useful.h", | |
103 "include/grpc/impl/codegen/alloc.h", | |
104 "include/grpc/impl/codegen/atm.h", | |
105 "include/grpc/impl/codegen/atm_gcc_atomic.h", | |
106 "include/grpc/impl/codegen/atm_gcc_sync.h", | |
107 "include/grpc/impl/codegen/atm_windows.h", | |
108 "include/grpc/impl/codegen/log.h", | |
109 "include/grpc/impl/codegen/port_platform.h", | |
110 "include/grpc/impl/codegen/slice.h", | |
111 "include/grpc/impl/codegen/slice_buffer.h", | |
112 "include/grpc/impl/codegen/sync.h", | |
113 "include/grpc/impl/codegen/sync_generic.h", | |
114 "include/grpc/impl/codegen/sync_posix.h", | |
115 "include/grpc/impl/codegen/sync_windows.h", | |
116 "include/grpc/impl/codegen/time.h", | |
117 ] | |
118 | |
119 configs -= [ "//build/config/compiler:chromium_code" ] | |
120 configs += [ "//build/config/compiler:no_chromium_code" ] | |
121 | |
122 public_configs = [ ":grpc_config" ] | |
123 } | |
124 | |
125 component("grpc_unsecure") { | |
126 sources = [ | |
127 "src/core/lib/channel/channel_args.h", | |
128 "src/core/lib/channel/channel_stack.h", | |
129 "src/core/lib/channel/channel_stack_builder.h", | |
130 "src/core/lib/channel/compress_filter.h", | |
131 "src/core/lib/channel/connected_channel.h", | |
132 "src/core/lib/channel/context.h", | |
133 "src/core/lib/channel/http_client_filter.h", | |
134 "src/core/lib/channel/http_server_filter.h", | |
135 "src/core/lib/compression/algorithm_metadata.h", | |
136 "src/core/lib/compression/message_compress.h", | |
137 "src/core/lib/debug/trace.h", | |
138 "src/core/lib/http/format_request.h", | |
139 "src/core/lib/http/httpcli.h", | |
140 "src/core/lib/http/parser.h", | |
141 "src/core/lib/iomgr/closure.h", | |
142 "src/core/lib/iomgr/endpoint.h", | |
143 "src/core/lib/iomgr/endpoint_pair.h", | |
144 "src/core/lib/iomgr/ev_poll_and_epoll_posix.h", | |
145 "src/core/lib/iomgr/ev_poll_posix.h", | |
146 "src/core/lib/iomgr/ev_posix.h", | |
147 "src/core/lib/iomgr/exec_ctx.h", | |
148 "src/core/lib/iomgr/executor.h", | |
149 "src/core/lib/iomgr/iocp_windows.h", | |
150 "src/core/lib/iomgr/iomgr.h", | |
151 "src/core/lib/iomgr/iomgr_internal.h", | |
152 "src/core/lib/iomgr/iomgr_posix.h", | |
153 "src/core/lib/iomgr/polling_entity.h", | |
154 "src/core/lib/iomgr/pollset.h", | |
155 "src/core/lib/iomgr/pollset_set.h", | |
156 "src/core/lib/iomgr/pollset_set_windows.h", | |
157 "src/core/lib/iomgr/pollset_windows.h", | |
158 "src/core/lib/iomgr/resolve_address.h", | |
159 "src/core/lib/iomgr/sockaddr.h", | |
160 "src/core/lib/iomgr/sockaddr_posix.h", | |
161 "src/core/lib/iomgr/sockaddr_utils.h", | |
162 "src/core/lib/iomgr/sockaddr_windows.h", | |
163 "src/core/lib/iomgr/socket_utils_posix.h", | |
164 "src/core/lib/iomgr/socket_windows.h", | |
165 "src/core/lib/iomgr/tcp_client.h", | |
166 "src/core/lib/iomgr/tcp_posix.h", | |
167 "src/core/lib/iomgr/tcp_server.h", | |
168 "src/core/lib/iomgr/tcp_windows.h", | |
169 "src/core/lib/iomgr/time_averaged_stats.h", | |
170 "src/core/lib/iomgr/timer.h", | |
171 "src/core/lib/iomgr/timer_heap.h", | |
172 "src/core/lib/iomgr/udp_server.h", | |
173 "src/core/lib/iomgr/unix_sockets_posix.h", | |
174 "src/core/lib/iomgr/wakeup_fd_pipe.h", | |
175 "src/core/lib/iomgr/wakeup_fd_posix.h", | |
176 "src/core/lib/iomgr/workqueue.h", | |
177 "src/core/lib/iomgr/workqueue_posix.h", | |
178 "src/core/lib/iomgr/workqueue_windows.h", | |
179 "src/core/lib/json/json.h", | |
180 "src/core/lib/json/json_common.h", | |
181 "src/core/lib/json/json_reader.h", | |
182 "src/core/lib/json/json_writer.h", | |
183 "src/core/lib/surface/api_trace.h", | |
184 "src/core/lib/surface/call.h", | |
185 "src/core/lib/surface/call_test_only.h", | |
186 "src/core/lib/surface/channel.h", | |
187 "src/core/lib/surface/channel_init.h", | |
188 "src/core/lib/surface/channel_stack_type.h", | |
189 "src/core/lib/surface/completion_queue.h", | |
190 "src/core/lib/surface/event_string.h", | |
191 "src/core/lib/surface/init.h", | |
192 "src/core/lib/surface/lame_client.h", | |
193 "src/core/lib/surface/server.h", | |
194 "src/core/lib/surface/surface_trace.h", | |
195 "src/core/lib/transport/byte_stream.h", | |
196 "src/core/lib/transport/connectivity_state.h", | |
197 "src/core/lib/transport/metadata.h", | |
198 "src/core/lib/transport/metadata_batch.h", | |
199 "src/core/lib/transport/static_metadata.h", | |
200 "src/core/lib/transport/transport.h", | |
201 "src/core/lib/transport/transport_impl.h", | |
202 "src/core/ext/transport/chttp2/transport/bin_encoder.h", | |
203 "src/core/ext/transport/chttp2/transport/chttp2_transport.h", | |
204 "src/core/ext/transport/chttp2/transport/frame.h", | |
205 "src/core/ext/transport/chttp2/transport/frame_data.h", | |
206 "src/core/ext/transport/chttp2/transport/frame_goaway.h", | |
207 "src/core/ext/transport/chttp2/transport/frame_ping.h", | |
208 "src/core/ext/transport/chttp2/transport/frame_rst_stream.h", | |
209 "src/core/ext/transport/chttp2/transport/frame_settings.h", | |
210 "src/core/ext/transport/chttp2/transport/frame_window_update.h", | |
211 "src/core/ext/transport/chttp2/transport/hpack_encoder.h", | |
212 "src/core/ext/transport/chttp2/transport/hpack_parser.h", | |
213 "src/core/ext/transport/chttp2/transport/hpack_table.h", | |
214 "src/core/ext/transport/chttp2/transport/http2_errors.h", | |
215 "src/core/ext/transport/chttp2/transport/huffsyms.h", | |
216 "src/core/ext/transport/chttp2/transport/incoming_metadata.h", | |
217 "src/core/ext/transport/chttp2/transport/internal.h", | |
218 "src/core/ext/transport/chttp2/transport/status_conversion.h", | |
219 "src/core/ext/transport/chttp2/transport/stream_map.h", | |
220 "src/core/ext/transport/chttp2/transport/timeout_encoding.h", | |
221 "src/core/ext/transport/chttp2/transport/varint.h", | |
222 "src/core/ext/transport/chttp2/alpn/alpn.h", | |
223 "src/core/ext/client_config/client_channel.h", | |
224 "src/core/ext/client_config/client_channel_factory.h", | |
225 "src/core/ext/client_config/client_config.h", | |
226 "src/core/ext/client_config/connector.h", | |
227 "src/core/ext/client_config/initial_connect_string.h", | |
228 "src/core/ext/client_config/lb_policy.h", | |
229 "src/core/ext/client_config/lb_policy_factory.h", | |
230 "src/core/ext/client_config/lb_policy_registry.h", | |
231 "src/core/ext/client_config/parse_address.h", | |
232 "src/core/ext/client_config/resolver.h", | |
233 "src/core/ext/client_config/resolver_factory.h", | |
234 "src/core/ext/client_config/resolver_registry.h", | |
235 "src/core/ext/client_config/subchannel.h", | |
236 "src/core/ext/client_config/subchannel_call_holder.h", | |
237 "src/core/ext/client_config/subchannel_index.h", | |
238 "src/core/ext/client_config/uri_parser.h", | |
239 "src/core/ext/load_reporting/load_reporting.h", | |
240 "src/core/ext/load_reporting/load_reporting_filter.h", | |
241 "src/core/ext/census/aggregation.h", | |
242 "src/core/ext/census/census_interface.h", | |
243 "src/core/ext/census/census_rpc_stats.h", | |
244 "src/core/ext/census/grpc_filter.h", | |
245 "src/core/ext/census/mlog.h", | |
246 "src/core/ext/census/rpc_metric_id.h", | |
247 "src/core/lib/surface/init.c", | |
248 "src/core/lib/surface/init_unsecure.c", | |
249 "src/core/lib/channel/channel_args.c", | |
250 "src/core/lib/channel/channel_stack.c", | |
251 "src/core/lib/channel/channel_stack_builder.c", | |
252 "src/core/lib/channel/compress_filter.c", | |
253 "src/core/lib/channel/connected_channel.c", | |
254 "src/core/lib/channel/http_client_filter.c", | |
255 "src/core/lib/channel/http_server_filter.c", | |
256 "src/core/lib/compression/compression.c", | |
257 "src/core/lib/compression/message_compress.c", | |
258 "src/core/lib/debug/trace.c", | |
259 "src/core/lib/http/format_request.c", | |
260 "src/core/lib/http/httpcli.c", | |
261 "src/core/lib/http/parser.c", | |
262 "src/core/lib/iomgr/closure.c", | |
263 "src/core/lib/iomgr/endpoint.c", | |
264 "src/core/lib/iomgr/endpoint_pair_posix.c", | |
265 "src/core/lib/iomgr/endpoint_pair_windows.c", | |
266 "src/core/lib/iomgr/ev_poll_and_epoll_posix.c", | |
267 "src/core/lib/iomgr/ev_poll_posix.c", | |
268 "src/core/lib/iomgr/ev_posix.c", | |
269 "src/core/lib/iomgr/exec_ctx.c", | |
270 "src/core/lib/iomgr/executor.c", | |
271 "src/core/lib/iomgr/iocp_windows.c", | |
272 "src/core/lib/iomgr/iomgr.c", | |
273 "src/core/lib/iomgr/iomgr_posix.c", | |
274 "src/core/lib/iomgr/iomgr_windows.c", | |
275 "src/core/lib/iomgr/polling_entity.c", | |
276 "src/core/lib/iomgr/pollset_set_windows.c", | |
277 "src/core/lib/iomgr/pollset_windows.c", | |
278 "src/core/lib/iomgr/resolve_address_posix.c", | |
279 "src/core/lib/iomgr/resolve_address_windows.c", | |
280 "src/core/lib/iomgr/sockaddr_utils.c", | |
281 "src/core/lib/iomgr/socket_utils_common_posix.c", | |
282 "src/core/lib/iomgr/socket_utils_linux.c", | |
283 "src/core/lib/iomgr/socket_utils_posix.c", | |
284 "src/core/lib/iomgr/socket_windows.c", | |
285 "src/core/lib/iomgr/tcp_client_posix.c", | |
286 "src/core/lib/iomgr/tcp_client_windows.c", | |
287 "src/core/lib/iomgr/tcp_posix.c", | |
288 "src/core/lib/iomgr/tcp_server_posix.c", | |
289 "src/core/lib/iomgr/tcp_server_windows.c", | |
290 "src/core/lib/iomgr/tcp_windows.c", | |
291 "src/core/lib/iomgr/time_averaged_stats.c", | |
292 "src/core/lib/iomgr/timer.c", | |
293 "src/core/lib/iomgr/timer_heap.c", | |
294 "src/core/lib/iomgr/udp_server.c", | |
295 "src/core/lib/iomgr/unix_sockets_posix.c", | |
296 "src/core/lib/iomgr/unix_sockets_posix_noop.c", | |
297 "src/core/lib/iomgr/wakeup_fd_eventfd.c", | |
298 "src/core/lib/iomgr/wakeup_fd_nospecial.c", | |
299 "src/core/lib/iomgr/wakeup_fd_pipe.c", | |
300 "src/core/lib/iomgr/wakeup_fd_posix.c", | |
301 "src/core/lib/iomgr/workqueue_posix.c", | |
302 "src/core/lib/iomgr/workqueue_windows.c", | |
303 "src/core/lib/json/json.c", | |
304 "src/core/lib/json/json_reader.c", | |
305 "src/core/lib/json/json_string.c", | |
306 "src/core/lib/json/json_writer.c", | |
307 "src/core/lib/surface/alarm.c", | |
308 "src/core/lib/surface/api_trace.c", | |
309 "src/core/lib/surface/byte_buffer.c", | |
310 "src/core/lib/surface/byte_buffer_reader.c", | |
311 "src/core/lib/surface/call.c", | |
312 "src/core/lib/surface/call_details.c", | |
313 "src/core/lib/surface/call_log_batch.c", | |
314 "src/core/lib/surface/channel.c", | |
315 "src/core/lib/surface/channel_init.c", | |
316 "src/core/lib/surface/channel_ping.c", | |
317 "src/core/lib/surface/channel_stack_type.c", | |
318 "src/core/lib/surface/completion_queue.c", | |
319 "src/core/lib/surface/event_string.c", | |
320 "src/core/lib/surface/lame_client.c", | |
321 "src/core/lib/surface/metadata_array.c", | |
322 "src/core/lib/surface/server.c", | |
323 "src/core/lib/surface/validate_metadata.c", | |
324 "src/core/lib/surface/version.c", | |
325 "src/core/lib/transport/byte_stream.c", | |
326 "src/core/lib/transport/connectivity_state.c", | |
327 "src/core/lib/transport/metadata.c", | |
328 "src/core/lib/transport/metadata_batch.c", | |
329 "src/core/lib/transport/static_metadata.c", | |
330 "src/core/lib/transport/transport.c", | |
331 "src/core/lib/transport/transport_op_string.c", | |
332 "src/core/ext/transport/chttp2/server/insecure/server_chttp2.c", | |
333 "src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.c", | |
334 "src/core/ext/transport/chttp2/transport/bin_encoder.c", | |
335 "src/core/ext/transport/chttp2/transport/chttp2_plugin.c", | |
336 "src/core/ext/transport/chttp2/transport/chttp2_transport.c", | |
337 "src/core/ext/transport/chttp2/transport/frame_data.c", | |
338 "src/core/ext/transport/chttp2/transport/frame_goaway.c", | |
339 "src/core/ext/transport/chttp2/transport/frame_ping.c", | |
340 "src/core/ext/transport/chttp2/transport/frame_rst_stream.c", | |
341 "src/core/ext/transport/chttp2/transport/frame_settings.c", | |
342 "src/core/ext/transport/chttp2/transport/frame_window_update.c", | |
343 "src/core/ext/transport/chttp2/transport/hpack_encoder.c", | |
344 "src/core/ext/transport/chttp2/transport/hpack_parser.c", | |
345 "src/core/ext/transport/chttp2/transport/hpack_table.c", | |
346 "src/core/ext/transport/chttp2/transport/huffsyms.c", | |
347 "src/core/ext/transport/chttp2/transport/incoming_metadata.c", | |
348 "src/core/ext/transport/chttp2/transport/parsing.c", | |
349 "src/core/ext/transport/chttp2/transport/status_conversion.c", | |
350 "src/core/ext/transport/chttp2/transport/stream_lists.c", | |
351 "src/core/ext/transport/chttp2/transport/stream_map.c", | |
352 "src/core/ext/transport/chttp2/transport/timeout_encoding.c", | |
353 "src/core/ext/transport/chttp2/transport/varint.c", | |
354 "src/core/ext/transport/chttp2/transport/writing.c", | |
355 "src/core/ext/transport/chttp2/alpn/alpn.c", | |
356 "src/core/ext/transport/chttp2/client/insecure/channel_create.c", | |
357 "src/core/ext/transport/chttp2/client/insecure/channel_create_posix.c", | |
358 "src/core/ext/client_config/channel_connectivity.c", | |
359 "src/core/ext/client_config/client_channel.c", | |
360 "src/core/ext/client_config/client_channel_factory.c", | |
361 "src/core/ext/client_config/client_config.c", | |
362 "src/core/ext/client_config/client_config_plugin.c", | |
363 "src/core/ext/client_config/connector.c", | |
364 "src/core/ext/client_config/default_initial_connect_string.c", | |
365 "src/core/ext/client_config/initial_connect_string.c", | |
366 "src/core/ext/client_config/lb_policy.c", | |
367 "src/core/ext/client_config/lb_policy_factory.c", | |
368 "src/core/ext/client_config/lb_policy_registry.c", | |
369 "src/core/ext/client_config/parse_address.c", | |
370 "src/core/ext/client_config/resolver.c", | |
371 "src/core/ext/client_config/resolver_factory.c", | |
372 "src/core/ext/client_config/resolver_registry.c", | |
373 "src/core/ext/client_config/subchannel.c", | |
374 "src/core/ext/client_config/subchannel_call_holder.c", | |
375 "src/core/ext/client_config/subchannel_index.c", | |
376 "src/core/ext/client_config/uri_parser.c", | |
377 "src/core/ext/resolver/dns/native/dns_resolver.c", | |
378 "src/core/ext/resolver/sockaddr/sockaddr_resolver.c", | |
379 "src/core/ext/load_reporting/load_reporting.c", | |
380 "src/core/ext/load_reporting/load_reporting_filter.c", | |
381 "src/core/ext/lb_policy/pick_first/pick_first.c", | |
382 "src/core/ext/lb_policy/round_robin/round_robin.c", | |
383 "src/core/ext/census/context.c", | |
384 "src/core/ext/census/grpc_context.c", | |
385 "src/core/ext/census/grpc_filter.c", | |
386 "src/core/ext/census/grpc_plugin.c", | |
387 "src/core/ext/census/initialize.c", | |
388 "src/core/ext/census/mlog.c", | |
389 "src/core/ext/census/operation.c", | |
390 "src/core/ext/census/placeholders.c", | |
391 "src/core/ext/census/tracing.c", | |
392 "src/core/plugin_registry/grpc_unsecure_plugin_registry.c", | |
393 "include/grpc/byte_buffer.h", | |
394 "include/grpc/byte_buffer_reader.h", | |
395 "include/grpc/compression.h", | |
396 "include/grpc/grpc.h", | |
397 "include/grpc/grpc_posix.h", | |
398 "include/grpc/status.h", | |
399 "include/grpc/impl/codegen/byte_buffer.h", | |
400 "include/grpc/impl/codegen/byte_buffer_reader.h", | |
401 "include/grpc/impl/codegen/compression_types.h", | |
402 "include/grpc/impl/codegen/connectivity_state.h", | |
403 "include/grpc/impl/codegen/grpc_types.h", | |
404 "include/grpc/impl/codegen/propagation_bits.h", | |
405 "include/grpc/impl/codegen/status.h", | |
406 "include/grpc/impl/codegen/alloc.h", | |
407 "include/grpc/impl/codegen/atm.h", | |
408 "include/grpc/impl/codegen/atm_gcc_atomic.h", | |
409 "include/grpc/impl/codegen/atm_gcc_sync.h", | |
410 "include/grpc/impl/codegen/atm_windows.h", | |
411 "include/grpc/impl/codegen/log.h", | |
412 "include/grpc/impl/codegen/port_platform.h", | |
413 "include/grpc/impl/codegen/slice.h", | |
414 "include/grpc/impl/codegen/slice_buffer.h", | |
415 "include/grpc/impl/codegen/sync.h", | |
416 "include/grpc/impl/codegen/sync_generic.h", | |
417 "include/grpc/impl/codegen/sync_posix.h", | |
418 "include/grpc/impl/codegen/sync_windows.h", | |
419 "include/grpc/impl/codegen/time.h", | |
420 "include/grpc/census.h", | |
421 ] | |
422 | |
423 deps = [ | |
424 ":gpr", | |
425 ] | |
426 | |
427 public_deps = [ | |
428 "//third_party/zlib" | |
429 ] | |
430 | |
431 configs -= [ "//build/config/compiler:chromium_code" ] | |
432 configs += [ "//build/config/compiler:no_chromium_code" ] | |
433 | |
434 public_configs = [ ":grpc_config" ] | |
435 } | |
436 | |
437 component("grpc++_unsecure") { | |
438 sources = [ | |
439 "src/cpp/client/create_channel_internal.h", | |
440 "src/cpp/server/dynamic_thread_pool.h", | |
441 "src/cpp/server/thread_pool_interface.h", | |
442 "src/cpp/common/insecure_create_auth_context.cc", | |
443 "src/cpp/client/channel.cc", | |
444 "src/cpp/client/client_context.cc", | |
445 "src/cpp/client/create_channel.cc", | |
446 "src/cpp/client/create_channel_internal.cc", | |
447 "src/cpp/client/create_channel_posix.cc", | |
448 "src/cpp/client/credentials.cc", | |
449 "src/cpp/client/generic_stub.cc", | |
450 "src/cpp/client/insecure_credentials.cc", | |
451 "src/cpp/common/channel_arguments.cc", | |
452 "src/cpp/common/completion_queue.cc", | |
453 "src/cpp/common/core_codegen.cc", | |
454 "src/cpp/common/rpc_method.cc", | |
455 "src/cpp/server/async_generic_service.cc", | |
456 "src/cpp/server/create_default_thread_pool.cc", | |
457 "src/cpp/server/dynamic_thread_pool.cc", | |
458 "src/cpp/server/insecure_server_credentials.cc", | |
459 "src/cpp/server/server.cc", | |
460 "src/cpp/server/server_builder.cc", | |
461 "src/cpp/server/server_context.cc", | |
462 "src/cpp/server/server_credentials.cc", | |
463 "src/cpp/server/server_posix.cc", | |
464 "src/cpp/util/byte_buffer.cc", | |
465 "src/cpp/util/slice.cc", | |
466 "src/cpp/util/status.cc", | |
467 "src/cpp/util/string_ref.cc", | |
468 "src/cpp/util/time.cc", | |
469 "src/cpp/codegen/codegen_init.cc", | |
470 "include/grpc++/alarm.h", | |
471 "include/grpc++/channel.h", | |
472 "include/grpc++/client_context.h", | |
473 "include/grpc++/completion_queue.h", | |
474 "include/grpc++/create_channel.h", | |
475 "include/grpc++/create_channel_posix.h", | |
476 "include/grpc++/generic/async_generic_service.h", | |
477 "include/grpc++/generic/generic_stub.h", | |
478 "include/grpc++/grpc++.h", | |
479 "include/grpc++/impl/call.h", | |
480 "include/grpc++/impl/client_unary_call.h", | |
481 "include/grpc++/impl/codegen/core_codegen.h", | |
482 "include/grpc++/impl/grpc_library.h", | |
483 "include/grpc++/impl/method_handler_impl.h", | |
484 "include/grpc++/impl/rpc_method.h", | |
485 "include/grpc++/impl/rpc_service_method.h", | |
486 "include/grpc++/impl/serialization_traits.h", | |
487 "include/grpc++/impl/server_builder_option.h", | |
488 "include/grpc++/impl/server_builder_plugin.h", | |
489 "include/grpc++/impl/server_initializer.h", | |
490 "include/grpc++/impl/service_type.h", | |
491 "include/grpc++/impl/sync.h", | |
492 "include/grpc++/impl/sync_cxx11.h", | |
493 "include/grpc++/impl/sync_no_cxx11.h", | |
494 "include/grpc++/impl/thd.h", | |
495 "include/grpc++/impl/thd_cxx11.h", | |
496 "include/grpc++/impl/thd_no_cxx11.h", | |
497 "include/grpc++/security/auth_context.h", | |
498 "include/grpc++/security/auth_metadata_processor.h", | |
499 "include/grpc++/security/credentials.h", | |
500 "include/grpc++/security/server_credentials.h", | |
501 "include/grpc++/server.h", | |
502 "include/grpc++/server_builder.h", | |
503 "include/grpc++/server_context.h", | |
504 "include/grpc++/server_posix.h", | |
505 "include/grpc++/support/async_stream.h", | |
506 "include/grpc++/support/async_unary_call.h", | |
507 "include/grpc++/support/byte_buffer.h", | |
508 "include/grpc++/support/channel_arguments.h", | |
509 "include/grpc++/support/config.h", | |
510 "include/grpc++/support/slice.h", | |
511 "include/grpc++/support/status.h", | |
512 "include/grpc++/support/status_code_enum.h", | |
513 "include/grpc++/support/string_ref.h", | |
514 "include/grpc++/support/stub_options.h", | |
515 "include/grpc++/support/sync_stream.h", | |
516 "include/grpc++/support/time.h", | |
517 "include/grpc++/impl/codegen/async_stream.h", | |
518 "include/grpc++/impl/codegen/async_unary_call.h", | |
519 "include/grpc++/impl/codegen/call.h", | |
520 "include/grpc++/impl/codegen/call_hook.h", | |
521 "include/grpc++/impl/codegen/channel_interface.h", | |
522 "include/grpc++/impl/codegen/client_context.h", | |
523 "include/grpc++/impl/codegen/client_unary_call.h", | |
524 "include/grpc++/impl/codegen/completion_queue.h", | |
525 "include/grpc++/impl/codegen/completion_queue_tag.h", | |
526 "include/grpc++/impl/codegen/config.h", | |
527 "include/grpc++/impl/codegen/core_codegen_interface.h", | |
528 "include/grpc++/impl/codegen/create_auth_context.h", | |
529 "include/grpc++/impl/codegen/grpc_library.h", | |
530 "include/grpc++/impl/codegen/method_handler_impl.h", | |
531 "include/grpc++/impl/codegen/rpc_method.h", | |
532 "include/grpc++/impl/codegen/rpc_service_method.h", | |
533 "include/grpc++/impl/codegen/security/auth_context.h", | |
534 "include/grpc++/impl/codegen/serialization_traits.h", | |
535 "include/grpc++/impl/codegen/server_context.h", | |
536 "include/grpc++/impl/codegen/server_interface.h", | |
537 "include/grpc++/impl/codegen/service_type.h", | |
538 "include/grpc++/impl/codegen/status.h", | |
539 "include/grpc++/impl/codegen/status_code_enum.h", | |
540 "include/grpc++/impl/codegen/string_ref.h", | |
541 "include/grpc++/impl/codegen/stub_options.h", | |
542 "include/grpc++/impl/codegen/sync.h", | |
543 "include/grpc++/impl/codegen/sync_cxx11.h", | |
544 "include/grpc++/impl/codegen/sync_no_cxx11.h", | |
545 "include/grpc++/impl/codegen/sync_stream.h", | |
546 "include/grpc++/impl/codegen/time.h", | |
547 "include/grpc/impl/codegen/byte_buffer.h", | |
548 "include/grpc/impl/codegen/byte_buffer_reader.h", | |
549 "include/grpc/impl/codegen/compression_types.h", | |
550 "include/grpc/impl/codegen/connectivity_state.h", | |
551 "include/grpc/impl/codegen/grpc_types.h", | |
552 "include/grpc/impl/codegen/propagation_bits.h", | |
553 "include/grpc/impl/codegen/status.h", | |
554 "include/grpc/impl/codegen/alloc.h", | |
555 "include/grpc/impl/codegen/atm.h", | |
556 "include/grpc/impl/codegen/atm_gcc_atomic.h", | |
557 "include/grpc/impl/codegen/atm_gcc_sync.h", | |
558 "include/grpc/impl/codegen/atm_windows.h", | |
559 "include/grpc/impl/codegen/log.h", | |
560 "include/grpc/impl/codegen/port_platform.h", | |
561 "include/grpc/impl/codegen/slice.h", | |
562 "include/grpc/impl/codegen/slice_buffer.h", | |
563 "include/grpc/impl/codegen/sync.h", | |
564 "include/grpc/impl/codegen/sync_generic.h", | |
565 "include/grpc/impl/codegen/sync_posix.h", | |
566 "include/grpc/impl/codegen/sync_windows.h", | |
567 "include/grpc/impl/codegen/time.h", | |
568 ] | |
569 | |
570 deps = [ | |
571 ":gpr", | |
572 ":grpc_unsecure", | |
573 "//third_party/protobuf:protobuf_lite", | |
574 ] | |
575 | |
576 configs -= [ "//build/config/compiler:chromium_code" ] | |
577 configs += [ | |
578 "//build/config/compiler:no_chromium_code", | |
579 | |
580 ":grpc_no_cxx11_threads", | |
581 ] | |
582 | |
583 public_configs = [ ":grpc_config" ] | |
584 } | |
585 | |
586 component("grpc_plugin_support") { | |
587 sources = [ | |
588 "src/compiler/config.h", | |
589 "src/compiler/cpp_generator.h", | |
590 "src/compiler/cpp_generator_helpers.h", | |
591 "src/compiler/csharp_generator.h", | |
592 "src/compiler/csharp_generator_helpers.h", | |
593 "src/compiler/generator_helpers.h", | |
594 "src/compiler/node_generator.h", | |
595 "src/compiler/node_generator_helpers.h", | |
596 "src/compiler/objective_c_generator.h", | |
597 "src/compiler/objective_c_generator_helpers.h", | |
598 "src/compiler/python_generator.h", | |
599 "src/compiler/ruby_generator.h", | |
600 "src/compiler/ruby_generator_helpers-inl.h", | |
601 "src/compiler/ruby_generator_map-inl.h", | |
602 "src/compiler/ruby_generator_string-inl.h", | |
603 "src/compiler/cpp_generator.cc", | |
604 "src/compiler/csharp_generator.cc", | |
605 "src/compiler/node_generator.cc", | |
606 "src/compiler/objective_c_generator.cc", | |
607 "src/compiler/python_generator.cc", | |
608 "src/compiler/ruby_generator.cc", | |
609 "include/grpc++/impl/codegen/config_protobuf.h", | |
610 ] | |
611 | |
612 deps = [ | |
613 "//third_party/protobuf:protoc_lib", | |
614 ] | |
615 | |
616 configs -= [ "//build/config/compiler:chromium_code" ] | |
617 configs += [ "//build/config/compiler:no_chromium_code" ] | |
618 | |
619 public_configs = [ ":grpc_config" ] | |
620 } | |
621 | |
622 executable("grpc_cpp_plugin") { | |
623 sources = [ | |
624 "src/compiler/cpp_plugin.cc", | |
625 ] | |
626 | |
627 deps = [ | |
628 ":grpc_plugin_support", | |
629 "//third_party/protobuf:protoc_lib", | |
630 ] | |
631 | |
632 configs -= [ "//build/config/compiler:chromium_code" ] | |
633 configs += [ | |
634 "//build/config/compiler:no_chromium_code", | |
635 "//third_party/protobuf:protobuf_config", | |
636 ] | |
637 | |
638 public_configs = [ ":grpc_config" ] | |
639 } | |
OLD | NEW |