blob: c030f24cd7c883cad4a9dac478a430e1d09e25b0 [file] [log] [blame]
Nicolas "Pixel" Noble31d11db2016-10-20 09:29:46 +02001#
2# Copyright 2016, Google Inc.
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +02003# All rights reserved.
4#
5# Redistribution and use in source and binary forms, with or without
6# modification, are permitted provided that the following conditions are
7# met:
8#
9# * Redistributions of source code must retain the above copyright
10# notice, this list of conditions and the following disclaimer.
11# * Redistributions in binary form must reproduce the above
12# copyright notice, this list of conditions and the following disclaimer
13# in the documentation and/or other materials provided with the
14# distribution.
15# * Neither the name of Google Inc. nor the names of its
16# contributors may be used to endorse or promote products derived from
17# this software without specific prior written permission.
18#
19# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
21# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
22# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
23# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
24# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
25# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
26# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
27# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30
31licenses(["notice"]) # 3-clause BSD
32
Piotr Sikora12e26a72016-08-04 15:32:10 -070033exports_files(["LICENSE"])
34
Ming Zhao3c0ba0c2015-04-10 12:05:22 -070035package(default_visibility = ["//visibility:public"])
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +020036
Nicolas "Pixel" Noble799bd5e2016-10-21 01:54:32 +020037load("//bazel:grpc_build_system.bzl", "grpc_cc_library", "grpc_proto_plugin")
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +020038
Nicolas "Pixel" Noble31d11db2016-10-20 09:29:46 +020039g_stands_for = "good"
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +020040
Nicolas "Pixel" Noble31d11db2016-10-20 09:29:46 +020041version = "1.1.0-dev"
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +020042
Nicolas "Pixel" Noble31d11db2016-10-20 09:29:46 +020043grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +020044 name = "gpr",
45 language = "c",
46 standalone = True,
47 deps = [
48 "gpr_base",
49 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +020050)
51
52grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +020053 name = "grpc",
54 srcs = [
55 "src/core/lib/surface/init.c",
56 "src/core/plugin_registry/grpc_plugin_registry.c",
57 ],
58 language = "c",
59 standalone = True,
60 deps = [
61 "census",
62 "grpc_base",
63 "grpc_lb_policy_grpclb",
64 "grpc_lb_policy_pick_first",
65 "grpc_lb_policy_round_robin",
66 "grpc_load_reporting",
67 "grpc_resolver_dns_native",
68 "grpc_resolver_sockaddr",
69 "grpc_secure",
70 "grpc_transport_chttp2_client_insecure",
71 "grpc_transport_chttp2_client_secure",
72 "grpc_transport_chttp2_server_insecure",
73 "grpc_transport_chttp2_server_secure",
74 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +020075)
76
77grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +020078 name = "grpc_cronet",
79 srcs = [
80 "src/core/lib/surface/init.c",
81 "src/core/plugin_registry/grpc_cronet_plugin_registry.c",
82 ],
83 language = "c",
84 deps = [
85 "grpc_base",
86 "grpc_transport_chttp2_client_secure",
87 "grpc_transport_cronet_client_secure",
88 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +020089)
90
91grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +020092 name = "grpc_unsecure",
93 srcs = [
94 "src/core/lib/surface/init.c",
95 "src/core/lib/surface/init_unsecure.c",
96 "src/core/plugin_registry/grpc_unsecure_plugin_registry.c",
97 ],
98 language = "c",
99 standalone = True,
100 deps = [
101 "census",
102 "grpc_base",
103 "grpc_lb_policy_grpclb",
104 "grpc_lb_policy_pick_first",
105 "grpc_lb_policy_round_robin",
106 "grpc_load_reporting",
107 "grpc_resolver_dns_native",
108 "grpc_resolver_sockaddr",
109 "grpc_transport_chttp2_client_insecure",
110 "grpc_transport_chttp2_server_insecure",
111 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200112)
113
114grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200115 name = "grpc++",
116 srcs = [
117 "src/cpp/client/insecure_credentials.cc",
118 "src/cpp/client/secure_credentials.cc",
119 "src/cpp/common/auth_property_iterator.cc",
120 "src/cpp/common/secure_auth_context.cc",
121 "src/cpp/common/secure_channel_arguments.cc",
122 "src/cpp/common/secure_create_auth_context.cc",
123 "src/cpp/server/insecure_server_credentials.cc",
124 "src/cpp/server/secure_server_credentials.cc",
125 ],
126 hdrs = [
127 "include/grpc++/impl/codegen/core_codegen.h",
128 "src/cpp/client/secure_credentials.h",
129 "src/cpp/common/secure_auth_context.h",
130 "src/cpp/server/secure_server_credentials.h",
131 ],
132 language = "c++",
133 standalone = True,
134 deps = [
135 "gpr",
136 "grpc",
137 "grpc++_base",
138 "grpc++_codegen_base",
139 "grpc++_codegen_base_src",
140 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200141)
142
143grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200144 name = "grpc++_unsecure",
145 srcs = [
146 "src/cpp/client/insecure_credentials.cc",
147 "src/cpp/common/insecure_create_auth_context.cc",
148 "src/cpp/server/insecure_server_credentials.cc",
149 ],
150 language = "c++",
151 standalone = True,
152 deps = [
153 "gpr",
154 "grpc++_base",
155 "grpc++_codegen_base",
156 "grpc++_codegen_base_src",
157 "grpc_unsecure",
158 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200159)
160
161grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200162 name = "grpc_plugin_support",
163 srcs = [
164 "src/compiler/cpp_generator.cc",
165 "src/compiler/csharp_generator.cc",
166 "src/compiler/node_generator.cc",
167 "src/compiler/objective_c_generator.cc",
168 "src/compiler/php_generator.cc",
169 "src/compiler/python_generator.cc",
170 "src/compiler/ruby_generator.cc",
171 ],
172 hdrs = [
173 "src/compiler/config.h",
174 "src/compiler/cpp_generator.h",
175 "src/compiler/cpp_generator_helpers.h",
176 "src/compiler/csharp_generator.h",
177 "src/compiler/csharp_generator_helpers.h",
178 "src/compiler/generator_helpers.h",
179 "src/compiler/node_generator.h",
180 "src/compiler/node_generator_helpers.h",
181 "src/compiler/objective_c_generator.h",
182 "src/compiler/objective_c_generator_helpers.h",
183 "src/compiler/php_generator.h",
184 "src/compiler/php_generator_helpers.h",
185 "src/compiler/python_generator.h",
186 "src/compiler/ruby_generator.h",
187 "src/compiler/ruby_generator_helpers-inl.h",
188 "src/compiler/ruby_generator_map-inl.h",
189 "src/compiler/ruby_generator_string-inl.h",
190 ],
191 external_deps = [
Nicolas "Pixel" Noble4dc64312016-10-20 23:07:37 +0200192 "protobuf_clib",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200193 ],
194 language = "c++",
195 deps = [
196 "grpc++_config_proto",
197 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200198)
199
Nicolas "Pixel" Noble4dc64312016-10-20 23:07:37 +0200200grpc_proto_plugin(
201 name = "grpc_cpp_plugin",
202 srcs = ["src/compiler/cpp_plugin.cc"],
203 deps = [":grpc_plugin_support"],
204)
205
206grpc_proto_plugin(
207 name = "grpc_csharp_plugin",
208 srcs = ["src/compiler/csharp_plugin.cc"],
209 deps = [":grpc_plugin_support"],
210)
211
212grpc_proto_plugin(
213 name = "grpc_node_plugin",
214 srcs = ["src/compiler/node_plugin.cc"],
215 deps = [":grpc_plugin_support"],
216)
217
218grpc_proto_plugin(
219 name = "grpc_objective_c_plugin",
220 srcs = ["src/compiler/objective_c_plugin.cc"],
221 deps = [":grpc_plugin_support"],
222)
223
224grpc_proto_plugin(
225 name = "grpc_php_plugin",
226 srcs = ["src/compiler/php_plugin.cc"],
227 deps = [":grpc_plugin_support"],
228)
229
230grpc_proto_plugin(
231 name = "grpc_python_plugin",
232 srcs = ["src/compiler/python_plugin.cc"],
233 deps = [":grpc_plugin_support"],
234)
235
236grpc_proto_plugin(
237 name = "grpc_ruby_plugin",
238 srcs = ["src/compiler/ruby_plugin.cc"],
239 deps = [":grpc_plugin_support"],
240)
241
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200242grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200243 name = "grpc_csharp_ext",
244 srcs = [
245 "src/csharp/ext/grpc_csharp_ext.c",
246 ],
247 language = "csharp",
248 deps = [
249 "gpr",
250 "grpc",
251 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200252)
253
254grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200255 name = "census",
256 srcs = [
257 "src/core/ext/census/base_resources.c",
258 "src/core/ext/census/context.c",
259 "src/core/ext/census/gen/census.pb.c",
260 "src/core/ext/census/gen/trace_context.pb.c",
261 "src/core/ext/census/grpc_context.c",
262 "src/core/ext/census/grpc_filter.c",
263 "src/core/ext/census/grpc_plugin.c",
264 "src/core/ext/census/initialize.c",
265 "src/core/ext/census/mlog.c",
266 "src/core/ext/census/operation.c",
267 "src/core/ext/census/placeholders.c",
268 "src/core/ext/census/resource.c",
269 "src/core/ext/census/trace_context.c",
270 "src/core/ext/census/tracing.c",
271 ],
272 hdrs = [
273 "src/core/ext/census/aggregation.h",
274 "src/core/ext/census/base_resources.h",
275 "src/core/ext/census/census_interface.h",
276 "src/core/ext/census/census_rpc_stats.h",
277 "src/core/ext/census/gen/census.pb.h",
278 "src/core/ext/census/gen/trace_context.pb.h",
279 "src/core/ext/census/grpc_filter.h",
280 "src/core/ext/census/mlog.h",
281 "src/core/ext/census/resource.h",
282 "src/core/ext/census/rpc_metric_id.h",
283 "src/core/ext/census/trace_context.h",
284 ],
285 external_deps = [
286 "nanopb",
287 ],
288 language = "c",
289 public_hdrs = [
290 "include/grpc/census.h",
291 ],
292 deps = [
293 "grpc_base",
294 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200295)
296
297grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200298 name = "gpr_base",
299 srcs = [
300 "src/core/lib/profiling/basic_timers.c",
301 "src/core/lib/profiling/stap_timers.c",
302 "src/core/lib/support/alloc.c",
303 "src/core/lib/support/avl.c",
304 "src/core/lib/support/backoff.c",
305 "src/core/lib/support/cmdline.c",
306 "src/core/lib/support/cpu_iphone.c",
307 "src/core/lib/support/cpu_linux.c",
308 "src/core/lib/support/cpu_posix.c",
309 "src/core/lib/support/cpu_windows.c",
310 "src/core/lib/support/env_linux.c",
311 "src/core/lib/support/env_posix.c",
312 "src/core/lib/support/env_windows.c",
313 "src/core/lib/support/histogram.c",
314 "src/core/lib/support/host_port.c",
315 "src/core/lib/support/log.c",
316 "src/core/lib/support/log_android.c",
317 "src/core/lib/support/log_linux.c",
318 "src/core/lib/support/log_posix.c",
319 "src/core/lib/support/log_windows.c",
320 "src/core/lib/support/mpscq.c",
321 "src/core/lib/support/murmur_hash.c",
322 "src/core/lib/support/percent_encoding.c",
323 "src/core/lib/support/slice.c",
324 "src/core/lib/support/slice_buffer.c",
325 "src/core/lib/support/stack_lockfree.c",
326 "src/core/lib/support/string.c",
327 "src/core/lib/support/string_posix.c",
328 "src/core/lib/support/string_util_windows.c",
329 "src/core/lib/support/string_windows.c",
330 "src/core/lib/support/subprocess_posix.c",
331 "src/core/lib/support/subprocess_windows.c",
332 "src/core/lib/support/sync.c",
333 "src/core/lib/support/sync_posix.c",
334 "src/core/lib/support/sync_windows.c",
335 "src/core/lib/support/thd.c",
336 "src/core/lib/support/thd_posix.c",
337 "src/core/lib/support/thd_windows.c",
338 "src/core/lib/support/time.c",
339 "src/core/lib/support/time_posix.c",
340 "src/core/lib/support/time_precise.c",
341 "src/core/lib/support/time_windows.c",
342 "src/core/lib/support/tls_pthread.c",
343 "src/core/lib/support/tmpfile_msys.c",
344 "src/core/lib/support/tmpfile_posix.c",
345 "src/core/lib/support/tmpfile_windows.c",
346 "src/core/lib/support/wrap_memcpy.c",
347 ],
348 hdrs = [
349 "src/core/lib/profiling/timers.h",
350 "src/core/lib/support/backoff.h",
351 "src/core/lib/support/block_annotate.h",
352 "src/core/lib/support/env.h",
353 "src/core/lib/support/mpscq.h",
354 "src/core/lib/support/murmur_hash.h",
355 "src/core/lib/support/percent_encoding.h",
356 "src/core/lib/support/stack_lockfree.h",
357 "src/core/lib/support/string.h",
358 "src/core/lib/support/string_windows.h",
359 "src/core/lib/support/thd_internal.h",
360 "src/core/lib/support/time_precise.h",
361 "src/core/lib/support/tmpfile.h",
362 ],
363 language = "c",
364 public_hdrs = [
365 "include/grpc/support/alloc.h",
366 "include/grpc/support/atm.h",
367 "include/grpc/support/atm_gcc_atomic.h",
368 "include/grpc/support/atm_gcc_sync.h",
369 "include/grpc/support/atm_windows.h",
370 "include/grpc/support/avl.h",
371 "include/grpc/support/cmdline.h",
372 "include/grpc/support/cpu.h",
373 "include/grpc/support/histogram.h",
374 "include/grpc/support/host_port.h",
375 "include/grpc/support/log.h",
376 "include/grpc/support/log_windows.h",
377 "include/grpc/support/port_platform.h",
378 "include/grpc/support/slice.h",
379 "include/grpc/support/slice_buffer.h",
380 "include/grpc/support/string_util.h",
381 "include/grpc/support/subprocess.h",
382 "include/grpc/support/sync.h",
383 "include/grpc/support/sync_generic.h",
384 "include/grpc/support/sync_posix.h",
385 "include/grpc/support/sync_windows.h",
386 "include/grpc/support/thd.h",
387 "include/grpc/support/time.h",
388 "include/grpc/support/tls.h",
389 "include/grpc/support/tls_gcc.h",
390 "include/grpc/support/tls_msvc.h",
391 "include/grpc/support/tls_pthread.h",
392 "include/grpc/support/useful.h",
393 ],
394 deps = [
395 "gpr_codegen",
396 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200397)
398
399grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200400 name = "gpr_codegen",
401 language = "c",
402 public_hdrs = [
403 "include/grpc/impl/codegen/atm.h",
404 "include/grpc/impl/codegen/atm_gcc_atomic.h",
405 "include/grpc/impl/codegen/atm_gcc_sync.h",
406 "include/grpc/impl/codegen/atm_windows.h",
407 "include/grpc/impl/codegen/gpr_types.h",
408 "include/grpc/impl/codegen/port_platform.h",
409 "include/grpc/impl/codegen/slice.h",
410 "include/grpc/impl/codegen/sync.h",
411 "include/grpc/impl/codegen/sync_generic.h",
412 "include/grpc/impl/codegen/sync_posix.h",
413 "include/grpc/impl/codegen/sync_windows.h",
414 ],
Craig Tillerda179ce2016-02-09 12:01:53 -0800415)
416
Nicolas "Pixel" Noble31d11db2016-10-20 09:29:46 +0200417grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200418 name = "grpc_base",
419 srcs = [
420 "src/core/lib/channel/channel_args.c",
421 "src/core/lib/channel/channel_stack.c",
422 "src/core/lib/channel/channel_stack_builder.c",
423 "src/core/lib/channel/compress_filter.c",
424 "src/core/lib/channel/connected_channel.c",
425 "src/core/lib/channel/deadline_filter.c",
426 "src/core/lib/channel/handshaker.c",
427 "src/core/lib/channel/http_client_filter.c",
428 "src/core/lib/channel/http_server_filter.c",
429 "src/core/lib/compression/compression.c",
430 "src/core/lib/compression/message_compress.c",
431 "src/core/lib/debug/trace.c",
432 "src/core/lib/http/format_request.c",
433 "src/core/lib/http/httpcli.c",
434 "src/core/lib/http/parser.c",
435 "src/core/lib/iomgr/closure.c",
436 "src/core/lib/iomgr/combiner.c",
437 "src/core/lib/iomgr/endpoint.c",
438 "src/core/lib/iomgr/endpoint_pair_posix.c",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200439 "src/core/lib/iomgr/endpoint_pair_uv.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200440 "src/core/lib/iomgr/endpoint_pair_windows.c",
441 "src/core/lib/iomgr/error.c",
442 "src/core/lib/iomgr/ev_epoll_linux.c",
443 "src/core/lib/iomgr/ev_poll_and_epoll_posix.c",
444 "src/core/lib/iomgr/ev_poll_posix.c",
445 "src/core/lib/iomgr/ev_posix.c",
446 "src/core/lib/iomgr/exec_ctx.c",
447 "src/core/lib/iomgr/executor.c",
448 "src/core/lib/iomgr/iocp_windows.c",
449 "src/core/lib/iomgr/iomgr.c",
450 "src/core/lib/iomgr/iomgr_posix.c",
451 "src/core/lib/iomgr/iomgr_windows.c",
452 "src/core/lib/iomgr/load_file.c",
453 "src/core/lib/iomgr/network_status_tracker.c",
454 "src/core/lib/iomgr/polling_entity.c",
455 "src/core/lib/iomgr/pollset_set_windows.c",
456 "src/core/lib/iomgr/pollset_windows.c",
457 "src/core/lib/iomgr/resolve_address_posix.c",
458 "src/core/lib/iomgr/resolve_address_windows.c",
459 "src/core/lib/iomgr/sockaddr_utils.c",
460 "src/core/lib/iomgr/socket_utils_common_posix.c",
461 "src/core/lib/iomgr/socket_utils_linux.c",
462 "src/core/lib/iomgr/socket_utils_posix.c",
463 "src/core/lib/iomgr/socket_windows.c",
464 "src/core/lib/iomgr/tcp_client_posix.c",
465 "src/core/lib/iomgr/tcp_client_windows.c",
466 "src/core/lib/iomgr/tcp_posix.c",
467 "src/core/lib/iomgr/tcp_server_posix.c",
468 "src/core/lib/iomgr/tcp_server_windows.c",
469 "src/core/lib/iomgr/tcp_windows.c",
470 "src/core/lib/iomgr/time_averaged_stats.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200471 "src/core/lib/iomgr/timer_heap.c",
472 "src/core/lib/iomgr/udp_server.c",
473 "src/core/lib/iomgr/unix_sockets_posix.c",
474 "src/core/lib/iomgr/unix_sockets_posix_noop.c",
475 "src/core/lib/iomgr/wakeup_fd_cv.c",
476 "src/core/lib/iomgr/wakeup_fd_eventfd.c",
477 "src/core/lib/iomgr/wakeup_fd_nospecial.c",
478 "src/core/lib/iomgr/wakeup_fd_pipe.c",
479 "src/core/lib/iomgr/wakeup_fd_posix.c",
480 "src/core/lib/iomgr/workqueue_windows.c",
481 "src/core/lib/json/json.c",
482 "src/core/lib/json/json_reader.c",
483 "src/core/lib/json/json_string.c",
484 "src/core/lib/json/json_writer.c",
485 "src/core/lib/surface/alarm.c",
486 "src/core/lib/surface/api_trace.c",
487 "src/core/lib/surface/byte_buffer.c",
488 "src/core/lib/surface/byte_buffer_reader.c",
489 "src/core/lib/surface/call.c",
490 "src/core/lib/surface/call_details.c",
491 "src/core/lib/surface/call_log_batch.c",
492 "src/core/lib/surface/channel.c",
493 "src/core/lib/surface/channel_init.c",
494 "src/core/lib/surface/channel_ping.c",
495 "src/core/lib/surface/channel_stack_type.c",
496 "src/core/lib/surface/completion_queue.c",
497 "src/core/lib/surface/event_string.c",
498 "src/core/lib/surface/lame_client.c",
499 "src/core/lib/surface/metadata_array.c",
500 "src/core/lib/surface/server.c",
501 "src/core/lib/surface/validate_metadata.c",
502 "src/core/lib/surface/version.c",
503 "src/core/lib/transport/byte_stream.c",
504 "src/core/lib/transport/connectivity_state.c",
505 "src/core/lib/transport/mdstr_hash_table.c",
506 "src/core/lib/transport/metadata.c",
507 "src/core/lib/transport/metadata_batch.c",
508 "src/core/lib/transport/static_metadata.c",
509 "src/core/lib/transport/timeout_encoding.c",
510 "src/core/lib/transport/transport.c",
511 "src/core/lib/transport/transport_op_string.c",
512 ],
513 hdrs = [
514 "src/core/lib/channel/channel_args.h",
515 "src/core/lib/channel/channel_stack.h",
516 "src/core/lib/channel/channel_stack_builder.h",
517 "src/core/lib/channel/compress_filter.h",
518 "src/core/lib/channel/connected_channel.h",
519 "src/core/lib/channel/context.h",
520 "src/core/lib/channel/deadline_filter.h",
521 "src/core/lib/channel/handshaker.h",
522 "src/core/lib/channel/http_client_filter.h",
523 "src/core/lib/channel/http_server_filter.h",
524 "src/core/lib/compression/algorithm_metadata.h",
525 "src/core/lib/compression/message_compress.h",
526 "src/core/lib/debug/trace.h",
527 "src/core/lib/http/format_request.h",
528 "src/core/lib/http/httpcli.h",
529 "src/core/lib/http/parser.h",
530 "src/core/lib/iomgr/closure.h",
531 "src/core/lib/iomgr/combiner.h",
532 "src/core/lib/iomgr/endpoint.h",
533 "src/core/lib/iomgr/endpoint_pair.h",
534 "src/core/lib/iomgr/error.h",
535 "src/core/lib/iomgr/ev_epoll_linux.h",
536 "src/core/lib/iomgr/ev_poll_and_epoll_posix.h",
537 "src/core/lib/iomgr/ev_poll_posix.h",
538 "src/core/lib/iomgr/ev_posix.h",
539 "src/core/lib/iomgr/exec_ctx.h",
540 "src/core/lib/iomgr/executor.h",
541 "src/core/lib/iomgr/iocp_windows.h",
542 "src/core/lib/iomgr/iomgr.h",
543 "src/core/lib/iomgr/iomgr_internal.h",
544 "src/core/lib/iomgr/iomgr_posix.h",
545 "src/core/lib/iomgr/load_file.h",
546 "src/core/lib/iomgr/network_status_tracker.h",
547 "src/core/lib/iomgr/polling_entity.h",
548 "src/core/lib/iomgr/pollset.h",
549 "src/core/lib/iomgr/pollset_set.h",
550 "src/core/lib/iomgr/pollset_set_windows.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200551 "src/core/lib/iomgr/pollset_uv.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200552 "src/core/lib/iomgr/pollset_windows.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200553 "src/core/lib/iomgr/port.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200554 "src/core/lib/iomgr/resolve_address.h",
555 "src/core/lib/iomgr/sockaddr.h",
556 "src/core/lib/iomgr/sockaddr_posix.h",
557 "src/core/lib/iomgr/sockaddr_utils.h",
558 "src/core/lib/iomgr/sockaddr_windows.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200559 "src/core/lib/iomgr/socket_utils.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200560 "src/core/lib/iomgr/socket_utils_posix.h",
561 "src/core/lib/iomgr/socket_windows.h",
562 "src/core/lib/iomgr/tcp_client.h",
563 "src/core/lib/iomgr/tcp_posix.h",
564 "src/core/lib/iomgr/tcp_server.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200565 "src/core/lib/iomgr/tcp_uv.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200566 "src/core/lib/iomgr/tcp_windows.h",
567 "src/core/lib/iomgr/time_averaged_stats.h",
568 "src/core/lib/iomgr/timer.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200569 "src/core/lib/iomgr/timer_generic.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200570 "src/core/lib/iomgr/timer_heap.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200571 "src/core/lib/iomgr/timer_uv.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200572 "src/core/lib/iomgr/udp_server.h",
573 "src/core/lib/iomgr/unix_sockets_posix.h",
574 "src/core/lib/iomgr/wakeup_fd_cv.h",
575 "src/core/lib/iomgr/wakeup_fd_pipe.h",
576 "src/core/lib/iomgr/wakeup_fd_posix.h",
577 "src/core/lib/iomgr/workqueue.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200578 "src/core/lib/iomgr/workqueue_uv.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200579 "src/core/lib/iomgr/workqueue_windows.h",
580 "src/core/lib/json/json.h",
581 "src/core/lib/json/json_common.h",
582 "src/core/lib/json/json_reader.h",
583 "src/core/lib/json/json_writer.h",
584 "src/core/lib/surface/api_trace.h",
585 "src/core/lib/surface/call.h",
586 "src/core/lib/surface/call_test_only.h",
587 "src/core/lib/surface/channel.h",
588 "src/core/lib/surface/channel_init.h",
589 "src/core/lib/surface/channel_stack_type.h",
590 "src/core/lib/surface/completion_queue.h",
591 "src/core/lib/surface/event_string.h",
592 "src/core/lib/surface/init.h",
593 "src/core/lib/surface/lame_client.h",
594 "src/core/lib/surface/server.h",
595 "src/core/lib/transport/byte_stream.h",
596 "src/core/lib/transport/connectivity_state.h",
597 "src/core/lib/transport/mdstr_hash_table.h",
598 "src/core/lib/transport/metadata.h",
599 "src/core/lib/transport/metadata_batch.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200600 "src/core/lib/transport/method_config.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200601 "src/core/lib/transport/timeout_encoding.h",
602 "src/core/lib/transport/transport.h",
603 "src/core/lib/transport/transport_impl.h",
604 ],
605 external_deps = [
606 "zlib",
607 ],
608 language = "c",
609 public_hdrs = [
610 "include/grpc/byte_buffer.h",
611 "include/grpc/byte_buffer_reader.h",
612 "include/grpc/compression.h",
613 "include/grpc/grpc.h",
614 "include/grpc/grpc_posix.h",
615 "include/grpc/grpc_security_constants.h",
616 "include/grpc/status.h",
617 ],
618 deps = [
619 "gpr_base",
620 "grpc_codegen",
621 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200622)
623
624grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200625 name = "grpc_client_config",
626 srcs = [
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200627 "src/core/ext/client_config/message_size_filter.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200628 ],
629 hdrs = [
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200630 "src/core/ext/client_config/message_size_filter.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200631 ],
632 language = "c",
633 deps = [
634 "grpc_base",
635 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200636)
637
638grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200639 name = "grpc_codegen",
640 language = "c",
641 public_hdrs = [
642 "include/grpc/impl/codegen/byte_buffer_reader.h",
643 "include/grpc/impl/codegen/compression_types.h",
644 "include/grpc/impl/codegen/connectivity_state.h",
645 "include/grpc/impl/codegen/grpc_types.h",
646 "include/grpc/impl/codegen/propagation_bits.h",
647 "include/grpc/impl/codegen/status.h",
648 ],
649 deps = [
650 "gpr_codegen",
651 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200652)
653
654grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200655 name = "grpc_lb_policy_grpclb",
656 srcs = [
657 "src/core/ext/lb_policy/grpclb/grpclb.c",
658 "src/core/ext/lb_policy/grpclb/load_balancer_api.c",
659 "src/core/ext/lb_policy/grpclb/proto/grpc/lb/v1/load_balancer.pb.c",
660 ],
661 hdrs = [
662 "src/core/ext/lb_policy/grpclb/grpclb.h",
663 "src/core/ext/lb_policy/grpclb/load_balancer_api.h",
664 "src/core/ext/lb_policy/grpclb/proto/grpc/lb/v1/load_balancer.pb.h",
665 ],
666 external_deps = [
667 "nanopb",
668 ],
669 language = "c",
670 deps = [
671 "grpc_base",
672 "grpc_client_config",
673 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200674)
675
676grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200677 name = "grpc_lb_policy_pick_first",
678 srcs = [
679 "src/core/ext/lb_policy/pick_first/pick_first.c",
680 ],
681 language = "c",
682 deps = [
683 "grpc_base",
684 "grpc_client_config",
685 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200686)
687
688grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200689 name = "grpc_lb_policy_round_robin",
690 srcs = [
691 "src/core/ext/lb_policy/round_robin/round_robin.c",
692 ],
693 language = "c",
694 deps = [
695 "grpc_base",
696 "grpc_client_config",
697 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200698)
699
700grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200701 name = "grpc_load_reporting",
702 srcs = [
703 "src/core/ext/load_reporting/load_reporting.c",
704 "src/core/ext/load_reporting/load_reporting_filter.c",
705 ],
706 hdrs = [
707 "src/core/ext/load_reporting/load_reporting.h",
708 "src/core/ext/load_reporting/load_reporting_filter.h",
709 ],
710 language = "c",
711 deps = [
712 "grpc_base",
713 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200714)
715
716grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200717 name = "grpc_resolver_dns_native",
718 srcs = [
719 "src/core/ext/resolver/dns/native/dns_resolver.c",
720 ],
721 language = "c",
722 deps = [
723 "grpc_base",
724 "grpc_client_config",
725 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200726)
727
728grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200729 name = "grpc_resolver_sockaddr",
730 srcs = [
731 "src/core/ext/resolver/sockaddr/sockaddr_resolver.c",
732 ],
733 language = "c",
734 deps = [
735 "grpc_base",
736 "grpc_client_config",
737 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200738)
739
740grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200741 name = "grpc_secure",
742 srcs = [
743 "src/core/lib/http/httpcli_security_connector.c",
744 "src/core/lib/security/context/security_context.c",
745 "src/core/lib/security/credentials/composite/composite_credentials.c",
746 "src/core/lib/security/credentials/credentials.c",
747 "src/core/lib/security/credentials/credentials_metadata.c",
748 "src/core/lib/security/credentials/fake/fake_credentials.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200749 "src/core/lib/security/credentials/google_default/google_default_credentials.c",
750 "src/core/lib/security/credentials/iam/iam_credentials.c",
751 "src/core/lib/security/credentials/jwt/json_token.c",
752 "src/core/lib/security/credentials/jwt/jwt_credentials.c",
753 "src/core/lib/security/credentials/jwt/jwt_verifier.c",
754 "src/core/lib/security/credentials/oauth2/oauth2_credentials.c",
755 "src/core/lib/security/credentials/plugin/plugin_credentials.c",
756 "src/core/lib/security/credentials/ssl/ssl_credentials.c",
757 "src/core/lib/security/transport/client_auth_filter.c",
758 "src/core/lib/security/transport/handshake.c",
759 "src/core/lib/security/transport/secure_endpoint.c",
760 "src/core/lib/security/transport/security_connector.c",
761 "src/core/lib/security/transport/server_auth_filter.c",
762 "src/core/lib/security/transport/tsi_error.c",
763 "src/core/lib/security/util/b64.c",
764 "src/core/lib/security/util/json_util.c",
765 "src/core/lib/surface/init_secure.c",
766 ],
767 hdrs = [
768 "src/core/lib/security/context/security_context.h",
769 "src/core/lib/security/credentials/composite/composite_credentials.h",
770 "src/core/lib/security/credentials/credentials.h",
771 "src/core/lib/security/credentials/fake/fake_credentials.h",
772 "src/core/lib/security/credentials/google_default/google_default_credentials.h",
773 "src/core/lib/security/credentials/iam/iam_credentials.h",
774 "src/core/lib/security/credentials/jwt/json_token.h",
775 "src/core/lib/security/credentials/jwt/jwt_credentials.h",
776 "src/core/lib/security/credentials/jwt/jwt_verifier.h",
777 "src/core/lib/security/credentials/oauth2/oauth2_credentials.h",
778 "src/core/lib/security/credentials/plugin/plugin_credentials.h",
779 "src/core/lib/security/credentials/ssl/ssl_credentials.h",
780 "src/core/lib/security/transport/auth_filters.h",
781 "src/core/lib/security/transport/handshake.h",
782 "src/core/lib/security/transport/secure_endpoint.h",
783 "src/core/lib/security/transport/security_connector.h",
784 "src/core/lib/security/transport/tsi_error.h",
785 "src/core/lib/security/util/b64.h",
786 "src/core/lib/security/util/json_util.h",
787 ],
788 language = "c",
789 public_hdrs = [
790 "include/grpc/grpc_security.h",
791 ],
792 deps = [
793 "grpc_base",
794 "grpc_transport_chttp2_alpn",
795 "tsi",
796 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200797)
798
799grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200800 name = "grpc_transport_chttp2",
801 srcs = [
802 "src/core/ext/transport/chttp2/transport/bin_decoder.c",
803 "src/core/ext/transport/chttp2/transport/bin_encoder.c",
804 "src/core/ext/transport/chttp2/transport/chttp2_plugin.c",
805 "src/core/ext/transport/chttp2/transport/chttp2_transport.c",
806 "src/core/ext/transport/chttp2/transport/frame_data.c",
807 "src/core/ext/transport/chttp2/transport/frame_goaway.c",
808 "src/core/ext/transport/chttp2/transport/frame_ping.c",
809 "src/core/ext/transport/chttp2/transport/frame_rst_stream.c",
810 "src/core/ext/transport/chttp2/transport/frame_settings.c",
811 "src/core/ext/transport/chttp2/transport/frame_window_update.c",
812 "src/core/ext/transport/chttp2/transport/hpack_encoder.c",
813 "src/core/ext/transport/chttp2/transport/hpack_parser.c",
814 "src/core/ext/transport/chttp2/transport/hpack_table.c",
815 "src/core/ext/transport/chttp2/transport/huffsyms.c",
816 "src/core/ext/transport/chttp2/transport/incoming_metadata.c",
817 "src/core/ext/transport/chttp2/transport/parsing.c",
818 "src/core/ext/transport/chttp2/transport/status_conversion.c",
819 "src/core/ext/transport/chttp2/transport/stream_lists.c",
820 "src/core/ext/transport/chttp2/transport/stream_map.c",
821 "src/core/ext/transport/chttp2/transport/varint.c",
822 "src/core/ext/transport/chttp2/transport/writing.c",
823 ],
824 hdrs = [
825 "src/core/ext/transport/chttp2/transport/bin_decoder.h",
826 "src/core/ext/transport/chttp2/transport/bin_encoder.h",
827 "src/core/ext/transport/chttp2/transport/chttp2_transport.h",
828 "src/core/ext/transport/chttp2/transport/frame.h",
829 "src/core/ext/transport/chttp2/transport/frame_data.h",
830 "src/core/ext/transport/chttp2/transport/frame_goaway.h",
831 "src/core/ext/transport/chttp2/transport/frame_ping.h",
832 "src/core/ext/transport/chttp2/transport/frame_rst_stream.h",
833 "src/core/ext/transport/chttp2/transport/frame_settings.h",
834 "src/core/ext/transport/chttp2/transport/frame_window_update.h",
835 "src/core/ext/transport/chttp2/transport/hpack_encoder.h",
836 "src/core/ext/transport/chttp2/transport/hpack_parser.h",
837 "src/core/ext/transport/chttp2/transport/hpack_table.h",
838 "src/core/ext/transport/chttp2/transport/http2_errors.h",
839 "src/core/ext/transport/chttp2/transport/huffsyms.h",
840 "src/core/ext/transport/chttp2/transport/incoming_metadata.h",
841 "src/core/ext/transport/chttp2/transport/internal.h",
842 "src/core/ext/transport/chttp2/transport/status_conversion.h",
843 "src/core/ext/transport/chttp2/transport/stream_map.h",
844 "src/core/ext/transport/chttp2/transport/varint.h",
845 ],
846 language = "c",
847 deps = [
848 "grpc_base",
849 "grpc_transport_chttp2_alpn",
850 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200851)
852
853grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200854 name = "grpc_transport_chttp2_alpn",
855 srcs = [
856 "src/core/ext/transport/chttp2/alpn/alpn.c",
857 ],
858 hdrs = [
859 "src/core/ext/transport/chttp2/alpn/alpn.h",
860 ],
861 language = "c",
862 deps = [
863 "gpr",
864 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200865)
866
867grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200868 name = "grpc_transport_chttp2_client_insecure",
869 srcs = [
870 "src/core/ext/transport/chttp2/client/insecure/channel_create.c",
871 "src/core/ext/transport/chttp2/client/insecure/channel_create_posix.c",
872 ],
873 language = "c",
874 deps = [
875 "grpc_base",
876 "grpc_client_config",
877 "grpc_transport_chttp2",
878 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200879)
880
881grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200882 name = "grpc_transport_chttp2_client_secure",
883 srcs = [
884 "src/core/ext/transport/chttp2/client/secure/secure_channel_create.c",
885 ],
886 language = "c",
887 deps = [
888 "grpc_base",
889 "grpc_client_config",
890 "grpc_secure",
891 "grpc_transport_chttp2",
892 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200893)
894
895grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200896 name = "grpc_transport_chttp2_server_insecure",
897 srcs = [
898 "src/core/ext/transport/chttp2/server/insecure/server_chttp2.c",
899 "src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.c",
900 ],
901 language = "c",
902 deps = [
903 "grpc_base",
904 "grpc_transport_chttp2",
905 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200906)
907
908grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200909 name = "grpc_transport_chttp2_server_secure",
910 srcs = [
911 "src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.c",
912 ],
913 language = "c",
914 deps = [
915 "grpc_base",
916 "grpc_secure",
917 "grpc_transport_chttp2",
918 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200919)
920
921grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200922 name = "grpc_transport_cronet_client_secure",
923 srcs = [
924 "src/core/ext/transport/cronet/client/secure/cronet_channel_create.c",
925 "src/core/ext/transport/cronet/transport/cronet_api_dummy.c",
926 "src/core/ext/transport/cronet/transport/cronet_transport.c",
927 ],
928 hdrs = [
929 "third_party/objective_c/Cronet/cronet_c_for_grpc.h",
930 ],
931 language = "c",
932 public_hdrs = [
933 "include/grpc/grpc_cronet.h",
934 "include/grpc/grpc_security.h",
935 "include/grpc/grpc_security_constants.h",
936 ],
937 deps = [
938 "grpc_base",
939 "grpc_transport_chttp2",
940 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200941)
942
943grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200944 name = "tsi",
945 srcs = [
946 "src/core/lib/tsi/fake_transport_security.c",
947 "src/core/lib/tsi/ssl_transport_security.c",
948 "src/core/lib/tsi/transport_security.c",
949 ],
950 hdrs = [
951 "src/core/lib/tsi/fake_transport_security.h",
952 "src/core/lib/tsi/ssl_transport_security.h",
953 "src/core/lib/tsi/ssl_types.h",
954 "src/core/lib/tsi/transport_security.h",
955 "src/core/lib/tsi/transport_security_interface.h",
956 ],
957 external_deps = [
958 "libssl",
959 ],
960 language = "c",
961 deps = [
962 "gpr",
963 ],
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +0200964)
965
Nicolas "Pixel" Noble31d11db2016-10-20 09:29:46 +0200966grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200967 name = "grpc++_base",
968 srcs = [
969 "src/cpp/client/channel_cc.cc",
970 "src/cpp/client/client_context.cc",
971 "src/cpp/client/create_channel.cc",
972 "src/cpp/client/create_channel_internal.cc",
973 "src/cpp/client/create_channel_posix.cc",
974 "src/cpp/client/credentials_cc.cc",
975 "src/cpp/client/generic_stub.cc",
976 "src/cpp/common/channel_arguments.cc",
977 "src/cpp/common/channel_filter.cc",
978 "src/cpp/common/completion_queue_cc.cc",
979 "src/cpp/common/core_codegen.cc",
980 "src/cpp/common/rpc_method.cc",
981 "src/cpp/server/async_generic_service.cc",
982 "src/cpp/server/create_default_thread_pool.cc",
983 "src/cpp/server/dynamic_thread_pool.cc",
984 "src/cpp/server/server_builder.cc",
985 "src/cpp/server/server_cc.cc",
986 "src/cpp/server/server_context.cc",
987 "src/cpp/server/server_credentials.cc",
988 "src/cpp/server/server_posix.cc",
989 "src/cpp/util/byte_buffer_cc.cc",
990 "src/cpp/util/slice_cc.cc",
991 "src/cpp/util/status.cc",
992 "src/cpp/util/string_ref.cc",
993 "src/cpp/util/time_cc.cc",
994 ],
995 hdrs = [
996 "src/cpp/client/create_channel_internal.h",
997 "src/cpp/common/channel_filter.h",
998 "src/cpp/server/dynamic_thread_pool.h",
999 "src/cpp/server/thread_pool_interface.h",
1000 ],
1001 language = "c++",
1002 public_hdrs = [
1003 "include/grpc++/alarm.h",
1004 "include/grpc++/channel.h",
1005 "include/grpc++/client_context.h",
1006 "include/grpc++/completion_queue.h",
1007 "include/grpc++/create_channel.h",
1008 "include/grpc++/create_channel_posix.h",
1009 "include/grpc++/generic/async_generic_service.h",
1010 "include/grpc++/generic/generic_stub.h",
1011 "include/grpc++/grpc++.h",
1012 "include/grpc++/impl/call.h",
1013 "include/grpc++/impl/client_unary_call.h",
1014 "include/grpc++/impl/codegen/core_codegen.h",
1015 "include/grpc++/impl/grpc_library.h",
1016 "include/grpc++/impl/method_handler_impl.h",
1017 "include/grpc++/impl/rpc_method.h",
1018 "include/grpc++/impl/rpc_service_method.h",
1019 "include/grpc++/impl/serialization_traits.h",
1020 "include/grpc++/impl/server_builder_option.h",
1021 "include/grpc++/impl/server_builder_plugin.h",
1022 "include/grpc++/impl/server_initializer.h",
1023 "include/grpc++/impl/service_type.h",
1024 "include/grpc++/impl/sync.h",
1025 "include/grpc++/impl/sync_cxx11.h",
1026 "include/grpc++/impl/sync_no_cxx11.h",
1027 "include/grpc++/impl/thd.h",
1028 "include/grpc++/impl/thd_cxx11.h",
1029 "include/grpc++/impl/thd_no_cxx11.h",
1030 "include/grpc++/security/auth_context.h",
1031 "include/grpc++/security/auth_metadata_processor.h",
1032 "include/grpc++/security/credentials.h",
1033 "include/grpc++/security/server_credentials.h",
1034 "include/grpc++/server.h",
1035 "include/grpc++/server_builder.h",
1036 "include/grpc++/server_context.h",
1037 "include/grpc++/server_posix.h",
1038 "include/grpc++/support/async_stream.h",
1039 "include/grpc++/support/async_unary_call.h",
1040 "include/grpc++/support/byte_buffer.h",
1041 "include/grpc++/support/channel_arguments.h",
1042 "include/grpc++/support/config.h",
1043 "include/grpc++/support/slice.h",
1044 "include/grpc++/support/status.h",
1045 "include/grpc++/support/status_code_enum.h",
1046 "include/grpc++/support/string_ref.h",
1047 "include/grpc++/support/stub_options.h",
1048 "include/grpc++/support/sync_stream.h",
1049 "include/grpc++/support/time.h",
1050 ],
1051 deps = [
1052 "grpc",
1053 "grpc++_codegen_base",
1054 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001055)
1056
1057grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001058 name = "grpc++_codegen_base",
1059 language = "c++",
1060 public_hdrs = [
1061 "include/grpc++/impl/codegen/async_stream.h",
1062 "include/grpc++/impl/codegen/async_unary_call.h",
1063 "include/grpc++/impl/codegen/call.h",
1064 "include/grpc++/impl/codegen/call_hook.h",
1065 "include/grpc++/impl/codegen/channel_interface.h",
1066 "include/grpc++/impl/codegen/client_context.h",
1067 "include/grpc++/impl/codegen/client_unary_call.h",
1068 "include/grpc++/impl/codegen/completion_queue.h",
1069 "include/grpc++/impl/codegen/completion_queue_tag.h",
1070 "include/grpc++/impl/codegen/config.h",
1071 "include/grpc++/impl/codegen/core_codegen_interface.h",
1072 "include/grpc++/impl/codegen/create_auth_context.h",
1073 "include/grpc++/impl/codegen/grpc_library.h",
1074 "include/grpc++/impl/codegen/method_handler_impl.h",
1075 "include/grpc++/impl/codegen/rpc_method.h",
1076 "include/grpc++/impl/codegen/rpc_service_method.h",
1077 "include/grpc++/impl/codegen/security/auth_context.h",
1078 "include/grpc++/impl/codegen/serialization_traits.h",
1079 "include/grpc++/impl/codegen/server_context.h",
1080 "include/grpc++/impl/codegen/server_interface.h",
1081 "include/grpc++/impl/codegen/service_type.h",
1082 "include/grpc++/impl/codegen/status.h",
1083 "include/grpc++/impl/codegen/status_code_enum.h",
1084 "include/grpc++/impl/codegen/status_helper.h",
1085 "include/grpc++/impl/codegen/string_ref.h",
1086 "include/grpc++/impl/codegen/stub_options.h",
1087 "include/grpc++/impl/codegen/sync.h",
1088 "include/grpc++/impl/codegen/sync_cxx11.h",
1089 "include/grpc++/impl/codegen/sync_no_cxx11.h",
1090 "include/grpc++/impl/codegen/sync_stream.h",
1091 "include/grpc++/impl/codegen/time.h",
1092 ],
1093 deps = [
1094 "grpc_codegen",
1095 ],
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001096)
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001097
1098grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001099 name = "grpc++_codegen_base_src",
1100 srcs = [
1101 "src/cpp/codegen/codegen_init.cc",
1102 ],
1103 language = "c++",
1104 deps = [
1105 "grpc++_codegen_base",
1106 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001107)
1108
1109grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001110 name = "grpc++_codegen_proto",
1111 language = "c++",
1112 public_hdrs = [
1113 "include/grpc++/impl/codegen/proto_utils.h",
1114 ],
1115 deps = [
1116 "grpc++_codegen_base",
1117 "grpc++_config_proto",
1118 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001119)
1120
1121grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001122 name = "grpc++_config_proto",
1123 language = "c++",
1124 public_hdrs = [
1125 "include/grpc++/impl/codegen/config_protobuf.h",
1126 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001127)
1128
1129grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001130 name = "thrift_util",
1131 language = "c++",
1132 public_hdrs = [
1133 "include/grpc++/impl/codegen/thrift_serializer.h",
1134 "include/grpc++/impl/codegen/thrift_utils.h",
1135 ],
1136 deps = [
1137 "grpc++_codegen_base",
1138 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001139)