blob: ca0a1c56076b0496b8e3ffc3efd4c5032da565fb [file] [log] [blame]
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001# gRPC Bazel BUILD file.
Nicolas "Pixel" Noble31d11db2016-10-20 09:29:46 +02002#
3# Copyright 2016, Google Inc.
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +02004# All rights reserved.
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions are
8# met:
9#
10# * Redistributions of source code must retain the above copyright
11# notice, this list of conditions and the following disclaimer.
12# * Redistributions in binary form must reproduce the above
13# copyright notice, this list of conditions and the following disclaimer
14# in the documentation and/or other materials provided with the
15# distribution.
16# * Neither the name of Google Inc. nor the names of its
17# contributors may be used to endorse or promote products derived from
18# this software without specific prior written permission.
19#
20# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31
Sree Kuchibhotla9656f272017-02-22 16:45:02 -080032licenses(["notice"]) # 3-clause BSD
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +020033
Piotr Sikora12e26a72016-08-04 15:32:10 -070034exports_files(["LICENSE"])
35
Ming Zhao3c0ba0c2015-04-10 12:05:22 -070036package(default_visibility = ["//visibility:public"])
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +020037
Nicolas "Pixel" Noble799bd5e2016-10-21 01:54:32 +020038load("//bazel:grpc_build_system.bzl", "grpc_cc_library", "grpc_proto_plugin")
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +020039
Nicolas "Pixel" Noble31d11db2016-10-20 09:29:46 +020040g_stands_for = "good"
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +020041
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +010042core_version = "2.0.0-dev"
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +020043
Nicolas "Pixel" Noble31d11db2016-10-20 09:29:46 +020044version = "1.1.0-dev"
Rob Earhartb7b8d052016-03-29 11:35:29 -070045
Nicolas "Pixel" Noble31d11db2016-10-20 09:29:46 +020046grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +020047 name = "gpr",
48 language = "c",
49 standalone = True,
50 deps = [
51 "gpr_base",
52 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +020053)
54
55grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +020056 name = "grpc",
57 srcs = [
58 "src/core/lib/surface/init.c",
59 "src/core/plugin_registry/grpc_plugin_registry.c",
60 ],
61 language = "c",
62 standalone = True,
63 deps = [
64 "census",
65 "grpc_base",
David Garcia Quintas01291502017-02-07 13:26:41 -080066 "grpc_lb_policy_grpclb_secure",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +020067 "grpc_lb_policy_pick_first",
68 "grpc_lb_policy_round_robin",
69 "grpc_load_reporting",
70 "grpc_resolver_dns_native",
71 "grpc_resolver_sockaddr",
72 "grpc_secure",
73 "grpc_transport_chttp2_client_insecure",
74 "grpc_transport_chttp2_client_secure",
75 "grpc_transport_chttp2_server_insecure",
76 "grpc_transport_chttp2_server_secure",
77 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +020078)
79
80grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +020081 name = "grpc_cronet",
82 srcs = [
83 "src/core/lib/surface/init.c",
84 "src/core/plugin_registry/grpc_cronet_plugin_registry.c",
85 ],
86 language = "c",
87 deps = [
88 "grpc_base",
89 "grpc_transport_chttp2_client_secure",
90 "grpc_transport_cronet_client_secure",
91 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +020092)
93
94grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +020095 name = "grpc_unsecure",
96 srcs = [
97 "src/core/lib/surface/init.c",
98 "src/core/lib/surface/init_unsecure.c",
99 "src/core/plugin_registry/grpc_unsecure_plugin_registry.c",
100 ],
101 language = "c",
102 standalone = True,
103 deps = [
104 "census",
105 "grpc_base",
106 "grpc_lb_policy_grpclb",
107 "grpc_lb_policy_pick_first",
108 "grpc_lb_policy_round_robin",
109 "grpc_load_reporting",
110 "grpc_resolver_dns_native",
111 "grpc_resolver_sockaddr",
112 "grpc_transport_chttp2_client_insecure",
113 "grpc_transport_chttp2_server_insecure",
114 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200115)
116
117grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200118 name = "grpc++",
119 srcs = [
120 "src/cpp/client/insecure_credentials.cc",
121 "src/cpp/client/secure_credentials.cc",
122 "src/cpp/common/auth_property_iterator.cc",
123 "src/cpp/common/secure_auth_context.cc",
124 "src/cpp/common/secure_channel_arguments.cc",
125 "src/cpp/common/secure_create_auth_context.cc",
126 "src/cpp/server/insecure_server_credentials.cc",
127 "src/cpp/server/secure_server_credentials.cc",
128 ],
129 hdrs = [
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200130 "src/cpp/client/secure_credentials.h",
131 "src/cpp/common/secure_auth_context.h",
132 "src/cpp/server/secure_server_credentials.h",
133 ],
134 language = "c++",
135 standalone = True,
136 deps = [
137 "gpr",
138 "grpc",
139 "grpc++_base",
140 "grpc++_codegen_base",
141 "grpc++_codegen_base_src",
Jan Tattermuschaead5aa2017-02-10 11:00:29 -0800142 "grpc++_codegen_proto",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200143 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200144)
145
146grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200147 name = "grpc++_unsecure",
148 srcs = [
149 "src/cpp/client/insecure_credentials.cc",
150 "src/cpp/common/insecure_create_auth_context.cc",
151 "src/cpp/server/insecure_server_credentials.cc",
152 ],
153 language = "c++",
154 standalone = True,
155 deps = [
156 "gpr",
157 "grpc++_base",
158 "grpc++_codegen_base",
159 "grpc++_codegen_base_src",
160 "grpc_unsecure",
161 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200162)
163
164grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200165 name = "grpc_plugin_support",
166 srcs = [
167 "src/compiler/cpp_generator.cc",
168 "src/compiler/csharp_generator.cc",
169 "src/compiler/node_generator.cc",
170 "src/compiler/objective_c_generator.cc",
171 "src/compiler/php_generator.cc",
172 "src/compiler/python_generator.cc",
173 "src/compiler/ruby_generator.cc",
174 ],
175 hdrs = [
176 "src/compiler/config.h",
177 "src/compiler/cpp_generator.h",
178 "src/compiler/cpp_generator_helpers.h",
179 "src/compiler/csharp_generator.h",
180 "src/compiler/csharp_generator_helpers.h",
181 "src/compiler/generator_helpers.h",
182 "src/compiler/node_generator.h",
183 "src/compiler/node_generator_helpers.h",
184 "src/compiler/objective_c_generator.h",
185 "src/compiler/objective_c_generator_helpers.h",
186 "src/compiler/php_generator.h",
187 "src/compiler/php_generator_helpers.h",
188 "src/compiler/python_generator.h",
189 "src/compiler/ruby_generator.h",
190 "src/compiler/ruby_generator_helpers-inl.h",
191 "src/compiler/ruby_generator_map-inl.h",
192 "src/compiler/ruby_generator_string-inl.h",
193 ],
194 external_deps = [
Nicolas "Pixel" Noble4dc64312016-10-20 23:07:37 +0200195 "protobuf_clib",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200196 ],
197 language = "c++",
198 deps = [
199 "grpc++_config_proto",
200 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200201)
202
Nicolas "Pixel" Noble4dc64312016-10-20 23:07:37 +0200203grpc_proto_plugin(
204 name = "grpc_cpp_plugin",
205 srcs = ["src/compiler/cpp_plugin.cc"],
206 deps = [":grpc_plugin_support"],
207)
208
209grpc_proto_plugin(
210 name = "grpc_csharp_plugin",
211 srcs = ["src/compiler/csharp_plugin.cc"],
212 deps = [":grpc_plugin_support"],
213)
214
215grpc_proto_plugin(
216 name = "grpc_node_plugin",
217 srcs = ["src/compiler/node_plugin.cc"],
218 deps = [":grpc_plugin_support"],
219)
220
221grpc_proto_plugin(
222 name = "grpc_objective_c_plugin",
223 srcs = ["src/compiler/objective_c_plugin.cc"],
224 deps = [":grpc_plugin_support"],
225)
226
227grpc_proto_plugin(
228 name = "grpc_php_plugin",
229 srcs = ["src/compiler/php_plugin.cc"],
230 deps = [":grpc_plugin_support"],
231)
232
233grpc_proto_plugin(
234 name = "grpc_python_plugin",
235 srcs = ["src/compiler/python_plugin.cc"],
236 deps = [":grpc_plugin_support"],
237)
238
239grpc_proto_plugin(
240 name = "grpc_ruby_plugin",
241 srcs = ["src/compiler/ruby_plugin.cc"],
242 deps = [":grpc_plugin_support"],
243)
244
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200245grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200246 name = "grpc_csharp_ext",
247 srcs = [
248 "src/csharp/ext/grpc_csharp_ext.c",
249 ],
250 language = "csharp",
251 deps = [
252 "gpr",
253 "grpc",
254 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200255)
256
257grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200258 name = "census",
259 srcs = [
260 "src/core/ext/census/base_resources.c",
261 "src/core/ext/census/context.c",
262 "src/core/ext/census/gen/census.pb.c",
263 "src/core/ext/census/gen/trace_context.pb.c",
264 "src/core/ext/census/grpc_context.c",
265 "src/core/ext/census/grpc_filter.c",
266 "src/core/ext/census/grpc_plugin.c",
267 "src/core/ext/census/initialize.c",
268 "src/core/ext/census/mlog.c",
269 "src/core/ext/census/operation.c",
270 "src/core/ext/census/placeholders.c",
271 "src/core/ext/census/resource.c",
272 "src/core/ext/census/trace_context.c",
273 "src/core/ext/census/tracing.c",
274 ],
275 hdrs = [
276 "src/core/ext/census/aggregation.h",
277 "src/core/ext/census/base_resources.h",
278 "src/core/ext/census/census_interface.h",
279 "src/core/ext/census/census_rpc_stats.h",
280 "src/core/ext/census/gen/census.pb.h",
281 "src/core/ext/census/gen/trace_context.pb.h",
282 "src/core/ext/census/grpc_filter.h",
283 "src/core/ext/census/mlog.h",
284 "src/core/ext/census/resource.h",
285 "src/core/ext/census/rpc_metric_id.h",
286 "src/core/ext/census/trace_context.h",
Vizerai2b939832017-01-19 13:12:11 -0800287 "src/core/ext/census/trace_label.h",
288 "src/core/ext/census/trace_propagation.h",
289 "src/core/ext/census/trace_status.h",
290 "src/core/ext/census/trace_string.h",
291 "src/core/ext/census/tracing.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200292 ],
293 external_deps = [
294 "nanopb",
Vizeraib0b86d72017-01-25 13:45:54 -0800295 "libssl",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200296 ],
297 language = "c",
298 public_hdrs = [
299 "include/grpc/census.h",
300 ],
301 deps = [
302 "grpc_base",
303 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200304)
305
306grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200307 name = "gpr_base",
308 srcs = [
309 "src/core/lib/profiling/basic_timers.c",
310 "src/core/lib/profiling/stap_timers.c",
311 "src/core/lib/support/alloc.c",
312 "src/core/lib/support/avl.c",
313 "src/core/lib/support/backoff.c",
314 "src/core/lib/support/cmdline.c",
315 "src/core/lib/support/cpu_iphone.c",
316 "src/core/lib/support/cpu_linux.c",
317 "src/core/lib/support/cpu_posix.c",
318 "src/core/lib/support/cpu_windows.c",
319 "src/core/lib/support/env_linux.c",
320 "src/core/lib/support/env_posix.c",
321 "src/core/lib/support/env_windows.c",
322 "src/core/lib/support/histogram.c",
323 "src/core/lib/support/host_port.c",
324 "src/core/lib/support/log.c",
325 "src/core/lib/support/log_android.c",
326 "src/core/lib/support/log_linux.c",
327 "src/core/lib/support/log_posix.c",
328 "src/core/lib/support/log_windows.c",
329 "src/core/lib/support/mpscq.c",
330 "src/core/lib/support/murmur_hash.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200331 "src/core/lib/support/stack_lockfree.c",
332 "src/core/lib/support/string.c",
333 "src/core/lib/support/string_posix.c",
334 "src/core/lib/support/string_util_windows.c",
335 "src/core/lib/support/string_windows.c",
336 "src/core/lib/support/subprocess_posix.c",
337 "src/core/lib/support/subprocess_windows.c",
338 "src/core/lib/support/sync.c",
339 "src/core/lib/support/sync_posix.c",
340 "src/core/lib/support/sync_windows.c",
341 "src/core/lib/support/thd.c",
342 "src/core/lib/support/thd_posix.c",
343 "src/core/lib/support/thd_windows.c",
344 "src/core/lib/support/time.c",
345 "src/core/lib/support/time_posix.c",
346 "src/core/lib/support/time_precise.c",
347 "src/core/lib/support/time_windows.c",
348 "src/core/lib/support/tls_pthread.c",
349 "src/core/lib/support/tmpfile_msys.c",
350 "src/core/lib/support/tmpfile_posix.c",
351 "src/core/lib/support/tmpfile_windows.c",
352 "src/core/lib/support/wrap_memcpy.c",
353 ],
354 hdrs = [
355 "src/core/lib/profiling/timers.h",
356 "src/core/lib/support/backoff.h",
357 "src/core/lib/support/block_annotate.h",
358 "src/core/lib/support/env.h",
359 "src/core/lib/support/mpscq.h",
360 "src/core/lib/support/murmur_hash.h",
Craig Tilleredbf2b92017-02-27 07:24:00 -0800361 "src/core/lib/support/spinlock.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200362 "src/core/lib/support/stack_lockfree.h",
363 "src/core/lib/support/string.h",
364 "src/core/lib/support/string_windows.h",
365 "src/core/lib/support/thd_internal.h",
366 "src/core/lib/support/time_precise.h",
367 "src/core/lib/support/tmpfile.h",
368 ],
369 language = "c",
370 public_hdrs = [
371 "include/grpc/support/alloc.h",
372 "include/grpc/support/atm.h",
373 "include/grpc/support/atm_gcc_atomic.h",
374 "include/grpc/support/atm_gcc_sync.h",
375 "include/grpc/support/atm_windows.h",
376 "include/grpc/support/avl.h",
377 "include/grpc/support/cmdline.h",
378 "include/grpc/support/cpu.h",
379 "include/grpc/support/histogram.h",
380 "include/grpc/support/host_port.h",
381 "include/grpc/support/log.h",
382 "include/grpc/support/log_windows.h",
383 "include/grpc/support/port_platform.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200384 "include/grpc/support/string_util.h",
385 "include/grpc/support/subprocess.h",
386 "include/grpc/support/sync.h",
387 "include/grpc/support/sync_generic.h",
388 "include/grpc/support/sync_posix.h",
389 "include/grpc/support/sync_windows.h",
390 "include/grpc/support/thd.h",
391 "include/grpc/support/time.h",
392 "include/grpc/support/tls.h",
393 "include/grpc/support/tls_gcc.h",
394 "include/grpc/support/tls_msvc.h",
395 "include/grpc/support/tls_pthread.h",
396 "include/grpc/support/useful.h",
397 ],
398 deps = [
399 "gpr_codegen",
400 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200401)
402
403grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200404 name = "gpr_codegen",
405 language = "c",
406 public_hdrs = [
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",
Mark D. Roth348fba22017-01-06 11:07:30 -0800411 "include/grpc/impl/codegen/gpr_slice.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200412 "include/grpc/impl/codegen/gpr_types.h",
413 "include/grpc/impl/codegen/port_platform.h",
414 "include/grpc/impl/codegen/slice.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 ],
Craig Tillerda179ce2016-02-09 12:01:53 -0800420)
421
Nicolas "Pixel" Noble31d11db2016-10-20 09:29:46 +0200422grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200423 name = "grpc_base",
424 srcs = [
425 "src/core/lib/channel/channel_args.c",
426 "src/core/lib/channel/channel_stack.c",
427 "src/core/lib/channel/channel_stack_builder.c",
428 "src/core/lib/channel/compress_filter.c",
429 "src/core/lib/channel/connected_channel.c",
430 "src/core/lib/channel/deadline_filter.c",
431 "src/core/lib/channel/handshaker.c",
Mark D. Roth1f0f23c2017-01-06 13:07:19 -0800432 "src/core/lib/channel/handshaker_factory.c",
433 "src/core/lib/channel/handshaker_registry.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200434 "src/core/lib/channel/http_client_filter.c",
435 "src/core/lib/channel/http_server_filter.c",
Nicolas "Pixel" Noble0fc99992017-01-04 23:50:42 +0100436 "src/core/lib/channel/message_size_filter.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200437 "src/core/lib/compression/compression.c",
438 "src/core/lib/compression/message_compress.c",
439 "src/core/lib/debug/trace.c",
440 "src/core/lib/http/format_request.c",
441 "src/core/lib/http/httpcli.c",
442 "src/core/lib/http/parser.c",
443 "src/core/lib/iomgr/closure.c",
444 "src/core/lib/iomgr/combiner.c",
445 "src/core/lib/iomgr/endpoint.c",
446 "src/core/lib/iomgr/endpoint_pair_posix.c",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200447 "src/core/lib/iomgr/endpoint_pair_uv.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200448 "src/core/lib/iomgr/endpoint_pair_windows.c",
449 "src/core/lib/iomgr/error.c",
450 "src/core/lib/iomgr/ev_epoll_linux.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200451 "src/core/lib/iomgr/ev_poll_posix.c",
452 "src/core/lib/iomgr/ev_posix.c",
453 "src/core/lib/iomgr/exec_ctx.c",
454 "src/core/lib/iomgr/executor.c",
455 "src/core/lib/iomgr/iocp_windows.c",
456 "src/core/lib/iomgr/iomgr.c",
457 "src/core/lib/iomgr/iomgr_posix.c",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100458 "src/core/lib/iomgr/iomgr_uv.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200459 "src/core/lib/iomgr/iomgr_windows.c",
460 "src/core/lib/iomgr/load_file.c",
461 "src/core/lib/iomgr/network_status_tracker.c",
462 "src/core/lib/iomgr/polling_entity.c",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100463 "src/core/lib/iomgr/pollset_set_uv.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200464 "src/core/lib/iomgr/pollset_set_windows.c",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100465 "src/core/lib/iomgr/pollset_uv.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200466 "src/core/lib/iomgr/pollset_windows.c",
467 "src/core/lib/iomgr/resolve_address_posix.c",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100468 "src/core/lib/iomgr/resolve_address_uv.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200469 "src/core/lib/iomgr/resolve_address_windows.c",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100470 "src/core/lib/iomgr/resource_quota.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200471 "src/core/lib/iomgr/sockaddr_utils.c",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100472 "src/core/lib/iomgr/socket_mutator.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200473 "src/core/lib/iomgr/socket_utils_common_posix.c",
474 "src/core/lib/iomgr/socket_utils_linux.c",
475 "src/core/lib/iomgr/socket_utils_posix.c",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100476 "src/core/lib/iomgr/socket_utils_uv.c",
477 "src/core/lib/iomgr/socket_utils_windows.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200478 "src/core/lib/iomgr/socket_windows.c",
479 "src/core/lib/iomgr/tcp_client_posix.c",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100480 "src/core/lib/iomgr/tcp_client_uv.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200481 "src/core/lib/iomgr/tcp_client_windows.c",
482 "src/core/lib/iomgr/tcp_posix.c",
483 "src/core/lib/iomgr/tcp_server_posix.c",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100484 "src/core/lib/iomgr/tcp_server_uv.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200485 "src/core/lib/iomgr/tcp_server_windows.c",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100486 "src/core/lib/iomgr/tcp_uv.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200487 "src/core/lib/iomgr/tcp_windows.c",
488 "src/core/lib/iomgr/time_averaged_stats.c",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100489 "src/core/lib/iomgr/timer_generic.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200490 "src/core/lib/iomgr/timer_heap.c",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100491 "src/core/lib/iomgr/timer_uv.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200492 "src/core/lib/iomgr/udp_server.c",
493 "src/core/lib/iomgr/unix_sockets_posix.c",
494 "src/core/lib/iomgr/unix_sockets_posix_noop.c",
495 "src/core/lib/iomgr/wakeup_fd_cv.c",
496 "src/core/lib/iomgr/wakeup_fd_eventfd.c",
497 "src/core/lib/iomgr/wakeup_fd_nospecial.c",
498 "src/core/lib/iomgr/wakeup_fd_pipe.c",
499 "src/core/lib/iomgr/wakeup_fd_posix.c",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100500 "src/core/lib/iomgr/workqueue_uv.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200501 "src/core/lib/iomgr/workqueue_windows.c",
502 "src/core/lib/json/json.c",
503 "src/core/lib/json/json_reader.c",
504 "src/core/lib/json/json_string.c",
505 "src/core/lib/json/json_writer.c",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100506 "src/core/lib/slice/percent_encoding.c",
507 "src/core/lib/slice/slice.c",
508 "src/core/lib/slice/slice_buffer.c",
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800509 "src/core/lib/slice/slice_hash_table.c",
510 "src/core/lib/slice/slice_intern.c",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100511 "src/core/lib/slice/slice_string_helpers.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200512 "src/core/lib/surface/alarm.c",
513 "src/core/lib/surface/api_trace.c",
514 "src/core/lib/surface/byte_buffer.c",
515 "src/core/lib/surface/byte_buffer_reader.c",
516 "src/core/lib/surface/call.c",
517 "src/core/lib/surface/call_details.c",
518 "src/core/lib/surface/call_log_batch.c",
519 "src/core/lib/surface/channel.c",
520 "src/core/lib/surface/channel_init.c",
521 "src/core/lib/surface/channel_ping.c",
522 "src/core/lib/surface/channel_stack_type.c",
523 "src/core/lib/surface/completion_queue.c",
524 "src/core/lib/surface/event_string.c",
525 "src/core/lib/surface/lame_client.c",
526 "src/core/lib/surface/metadata_array.c",
527 "src/core/lib/surface/server.c",
528 "src/core/lib/surface/validate_metadata.c",
529 "src/core/lib/surface/version.c",
David Garcia Quintas5481a582017-02-14 16:11:42 -0800530 "src/core/lib/transport/bdp_estimator.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200531 "src/core/lib/transport/byte_stream.c",
532 "src/core/lib/transport/connectivity_state.c",
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800533 "src/core/lib/transport/error_utils.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200534 "src/core/lib/transport/metadata.c",
535 "src/core/lib/transport/metadata_batch.c",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100536 "src/core/lib/transport/pid_controller.c",
537 "src/core/lib/transport/service_config.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200538 "src/core/lib/transport/static_metadata.c",
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800539 "src/core/lib/transport/status_conversion.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200540 "src/core/lib/transport/timeout_encoding.c",
541 "src/core/lib/transport/transport.c",
542 "src/core/lib/transport/transport_op_string.c",
543 ],
544 hdrs = [
545 "src/core/lib/channel/channel_args.h",
546 "src/core/lib/channel/channel_stack.h",
547 "src/core/lib/channel/channel_stack_builder.h",
548 "src/core/lib/channel/compress_filter.h",
549 "src/core/lib/channel/connected_channel.h",
550 "src/core/lib/channel/context.h",
551 "src/core/lib/channel/deadline_filter.h",
552 "src/core/lib/channel/handshaker.h",
Mark D. Roth1f0f23c2017-01-06 13:07:19 -0800553 "src/core/lib/channel/handshaker_factory.h",
554 "src/core/lib/channel/handshaker_registry.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200555 "src/core/lib/channel/http_client_filter.h",
556 "src/core/lib/channel/http_server_filter.h",
Nicolas "Pixel" Noble0fc99992017-01-04 23:50:42 +0100557 "src/core/lib/channel/message_size_filter.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200558 "src/core/lib/compression/algorithm_metadata.h",
559 "src/core/lib/compression/message_compress.h",
560 "src/core/lib/debug/trace.h",
561 "src/core/lib/http/format_request.h",
562 "src/core/lib/http/httpcli.h",
563 "src/core/lib/http/parser.h",
564 "src/core/lib/iomgr/closure.h",
565 "src/core/lib/iomgr/combiner.h",
566 "src/core/lib/iomgr/endpoint.h",
567 "src/core/lib/iomgr/endpoint_pair.h",
568 "src/core/lib/iomgr/error.h",
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800569 "src/core/lib/iomgr/error_internal.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200570 "src/core/lib/iomgr/ev_epoll_linux.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200571 "src/core/lib/iomgr/ev_poll_posix.h",
572 "src/core/lib/iomgr/ev_posix.h",
573 "src/core/lib/iomgr/exec_ctx.h",
574 "src/core/lib/iomgr/executor.h",
575 "src/core/lib/iomgr/iocp_windows.h",
576 "src/core/lib/iomgr/iomgr.h",
577 "src/core/lib/iomgr/iomgr_internal.h",
578 "src/core/lib/iomgr/iomgr_posix.h",
579 "src/core/lib/iomgr/load_file.h",
580 "src/core/lib/iomgr/network_status_tracker.h",
581 "src/core/lib/iomgr/polling_entity.h",
582 "src/core/lib/iomgr/pollset.h",
583 "src/core/lib/iomgr/pollset_set.h",
584 "src/core/lib/iomgr/pollset_set_windows.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200585 "src/core/lib/iomgr/pollset_uv.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200586 "src/core/lib/iomgr/pollset_windows.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200587 "src/core/lib/iomgr/port.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200588 "src/core/lib/iomgr/resolve_address.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100589 "src/core/lib/iomgr/resource_quota.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200590 "src/core/lib/iomgr/sockaddr.h",
591 "src/core/lib/iomgr/sockaddr_posix.h",
592 "src/core/lib/iomgr/sockaddr_utils.h",
593 "src/core/lib/iomgr/sockaddr_windows.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100594 "src/core/lib/iomgr/socket_mutator.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200595 "src/core/lib/iomgr/socket_utils.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200596 "src/core/lib/iomgr/socket_utils_posix.h",
597 "src/core/lib/iomgr/socket_windows.h",
598 "src/core/lib/iomgr/tcp_client.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100599 "src/core/lib/iomgr/tcp_client_posix.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200600 "src/core/lib/iomgr/tcp_posix.h",
601 "src/core/lib/iomgr/tcp_server.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200602 "src/core/lib/iomgr/tcp_uv.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200603 "src/core/lib/iomgr/tcp_windows.h",
604 "src/core/lib/iomgr/time_averaged_stats.h",
605 "src/core/lib/iomgr/timer.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200606 "src/core/lib/iomgr/timer_generic.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200607 "src/core/lib/iomgr/timer_heap.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200608 "src/core/lib/iomgr/timer_uv.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200609 "src/core/lib/iomgr/udp_server.h",
610 "src/core/lib/iomgr/unix_sockets_posix.h",
611 "src/core/lib/iomgr/wakeup_fd_cv.h",
612 "src/core/lib/iomgr/wakeup_fd_pipe.h",
613 "src/core/lib/iomgr/wakeup_fd_posix.h",
614 "src/core/lib/iomgr/workqueue.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200615 "src/core/lib/iomgr/workqueue_uv.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200616 "src/core/lib/iomgr/workqueue_windows.h",
617 "src/core/lib/json/json.h",
618 "src/core/lib/json/json_common.h",
619 "src/core/lib/json/json_reader.h",
620 "src/core/lib/json/json_writer.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100621 "src/core/lib/slice/percent_encoding.h",
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800622 "src/core/lib/slice/slice_hash_table.h",
Craig Tiller3ca60192017-01-04 14:41:29 -0800623 "src/core/lib/slice/slice_internal.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100624 "src/core/lib/slice/slice_string_helpers.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200625 "src/core/lib/surface/api_trace.h",
626 "src/core/lib/surface/call.h",
627 "src/core/lib/surface/call_test_only.h",
628 "src/core/lib/surface/channel.h",
629 "src/core/lib/surface/channel_init.h",
630 "src/core/lib/surface/channel_stack_type.h",
631 "src/core/lib/surface/completion_queue.h",
632 "src/core/lib/surface/event_string.h",
633 "src/core/lib/surface/init.h",
634 "src/core/lib/surface/lame_client.h",
635 "src/core/lib/surface/server.h",
David Garcia Quintas01291502017-02-07 13:26:41 -0800636 "src/core/lib/surface/validate_metadata.h",
David Garcia Quintas5481a582017-02-14 16:11:42 -0800637 "src/core/lib/transport/bdp_estimator.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200638 "src/core/lib/transport/byte_stream.h",
639 "src/core/lib/transport/connectivity_state.h",
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800640 "src/core/lib/transport/error_utils.h",
641 "src/core/lib/transport/http2_errors.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200642 "src/core/lib/transport/metadata.h",
643 "src/core/lib/transport/metadata_batch.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100644 "src/core/lib/transport/pid_controller.h",
645 "src/core/lib/transport/service_config.h",
646 "src/core/lib/transport/static_metadata.h",
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800647 "src/core/lib/transport/status_conversion.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200648 "src/core/lib/transport/timeout_encoding.h",
649 "src/core/lib/transport/transport.h",
650 "src/core/lib/transport/transport_impl.h",
651 ],
652 external_deps = [
653 "zlib",
654 ],
655 language = "c",
656 public_hdrs = [
657 "include/grpc/byte_buffer.h",
658 "include/grpc/byte_buffer_reader.h",
659 "include/grpc/compression.h",
David Garcia Quintas5481a582017-02-14 16:11:42 -0800660 "include/grpc/load_reporting.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200661 "include/grpc/grpc.h",
662 "include/grpc/grpc_posix.h",
663 "include/grpc/grpc_security_constants.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100664 "include/grpc/slice.h",
665 "include/grpc/slice_buffer.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200666 "include/grpc/status.h",
667 ],
668 deps = [
669 "gpr_base",
670 "grpc_codegen",
671 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200672)
673
674grpc_cc_library(
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100675 name = "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200676 srcs = [
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100677 "src/core/ext/client_channel/channel_connectivity.c",
678 "src/core/ext/client_channel/client_channel.c",
679 "src/core/ext/client_channel/client_channel_factory.c",
680 "src/core/ext/client_channel/client_channel_plugin.c",
681 "src/core/ext/client_channel/connector.c",
682 "src/core/ext/client_channel/default_initial_connect_string.c",
683 "src/core/ext/client_channel/http_connect_handshaker.c",
Mark D. Rothd58a9852017-01-18 08:28:57 -0800684 "src/core/ext/client_channel/http_proxy.c",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100685 "src/core/ext/client_channel/initial_connect_string.c",
686 "src/core/ext/client_channel/lb_policy.c",
687 "src/core/ext/client_channel/lb_policy_factory.c",
688 "src/core/ext/client_channel/lb_policy_registry.c",
689 "src/core/ext/client_channel/parse_address.c",
Mark D. Roth79f2a242017-01-17 14:13:33 -0800690 "src/core/ext/client_channel/proxy_mapper.c",
691 "src/core/ext/client_channel/proxy_mapper_registry.c",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100692 "src/core/ext/client_channel/resolver.c",
693 "src/core/ext/client_channel/resolver_factory.c",
694 "src/core/ext/client_channel/resolver_registry.c",
695 "src/core/ext/client_channel/subchannel.c",
696 "src/core/ext/client_channel/subchannel_index.c",
697 "src/core/ext/client_channel/uri_parser.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200698 ],
699 hdrs = [
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100700 "src/core/ext/client_channel/client_channel.h",
701 "src/core/ext/client_channel/client_channel_factory.h",
702 "src/core/ext/client_channel/connector.h",
703 "src/core/ext/client_channel/http_connect_handshaker.h",
Mark D. Rothd58a9852017-01-18 08:28:57 -0800704 "src/core/ext/client_channel/http_proxy.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100705 "src/core/ext/client_channel/initial_connect_string.h",
706 "src/core/ext/client_channel/lb_policy.h",
707 "src/core/ext/client_channel/lb_policy_factory.h",
708 "src/core/ext/client_channel/lb_policy_registry.h",
709 "src/core/ext/client_channel/parse_address.h",
Mark D. Roth79f2a242017-01-17 14:13:33 -0800710 "src/core/ext/client_channel/proxy_mapper.h",
711 "src/core/ext/client_channel/proxy_mapper_registry.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100712 "src/core/ext/client_channel/resolver.h",
713 "src/core/ext/client_channel/resolver_factory.h",
714 "src/core/ext/client_channel/resolver_registry.h",
715 "src/core/ext/client_channel/subchannel.h",
716 "src/core/ext/client_channel/subchannel_index.h",
717 "src/core/ext/client_channel/uri_parser.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200718 ],
David Garcia Quintas01291502017-02-07 13:26:41 -0800719 language = "c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200720 deps = [
721 "grpc_base",
722 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200723)
724
725grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200726 name = "grpc_codegen",
727 language = "c",
728 public_hdrs = [
729 "include/grpc/impl/codegen/byte_buffer_reader.h",
730 "include/grpc/impl/codegen/compression_types.h",
731 "include/grpc/impl/codegen/connectivity_state.h",
Craig Tiller3ca60192017-01-04 14:41:29 -0800732 "include/grpc/impl/codegen/exec_ctx_fwd.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200733 "include/grpc/impl/codegen/grpc_types.h",
734 "include/grpc/impl/codegen/propagation_bits.h",
735 "include/grpc/impl/codegen/status.h",
736 ],
737 deps = [
738 "gpr_codegen",
739 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200740)
741
742grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200743 name = "grpc_lb_policy_grpclb",
744 srcs = [
745 "src/core/ext/lb_policy/grpclb/grpclb.c",
David Garcia Quintas01291502017-02-07 13:26:41 -0800746 "src/core/ext/lb_policy/grpclb/grpclb_channel.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200747 "src/core/ext/lb_policy/grpclb/load_balancer_api.c",
748 "src/core/ext/lb_policy/grpclb/proto/grpc/lb/v1/load_balancer.pb.c",
749 ],
750 hdrs = [
751 "src/core/ext/lb_policy/grpclb/grpclb.h",
David Garcia Quintas01291502017-02-07 13:26:41 -0800752 "src/core/ext/lb_policy/grpclb/grpclb_channel.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200753 "src/core/ext/lb_policy/grpclb/load_balancer_api.h",
754 "src/core/ext/lb_policy/grpclb/proto/grpc/lb/v1/load_balancer.pb.h",
755 ],
756 external_deps = [
757 "nanopb",
758 ],
759 language = "c",
760 deps = [
761 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100762 "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200763 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200764)
765
766grpc_cc_library(
David Garcia Quintas01291502017-02-07 13:26:41 -0800767 name = "grpc_lb_policy_grpclb_secure",
768 srcs = [
769 "src/core/ext/lb_policy/grpclb/grpclb.c",
770 "src/core/ext/lb_policy/grpclb/grpclb_channel_secure.c",
771 "src/core/ext/lb_policy/grpclb/load_balancer_api.c",
772 "src/core/ext/lb_policy/grpclb/proto/grpc/lb/v1/load_balancer.pb.c",
773 ],
774 hdrs = [
775 "src/core/ext/lb_policy/grpclb/grpclb.h",
776 "src/core/ext/lb_policy/grpclb/grpclb_channel.h",
777 "src/core/ext/lb_policy/grpclb/load_balancer_api.h",
778 "src/core/ext/lb_policy/grpclb/proto/grpc/lb/v1/load_balancer.pb.h",
779 ],
780 external_deps = [
781 "nanopb",
782 ],
783 language = "c",
784 deps = [
785 "grpc_base",
786 "grpc_client_channel",
787 "grpc_secure",
788 ],
789)
790
791grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200792 name = "grpc_lb_policy_pick_first",
793 srcs = [
794 "src/core/ext/lb_policy/pick_first/pick_first.c",
795 ],
796 language = "c",
797 deps = [
798 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100799 "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200800 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200801)
802
803grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200804 name = "grpc_lb_policy_round_robin",
805 srcs = [
806 "src/core/ext/lb_policy/round_robin/round_robin.c",
807 ],
808 language = "c",
809 deps = [
810 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100811 "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200812 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200813)
814
815grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200816 name = "grpc_load_reporting",
817 srcs = [
818 "src/core/ext/load_reporting/load_reporting.c",
819 "src/core/ext/load_reporting/load_reporting_filter.c",
820 ],
821 hdrs = [
822 "src/core/ext/load_reporting/load_reporting.h",
823 "src/core/ext/load_reporting/load_reporting_filter.h",
824 ],
825 language = "c",
826 deps = [
827 "grpc_base",
828 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200829)
830
831grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200832 name = "grpc_resolver_dns_native",
833 srcs = [
834 "src/core/ext/resolver/dns/native/dns_resolver.c",
835 ],
836 language = "c",
837 deps = [
838 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100839 "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200840 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200841)
842
843grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200844 name = "grpc_resolver_sockaddr",
845 srcs = [
846 "src/core/ext/resolver/sockaddr/sockaddr_resolver.c",
847 ],
848 language = "c",
849 deps = [
850 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100851 "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200852 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200853)
854
855grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200856 name = "grpc_secure",
857 srcs = [
858 "src/core/lib/http/httpcli_security_connector.c",
859 "src/core/lib/security/context/security_context.c",
860 "src/core/lib/security/credentials/composite/composite_credentials.c",
861 "src/core/lib/security/credentials/credentials.c",
862 "src/core/lib/security/credentials/credentials_metadata.c",
863 "src/core/lib/security/credentials/fake/fake_credentials.c",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100864 "src/core/lib/security/credentials/google_default/credentials_generic.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200865 "src/core/lib/security/credentials/google_default/google_default_credentials.c",
866 "src/core/lib/security/credentials/iam/iam_credentials.c",
867 "src/core/lib/security/credentials/jwt/json_token.c",
868 "src/core/lib/security/credentials/jwt/jwt_credentials.c",
869 "src/core/lib/security/credentials/jwt/jwt_verifier.c",
870 "src/core/lib/security/credentials/oauth2/oauth2_credentials.c",
871 "src/core/lib/security/credentials/plugin/plugin_credentials.c",
872 "src/core/lib/security/credentials/ssl/ssl_credentials.c",
873 "src/core/lib/security/transport/client_auth_filter.c",
David Garcia Quintas01291502017-02-07 13:26:41 -0800874 "src/core/lib/security/transport/lb_targets_info.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200875 "src/core/lib/security/transport/secure_endpoint.c",
876 "src/core/lib/security/transport/security_connector.c",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100877 "src/core/lib/security/transport/security_handshaker.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200878 "src/core/lib/security/transport/server_auth_filter.c",
879 "src/core/lib/security/transport/tsi_error.c",
880 "src/core/lib/security/util/b64.c",
881 "src/core/lib/security/util/json_util.c",
882 "src/core/lib/surface/init_secure.c",
883 ],
884 hdrs = [
885 "src/core/lib/security/context/security_context.h",
886 "src/core/lib/security/credentials/composite/composite_credentials.h",
887 "src/core/lib/security/credentials/credentials.h",
888 "src/core/lib/security/credentials/fake/fake_credentials.h",
889 "src/core/lib/security/credentials/google_default/google_default_credentials.h",
890 "src/core/lib/security/credentials/iam/iam_credentials.h",
891 "src/core/lib/security/credentials/jwt/json_token.h",
892 "src/core/lib/security/credentials/jwt/jwt_credentials.h",
893 "src/core/lib/security/credentials/jwt/jwt_verifier.h",
894 "src/core/lib/security/credentials/oauth2/oauth2_credentials.h",
895 "src/core/lib/security/credentials/plugin/plugin_credentials.h",
896 "src/core/lib/security/credentials/ssl/ssl_credentials.h",
897 "src/core/lib/security/transport/auth_filters.h",
David Garcia Quintas01291502017-02-07 13:26:41 -0800898 "src/core/lib/security/transport/lb_targets_info.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200899 "src/core/lib/security/transport/secure_endpoint.h",
900 "src/core/lib/security/transport/security_connector.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100901 "src/core/lib/security/transport/security_handshaker.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200902 "src/core/lib/security/transport/tsi_error.h",
903 "src/core/lib/security/util/b64.h",
904 "src/core/lib/security/util/json_util.h",
905 ],
906 language = "c",
907 public_hdrs = [
908 "include/grpc/grpc_security.h",
909 ],
910 deps = [
911 "grpc_base",
912 "grpc_transport_chttp2_alpn",
913 "tsi",
914 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200915)
916
917grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200918 name = "grpc_transport_chttp2",
919 srcs = [
920 "src/core/ext/transport/chttp2/transport/bin_decoder.c",
921 "src/core/ext/transport/chttp2/transport/bin_encoder.c",
922 "src/core/ext/transport/chttp2/transport/chttp2_plugin.c",
923 "src/core/ext/transport/chttp2/transport/chttp2_transport.c",
924 "src/core/ext/transport/chttp2/transport/frame_data.c",
925 "src/core/ext/transport/chttp2/transport/frame_goaway.c",
926 "src/core/ext/transport/chttp2/transport/frame_ping.c",
927 "src/core/ext/transport/chttp2/transport/frame_rst_stream.c",
928 "src/core/ext/transport/chttp2/transport/frame_settings.c",
929 "src/core/ext/transport/chttp2/transport/frame_window_update.c",
930 "src/core/ext/transport/chttp2/transport/hpack_encoder.c",
931 "src/core/ext/transport/chttp2/transport/hpack_parser.c",
932 "src/core/ext/transport/chttp2/transport/hpack_table.c",
933 "src/core/ext/transport/chttp2/transport/huffsyms.c",
934 "src/core/ext/transport/chttp2/transport/incoming_metadata.c",
935 "src/core/ext/transport/chttp2/transport/parsing.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200936 "src/core/ext/transport/chttp2/transport/stream_lists.c",
937 "src/core/ext/transport/chttp2/transport/stream_map.c",
938 "src/core/ext/transport/chttp2/transport/varint.c",
939 "src/core/ext/transport/chttp2/transport/writing.c",
940 ],
941 hdrs = [
942 "src/core/ext/transport/chttp2/transport/bin_decoder.h",
943 "src/core/ext/transport/chttp2/transport/bin_encoder.h",
944 "src/core/ext/transport/chttp2/transport/chttp2_transport.h",
945 "src/core/ext/transport/chttp2/transport/frame.h",
946 "src/core/ext/transport/chttp2/transport/frame_data.h",
947 "src/core/ext/transport/chttp2/transport/frame_goaway.h",
948 "src/core/ext/transport/chttp2/transport/frame_ping.h",
949 "src/core/ext/transport/chttp2/transport/frame_rst_stream.h",
950 "src/core/ext/transport/chttp2/transport/frame_settings.h",
951 "src/core/ext/transport/chttp2/transport/frame_window_update.h",
952 "src/core/ext/transport/chttp2/transport/hpack_encoder.h",
953 "src/core/ext/transport/chttp2/transport/hpack_parser.h",
954 "src/core/ext/transport/chttp2/transport/hpack_table.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200955 "src/core/ext/transport/chttp2/transport/huffsyms.h",
956 "src/core/ext/transport/chttp2/transport/incoming_metadata.h",
957 "src/core/ext/transport/chttp2/transport/internal.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200958 "src/core/ext/transport/chttp2/transport/stream_map.h",
959 "src/core/ext/transport/chttp2/transport/varint.h",
960 ],
961 language = "c",
962 deps = [
963 "grpc_base",
964 "grpc_transport_chttp2_alpn",
965 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200966)
967
968grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200969 name = "grpc_transport_chttp2_alpn",
970 srcs = [
971 "src/core/ext/transport/chttp2/alpn/alpn.c",
972 ],
973 hdrs = [
974 "src/core/ext/transport/chttp2/alpn/alpn.h",
975 ],
976 language = "c",
977 deps = [
978 "gpr",
979 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200980)
981
982grpc_cc_library(
David Garcia Quintas01291502017-02-07 13:26:41 -0800983 name = "grpc_transport_chttp2_client_connector",
984 srcs = [
985 "src/core/ext/transport/chttp2/client/chttp2_connector.c",
986 ],
987 hdrs = [
988 "src/core/ext/transport/chttp2/client/chttp2_connector.h",
989 ],
990 language = "c",
991 deps = [
992 "grpc_base",
993 "grpc_client_channel",
994 "grpc_transport_chttp2",
995 ],
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +0200996)
997
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100998grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200999 name = "grpc_transport_chttp2_client_insecure",
1000 srcs = [
1001 "src/core/ext/transport/chttp2/client/insecure/channel_create.c",
1002 "src/core/ext/transport/chttp2/client/insecure/channel_create_posix.c",
1003 ],
1004 language = "c",
1005 deps = [
1006 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001007 "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001008 "grpc_transport_chttp2",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001009 "grpc_transport_chttp2_client_connector",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001010 ],
Makarand Dharmapurikar38d80552016-06-01 15:02:04 -07001011)
1012
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001013grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001014 name = "grpc_transport_chttp2_client_secure",
1015 srcs = [
1016 "src/core/ext/transport/chttp2/client/secure/secure_channel_create.c",
1017 ],
1018 language = "c",
1019 deps = [
1020 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001021 "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001022 "grpc_secure",
1023 "grpc_transport_chttp2",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001024 "grpc_transport_chttp2_client_connector",
1025 ],
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001026)
1027
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001028grpc_cc_library(
1029 name = "grpc_transport_chttp2_server",
1030 srcs = [
1031 "src/core/ext/transport/chttp2/server/chttp2_server.c",
1032 ],
1033 hdrs = [
1034 "src/core/ext/transport/chttp2/server/chttp2_server.h",
1035 ],
1036 language = "c",
1037 deps = [
1038 "grpc_base",
1039 "grpc_transport_chttp2",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001040 ],
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001041)
1042
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001043grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001044 name = "grpc_transport_chttp2_server_insecure",
1045 srcs = [
1046 "src/core/ext/transport/chttp2/server/insecure/server_chttp2.c",
1047 "src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.c",
1048 ],
1049 language = "c",
1050 deps = [
1051 "grpc_base",
1052 "grpc_transport_chttp2",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001053 "grpc_transport_chttp2_server",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001054 ],
Garrett Casto931a26b2016-10-04 09:18:29 -07001055)
1056
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001057grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001058 name = "grpc_transport_chttp2_server_secure",
1059 srcs = [
1060 "src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.c",
1061 ],
1062 language = "c",
1063 deps = [
1064 "grpc_base",
1065 "grpc_secure",
1066 "grpc_transport_chttp2",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001067 "grpc_transport_chttp2_server",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001068 ],
Yuchen Zengc84ed682016-05-04 16:30:11 -07001069)
1070
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001071grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001072 name = "grpc_transport_cronet_client_secure",
1073 srcs = [
1074 "src/core/ext/transport/cronet/client/secure/cronet_channel_create.c",
1075 "src/core/ext/transport/cronet/transport/cronet_api_dummy.c",
1076 "src/core/ext/transport/cronet/transport/cronet_transport.c",
1077 ],
1078 hdrs = [
Muxi Yan0a2fae92017-02-01 14:49:03 -08001079 "src/core/ext/transport/cronet/transport/cronet_transport.h",
Sree Kuchibhotla43bca1b2017-02-22 16:37:27 -08001080 "third_party/objective_c/Cronet/bidirectional_stream_c.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001081 ],
1082 language = "c",
1083 public_hdrs = [
1084 "include/grpc/grpc_cronet.h",
1085 "include/grpc/grpc_security.h",
1086 "include/grpc/grpc_security_constants.h",
1087 ],
1088 deps = [
1089 "grpc_base",
1090 "grpc_transport_chttp2",
1091 ],
Craig Tiller03915e52016-04-07 09:15:10 -07001092)
1093
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001094grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001095 name = "tsi",
1096 srcs = [
1097 "src/core/lib/tsi/fake_transport_security.c",
1098 "src/core/lib/tsi/ssl_transport_security.c",
1099 "src/core/lib/tsi/transport_security.c",
1100 ],
1101 hdrs = [
1102 "src/core/lib/tsi/fake_transport_security.h",
1103 "src/core/lib/tsi/ssl_transport_security.h",
1104 "src/core/lib/tsi/ssl_types.h",
1105 "src/core/lib/tsi/transport_security.h",
1106 "src/core/lib/tsi/transport_security_interface.h",
1107 ],
1108 external_deps = [
1109 "libssl",
1110 ],
1111 language = "c",
1112 deps = [
1113 "gpr",
1114 ],
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001115)
1116
Nicolas "Pixel" Noble31d11db2016-10-20 09:29:46 +02001117grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001118 name = "grpc++_base",
1119 srcs = [
1120 "src/cpp/client/channel_cc.cc",
1121 "src/cpp/client/client_context.cc",
1122 "src/cpp/client/create_channel.cc",
1123 "src/cpp/client/create_channel_internal.cc",
1124 "src/cpp/client/create_channel_posix.cc",
1125 "src/cpp/client/credentials_cc.cc",
1126 "src/cpp/client/generic_stub.cc",
1127 "src/cpp/common/channel_arguments.cc",
1128 "src/cpp/common/channel_filter.cc",
1129 "src/cpp/common/completion_queue_cc.cc",
1130 "src/cpp/common/core_codegen.cc",
Sree Kuchibhotla43bca1b2017-02-22 16:37:27 -08001131 "src/cpp/common/resource_quota_cc.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001132 "src/cpp/common/rpc_method.cc",
Nicolas "Pixel" Noble24263c32017-01-11 01:03:09 +01001133 "src/cpp/common/version_cc.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001134 "src/cpp/server/async_generic_service.cc",
1135 "src/cpp/server/create_default_thread_pool.cc",
1136 "src/cpp/server/dynamic_thread_pool.cc",
yang-g8a7a4462017-01-11 13:13:23 -08001137 "src/cpp/server/health/default_health_check_service.cc",
1138 "src/cpp/server/health/health.pb.c",
1139 "src/cpp/server/health/health_check_service.cc",
1140 "src/cpp/server/health/health_check_service_server_builder_option.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001141 "src/cpp/server/server_builder.cc",
1142 "src/cpp/server/server_cc.cc",
1143 "src/cpp/server/server_context.cc",
1144 "src/cpp/server/server_credentials.cc",
1145 "src/cpp/server/server_posix.cc",
Nicolas "Pixel" Noble24263c32017-01-11 01:03:09 +01001146 "src/cpp/thread_manager/thread_manager.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001147 "src/cpp/util/byte_buffer_cc.cc",
1148 "src/cpp/util/slice_cc.cc",
1149 "src/cpp/util/status.cc",
1150 "src/cpp/util/string_ref.cc",
1151 "src/cpp/util/time_cc.cc",
1152 ],
1153 hdrs = [
1154 "src/cpp/client/create_channel_internal.h",
1155 "src/cpp/common/channel_filter.h",
1156 "src/cpp/server/dynamic_thread_pool.h",
yang-g850fcb92017-01-11 14:26:15 -08001157 "src/cpp/server/health/default_health_check_service.h",
yang-g8a7a4462017-01-11 13:13:23 -08001158 "src/cpp/server/health/health.pb.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001159 "src/cpp/server/thread_pool_interface.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001160 "src/cpp/thread_manager/thread_manager.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001161 ],
1162 language = "c++",
1163 public_hdrs = [
1164 "include/grpc++/alarm.h",
1165 "include/grpc++/channel.h",
1166 "include/grpc++/client_context.h",
1167 "include/grpc++/completion_queue.h",
1168 "include/grpc++/create_channel.h",
1169 "include/grpc++/create_channel_posix.h",
yang-g113b0942017-01-26 15:40:05 -08001170 "include/grpc++/ext/health_check_service_server_builder_option.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001171 "include/grpc++/generic/async_generic_service.h",
1172 "include/grpc++/generic/generic_stub.h",
1173 "include/grpc++/grpc++.h",
yang-g8fe20bf2017-01-12 10:33:12 -08001174 "include/grpc++/health_check_service_interface.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001175 "include/grpc++/impl/call.h",
1176 "include/grpc++/impl/client_unary_call.h",
1177 "include/grpc++/impl/codegen/core_codegen.h",
1178 "include/grpc++/impl/grpc_library.h",
1179 "include/grpc++/impl/method_handler_impl.h",
1180 "include/grpc++/impl/rpc_method.h",
1181 "include/grpc++/impl/rpc_service_method.h",
1182 "include/grpc++/impl/serialization_traits.h",
1183 "include/grpc++/impl/server_builder_option.h",
1184 "include/grpc++/impl/server_builder_plugin.h",
1185 "include/grpc++/impl/server_initializer.h",
1186 "include/grpc++/impl/service_type.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001187 "include/grpc++/impl/sync_cxx11.h",
1188 "include/grpc++/impl/sync_no_cxx11.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001189 "include/grpc++/resource_quota.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001190 "include/grpc++/security/auth_context.h",
1191 "include/grpc++/security/auth_metadata_processor.h",
1192 "include/grpc++/security/credentials.h",
1193 "include/grpc++/security/server_credentials.h",
1194 "include/grpc++/server.h",
1195 "include/grpc++/server_builder.h",
1196 "include/grpc++/server_context.h",
1197 "include/grpc++/server_posix.h",
1198 "include/grpc++/support/async_stream.h",
1199 "include/grpc++/support/async_unary_call.h",
1200 "include/grpc++/support/byte_buffer.h",
1201 "include/grpc++/support/channel_arguments.h",
1202 "include/grpc++/support/config.h",
1203 "include/grpc++/support/slice.h",
1204 "include/grpc++/support/status.h",
1205 "include/grpc++/support/status_code_enum.h",
1206 "include/grpc++/support/string_ref.h",
1207 "include/grpc++/support/stub_options.h",
1208 "include/grpc++/support/sync_stream.h",
1209 "include/grpc++/support/time.h",
1210 ],
1211 deps = [
1212 "grpc",
1213 "grpc++_codegen_base",
1214 ],
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001215)
1216
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001217grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001218 name = "grpc++_codegen_base",
1219 language = "c++",
1220 public_hdrs = [
1221 "include/grpc++/impl/codegen/async_stream.h",
1222 "include/grpc++/impl/codegen/async_unary_call.h",
1223 "include/grpc++/impl/codegen/call.h",
1224 "include/grpc++/impl/codegen/call_hook.h",
1225 "include/grpc++/impl/codegen/channel_interface.h",
1226 "include/grpc++/impl/codegen/client_context.h",
1227 "include/grpc++/impl/codegen/client_unary_call.h",
1228 "include/grpc++/impl/codegen/completion_queue.h",
1229 "include/grpc++/impl/codegen/completion_queue_tag.h",
1230 "include/grpc++/impl/codegen/config.h",
1231 "include/grpc++/impl/codegen/core_codegen_interface.h",
1232 "include/grpc++/impl/codegen/create_auth_context.h",
1233 "include/grpc++/impl/codegen/grpc_library.h",
yang-g988b47c2017-01-31 09:51:45 -08001234 "include/grpc++/impl/codegen/metadata_map.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001235 "include/grpc++/impl/codegen/method_handler_impl.h",
1236 "include/grpc++/impl/codegen/rpc_method.h",
1237 "include/grpc++/impl/codegen/rpc_service_method.h",
1238 "include/grpc++/impl/codegen/security/auth_context.h",
1239 "include/grpc++/impl/codegen/serialization_traits.h",
1240 "include/grpc++/impl/codegen/server_context.h",
1241 "include/grpc++/impl/codegen/server_interface.h",
1242 "include/grpc++/impl/codegen/service_type.h",
yang-g988b47c2017-01-31 09:51:45 -08001243 "include/grpc++/impl/codegen/slice.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001244 "include/grpc++/impl/codegen/status.h",
1245 "include/grpc++/impl/codegen/status_code_enum.h",
1246 "include/grpc++/impl/codegen/status_helper.h",
1247 "include/grpc++/impl/codegen/string_ref.h",
1248 "include/grpc++/impl/codegen/stub_options.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001249 "include/grpc++/impl/codegen/sync_stream.h",
1250 "include/grpc++/impl/codegen/time.h",
1251 ],
1252 deps = [
1253 "grpc_codegen",
1254 ],
Craig Tillerda179ce2016-02-09 12:01:53 -08001255)
1256
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001257grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001258 name = "grpc++_codegen_base_src",
1259 srcs = [
1260 "src/cpp/codegen/codegen_init.cc",
1261 ],
1262 language = "c++",
1263 deps = [
1264 "grpc++_codegen_base",
1265 ],
Jorge Canizales140bca82015-06-20 09:47:00 -07001266)
1267
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001268grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001269 name = "grpc++_codegen_proto",
1270 language = "c++",
1271 public_hdrs = [
1272 "include/grpc++/impl/codegen/proto_utils.h",
1273 ],
1274 deps = [
1275 "grpc++_codegen_base",
1276 "grpc++_config_proto",
1277 ],
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001278)
1279
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001280grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001281 name = "grpc++_config_proto",
David Garcia Quintas5481a582017-02-14 16:11:42 -08001282 external_deps = [
1283 "protobuf",
1284 ],
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001285 language = "c++",
1286 public_hdrs = [
1287 "include/grpc++/impl/codegen/config_protobuf.h",
1288 ],
Jan Tattermusch2d924952015-05-06 10:23:17 -07001289)
1290
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001291grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001292 name = "thrift_util",
1293 language = "c++",
1294 public_hdrs = [
1295 "include/grpc++/impl/codegen/thrift_serializer.h",
1296 "include/grpc++/impl/codegen/thrift_utils.h",
1297 ],
1298 deps = [
1299 "grpc++_codegen_base",
1300 ],
Jorge Canizales50f19822015-06-28 23:48:30 -07001301)
Sree Kuchibhotla43bca1b2017-02-22 16:37:27 -08001302
1303grpc_cc_library(
1304 name = "grpc++_reflection",
1305 srcs = [
1306 "src/cpp/ext/proto_server_reflection.cc",
1307 "src/cpp/ext/proto_server_reflection_plugin.cc",
1308 ],
1309 hdrs = [
1310 "src/cpp/ext/proto_server_reflection.h",
1311 ],
1312 language = "c++",
1313 public_hdrs = [
1314 "include/grpc++/ext/proto_server_reflection_plugin.h",
1315 ],
1316 deps = [
1317 ":grpc++",
1318 "//src/proto/grpc/reflection/v1alpha:reflection_proto",
1319 ],
1320)