blob: 166e6ba75182fd2e30c4783b11ed11e488d0eab0 [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
Alexander Polcynf5521c32017-04-26 14:18:39 -070038load("//bazel:grpc_build_system.bzl", "grpc_cc_library", "grpc_proto_plugin")
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +020039
murgatroid99a41fd5b2017-04-13 09:56:17 -070040# This should be updated along with build.yaml
41g_stands_for = "gentle"
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +020042
David Garcia Quintas3ef23552017-04-27 13:59:19 -070043core_version = "3.0.0"
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +020044
Ken Paysonc0ce2cd2017-05-19 17:47:49 -070045version = "1.3.5"
Rob Earhartb7b8d052016-03-29 11:35:29 -070046
Nicolas "Pixel" Noble31d11db2016-10-20 09:29:46 +020047grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +020048 name = "gpr",
49 language = "c",
50 standalone = True,
51 deps = [
52 "gpr_base",
53 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +020054)
55
Alexander Polcynf5521c32017-04-26 14:18:39 -070056grpc_cc_library(
57 name = "grpc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +020058 srcs = [
59 "src/core/lib/surface/init.c",
Alexander Polcynf5521c32017-04-26 14:18:39 -070060 "src/core/plugin_registry/grpc_plugin_registry.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +020061 ],
62 language = "c",
63 standalone = True,
64 deps = [
65 "census",
66 "grpc_base",
Alexander Polcynf5521c32017-04-26 14:18:39 -070067 "grpc_lb_policy_grpclb_secure",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +020068 "grpc_lb_policy_pick_first",
69 "grpc_lb_policy_round_robin",
70 "grpc_load_reporting",
Jan Tattermusch61f729f2017-04-06 17:11:44 +020071 "grpc_max_age_filter",
Alexander Polcynf5521c32017-04-26 14:18:39 -070072 "grpc_resolver_dns_ares",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +020073 "grpc_resolver_dns_native",
74 "grpc_resolver_sockaddr",
Alexander Polcynf5521c32017-04-26 14:18:39 -070075 "grpc_secure",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +020076 "grpc_transport_chttp2_client_insecure",
Alexander Polcynf5521c32017-04-26 14:18:39 -070077 "grpc_transport_chttp2_client_secure",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +020078 "grpc_transport_chttp2_server_insecure",
Alexander Polcynf5521c32017-04-26 14:18:39 -070079 "grpc_transport_chttp2_server_secure",
Vijay Paia8749902017-04-21 16:44:01 +000080 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +020081)
82
83grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +020084 name = "grpc_cronet",
85 srcs = [
86 "src/core/lib/surface/init.c",
87 "src/core/plugin_registry/grpc_cronet_plugin_registry.c",
88 ],
89 language = "c",
90 deps = [
91 "grpc_base",
92 "grpc_transport_chttp2_client_secure",
93 "grpc_transport_cronet_client_secure",
Alexander Polcynf5521c32017-04-26 14:18:39 -070094 ],
95)
96
97grpc_cc_library(
98 name = "grpc_unsecure",
99 srcs = [
100 "src/core/lib/surface/init.c",
101 "src/core/lib/surface/init_unsecure.c",
102 "src/core/plugin_registry/grpc_unsecure_plugin_registry.c",
103 ],
104 language = "c",
105 standalone = True,
106 deps = [
107 "census",
108 "grpc_base",
109 "grpc_lb_policy_grpclb",
110 "grpc_lb_policy_pick_first",
111 "grpc_lb_policy_round_robin",
112 "grpc_load_reporting",
113 "grpc_max_age_filter",
114 "grpc_resolver_dns_native",
115 "grpc_resolver_sockaddr",
116 "grpc_transport_chttp2_client_insecure",
117 "grpc_transport_chttp2_server_insecure",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200118 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200119)
120
121grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200122 name = "grpc++",
123 srcs = [
124 "src/cpp/client/insecure_credentials.cc",
125 "src/cpp/client/secure_credentials.cc",
126 "src/cpp/common/auth_property_iterator.cc",
127 "src/cpp/common/secure_auth_context.cc",
128 "src/cpp/common/secure_channel_arguments.cc",
129 "src/cpp/common/secure_create_auth_context.cc",
130 "src/cpp/server/insecure_server_credentials.cc",
131 "src/cpp/server/secure_server_credentials.cc",
132 ],
133 hdrs = [
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200134 "src/cpp/client/secure_credentials.h",
135 "src/cpp/common/secure_auth_context.h",
136 "src/cpp/server/secure_server_credentials.h",
137 ],
138 language = "c++",
139 standalone = True,
140 deps = [
141 "gpr",
142 "grpc",
143 "grpc++_base",
144 "grpc++_codegen_base",
145 "grpc++_codegen_base_src",
Jan Tattermuschaead5aa2017-02-10 11:00:29 -0800146 "grpc++_codegen_proto",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200147 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200148)
149
150grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200151 name = "grpc++_unsecure",
152 srcs = [
153 "src/cpp/client/insecure_credentials.cc",
154 "src/cpp/common/insecure_create_auth_context.cc",
155 "src/cpp/server/insecure_server_credentials.cc",
156 ],
157 language = "c++",
158 standalone = True,
159 deps = [
160 "gpr",
Alexander Polcynf5521c32017-04-26 14:18:39 -0700161 "grpc++_base",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200162 "grpc++_codegen_base",
163 "grpc++_codegen_base_src",
164 "grpc_unsecure",
165 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200166)
167
168grpc_cc_library(
yang-geceec8e2017-04-10 11:58:44 -0700169 name = "grpc++_error_details",
170 srcs = [
171 "src/cpp/util/error_details.cc",
172 ],
173 hdrs = [
174 "include/grpc++/support/error_details.h",
175 ],
176 language = "c++",
177 standalone = True,
178 deps = [
179 "grpc++",
180 "//src/proto/grpc/status:status_proto",
181 ],
182)
183
184grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200185 name = "grpc_plugin_support",
186 srcs = [
187 "src/compiler/cpp_generator.cc",
188 "src/compiler/csharp_generator.cc",
189 "src/compiler/node_generator.cc",
190 "src/compiler/objective_c_generator.cc",
191 "src/compiler/php_generator.cc",
192 "src/compiler/python_generator.cc",
193 "src/compiler/ruby_generator.cc",
194 ],
195 hdrs = [
196 "src/compiler/config.h",
197 "src/compiler/cpp_generator.h",
198 "src/compiler/cpp_generator_helpers.h",
199 "src/compiler/csharp_generator.h",
200 "src/compiler/csharp_generator_helpers.h",
201 "src/compiler/generator_helpers.h",
202 "src/compiler/node_generator.h",
203 "src/compiler/node_generator_helpers.h",
204 "src/compiler/objective_c_generator.h",
205 "src/compiler/objective_c_generator_helpers.h",
206 "src/compiler/php_generator.h",
207 "src/compiler/php_generator_helpers.h",
Jan Tattermusch61f729f2017-04-06 17:11:44 +0200208 "src/compiler/protobuf_plugin.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200209 "src/compiler/python_generator.h",
Harsh Vardhan3cbc6ad2017-02-07 13:09:16 +0530210 "src/compiler/python_generator_helpers.h",
211 "src/compiler/python_private_generator.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200212 "src/compiler/ruby_generator.h",
213 "src/compiler/ruby_generator_helpers-inl.h",
214 "src/compiler/ruby_generator_map-inl.h",
215 "src/compiler/ruby_generator_string-inl.h",
Jan Tattermusch61f729f2017-04-06 17:11:44 +0200216 "src/compiler/schema_interface.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200217 ],
218 external_deps = [
Nicolas "Pixel" Noble4dc64312016-10-20 23:07:37 +0200219 "protobuf_clib",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200220 ],
221 language = "c++",
222 deps = [
223 "grpc++_config_proto",
224 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200225)
226
Nicolas "Pixel" Noble4dc64312016-10-20 23:07:37 +0200227grpc_proto_plugin(
228 name = "grpc_cpp_plugin",
229 srcs = ["src/compiler/cpp_plugin.cc"],
230 deps = [":grpc_plugin_support"],
231)
232
233grpc_proto_plugin(
234 name = "grpc_csharp_plugin",
235 srcs = ["src/compiler/csharp_plugin.cc"],
236 deps = [":grpc_plugin_support"],
237)
238
239grpc_proto_plugin(
240 name = "grpc_node_plugin",
241 srcs = ["src/compiler/node_plugin.cc"],
242 deps = [":grpc_plugin_support"],
243)
244
245grpc_proto_plugin(
246 name = "grpc_objective_c_plugin",
247 srcs = ["src/compiler/objective_c_plugin.cc"],
248 deps = [":grpc_plugin_support"],
249)
250
251grpc_proto_plugin(
252 name = "grpc_php_plugin",
253 srcs = ["src/compiler/php_plugin.cc"],
254 deps = [":grpc_plugin_support"],
255)
256
257grpc_proto_plugin(
258 name = "grpc_python_plugin",
259 srcs = ["src/compiler/python_plugin.cc"],
260 deps = [":grpc_plugin_support"],
261)
262
263grpc_proto_plugin(
264 name = "grpc_ruby_plugin",
265 srcs = ["src/compiler/ruby_plugin.cc"],
266 deps = [":grpc_plugin_support"],
267)
268
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200269grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200270 name = "grpc_csharp_ext",
271 srcs = [
272 "src/csharp/ext/grpc_csharp_ext.c",
273 ],
274 language = "csharp",
275 deps = [
276 "gpr",
277 "grpc",
278 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200279)
280
281grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200282 name = "census",
283 srcs = [
284 "src/core/ext/census/base_resources.c",
285 "src/core/ext/census/context.c",
286 "src/core/ext/census/gen/census.pb.c",
287 "src/core/ext/census/gen/trace_context.pb.c",
288 "src/core/ext/census/grpc_context.c",
289 "src/core/ext/census/grpc_filter.c",
290 "src/core/ext/census/grpc_plugin.c",
291 "src/core/ext/census/initialize.c",
292 "src/core/ext/census/mlog.c",
293 "src/core/ext/census/operation.c",
294 "src/core/ext/census/placeholders.c",
295 "src/core/ext/census/resource.c",
296 "src/core/ext/census/trace_context.c",
297 "src/core/ext/census/tracing.c",
298 ],
299 hdrs = [
300 "src/core/ext/census/aggregation.h",
301 "src/core/ext/census/base_resources.h",
302 "src/core/ext/census/census_interface.h",
303 "src/core/ext/census/census_rpc_stats.h",
304 "src/core/ext/census/gen/census.pb.h",
305 "src/core/ext/census/gen/trace_context.pb.h",
306 "src/core/ext/census/grpc_filter.h",
307 "src/core/ext/census/mlog.h",
308 "src/core/ext/census/resource.h",
309 "src/core/ext/census/rpc_metric_id.h",
310 "src/core/ext/census/trace_context.h",
Vizerai2b939832017-01-19 13:12:11 -0800311 "src/core/ext/census/trace_label.h",
312 "src/core/ext/census/trace_propagation.h",
313 "src/core/ext/census/trace_status.h",
314 "src/core/ext/census/trace_string.h",
315 "src/core/ext/census/tracing.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200316 ],
317 external_deps = [
318 "nanopb",
Vizeraib0b86d72017-01-25 13:45:54 -0800319 "libssl",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200320 ],
321 language = "c",
322 public_hdrs = [
323 "include/grpc/census.h",
324 ],
325 deps = [
326 "grpc_base",
327 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200328)
329
330grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200331 name = "gpr_base",
332 srcs = [
333 "src/core/lib/profiling/basic_timers.c",
334 "src/core/lib/profiling/stap_timers.c",
335 "src/core/lib/support/alloc.c",
Sree Kuchibhotlaf6c20262017-03-21 18:52:19 -0700336 "src/core/lib/support/arena.c",
Mark D. Rothfecba532017-03-17 09:50:48 -0700337 "src/core/lib/support/atm.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200338 "src/core/lib/support/avl.c",
339 "src/core/lib/support/backoff.c",
340 "src/core/lib/support/cmdline.c",
341 "src/core/lib/support/cpu_iphone.c",
342 "src/core/lib/support/cpu_linux.c",
343 "src/core/lib/support/cpu_posix.c",
344 "src/core/lib/support/cpu_windows.c",
345 "src/core/lib/support/env_linux.c",
346 "src/core/lib/support/env_posix.c",
347 "src/core/lib/support/env_windows.c",
348 "src/core/lib/support/histogram.c",
349 "src/core/lib/support/host_port.c",
350 "src/core/lib/support/log.c",
351 "src/core/lib/support/log_android.c",
352 "src/core/lib/support/log_linux.c",
353 "src/core/lib/support/log_posix.c",
354 "src/core/lib/support/log_windows.c",
355 "src/core/lib/support/mpscq.c",
356 "src/core/lib/support/murmur_hash.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200357 "src/core/lib/support/stack_lockfree.c",
358 "src/core/lib/support/string.c",
359 "src/core/lib/support/string_posix.c",
360 "src/core/lib/support/string_util_windows.c",
361 "src/core/lib/support/string_windows.c",
362 "src/core/lib/support/subprocess_posix.c",
363 "src/core/lib/support/subprocess_windows.c",
364 "src/core/lib/support/sync.c",
365 "src/core/lib/support/sync_posix.c",
366 "src/core/lib/support/sync_windows.c",
367 "src/core/lib/support/thd.c",
368 "src/core/lib/support/thd_posix.c",
369 "src/core/lib/support/thd_windows.c",
370 "src/core/lib/support/time.c",
371 "src/core/lib/support/time_posix.c",
372 "src/core/lib/support/time_precise.c",
373 "src/core/lib/support/time_windows.c",
374 "src/core/lib/support/tls_pthread.c",
375 "src/core/lib/support/tmpfile_msys.c",
376 "src/core/lib/support/tmpfile_posix.c",
377 "src/core/lib/support/tmpfile_windows.c",
378 "src/core/lib/support/wrap_memcpy.c",
379 ],
380 hdrs = [
381 "src/core/lib/profiling/timers.h",
Michael Warresc46b3eb2017-02-22 22:57:04 -0500382 "src/core/lib/support/arena.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200383 "src/core/lib/support/backoff.h",
384 "src/core/lib/support/block_annotate.h",
385 "src/core/lib/support/env.h",
386 "src/core/lib/support/mpscq.h",
387 "src/core/lib/support/murmur_hash.h",
Craig Tilleredbf2b92017-02-27 07:24:00 -0800388 "src/core/lib/support/spinlock.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200389 "src/core/lib/support/stack_lockfree.h",
390 "src/core/lib/support/string.h",
391 "src/core/lib/support/string_windows.h",
392 "src/core/lib/support/thd_internal.h",
393 "src/core/lib/support/time_precise.h",
394 "src/core/lib/support/tmpfile.h",
395 ],
396 language = "c",
397 public_hdrs = [
398 "include/grpc/support/alloc.h",
399 "include/grpc/support/atm.h",
400 "include/grpc/support/atm_gcc_atomic.h",
401 "include/grpc/support/atm_gcc_sync.h",
402 "include/grpc/support/atm_windows.h",
403 "include/grpc/support/avl.h",
404 "include/grpc/support/cmdline.h",
405 "include/grpc/support/cpu.h",
406 "include/grpc/support/histogram.h",
407 "include/grpc/support/host_port.h",
408 "include/grpc/support/log.h",
409 "include/grpc/support/log_windows.h",
410 "include/grpc/support/port_platform.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200411 "include/grpc/support/string_util.h",
412 "include/grpc/support/subprocess.h",
413 "include/grpc/support/sync.h",
414 "include/grpc/support/sync_generic.h",
415 "include/grpc/support/sync_posix.h",
416 "include/grpc/support/sync_windows.h",
417 "include/grpc/support/thd.h",
418 "include/grpc/support/time.h",
419 "include/grpc/support/tls.h",
420 "include/grpc/support/tls_gcc.h",
421 "include/grpc/support/tls_msvc.h",
422 "include/grpc/support/tls_pthread.h",
423 "include/grpc/support/useful.h",
424 ],
425 deps = [
426 "gpr_codegen",
427 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200428)
429
430grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200431 name = "gpr_codegen",
432 language = "c",
433 public_hdrs = [
434 "include/grpc/impl/codegen/atm.h",
435 "include/grpc/impl/codegen/atm_gcc_atomic.h",
436 "include/grpc/impl/codegen/atm_gcc_sync.h",
437 "include/grpc/impl/codegen/atm_windows.h",
Mark D. Roth348fba22017-01-06 11:07:30 -0800438 "include/grpc/impl/codegen/gpr_slice.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200439 "include/grpc/impl/codegen/gpr_types.h",
440 "include/grpc/impl/codegen/port_platform.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200441 "include/grpc/impl/codegen/sync.h",
442 "include/grpc/impl/codegen/sync_generic.h",
443 "include/grpc/impl/codegen/sync_posix.h",
444 "include/grpc/impl/codegen/sync_windows.h",
445 ],
Craig Tillerda179ce2016-02-09 12:01:53 -0800446)
447
Nicolas "Pixel" Noble31d11db2016-10-20 09:29:46 +0200448grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200449 name = "grpc_base",
450 srcs = [
451 "src/core/lib/channel/channel_args.c",
452 "src/core/lib/channel/channel_stack.c",
453 "src/core/lib/channel/channel_stack_builder.c",
Alexander Polcynf5521c32017-04-26 14:18:39 -0700454 "src/core/lib/channel/compress_filter.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200455 "src/core/lib/channel/connected_channel.c",
Alexander Polcynf5521c32017-04-26 14:18:39 -0700456 "src/core/lib/channel/deadline_filter.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200457 "src/core/lib/channel/handshaker.c",
Mark D. Roth1f0f23c2017-01-06 13:07:19 -0800458 "src/core/lib/channel/handshaker_factory.c",
459 "src/core/lib/channel/handshaker_registry.c",
Alexander Polcynf5521c32017-04-26 14:18:39 -0700460 "src/core/lib/channel/http_client_filter.c",
461 "src/core/lib/channel/http_server_filter.c",
462 "src/core/lib/channel/message_size_filter.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200463 "src/core/lib/compression/compression.c",
464 "src/core/lib/compression/message_compress.c",
465 "src/core/lib/debug/trace.c",
466 "src/core/lib/http/format_request.c",
467 "src/core/lib/http/httpcli.c",
468 "src/core/lib/http/parser.c",
469 "src/core/lib/iomgr/closure.c",
470 "src/core/lib/iomgr/combiner.c",
471 "src/core/lib/iomgr/endpoint.c",
472 "src/core/lib/iomgr/endpoint_pair_posix.c",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200473 "src/core/lib/iomgr/endpoint_pair_uv.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200474 "src/core/lib/iomgr/endpoint_pair_windows.c",
475 "src/core/lib/iomgr/error.c",
476 "src/core/lib/iomgr/ev_epoll_linux.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200477 "src/core/lib/iomgr/ev_poll_posix.c",
478 "src/core/lib/iomgr/ev_posix.c",
479 "src/core/lib/iomgr/exec_ctx.c",
480 "src/core/lib/iomgr/executor.c",
481 "src/core/lib/iomgr/iocp_windows.c",
482 "src/core/lib/iomgr/iomgr.c",
483 "src/core/lib/iomgr/iomgr_posix.c",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100484 "src/core/lib/iomgr/iomgr_uv.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200485 "src/core/lib/iomgr/iomgr_windows.c",
486 "src/core/lib/iomgr/load_file.c",
Jan Tattermusch43713e62017-04-12 09:20:29 +0200487 "src/core/lib/iomgr/lockfree_event.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200488 "src/core/lib/iomgr/network_status_tracker.c",
489 "src/core/lib/iomgr/polling_entity.c",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100490 "src/core/lib/iomgr/pollset_set_uv.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200491 "src/core/lib/iomgr/pollset_set_windows.c",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100492 "src/core/lib/iomgr/pollset_uv.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200493 "src/core/lib/iomgr/pollset_windows.c",
494 "src/core/lib/iomgr/resolve_address_posix.c",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100495 "src/core/lib/iomgr/resolve_address_uv.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200496 "src/core/lib/iomgr/resolve_address_windows.c",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100497 "src/core/lib/iomgr/resource_quota.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200498 "src/core/lib/iomgr/sockaddr_utils.c",
Michael Warresc46b3eb2017-02-22 22:57:04 -0500499 "src/core/lib/iomgr/socket_factory_posix.c",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100500 "src/core/lib/iomgr/socket_mutator.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200501 "src/core/lib/iomgr/socket_utils_common_posix.c",
502 "src/core/lib/iomgr/socket_utils_linux.c",
503 "src/core/lib/iomgr/socket_utils_posix.c",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100504 "src/core/lib/iomgr/socket_utils_uv.c",
505 "src/core/lib/iomgr/socket_utils_windows.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200506 "src/core/lib/iomgr/socket_windows.c",
507 "src/core/lib/iomgr/tcp_client_posix.c",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100508 "src/core/lib/iomgr/tcp_client_uv.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200509 "src/core/lib/iomgr/tcp_client_windows.c",
510 "src/core/lib/iomgr/tcp_posix.c",
511 "src/core/lib/iomgr/tcp_server_posix.c",
Yuchen Zeng68745bb2017-03-14 17:51:07 -0700512 "src/core/lib/iomgr/tcp_server_utils_posix_common.c",
Yuchen Zeng47155ed2017-03-13 17:18:07 -0700513 "src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.c",
514 "src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.c",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100515 "src/core/lib/iomgr/tcp_server_uv.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200516 "src/core/lib/iomgr/tcp_server_windows.c",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100517 "src/core/lib/iomgr/tcp_uv.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200518 "src/core/lib/iomgr/tcp_windows.c",
519 "src/core/lib/iomgr/time_averaged_stats.c",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100520 "src/core/lib/iomgr/timer_generic.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200521 "src/core/lib/iomgr/timer_heap.c",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100522 "src/core/lib/iomgr/timer_uv.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200523 "src/core/lib/iomgr/udp_server.c",
524 "src/core/lib/iomgr/unix_sockets_posix.c",
525 "src/core/lib/iomgr/unix_sockets_posix_noop.c",
526 "src/core/lib/iomgr/wakeup_fd_cv.c",
527 "src/core/lib/iomgr/wakeup_fd_eventfd.c",
528 "src/core/lib/iomgr/wakeup_fd_nospecial.c",
529 "src/core/lib/iomgr/wakeup_fd_pipe.c",
530 "src/core/lib/iomgr/wakeup_fd_posix.c",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100531 "src/core/lib/iomgr/workqueue_uv.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200532 "src/core/lib/iomgr/workqueue_windows.c",
533 "src/core/lib/json/json.c",
534 "src/core/lib/json/json_reader.c",
535 "src/core/lib/json/json_string.c",
536 "src/core/lib/json/json_writer.c",
Craig Tiller29b527f2017-03-30 10:27:20 -0700537 "src/core/lib/slice/b64.c",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100538 "src/core/lib/slice/percent_encoding.c",
539 "src/core/lib/slice/slice.c",
540 "src/core/lib/slice/slice_buffer.c",
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800541 "src/core/lib/slice/slice_hash_table.c",
542 "src/core/lib/slice/slice_intern.c",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100543 "src/core/lib/slice/slice_string_helpers.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200544 "src/core/lib/surface/alarm.c",
545 "src/core/lib/surface/api_trace.c",
546 "src/core/lib/surface/byte_buffer.c",
547 "src/core/lib/surface/byte_buffer_reader.c",
548 "src/core/lib/surface/call.c",
549 "src/core/lib/surface/call_details.c",
550 "src/core/lib/surface/call_log_batch.c",
551 "src/core/lib/surface/channel.c",
552 "src/core/lib/surface/channel_init.c",
553 "src/core/lib/surface/channel_ping.c",
554 "src/core/lib/surface/channel_stack_type.c",
555 "src/core/lib/surface/completion_queue.c",
Sree Kuchibhotlaf6c20262017-03-21 18:52:19 -0700556 "src/core/lib/surface/completion_queue_factory.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200557 "src/core/lib/surface/event_string.c",
558 "src/core/lib/surface/lame_client.c",
559 "src/core/lib/surface/metadata_array.c",
560 "src/core/lib/surface/server.c",
561 "src/core/lib/surface/validate_metadata.c",
562 "src/core/lib/surface/version.c",
David Garcia Quintas5481a582017-02-14 16:11:42 -0800563 "src/core/lib/transport/bdp_estimator.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200564 "src/core/lib/transport/byte_stream.c",
565 "src/core/lib/transport/connectivity_state.c",
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800566 "src/core/lib/transport/error_utils.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200567 "src/core/lib/transport/metadata.c",
568 "src/core/lib/transport/metadata_batch.c",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100569 "src/core/lib/transport/pid_controller.c",
570 "src/core/lib/transport/service_config.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200571 "src/core/lib/transport/static_metadata.c",
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800572 "src/core/lib/transport/status_conversion.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200573 "src/core/lib/transport/timeout_encoding.c",
574 "src/core/lib/transport/transport.c",
575 "src/core/lib/transport/transport_op_string.c",
576 ],
577 hdrs = [
578 "src/core/lib/channel/channel_args.h",
579 "src/core/lib/channel/channel_stack.h",
580 "src/core/lib/channel/channel_stack_builder.h",
Alexander Polcynf5521c32017-04-26 14:18:39 -0700581 "src/core/lib/channel/compress_filter.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200582 "src/core/lib/channel/connected_channel.h",
583 "src/core/lib/channel/context.h",
Alexander Polcynf5521c32017-04-26 14:18:39 -0700584 "src/core/lib/channel/deadline_filter.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200585 "src/core/lib/channel/handshaker.h",
Mark D. Roth1f0f23c2017-01-06 13:07:19 -0800586 "src/core/lib/channel/handshaker_factory.h",
587 "src/core/lib/channel/handshaker_registry.h",
Alexander Polcynf5521c32017-04-26 14:18:39 -0700588 "src/core/lib/channel/http_client_filter.h",
589 "src/core/lib/channel/http_server_filter.h",
590 "src/core/lib/channel/message_size_filter.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200591 "src/core/lib/compression/algorithm_metadata.h",
592 "src/core/lib/compression/message_compress.h",
593 "src/core/lib/debug/trace.h",
594 "src/core/lib/http/format_request.h",
595 "src/core/lib/http/httpcli.h",
596 "src/core/lib/http/parser.h",
597 "src/core/lib/iomgr/closure.h",
598 "src/core/lib/iomgr/combiner.h",
599 "src/core/lib/iomgr/endpoint.h",
600 "src/core/lib/iomgr/endpoint_pair.h",
601 "src/core/lib/iomgr/error.h",
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800602 "src/core/lib/iomgr/error_internal.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200603 "src/core/lib/iomgr/ev_epoll_linux.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200604 "src/core/lib/iomgr/ev_poll_posix.h",
605 "src/core/lib/iomgr/ev_posix.h",
606 "src/core/lib/iomgr/exec_ctx.h",
607 "src/core/lib/iomgr/executor.h",
608 "src/core/lib/iomgr/iocp_windows.h",
609 "src/core/lib/iomgr/iomgr.h",
610 "src/core/lib/iomgr/iomgr_internal.h",
611 "src/core/lib/iomgr/iomgr_posix.h",
612 "src/core/lib/iomgr/load_file.h",
Jan Tattermusch43713e62017-04-12 09:20:29 +0200613 "src/core/lib/iomgr/lockfree_event.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200614 "src/core/lib/iomgr/network_status_tracker.h",
615 "src/core/lib/iomgr/polling_entity.h",
616 "src/core/lib/iomgr/pollset.h",
617 "src/core/lib/iomgr/pollset_set.h",
618 "src/core/lib/iomgr/pollset_set_windows.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200619 "src/core/lib/iomgr/pollset_uv.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200620 "src/core/lib/iomgr/pollset_windows.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200621 "src/core/lib/iomgr/port.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200622 "src/core/lib/iomgr/resolve_address.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100623 "src/core/lib/iomgr/resource_quota.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200624 "src/core/lib/iomgr/sockaddr.h",
625 "src/core/lib/iomgr/sockaddr_posix.h",
626 "src/core/lib/iomgr/sockaddr_utils.h",
627 "src/core/lib/iomgr/sockaddr_windows.h",
Michael Warresc46b3eb2017-02-22 22:57:04 -0500628 "src/core/lib/iomgr/socket_factory_posix.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100629 "src/core/lib/iomgr/socket_mutator.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200630 "src/core/lib/iomgr/socket_utils.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200631 "src/core/lib/iomgr/socket_utils_posix.h",
632 "src/core/lib/iomgr/socket_windows.h",
633 "src/core/lib/iomgr/tcp_client.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100634 "src/core/lib/iomgr/tcp_client_posix.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200635 "src/core/lib/iomgr/tcp_posix.h",
636 "src/core/lib/iomgr/tcp_server.h",
Yuchen Zeng47155ed2017-03-13 17:18:07 -0700637 "src/core/lib/iomgr/tcp_server_utils_posix.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200638 "src/core/lib/iomgr/tcp_uv.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200639 "src/core/lib/iomgr/tcp_windows.h",
640 "src/core/lib/iomgr/time_averaged_stats.h",
641 "src/core/lib/iomgr/timer.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200642 "src/core/lib/iomgr/timer_generic.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200643 "src/core/lib/iomgr/timer_heap.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200644 "src/core/lib/iomgr/timer_uv.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200645 "src/core/lib/iomgr/udp_server.h",
646 "src/core/lib/iomgr/unix_sockets_posix.h",
647 "src/core/lib/iomgr/wakeup_fd_cv.h",
648 "src/core/lib/iomgr/wakeup_fd_pipe.h",
649 "src/core/lib/iomgr/wakeup_fd_posix.h",
650 "src/core/lib/iomgr/workqueue.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200651 "src/core/lib/iomgr/workqueue_uv.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200652 "src/core/lib/iomgr/workqueue_windows.h",
653 "src/core/lib/json/json.h",
654 "src/core/lib/json/json_common.h",
655 "src/core/lib/json/json_reader.h",
656 "src/core/lib/json/json_writer.h",
Craig Tiller29b527f2017-03-30 10:27:20 -0700657 "src/core/lib/slice/b64.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100658 "src/core/lib/slice/percent_encoding.h",
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800659 "src/core/lib/slice/slice_hash_table.h",
Craig Tiller3ca60192017-01-04 14:41:29 -0800660 "src/core/lib/slice/slice_internal.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100661 "src/core/lib/slice/slice_string_helpers.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200662 "src/core/lib/surface/api_trace.h",
663 "src/core/lib/surface/call.h",
664 "src/core/lib/surface/call_test_only.h",
665 "src/core/lib/surface/channel.h",
666 "src/core/lib/surface/channel_init.h",
667 "src/core/lib/surface/channel_stack_type.h",
668 "src/core/lib/surface/completion_queue.h",
Sree Kuchibhotlaf6c20262017-03-21 18:52:19 -0700669 "src/core/lib/surface/completion_queue_factory.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200670 "src/core/lib/surface/event_string.h",
671 "src/core/lib/surface/init.h",
672 "src/core/lib/surface/lame_client.h",
673 "src/core/lib/surface/server.h",
David Garcia Quintas01291502017-02-07 13:26:41 -0800674 "src/core/lib/surface/validate_metadata.h",
David Garcia Quintas5481a582017-02-14 16:11:42 -0800675 "src/core/lib/transport/bdp_estimator.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200676 "src/core/lib/transport/byte_stream.h",
677 "src/core/lib/transport/connectivity_state.h",
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800678 "src/core/lib/transport/error_utils.h",
679 "src/core/lib/transport/http2_errors.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200680 "src/core/lib/transport/metadata.h",
681 "src/core/lib/transport/metadata_batch.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100682 "src/core/lib/transport/pid_controller.h",
683 "src/core/lib/transport/service_config.h",
684 "src/core/lib/transport/static_metadata.h",
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800685 "src/core/lib/transport/status_conversion.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200686 "src/core/lib/transport/timeout_encoding.h",
687 "src/core/lib/transport/transport.h",
688 "src/core/lib/transport/transport_impl.h",
689 ],
690 external_deps = [
691 "zlib",
692 ],
693 language = "c",
694 public_hdrs = [
695 "include/grpc/byte_buffer.h",
696 "include/grpc/byte_buffer_reader.h",
697 "include/grpc/compression.h",
David Garcia Quintas5481a582017-02-14 16:11:42 -0800698 "include/grpc/load_reporting.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200699 "include/grpc/grpc.h",
700 "include/grpc/grpc_posix.h",
701 "include/grpc/grpc_security_constants.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100702 "include/grpc/slice.h",
703 "include/grpc/slice_buffer.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200704 "include/grpc/status.h",
705 ],
706 deps = [
707 "gpr_base",
708 "grpc_codegen",
709 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200710)
711
712grpc_cc_library(
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100713 name = "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200714 srcs = [
Craig Tiller9eb0fde2017-03-31 16:59:30 -0700715 "src/core/ext/filters/client_channel/channel_connectivity.c",
716 "src/core/ext/filters/client_channel/client_channel.c",
717 "src/core/ext/filters/client_channel/client_channel_factory.c",
718 "src/core/ext/filters/client_channel/client_channel_plugin.c",
719 "src/core/ext/filters/client_channel/connector.c",
720 "src/core/ext/filters/client_channel/http_connect_handshaker.c",
721 "src/core/ext/filters/client_channel/http_proxy.c",
722 "src/core/ext/filters/client_channel/lb_policy.c",
723 "src/core/ext/filters/client_channel/lb_policy_factory.c",
724 "src/core/ext/filters/client_channel/lb_policy_registry.c",
725 "src/core/ext/filters/client_channel/parse_address.c",
726 "src/core/ext/filters/client_channel/proxy_mapper.c",
727 "src/core/ext/filters/client_channel/proxy_mapper_registry.c",
728 "src/core/ext/filters/client_channel/resolver.c",
729 "src/core/ext/filters/client_channel/resolver_factory.c",
730 "src/core/ext/filters/client_channel/resolver_registry.c",
731 "src/core/ext/filters/client_channel/retry_throttle.c",
732 "src/core/ext/filters/client_channel/subchannel.c",
733 "src/core/ext/filters/client_channel/subchannel_index.c",
734 "src/core/ext/filters/client_channel/uri_parser.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200735 ],
736 hdrs = [
Craig Tiller9eb0fde2017-03-31 16:59:30 -0700737 "src/core/ext/filters/client_channel/client_channel.h",
738 "src/core/ext/filters/client_channel/client_channel_factory.h",
739 "src/core/ext/filters/client_channel/connector.h",
740 "src/core/ext/filters/client_channel/http_connect_handshaker.h",
741 "src/core/ext/filters/client_channel/http_proxy.h",
742 "src/core/ext/filters/client_channel/lb_policy.h",
743 "src/core/ext/filters/client_channel/lb_policy_factory.h",
744 "src/core/ext/filters/client_channel/lb_policy_registry.h",
745 "src/core/ext/filters/client_channel/parse_address.h",
746 "src/core/ext/filters/client_channel/proxy_mapper.h",
747 "src/core/ext/filters/client_channel/proxy_mapper_registry.h",
748 "src/core/ext/filters/client_channel/resolver.h",
749 "src/core/ext/filters/client_channel/resolver_factory.h",
750 "src/core/ext/filters/client_channel/resolver_registry.h",
751 "src/core/ext/filters/client_channel/retry_throttle.h",
752 "src/core/ext/filters/client_channel/subchannel.h",
753 "src/core/ext/filters/client_channel/subchannel_index.h",
754 "src/core/ext/filters/client_channel/uri_parser.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200755 ],
David Garcia Quintas01291502017-02-07 13:26:41 -0800756 language = "c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200757 deps = [
758 "grpc_base",
759 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200760)
761
762grpc_cc_library(
Craig Tiller6b97e532017-04-03 12:56:23 -0700763 name = "grpc_max_age_filter",
764 srcs = [
765 "src/core/ext/filters/max_age/max_age_filter.c",
766 ],
767 hdrs = [
768 "src/core/ext/filters/max_age/max_age_filter.h",
769 ],
770 language = "c",
771 deps = [
772 "grpc_base",
773 ],
774)
775
776grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200777 name = "grpc_codegen",
778 language = "c",
779 public_hdrs = [
780 "include/grpc/impl/codegen/byte_buffer_reader.h",
781 "include/grpc/impl/codegen/compression_types.h",
782 "include/grpc/impl/codegen/connectivity_state.h",
Craig Tiller3ca60192017-01-04 14:41:29 -0800783 "include/grpc/impl/codegen/exec_ctx_fwd.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200784 "include/grpc/impl/codegen/grpc_types.h",
785 "include/grpc/impl/codegen/propagation_bits.h",
786 "include/grpc/impl/codegen/status.h",
Craig Tiller0d32f2f2017-03-30 10:50:29 -0700787 "include/grpc/impl/codegen/slice.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200788 ],
789 deps = [
790 "gpr_codegen",
791 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200792)
793
794grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200795 name = "grpc_lb_policy_grpclb",
796 srcs = [
Craig Tiller9eb0fde2017-03-31 16:59:30 -0700797 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.c",
798 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.c",
799 "src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.c",
800 "src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/load_balancer.pb.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200801 ],
802 hdrs = [
Craig Tiller9eb0fde2017-03-31 16:59:30 -0700803 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.h",
804 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.h",
805 "src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.h",
806 "src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/load_balancer.pb.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200807 ],
808 external_deps = [
809 "nanopb",
810 ],
811 language = "c",
812 deps = [
813 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100814 "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200815 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200816)
817
818grpc_cc_library(
David Garcia Quintas01291502017-02-07 13:26:41 -0800819 name = "grpc_lb_policy_grpclb_secure",
820 srcs = [
Craig Tiller9eb0fde2017-03-31 16:59:30 -0700821 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.c",
822 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel_secure.c",
823 "src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.c",
824 "src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/load_balancer.pb.c",
David Garcia Quintas01291502017-02-07 13:26:41 -0800825 ],
826 hdrs = [
Craig Tiller9eb0fde2017-03-31 16:59:30 -0700827 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.h",
828 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.h",
829 "src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.h",
830 "src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/load_balancer.pb.h",
David Garcia Quintas01291502017-02-07 13:26:41 -0800831 ],
832 external_deps = [
833 "nanopb",
834 ],
835 language = "c",
836 deps = [
837 "grpc_base",
838 "grpc_client_channel",
839 "grpc_secure",
840 ],
841)
842
843grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200844 name = "grpc_lb_policy_pick_first",
845 srcs = [
Craig Tiller9eb0fde2017-03-31 16:59:30 -0700846 "src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200847 ],
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_lb_policy_round_robin",
857 srcs = [
Craig Tiller9eb0fde2017-03-31 16:59:30 -0700858 "src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200859 ],
860 language = "c",
861 deps = [
862 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100863 "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200864 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200865)
866
867grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200868 name = "grpc_load_reporting",
869 srcs = [
Craig Tiller9eb0fde2017-03-31 16:59:30 -0700870 "src/core/ext/filters/load_reporting/load_reporting.c",
871 "src/core/ext/filters/load_reporting/load_reporting_filter.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200872 ],
873 hdrs = [
Craig Tiller9eb0fde2017-03-31 16:59:30 -0700874 "src/core/ext/filters/load_reporting/load_reporting.h",
875 "src/core/ext/filters/load_reporting/load_reporting_filter.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200876 ],
877 language = "c",
878 deps = [
879 "grpc_base",
880 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200881)
882
883grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200884 name = "grpc_resolver_dns_native",
885 srcs = [
Craig Tiller9eb0fde2017-03-31 16:59:30 -0700886 "src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200887 ],
888 language = "c",
889 deps = [
890 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100891 "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200892 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200893)
894
895grpc_cc_library(
Yuchen Zeng4c702ed2017-01-23 10:30:10 -0800896 name = "grpc_resolver_dns_ares",
897 srcs = [
Craig Tiller9eb0fde2017-03-31 16:59:30 -0700898 "src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.c",
899 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.c",
900 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.c",
Yuchen Zeng4c702ed2017-01-23 10:30:10 -0800901 ],
902 hdrs = [
Craig Tiller9eb0fde2017-03-31 16:59:30 -0700903 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.h",
904 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.h",
Yuchen Zeng4c702ed2017-01-23 10:30:10 -0800905 ],
Jan Tattermusch61f729f2017-04-06 17:11:44 +0200906 external_deps = [
907 "cares",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200908 ],
Yuchen Zeng4c702ed2017-01-23 10:30:10 -0800909 language = "c",
910 deps = [
911 "grpc_base",
912 "grpc_client_channel",
913 ],
Yuchen Zeng4c702ed2017-01-23 10:30:10 -0800914)
915
916grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200917 name = "grpc_resolver_sockaddr",
918 srcs = [
Craig Tiller9eb0fde2017-03-31 16:59:30 -0700919 "src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200920 ],
921 language = "c",
922 deps = [
923 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100924 "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200925 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200926)
927
928grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200929 name = "grpc_secure",
930 srcs = [
931 "src/core/lib/http/httpcli_security_connector.c",
932 "src/core/lib/security/context/security_context.c",
933 "src/core/lib/security/credentials/composite/composite_credentials.c",
934 "src/core/lib/security/credentials/credentials.c",
935 "src/core/lib/security/credentials/credentials_metadata.c",
936 "src/core/lib/security/credentials/fake/fake_credentials.c",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100937 "src/core/lib/security/credentials/google_default/credentials_generic.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200938 "src/core/lib/security/credentials/google_default/google_default_credentials.c",
939 "src/core/lib/security/credentials/iam/iam_credentials.c",
940 "src/core/lib/security/credentials/jwt/json_token.c",
941 "src/core/lib/security/credentials/jwt/jwt_credentials.c",
942 "src/core/lib/security/credentials/jwt/jwt_verifier.c",
943 "src/core/lib/security/credentials/oauth2/oauth2_credentials.c",
944 "src/core/lib/security/credentials/plugin/plugin_credentials.c",
945 "src/core/lib/security/credentials/ssl/ssl_credentials.c",
946 "src/core/lib/security/transport/client_auth_filter.c",
David Garcia Quintas01291502017-02-07 13:26:41 -0800947 "src/core/lib/security/transport/lb_targets_info.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200948 "src/core/lib/security/transport/secure_endpoint.c",
949 "src/core/lib/security/transport/security_connector.c",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100950 "src/core/lib/security/transport/security_handshaker.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200951 "src/core/lib/security/transport/server_auth_filter.c",
952 "src/core/lib/security/transport/tsi_error.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200953 "src/core/lib/security/util/json_util.c",
954 "src/core/lib/surface/init_secure.c",
955 ],
956 hdrs = [
957 "src/core/lib/security/context/security_context.h",
958 "src/core/lib/security/credentials/composite/composite_credentials.h",
959 "src/core/lib/security/credentials/credentials.h",
960 "src/core/lib/security/credentials/fake/fake_credentials.h",
961 "src/core/lib/security/credentials/google_default/google_default_credentials.h",
962 "src/core/lib/security/credentials/iam/iam_credentials.h",
963 "src/core/lib/security/credentials/jwt/json_token.h",
964 "src/core/lib/security/credentials/jwt/jwt_credentials.h",
965 "src/core/lib/security/credentials/jwt/jwt_verifier.h",
966 "src/core/lib/security/credentials/oauth2/oauth2_credentials.h",
967 "src/core/lib/security/credentials/plugin/plugin_credentials.h",
968 "src/core/lib/security/credentials/ssl/ssl_credentials.h",
969 "src/core/lib/security/transport/auth_filters.h",
David Garcia Quintas01291502017-02-07 13:26:41 -0800970 "src/core/lib/security/transport/lb_targets_info.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200971 "src/core/lib/security/transport/secure_endpoint.h",
972 "src/core/lib/security/transport/security_connector.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100973 "src/core/lib/security/transport/security_handshaker.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200974 "src/core/lib/security/transport/tsi_error.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200975 "src/core/lib/security/util/json_util.h",
976 ],
977 language = "c",
978 public_hdrs = [
979 "include/grpc/grpc_security.h",
980 ],
981 deps = [
982 "grpc_base",
983 "grpc_transport_chttp2_alpn",
984 "tsi",
985 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200986)
987
988grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200989 name = "grpc_transport_chttp2",
990 srcs = [
991 "src/core/ext/transport/chttp2/transport/bin_decoder.c",
992 "src/core/ext/transport/chttp2/transport/bin_encoder.c",
993 "src/core/ext/transport/chttp2/transport/chttp2_plugin.c",
994 "src/core/ext/transport/chttp2/transport/chttp2_transport.c",
995 "src/core/ext/transport/chttp2/transport/frame_data.c",
996 "src/core/ext/transport/chttp2/transport/frame_goaway.c",
997 "src/core/ext/transport/chttp2/transport/frame_ping.c",
998 "src/core/ext/transport/chttp2/transport/frame_rst_stream.c",
999 "src/core/ext/transport/chttp2/transport/frame_settings.c",
1000 "src/core/ext/transport/chttp2/transport/frame_window_update.c",
1001 "src/core/ext/transport/chttp2/transport/hpack_encoder.c",
1002 "src/core/ext/transport/chttp2/transport/hpack_parser.c",
1003 "src/core/ext/transport/chttp2/transport/hpack_table.c",
murgatroid99a41fd5b2017-04-13 09:56:17 -07001004 "src/core/ext/transport/chttp2/transport/http2_settings.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001005 "src/core/ext/transport/chttp2/transport/huffsyms.c",
1006 "src/core/ext/transport/chttp2/transport/incoming_metadata.c",
1007 "src/core/ext/transport/chttp2/transport/parsing.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001008 "src/core/ext/transport/chttp2/transport/stream_lists.c",
1009 "src/core/ext/transport/chttp2/transport/stream_map.c",
1010 "src/core/ext/transport/chttp2/transport/varint.c",
1011 "src/core/ext/transport/chttp2/transport/writing.c",
1012 ],
1013 hdrs = [
1014 "src/core/ext/transport/chttp2/transport/bin_decoder.h",
1015 "src/core/ext/transport/chttp2/transport/bin_encoder.h",
1016 "src/core/ext/transport/chttp2/transport/chttp2_transport.h",
1017 "src/core/ext/transport/chttp2/transport/frame.h",
1018 "src/core/ext/transport/chttp2/transport/frame_data.h",
1019 "src/core/ext/transport/chttp2/transport/frame_goaway.h",
1020 "src/core/ext/transport/chttp2/transport/frame_ping.h",
1021 "src/core/ext/transport/chttp2/transport/frame_rst_stream.h",
1022 "src/core/ext/transport/chttp2/transport/frame_settings.h",
1023 "src/core/ext/transport/chttp2/transport/frame_window_update.h",
1024 "src/core/ext/transport/chttp2/transport/hpack_encoder.h",
1025 "src/core/ext/transport/chttp2/transport/hpack_parser.h",
1026 "src/core/ext/transport/chttp2/transport/hpack_table.h",
murgatroid99a41fd5b2017-04-13 09:56:17 -07001027 "src/core/ext/transport/chttp2/transport/http2_settings.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001028 "src/core/ext/transport/chttp2/transport/huffsyms.h",
1029 "src/core/ext/transport/chttp2/transport/incoming_metadata.h",
1030 "src/core/ext/transport/chttp2/transport/internal.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001031 "src/core/ext/transport/chttp2/transport/stream_map.h",
1032 "src/core/ext/transport/chttp2/transport/varint.h",
1033 ],
1034 language = "c",
1035 deps = [
1036 "grpc_base",
1037 "grpc_transport_chttp2_alpn",
1038 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001039)
1040
1041grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001042 name = "grpc_transport_chttp2_alpn",
1043 srcs = [
1044 "src/core/ext/transport/chttp2/alpn/alpn.c",
1045 ],
1046 hdrs = [
1047 "src/core/ext/transport/chttp2/alpn/alpn.h",
1048 ],
1049 language = "c",
1050 deps = [
1051 "gpr",
1052 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001053)
1054
1055grpc_cc_library(
David Garcia Quintas01291502017-02-07 13:26:41 -08001056 name = "grpc_transport_chttp2_client_connector",
1057 srcs = [
1058 "src/core/ext/transport/chttp2/client/chttp2_connector.c",
1059 ],
1060 hdrs = [
1061 "src/core/ext/transport/chttp2/client/chttp2_connector.h",
1062 ],
1063 language = "c",
1064 deps = [
1065 "grpc_base",
1066 "grpc_client_channel",
1067 "grpc_transport_chttp2",
1068 ],
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +02001069)
1070
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001071grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001072 name = "grpc_transport_chttp2_client_insecure",
1073 srcs = [
1074 "src/core/ext/transport/chttp2/client/insecure/channel_create.c",
1075 "src/core/ext/transport/chttp2/client/insecure/channel_create_posix.c",
1076 ],
1077 language = "c",
1078 deps = [
1079 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001080 "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001081 "grpc_transport_chttp2",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001082 "grpc_transport_chttp2_client_connector",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001083 ],
Makarand Dharmapurikar38d80552016-06-01 15:02:04 -07001084)
1085
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001086grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001087 name = "grpc_transport_chttp2_client_secure",
1088 srcs = [
1089 "src/core/ext/transport/chttp2/client/secure/secure_channel_create.c",
1090 ],
1091 language = "c",
1092 deps = [
1093 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001094 "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001095 "grpc_secure",
1096 "grpc_transport_chttp2",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001097 "grpc_transport_chttp2_client_connector",
1098 ],
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001099)
1100
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001101grpc_cc_library(
1102 name = "grpc_transport_chttp2_server",
1103 srcs = [
1104 "src/core/ext/transport/chttp2/server/chttp2_server.c",
1105 ],
1106 hdrs = [
1107 "src/core/ext/transport/chttp2/server/chttp2_server.h",
1108 ],
1109 language = "c",
1110 deps = [
1111 "grpc_base",
1112 "grpc_transport_chttp2",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001113 ],
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001114)
1115
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001116grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001117 name = "grpc_transport_chttp2_server_insecure",
1118 srcs = [
1119 "src/core/ext/transport/chttp2/server/insecure/server_chttp2.c",
1120 "src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.c",
1121 ],
1122 language = "c",
1123 deps = [
1124 "grpc_base",
1125 "grpc_transport_chttp2",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001126 "grpc_transport_chttp2_server",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001127 ],
Garrett Casto931a26b2016-10-04 09:18:29 -07001128)
1129
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001130grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001131 name = "grpc_transport_chttp2_server_secure",
1132 srcs = [
1133 "src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.c",
1134 ],
1135 language = "c",
1136 deps = [
1137 "grpc_base",
1138 "grpc_secure",
1139 "grpc_transport_chttp2",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001140 "grpc_transport_chttp2_server",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001141 ],
Yuchen Zengc84ed682016-05-04 16:30:11 -07001142)
1143
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001144grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001145 name = "grpc_transport_cronet_client_secure",
1146 srcs = [
1147 "src/core/ext/transport/cronet/client/secure/cronet_channel_create.c",
1148 "src/core/ext/transport/cronet/transport/cronet_api_dummy.c",
1149 "src/core/ext/transport/cronet/transport/cronet_transport.c",
1150 ],
1151 hdrs = [
Muxi Yan0a2fae92017-02-01 14:49:03 -08001152 "src/core/ext/transport/cronet/transport/cronet_transport.h",
Sree Kuchibhotla43bca1b2017-02-22 16:37:27 -08001153 "third_party/objective_c/Cronet/bidirectional_stream_c.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001154 ],
1155 language = "c",
1156 public_hdrs = [
1157 "include/grpc/grpc_cronet.h",
1158 "include/grpc/grpc_security.h",
1159 "include/grpc/grpc_security_constants.h",
1160 ],
1161 deps = [
1162 "grpc_base",
1163 "grpc_transport_chttp2",
1164 ],
Craig Tiller03915e52016-04-07 09:15:10 -07001165)
1166
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001167grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001168 name = "tsi",
1169 srcs = [
Craig Tiller134fed32017-03-28 14:27:18 -07001170 "src/core/tsi/fake_transport_security.c",
1171 "src/core/tsi/ssl_transport_security.c",
1172 "src/core/tsi/transport_security.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001173 ],
1174 hdrs = [
Craig Tiller134fed32017-03-28 14:27:18 -07001175 "src/core/tsi/fake_transport_security.h",
1176 "src/core/tsi/ssl_transport_security.h",
1177 "src/core/tsi/ssl_types.h",
1178 "src/core/tsi/transport_security.h",
1179 "src/core/tsi/transport_security_interface.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001180 ],
1181 external_deps = [
1182 "libssl",
1183 ],
1184 language = "c",
1185 deps = [
1186 "gpr",
1187 ],
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001188)
1189
Alexander Polcynf5521c32017-04-26 14:18:39 -07001190grpc_cc_library(
1191 name = "grpc++_base",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001192 srcs = [
1193 "src/cpp/client/channel_cc.cc",
1194 "src/cpp/client/client_context.cc",
1195 "src/cpp/client/create_channel.cc",
1196 "src/cpp/client/create_channel_internal.cc",
1197 "src/cpp/client/create_channel_posix.cc",
1198 "src/cpp/client/credentials_cc.cc",
1199 "src/cpp/client/generic_stub.cc",
1200 "src/cpp/common/channel_arguments.cc",
1201 "src/cpp/common/channel_filter.cc",
1202 "src/cpp/common/completion_queue_cc.cc",
1203 "src/cpp/common/core_codegen.cc",
Sree Kuchibhotla43bca1b2017-02-22 16:37:27 -08001204 "src/cpp/common/resource_quota_cc.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001205 "src/cpp/common/rpc_method.cc",
Nicolas "Pixel" Noble24263c32017-01-11 01:03:09 +01001206 "src/cpp/common/version_cc.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001207 "src/cpp/server/async_generic_service.cc",
yang-g9df13b22017-03-16 14:14:18 -07001208 "src/cpp/server/channel_argument_option.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001209 "src/cpp/server/create_default_thread_pool.cc",
1210 "src/cpp/server/dynamic_thread_pool.cc",
yang-g8a7a4462017-01-11 13:13:23 -08001211 "src/cpp/server/health/default_health_check_service.cc",
1212 "src/cpp/server/health/health.pb.c",
1213 "src/cpp/server/health/health_check_service.cc",
1214 "src/cpp/server/health/health_check_service_server_builder_option.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001215 "src/cpp/server/server_builder.cc",
1216 "src/cpp/server/server_cc.cc",
1217 "src/cpp/server/server_context.cc",
1218 "src/cpp/server/server_credentials.cc",
1219 "src/cpp/server/server_posix.cc",
Nicolas "Pixel" Noble24263c32017-01-11 01:03:09 +01001220 "src/cpp/thread_manager/thread_manager.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001221 "src/cpp/util/byte_buffer_cc.cc",
1222 "src/cpp/util/slice_cc.cc",
1223 "src/cpp/util/status.cc",
1224 "src/cpp/util/string_ref.cc",
1225 "src/cpp/util/time_cc.cc",
Alexander Polcynf5521c32017-04-26 14:18:39 -07001226 ],
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001227 hdrs = [
1228 "src/cpp/client/create_channel_internal.h",
1229 "src/cpp/common/channel_filter.h",
1230 "src/cpp/server/dynamic_thread_pool.h",
yang-g850fcb92017-01-11 14:26:15 -08001231 "src/cpp/server/health/default_health_check_service.h",
yang-g8a7a4462017-01-11 13:13:23 -08001232 "src/cpp/server/health/health.pb.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001233 "src/cpp/server/thread_pool_interface.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001234 "src/cpp/thread_manager/thread_manager.h",
Alexander Polcynf5521c32017-04-26 14:18:39 -07001235 ],
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001236 language = "c++",
1237 public_hdrs = [
1238 "include/grpc++/alarm.h",
1239 "include/grpc++/channel.h",
1240 "include/grpc++/client_context.h",
1241 "include/grpc++/completion_queue.h",
1242 "include/grpc++/create_channel.h",
1243 "include/grpc++/create_channel_posix.h",
yang-g113b0942017-01-26 15:40:05 -08001244 "include/grpc++/ext/health_check_service_server_builder_option.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001245 "include/grpc++/generic/async_generic_service.h",
1246 "include/grpc++/generic/generic_stub.h",
1247 "include/grpc++/grpc++.h",
yang-g8fe20bf2017-01-12 10:33:12 -08001248 "include/grpc++/health_check_service_interface.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001249 "include/grpc++/impl/call.h",
yang-g9df13b22017-03-16 14:14:18 -07001250 "include/grpc++/impl/channel_argument_option.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001251 "include/grpc++/impl/client_unary_call.h",
1252 "include/grpc++/impl/codegen/core_codegen.h",
1253 "include/grpc++/impl/grpc_library.h",
1254 "include/grpc++/impl/method_handler_impl.h",
1255 "include/grpc++/impl/rpc_method.h",
1256 "include/grpc++/impl/rpc_service_method.h",
1257 "include/grpc++/impl/serialization_traits.h",
1258 "include/grpc++/impl/server_builder_option.h",
1259 "include/grpc++/impl/server_builder_plugin.h",
1260 "include/grpc++/impl/server_initializer.h",
1261 "include/grpc++/impl/service_type.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001262 "include/grpc++/impl/sync_cxx11.h",
1263 "include/grpc++/impl/sync_no_cxx11.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001264 "include/grpc++/resource_quota.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001265 "include/grpc++/security/auth_context.h",
1266 "include/grpc++/security/auth_metadata_processor.h",
1267 "include/grpc++/security/credentials.h",
1268 "include/grpc++/security/server_credentials.h",
1269 "include/grpc++/server.h",
1270 "include/grpc++/server_builder.h",
1271 "include/grpc++/server_context.h",
1272 "include/grpc++/server_posix.h",
1273 "include/grpc++/support/async_stream.h",
1274 "include/grpc++/support/async_unary_call.h",
1275 "include/grpc++/support/byte_buffer.h",
1276 "include/grpc++/support/channel_arguments.h",
1277 "include/grpc++/support/config.h",
1278 "include/grpc++/support/slice.h",
1279 "include/grpc++/support/status.h",
1280 "include/grpc++/support/status_code_enum.h",
1281 "include/grpc++/support/string_ref.h",
1282 "include/grpc++/support/stub_options.h",
1283 "include/grpc++/support/sync_stream.h",
1284 "include/grpc++/support/time.h",
Alexander Polcynf5521c32017-04-26 14:18:39 -07001285 ],
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001286 deps = [
Alexander Polcynf5521c32017-04-26 14:18:39 -07001287 "grpc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001288 "grpc++_codegen_base",
1289 ],
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001290)
1291
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001292grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001293 name = "grpc++_codegen_base",
1294 language = "c++",
1295 public_hdrs = [
1296 "include/grpc++/impl/codegen/async_stream.h",
1297 "include/grpc++/impl/codegen/async_unary_call.h",
1298 "include/grpc++/impl/codegen/call.h",
1299 "include/grpc++/impl/codegen/call_hook.h",
1300 "include/grpc++/impl/codegen/channel_interface.h",
1301 "include/grpc++/impl/codegen/client_context.h",
1302 "include/grpc++/impl/codegen/client_unary_call.h",
1303 "include/grpc++/impl/codegen/completion_queue.h",
1304 "include/grpc++/impl/codegen/completion_queue_tag.h",
1305 "include/grpc++/impl/codegen/config.h",
1306 "include/grpc++/impl/codegen/core_codegen_interface.h",
1307 "include/grpc++/impl/codegen/create_auth_context.h",
1308 "include/grpc++/impl/codegen/grpc_library.h",
yang-g988b47c2017-01-31 09:51:45 -08001309 "include/grpc++/impl/codegen/metadata_map.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001310 "include/grpc++/impl/codegen/method_handler_impl.h",
1311 "include/grpc++/impl/codegen/rpc_method.h",
1312 "include/grpc++/impl/codegen/rpc_service_method.h",
1313 "include/grpc++/impl/codegen/security/auth_context.h",
1314 "include/grpc++/impl/codegen/serialization_traits.h",
1315 "include/grpc++/impl/codegen/server_context.h",
1316 "include/grpc++/impl/codegen/server_interface.h",
1317 "include/grpc++/impl/codegen/service_type.h",
yang-g988b47c2017-01-31 09:51:45 -08001318 "include/grpc++/impl/codegen/slice.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001319 "include/grpc++/impl/codegen/status.h",
1320 "include/grpc++/impl/codegen/status_code_enum.h",
Alexander Polcynf5521c32017-04-26 14:18:39 -07001321 "include/grpc++/impl/codegen/status_helper.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001322 "include/grpc++/impl/codegen/string_ref.h",
1323 "include/grpc++/impl/codegen/stub_options.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001324 "include/grpc++/impl/codegen/sync_stream.h",
1325 "include/grpc++/impl/codegen/time.h",
1326 ],
1327 deps = [
1328 "grpc_codegen",
1329 ],
Craig Tillerda179ce2016-02-09 12:01:53 -08001330)
1331
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001332grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001333 name = "grpc++_codegen_base_src",
1334 srcs = [
1335 "src/cpp/codegen/codegen_init.cc",
1336 ],
1337 language = "c++",
1338 deps = [
1339 "grpc++_codegen_base",
1340 ],
Jorge Canizales140bca82015-06-20 09:47:00 -07001341)
1342
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001343grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001344 name = "grpc++_codegen_proto",
1345 language = "c++",
1346 public_hdrs = [
1347 "include/grpc++/impl/codegen/proto_utils.h",
1348 ],
1349 deps = [
1350 "grpc++_codegen_base",
1351 "grpc++_config_proto",
1352 ],
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001353)
1354
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001355grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001356 name = "grpc++_config_proto",
David Garcia Quintas5481a582017-02-14 16:11:42 -08001357 external_deps = [
1358 "protobuf",
1359 ],
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001360 language = "c++",
1361 public_hdrs = [
1362 "include/grpc++/impl/codegen/config_protobuf.h",
1363 ],
Jan Tattermusch2d924952015-05-06 10:23:17 -07001364)
1365
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001366grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001367 name = "thrift_util",
1368 language = "c++",
1369 public_hdrs = [
1370 "include/grpc++/impl/codegen/thrift_serializer.h",
1371 "include/grpc++/impl/codegen/thrift_utils.h",
1372 ],
1373 deps = [
1374 "grpc++_codegen_base",
1375 ],
Jorge Canizales50f19822015-06-28 23:48:30 -07001376)
Sree Kuchibhotla43bca1b2017-02-22 16:37:27 -08001377
1378grpc_cc_library(
1379 name = "grpc++_reflection",
1380 srcs = [
1381 "src/cpp/ext/proto_server_reflection.cc",
1382 "src/cpp/ext/proto_server_reflection_plugin.cc",
1383 ],
1384 hdrs = [
1385 "src/cpp/ext/proto_server_reflection.h",
1386 ],
1387 language = "c++",
1388 public_hdrs = [
1389 "include/grpc++/ext/proto_server_reflection_plugin.h",
1390 ],
1391 deps = [
1392 ":grpc++",
1393 "//src/proto/grpc/reflection/v1alpha:reflection_proto",
1394 ],
1395)