blob: 0017b507b29f365fca2833312b5b99c8ddcff616 [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
Sree Kuchibhotlad4fc32e2017-05-02 14:15:12 -070038load(
39 "//bazel:grpc_build_system.bzl",
40 "grpc_cc_library",
41 "grpc_proto_plugin",
42 "grpc_cc_libraries",
43)
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +020044
murgatroid99a41fd5b2017-04-13 09:56:17 -070045# This should be updated along with build.yaml
David Garcia Quintasae64b012017-04-21 16:12:39 -070046g_stands_for = "gregarious"
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +020047
David Garcia Quintasd8cbead2017-03-14 11:05:24 -070048core_version = "3.0.0-dev"
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +020049
David Garcia Quintas9e1acc02017-04-13 16:30:15 -070050version = "1.4.0-dev"
Rob Earhartb7b8d052016-03-29 11:35:29 -070051
Nicolas "Pixel" Noble31d11db2016-10-20 09:29:46 +020052grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +020053 name = "gpr",
54 language = "c",
55 standalone = True,
56 deps = [
57 "gpr_base",
58 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +020059)
60
Vijay Paia8749902017-04-21 16:44:01 +000061grpc_cc_libraries(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +020062 srcs = [
63 "src/core/lib/surface/init.c",
Vijay Paia8749902017-04-21 16:44:01 +000064 ],
Sree Kuchibhotlad4fc32e2017-05-02 14:15:12 -070065 additional_dep_list = [
66 [
67 "grpc_secure",
68 "grpc_resolver_dns_ares",
69 "grpc_lb_policy_grpclb_secure",
70 "grpc_transport_chttp2_client_secure",
71 "grpc_transport_chttp2_server_secure",
72 ],
73 [],
74 ],
Vijay Paia8749902017-04-21 16:44:01 +000075 additional_src_list = [
76 [
77 "src/core/plugin_registry/grpc_plugin_registry.c",
78 ],
79 [
80 "src/core/lib/surface/init_unsecure.c",
81 "src/core/plugin_registry/grpc_unsecure_plugin_registry.c",
82 ],
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +020083 ],
84 language = "c",
Sree Kuchibhotlad4fc32e2017-05-02 14:15:12 -070085 name_list = [
86 "grpc",
87 "grpc_unsecure",
88 ],
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +020089 standalone = True,
90 deps = [
91 "census",
92 "grpc_base",
Sree Kuchibhotlad4fc32e2017-05-02 14:15:12 -070093 "grpc_deadline_filter",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +020094 "grpc_lb_policy_pick_first",
95 "grpc_lb_policy_round_robin",
96 "grpc_load_reporting",
Jan Tattermusch61f729f2017-04-06 17:11:44 +020097 "grpc_max_age_filter",
Sree Kuchibhotlad4fc32e2017-05-02 14:15:12 -070098 "grpc_message_size_filter",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +020099 "grpc_resolver_dns_native",
100 "grpc_resolver_sockaddr",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200101 "grpc_transport_chttp2_client_insecure",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200102 "grpc_transport_chttp2_server_insecure",
Vijay Paia8749902017-04-21 16:44:01 +0000103 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200104)
105
106grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200107 name = "grpc_cronet",
108 srcs = [
109 "src/core/lib/surface/init.c",
110 "src/core/plugin_registry/grpc_cronet_plugin_registry.c",
111 ],
112 language = "c",
113 deps = [
114 "grpc_base",
Sree Kuchibhotlad4fc32e2017-05-02 14:15:12 -0700115 "grpc_http_filters",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200116 "grpc_transport_chttp2_client_secure",
117 "grpc_transport_cronet_client_secure",
118 ],
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",
Vijay Pai576e5462017-04-20 18:40:16 +0000161 "grpc++_base_unsecure",
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",
Sree Kuchibhotlad4fc32e2017-05-02 14:15:12 -0700383 "src/core/lib/support/atomic.h",
384 "src/core/lib/support/atomic_with_atm.h",
385 "src/core/lib/support/atomic_with_std.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200386 "src/core/lib/support/backoff.h",
387 "src/core/lib/support/block_annotate.h",
388 "src/core/lib/support/env.h",
Craig Tillere85e9502017-04-12 08:35:49 -0700389 "src/core/lib/support/memory.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200390 "src/core/lib/support/mpscq.h",
391 "src/core/lib/support/murmur_hash.h",
Craig Tilleredbf2b92017-02-27 07:24:00 -0800392 "src/core/lib/support/spinlock.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200393 "src/core/lib/support/stack_lockfree.h",
394 "src/core/lib/support/string.h",
395 "src/core/lib/support/string_windows.h",
396 "src/core/lib/support/thd_internal.h",
397 "src/core/lib/support/time_precise.h",
398 "src/core/lib/support/tmpfile.h",
399 ],
400 language = "c",
401 public_hdrs = [
402 "include/grpc/support/alloc.h",
403 "include/grpc/support/atm.h",
404 "include/grpc/support/atm_gcc_atomic.h",
405 "include/grpc/support/atm_gcc_sync.h",
406 "include/grpc/support/atm_windows.h",
407 "include/grpc/support/avl.h",
408 "include/grpc/support/cmdline.h",
409 "include/grpc/support/cpu.h",
410 "include/grpc/support/histogram.h",
411 "include/grpc/support/host_port.h",
412 "include/grpc/support/log.h",
413 "include/grpc/support/log_windows.h",
414 "include/grpc/support/port_platform.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200415 "include/grpc/support/string_util.h",
416 "include/grpc/support/subprocess.h",
417 "include/grpc/support/sync.h",
418 "include/grpc/support/sync_generic.h",
419 "include/grpc/support/sync_posix.h",
420 "include/grpc/support/sync_windows.h",
421 "include/grpc/support/thd.h",
422 "include/grpc/support/time.h",
423 "include/grpc/support/tls.h",
424 "include/grpc/support/tls_gcc.h",
425 "include/grpc/support/tls_msvc.h",
426 "include/grpc/support/tls_pthread.h",
427 "include/grpc/support/useful.h",
428 ],
429 deps = [
430 "gpr_codegen",
431 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200432)
433
434grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200435 name = "gpr_codegen",
436 language = "c",
437 public_hdrs = [
438 "include/grpc/impl/codegen/atm.h",
439 "include/grpc/impl/codegen/atm_gcc_atomic.h",
440 "include/grpc/impl/codegen/atm_gcc_sync.h",
441 "include/grpc/impl/codegen/atm_windows.h",
Mark D. Roth348fba22017-01-06 11:07:30 -0800442 "include/grpc/impl/codegen/gpr_slice.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200443 "include/grpc/impl/codegen/gpr_types.h",
444 "include/grpc/impl/codegen/port_platform.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200445 "include/grpc/impl/codegen/sync.h",
446 "include/grpc/impl/codegen/sync_generic.h",
447 "include/grpc/impl/codegen/sync_posix.h",
448 "include/grpc/impl/codegen/sync_windows.h",
449 ],
Craig Tillerda179ce2016-02-09 12:01:53 -0800450)
451
Nicolas "Pixel" Noble31d11db2016-10-20 09:29:46 +0200452grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200453 name = "grpc_base",
454 srcs = [
455 "src/core/lib/channel/channel_args.c",
456 "src/core/lib/channel/channel_stack.c",
457 "src/core/lib/channel/channel_stack_builder.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200458 "src/core/lib/channel/connected_channel.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200459 "src/core/lib/channel/handshaker.c",
Mark D. Roth1f0f23c2017-01-06 13:07:19 -0800460 "src/core/lib/channel/handshaker_factory.c",
461 "src/core/lib/channel/handshaker_registry.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200462 "src/core/lib/compression/compression.c",
463 "src/core/lib/compression/message_compress.c",
464 "src/core/lib/debug/trace.c",
465 "src/core/lib/http/format_request.c",
466 "src/core/lib/http/httpcli.c",
467 "src/core/lib/http/parser.c",
468 "src/core/lib/iomgr/closure.c",
469 "src/core/lib/iomgr/combiner.c",
470 "src/core/lib/iomgr/endpoint.c",
471 "src/core/lib/iomgr/endpoint_pair_posix.c",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200472 "src/core/lib/iomgr/endpoint_pair_uv.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200473 "src/core/lib/iomgr/endpoint_pair_windows.c",
474 "src/core/lib/iomgr/error.c",
475 "src/core/lib/iomgr/ev_epoll_linux.c",
Sree Kuchibhotlad4fc32e2017-05-02 14:15:12 -0700476 "src/core/lib/iomgr/ev_epoll_thread_pool_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",
Craig Tiller85db7792017-04-11 10:46:31 -0700558 "src/core/lib/surface/lame_client.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200559 "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",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200581 "src/core/lib/channel/connected_channel.h",
582 "src/core/lib/channel/context.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200583 "src/core/lib/channel/handshaker.h",
Mark D. Roth1f0f23c2017-01-06 13:07:19 -0800584 "src/core/lib/channel/handshaker_factory.h",
585 "src/core/lib/channel/handshaker_registry.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200586 "src/core/lib/compression/algorithm_metadata.h",
587 "src/core/lib/compression/message_compress.h",
588 "src/core/lib/debug/trace.h",
589 "src/core/lib/http/format_request.h",
590 "src/core/lib/http/httpcli.h",
591 "src/core/lib/http/parser.h",
592 "src/core/lib/iomgr/closure.h",
593 "src/core/lib/iomgr/combiner.h",
594 "src/core/lib/iomgr/endpoint.h",
595 "src/core/lib/iomgr/endpoint_pair.h",
596 "src/core/lib/iomgr/error.h",
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800597 "src/core/lib/iomgr/error_internal.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200598 "src/core/lib/iomgr/ev_epoll_linux.h",
Sree Kuchibhotlad4fc32e2017-05-02 14:15:12 -0700599 "src/core/lib/iomgr/ev_epoll_thread_pool_linux.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200600 "src/core/lib/iomgr/ev_poll_posix.h",
601 "src/core/lib/iomgr/ev_posix.h",
602 "src/core/lib/iomgr/exec_ctx.h",
603 "src/core/lib/iomgr/executor.h",
604 "src/core/lib/iomgr/iocp_windows.h",
605 "src/core/lib/iomgr/iomgr.h",
606 "src/core/lib/iomgr/iomgr_internal.h",
607 "src/core/lib/iomgr/iomgr_posix.h",
608 "src/core/lib/iomgr/load_file.h",
Jan Tattermusch43713e62017-04-12 09:20:29 +0200609 "src/core/lib/iomgr/lockfree_event.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200610 "src/core/lib/iomgr/network_status_tracker.h",
611 "src/core/lib/iomgr/polling_entity.h",
612 "src/core/lib/iomgr/pollset.h",
613 "src/core/lib/iomgr/pollset_set.h",
614 "src/core/lib/iomgr/pollset_set_windows.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200615 "src/core/lib/iomgr/pollset_uv.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200616 "src/core/lib/iomgr/pollset_windows.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200617 "src/core/lib/iomgr/port.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200618 "src/core/lib/iomgr/resolve_address.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100619 "src/core/lib/iomgr/resource_quota.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200620 "src/core/lib/iomgr/sockaddr.h",
621 "src/core/lib/iomgr/sockaddr_posix.h",
622 "src/core/lib/iomgr/sockaddr_utils.h",
623 "src/core/lib/iomgr/sockaddr_windows.h",
Michael Warresc46b3eb2017-02-22 22:57:04 -0500624 "src/core/lib/iomgr/socket_factory_posix.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100625 "src/core/lib/iomgr/socket_mutator.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200626 "src/core/lib/iomgr/socket_utils.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200627 "src/core/lib/iomgr/socket_utils_posix.h",
628 "src/core/lib/iomgr/socket_windows.h",
629 "src/core/lib/iomgr/tcp_client.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100630 "src/core/lib/iomgr/tcp_client_posix.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200631 "src/core/lib/iomgr/tcp_posix.h",
632 "src/core/lib/iomgr/tcp_server.h",
Yuchen Zeng47155ed2017-03-13 17:18:07 -0700633 "src/core/lib/iomgr/tcp_server_utils_posix.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200634 "src/core/lib/iomgr/tcp_uv.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200635 "src/core/lib/iomgr/tcp_windows.h",
636 "src/core/lib/iomgr/time_averaged_stats.h",
637 "src/core/lib/iomgr/timer.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200638 "src/core/lib/iomgr/timer_generic.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200639 "src/core/lib/iomgr/timer_heap.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200640 "src/core/lib/iomgr/timer_uv.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200641 "src/core/lib/iomgr/udp_server.h",
642 "src/core/lib/iomgr/unix_sockets_posix.h",
643 "src/core/lib/iomgr/wakeup_fd_cv.h",
644 "src/core/lib/iomgr/wakeup_fd_pipe.h",
645 "src/core/lib/iomgr/wakeup_fd_posix.h",
646 "src/core/lib/iomgr/workqueue.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200647 "src/core/lib/iomgr/workqueue_uv.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200648 "src/core/lib/iomgr/workqueue_windows.h",
649 "src/core/lib/json/json.h",
650 "src/core/lib/json/json_common.h",
651 "src/core/lib/json/json_reader.h",
652 "src/core/lib/json/json_writer.h",
Craig Tiller29b527f2017-03-30 10:27:20 -0700653 "src/core/lib/slice/b64.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100654 "src/core/lib/slice/percent_encoding.h",
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800655 "src/core/lib/slice/slice_hash_table.h",
Craig Tiller3ca60192017-01-04 14:41:29 -0800656 "src/core/lib/slice/slice_internal.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100657 "src/core/lib/slice/slice_string_helpers.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200658 "src/core/lib/surface/api_trace.h",
659 "src/core/lib/surface/call.h",
660 "src/core/lib/surface/call_test_only.h",
661 "src/core/lib/surface/channel.h",
662 "src/core/lib/surface/channel_init.h",
663 "src/core/lib/surface/channel_stack_type.h",
664 "src/core/lib/surface/completion_queue.h",
Sree Kuchibhotlaf6c20262017-03-21 18:52:19 -0700665 "src/core/lib/surface/completion_queue_factory.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200666 "src/core/lib/surface/event_string.h",
667 "src/core/lib/surface/init.h",
668 "src/core/lib/surface/lame_client.h",
669 "src/core/lib/surface/server.h",
David Garcia Quintas01291502017-02-07 13:26:41 -0800670 "src/core/lib/surface/validate_metadata.h",
David Garcia Quintas5481a582017-02-14 16:11:42 -0800671 "src/core/lib/transport/bdp_estimator.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200672 "src/core/lib/transport/byte_stream.h",
673 "src/core/lib/transport/connectivity_state.h",
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800674 "src/core/lib/transport/error_utils.h",
675 "src/core/lib/transport/http2_errors.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200676 "src/core/lib/transport/metadata.h",
677 "src/core/lib/transport/metadata_batch.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100678 "src/core/lib/transport/pid_controller.h",
679 "src/core/lib/transport/service_config.h",
680 "src/core/lib/transport/static_metadata.h",
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800681 "src/core/lib/transport/status_conversion.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200682 "src/core/lib/transport/timeout_encoding.h",
683 "src/core/lib/transport/transport.h",
684 "src/core/lib/transport/transport_impl.h",
685 ],
686 external_deps = [
687 "zlib",
688 ],
689 language = "c",
690 public_hdrs = [
691 "include/grpc/byte_buffer.h",
692 "include/grpc/byte_buffer_reader.h",
693 "include/grpc/compression.h",
David Garcia Quintas5481a582017-02-14 16:11:42 -0800694 "include/grpc/load_reporting.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200695 "include/grpc/grpc.h",
696 "include/grpc/grpc_posix.h",
697 "include/grpc/grpc_security_constants.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100698 "include/grpc/slice.h",
699 "include/grpc/slice_buffer.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200700 "include/grpc/status.h",
701 ],
702 deps = [
703 "gpr_base",
704 "grpc_codegen",
705 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200706)
707
708grpc_cc_library(
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100709 name = "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200710 srcs = [
Craig Tiller9eb0fde2017-03-31 16:59:30 -0700711 "src/core/ext/filters/client_channel/channel_connectivity.c",
712 "src/core/ext/filters/client_channel/client_channel.c",
713 "src/core/ext/filters/client_channel/client_channel_factory.c",
714 "src/core/ext/filters/client_channel/client_channel_plugin.c",
715 "src/core/ext/filters/client_channel/connector.c",
716 "src/core/ext/filters/client_channel/http_connect_handshaker.c",
717 "src/core/ext/filters/client_channel/http_proxy.c",
718 "src/core/ext/filters/client_channel/lb_policy.c",
719 "src/core/ext/filters/client_channel/lb_policy_factory.c",
720 "src/core/ext/filters/client_channel/lb_policy_registry.c",
721 "src/core/ext/filters/client_channel/parse_address.c",
722 "src/core/ext/filters/client_channel/proxy_mapper.c",
723 "src/core/ext/filters/client_channel/proxy_mapper_registry.c",
724 "src/core/ext/filters/client_channel/resolver.c",
725 "src/core/ext/filters/client_channel/resolver_factory.c",
726 "src/core/ext/filters/client_channel/resolver_registry.c",
727 "src/core/ext/filters/client_channel/retry_throttle.c",
728 "src/core/ext/filters/client_channel/subchannel.c",
729 "src/core/ext/filters/client_channel/subchannel_index.c",
730 "src/core/ext/filters/client_channel/uri_parser.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200731 ],
732 hdrs = [
Craig Tiller9eb0fde2017-03-31 16:59:30 -0700733 "src/core/ext/filters/client_channel/client_channel.h",
734 "src/core/ext/filters/client_channel/client_channel_factory.h",
735 "src/core/ext/filters/client_channel/connector.h",
736 "src/core/ext/filters/client_channel/http_connect_handshaker.h",
737 "src/core/ext/filters/client_channel/http_proxy.h",
738 "src/core/ext/filters/client_channel/lb_policy.h",
739 "src/core/ext/filters/client_channel/lb_policy_factory.h",
740 "src/core/ext/filters/client_channel/lb_policy_registry.h",
741 "src/core/ext/filters/client_channel/parse_address.h",
742 "src/core/ext/filters/client_channel/proxy_mapper.h",
743 "src/core/ext/filters/client_channel/proxy_mapper_registry.h",
744 "src/core/ext/filters/client_channel/resolver.h",
745 "src/core/ext/filters/client_channel/resolver_factory.h",
746 "src/core/ext/filters/client_channel/resolver_registry.h",
747 "src/core/ext/filters/client_channel/retry_throttle.h",
748 "src/core/ext/filters/client_channel/subchannel.h",
749 "src/core/ext/filters/client_channel/subchannel_index.h",
750 "src/core/ext/filters/client_channel/uri_parser.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200751 ],
David Garcia Quintas01291502017-02-07 13:26:41 -0800752 language = "c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200753 deps = [
754 "grpc_base",
Craig Tillerdcd24e42017-04-06 10:47:46 -0700755 "grpc_deadline_filter",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200756 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200757)
758
759grpc_cc_library(
Craig Tiller6b97e532017-04-03 12:56:23 -0700760 name = "grpc_max_age_filter",
761 srcs = [
762 "src/core/ext/filters/max_age/max_age_filter.c",
763 ],
764 hdrs = [
765 "src/core/ext/filters/max_age/max_age_filter.h",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200766 ],
767 language = "c",
768 deps = [
769 "grpc_base",
770 ],
771)
772
773grpc_cc_library(
Craig Tiller3be7dd02017-04-03 14:30:03 -0700774 name = "grpc_deadline_filter",
775 srcs = [
776 "src/core/ext/filters/deadline/deadline_filter.c",
777 ],
778 hdrs = [
779 "src/core/ext/filters/deadline/deadline_filter.h",
780 ],
781 language = "c",
782 deps = [
783 "grpc_base",
784 ],
785)
786
787grpc_cc_library(
Craig Tiller6461c342017-04-03 13:00:31 -0700788 name = "grpc_message_size_filter",
789 srcs = [
790 "src/core/ext/filters/message_size/message_size_filter.c",
791 ],
792 hdrs = [
793 "src/core/ext/filters/message_size/message_size_filter.h",
794 ],
795 language = "c",
796 deps = [
797 "grpc_base",
798 ],
799)
800
801grpc_cc_library(
Craig Tilleraf767432017-04-03 13:54:31 -0700802 name = "grpc_http_filters",
Craig Tilleraf767432017-04-03 13:54:31 -0700803 srcs = [
Craig Tilleraf767432017-04-03 13:54:31 -0700804 "src/core/ext/filters/http/client/http_client_filter.c",
Sree Kuchibhotlad4fc32e2017-05-02 14:15:12 -0700805 "src/core/ext/filters/http/http_filters_plugin.c",
806 "src/core/ext/filters/http/message_compress/message_compress_filter.c",
Craig Tilleraf767432017-04-03 13:54:31 -0700807 "src/core/ext/filters/http/server/http_server_filter.c",
Sree Kuchibhotlad4fc32e2017-05-02 14:15:12 -0700808 ],
809 hdrs = [
810 "src/core/ext/filters/http/client/http_client_filter.h",
811 "src/core/ext/filters/http/message_compress/message_compress_filter.h",
812 "src/core/ext/filters/http/server/http_server_filter.h",
Craig Tilleraf767432017-04-03 13:54:31 -0700813 ],
814 language = "c",
815 deps = [
816 "grpc_base",
817 ],
818)
819
820grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200821 name = "grpc_codegen",
822 language = "c",
823 public_hdrs = [
824 "include/grpc/impl/codegen/byte_buffer_reader.h",
825 "include/grpc/impl/codegen/compression_types.h",
826 "include/grpc/impl/codegen/connectivity_state.h",
Craig Tiller3ca60192017-01-04 14:41:29 -0800827 "include/grpc/impl/codegen/exec_ctx_fwd.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200828 "include/grpc/impl/codegen/grpc_types.h",
829 "include/grpc/impl/codegen/propagation_bits.h",
830 "include/grpc/impl/codegen/status.h",
Craig Tiller0d32f2f2017-03-30 10:50:29 -0700831 "include/grpc/impl/codegen/slice.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200832 ],
833 deps = [
834 "gpr_codegen",
835 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200836)
837
838grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200839 name = "grpc_lb_policy_grpclb",
840 srcs = [
Mark D. Roth09e458c2017-05-02 08:13:26 -0700841 "src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.c",
Craig Tiller9eb0fde2017-03-31 16:59:30 -0700842 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.c",
843 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.c",
Mark D. Roth09e458c2017-05-02 08:13:26 -0700844 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.c",
Craig Tiller9eb0fde2017-03-31 16:59:30 -0700845 "src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.c",
846 "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 +0200847 ],
848 hdrs = [
Mark D. Roth09e458c2017-05-02 08:13:26 -0700849 "src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.h",
Craig Tiller9eb0fde2017-03-31 16:59:30 -0700850 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.h",
851 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.h",
Mark D. Roth09e458c2017-05-02 08:13:26 -0700852 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.h",
Craig Tiller9eb0fde2017-03-31 16:59:30 -0700853 "src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.h",
854 "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 +0200855 ],
856 external_deps = [
857 "nanopb",
858 ],
859 language = "c",
860 deps = [
861 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100862 "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200863 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200864)
865
866grpc_cc_library(
David Garcia Quintas01291502017-02-07 13:26:41 -0800867 name = "grpc_lb_policy_grpclb_secure",
868 srcs = [
Mark D. Roth09e458c2017-05-02 08:13:26 -0700869 "src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.c",
Craig Tiller9eb0fde2017-03-31 16:59:30 -0700870 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.c",
871 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel_secure.c",
Mark D. Roth09e458c2017-05-02 08:13:26 -0700872 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.c",
Craig Tiller9eb0fde2017-03-31 16:59:30 -0700873 "src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.c",
874 "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 -0800875 ],
876 hdrs = [
Mark D. Roth09e458c2017-05-02 08:13:26 -0700877 "src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.h",
Craig Tiller9eb0fde2017-03-31 16:59:30 -0700878 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.h",
879 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.h",
Mark D. Roth09e458c2017-05-02 08:13:26 -0700880 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.h",
Craig Tiller9eb0fde2017-03-31 16:59:30 -0700881 "src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.h",
882 "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 -0800883 ],
884 external_deps = [
885 "nanopb",
886 ],
887 language = "c",
888 deps = [
889 "grpc_base",
890 "grpc_client_channel",
891 "grpc_secure",
892 ],
893)
894
895grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200896 name = "grpc_lb_policy_pick_first",
897 srcs = [
Craig Tiller9eb0fde2017-03-31 16:59:30 -0700898 "src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200899 ],
900 language = "c",
901 deps = [
902 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100903 "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200904 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200905)
906
907grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200908 name = "grpc_lb_policy_round_robin",
909 srcs = [
Craig Tiller9eb0fde2017-03-31 16:59:30 -0700910 "src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200911 ],
912 language = "c",
913 deps = [
914 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100915 "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200916 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200917)
918
919grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200920 name = "grpc_load_reporting",
921 srcs = [
Craig Tiller9eb0fde2017-03-31 16:59:30 -0700922 "src/core/ext/filters/load_reporting/load_reporting.c",
923 "src/core/ext/filters/load_reporting/load_reporting_filter.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200924 ],
925 hdrs = [
Craig Tiller9eb0fde2017-03-31 16:59:30 -0700926 "src/core/ext/filters/load_reporting/load_reporting.h",
927 "src/core/ext/filters/load_reporting/load_reporting_filter.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200928 ],
929 language = "c",
930 deps = [
931 "grpc_base",
932 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200933)
934
935grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200936 name = "grpc_resolver_dns_native",
937 srcs = [
Craig Tiller9eb0fde2017-03-31 16:59:30 -0700938 "src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200939 ],
940 language = "c",
941 deps = [
942 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100943 "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200944 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200945)
946
947grpc_cc_library(
Yuchen Zeng4c702ed2017-01-23 10:30:10 -0800948 name = "grpc_resolver_dns_ares",
949 srcs = [
Craig Tiller9eb0fde2017-03-31 16:59:30 -0700950 "src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.c",
951 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.c",
952 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.c",
Yuchen Zeng4c702ed2017-01-23 10:30:10 -0800953 ],
954 hdrs = [
Craig Tiller9eb0fde2017-03-31 16:59:30 -0700955 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.h",
956 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.h",
Yuchen Zeng4c702ed2017-01-23 10:30:10 -0800957 ],
Jan Tattermusch61f729f2017-04-06 17:11:44 +0200958 external_deps = [
959 "cares",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200960 ],
Yuchen Zeng4c702ed2017-01-23 10:30:10 -0800961 language = "c",
962 deps = [
963 "grpc_base",
964 "grpc_client_channel",
965 ],
Yuchen Zeng4c702ed2017-01-23 10:30:10 -0800966)
967
968grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200969 name = "grpc_resolver_sockaddr",
970 srcs = [
Craig Tiller9eb0fde2017-03-31 16:59:30 -0700971 "src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200972 ],
973 language = "c",
974 deps = [
975 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100976 "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200977 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200978)
979
980grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200981 name = "grpc_secure",
982 srcs = [
983 "src/core/lib/http/httpcli_security_connector.c",
984 "src/core/lib/security/context/security_context.c",
985 "src/core/lib/security/credentials/composite/composite_credentials.c",
986 "src/core/lib/security/credentials/credentials.c",
987 "src/core/lib/security/credentials/credentials_metadata.c",
988 "src/core/lib/security/credentials/fake/fake_credentials.c",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100989 "src/core/lib/security/credentials/google_default/credentials_generic.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200990 "src/core/lib/security/credentials/google_default/google_default_credentials.c",
991 "src/core/lib/security/credentials/iam/iam_credentials.c",
992 "src/core/lib/security/credentials/jwt/json_token.c",
993 "src/core/lib/security/credentials/jwt/jwt_credentials.c",
994 "src/core/lib/security/credentials/jwt/jwt_verifier.c",
995 "src/core/lib/security/credentials/oauth2/oauth2_credentials.c",
996 "src/core/lib/security/credentials/plugin/plugin_credentials.c",
997 "src/core/lib/security/credentials/ssl/ssl_credentials.c",
998 "src/core/lib/security/transport/client_auth_filter.c",
David Garcia Quintas01291502017-02-07 13:26:41 -0800999 "src/core/lib/security/transport/lb_targets_info.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001000 "src/core/lib/security/transport/secure_endpoint.c",
1001 "src/core/lib/security/transport/security_connector.c",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001002 "src/core/lib/security/transport/security_handshaker.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001003 "src/core/lib/security/transport/server_auth_filter.c",
1004 "src/core/lib/security/transport/tsi_error.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001005 "src/core/lib/security/util/json_util.c",
1006 "src/core/lib/surface/init_secure.c",
1007 ],
1008 hdrs = [
1009 "src/core/lib/security/context/security_context.h",
1010 "src/core/lib/security/credentials/composite/composite_credentials.h",
1011 "src/core/lib/security/credentials/credentials.h",
1012 "src/core/lib/security/credentials/fake/fake_credentials.h",
1013 "src/core/lib/security/credentials/google_default/google_default_credentials.h",
1014 "src/core/lib/security/credentials/iam/iam_credentials.h",
1015 "src/core/lib/security/credentials/jwt/json_token.h",
1016 "src/core/lib/security/credentials/jwt/jwt_credentials.h",
1017 "src/core/lib/security/credentials/jwt/jwt_verifier.h",
1018 "src/core/lib/security/credentials/oauth2/oauth2_credentials.h",
1019 "src/core/lib/security/credentials/plugin/plugin_credentials.h",
1020 "src/core/lib/security/credentials/ssl/ssl_credentials.h",
1021 "src/core/lib/security/transport/auth_filters.h",
David Garcia Quintas01291502017-02-07 13:26:41 -08001022 "src/core/lib/security/transport/lb_targets_info.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001023 "src/core/lib/security/transport/secure_endpoint.h",
1024 "src/core/lib/security/transport/security_connector.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001025 "src/core/lib/security/transport/security_handshaker.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001026 "src/core/lib/security/transport/tsi_error.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001027 "src/core/lib/security/util/json_util.h",
1028 ],
1029 language = "c",
1030 public_hdrs = [
1031 "include/grpc/grpc_security.h",
1032 ],
1033 deps = [
1034 "grpc_base",
1035 "grpc_transport_chttp2_alpn",
1036 "tsi",
1037 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001038)
1039
1040grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001041 name = "grpc_transport_chttp2",
1042 srcs = [
1043 "src/core/ext/transport/chttp2/transport/bin_decoder.c",
1044 "src/core/ext/transport/chttp2/transport/bin_encoder.c",
1045 "src/core/ext/transport/chttp2/transport/chttp2_plugin.c",
1046 "src/core/ext/transport/chttp2/transport/chttp2_transport.c",
1047 "src/core/ext/transport/chttp2/transport/frame_data.c",
1048 "src/core/ext/transport/chttp2/transport/frame_goaway.c",
1049 "src/core/ext/transport/chttp2/transport/frame_ping.c",
1050 "src/core/ext/transport/chttp2/transport/frame_rst_stream.c",
1051 "src/core/ext/transport/chttp2/transport/frame_settings.c",
1052 "src/core/ext/transport/chttp2/transport/frame_window_update.c",
1053 "src/core/ext/transport/chttp2/transport/hpack_encoder.c",
1054 "src/core/ext/transport/chttp2/transport/hpack_parser.c",
1055 "src/core/ext/transport/chttp2/transport/hpack_table.c",
murgatroid99a41fd5b2017-04-13 09:56:17 -07001056 "src/core/ext/transport/chttp2/transport/http2_settings.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001057 "src/core/ext/transport/chttp2/transport/huffsyms.c",
1058 "src/core/ext/transport/chttp2/transport/incoming_metadata.c",
1059 "src/core/ext/transport/chttp2/transport/parsing.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001060 "src/core/ext/transport/chttp2/transport/stream_lists.c",
1061 "src/core/ext/transport/chttp2/transport/stream_map.c",
1062 "src/core/ext/transport/chttp2/transport/varint.c",
1063 "src/core/ext/transport/chttp2/transport/writing.c",
1064 ],
1065 hdrs = [
1066 "src/core/ext/transport/chttp2/transport/bin_decoder.h",
1067 "src/core/ext/transport/chttp2/transport/bin_encoder.h",
1068 "src/core/ext/transport/chttp2/transport/chttp2_transport.h",
1069 "src/core/ext/transport/chttp2/transport/frame.h",
1070 "src/core/ext/transport/chttp2/transport/frame_data.h",
1071 "src/core/ext/transport/chttp2/transport/frame_goaway.h",
1072 "src/core/ext/transport/chttp2/transport/frame_ping.h",
1073 "src/core/ext/transport/chttp2/transport/frame_rst_stream.h",
1074 "src/core/ext/transport/chttp2/transport/frame_settings.h",
1075 "src/core/ext/transport/chttp2/transport/frame_window_update.h",
1076 "src/core/ext/transport/chttp2/transport/hpack_encoder.h",
1077 "src/core/ext/transport/chttp2/transport/hpack_parser.h",
1078 "src/core/ext/transport/chttp2/transport/hpack_table.h",
murgatroid99a41fd5b2017-04-13 09:56:17 -07001079 "src/core/ext/transport/chttp2/transport/http2_settings.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001080 "src/core/ext/transport/chttp2/transport/huffsyms.h",
1081 "src/core/ext/transport/chttp2/transport/incoming_metadata.h",
1082 "src/core/ext/transport/chttp2/transport/internal.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001083 "src/core/ext/transport/chttp2/transport/stream_map.h",
1084 "src/core/ext/transport/chttp2/transport/varint.h",
1085 ],
1086 language = "c",
1087 deps = [
1088 "grpc_base",
Craig Tilleraf767432017-04-03 13:54:31 -07001089 "grpc_http_filters",
Sree Kuchibhotlad4fc32e2017-05-02 14:15:12 -07001090 "grpc_transport_chttp2_alpn",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001091 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001092)
1093
1094grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001095 name = "grpc_transport_chttp2_alpn",
1096 srcs = [
1097 "src/core/ext/transport/chttp2/alpn/alpn.c",
1098 ],
1099 hdrs = [
1100 "src/core/ext/transport/chttp2/alpn/alpn.h",
1101 ],
1102 language = "c",
1103 deps = [
1104 "gpr",
1105 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001106)
1107
1108grpc_cc_library(
David Garcia Quintas01291502017-02-07 13:26:41 -08001109 name = "grpc_transport_chttp2_client_connector",
1110 srcs = [
1111 "src/core/ext/transport/chttp2/client/chttp2_connector.c",
1112 ],
1113 hdrs = [
1114 "src/core/ext/transport/chttp2/client/chttp2_connector.h",
1115 ],
1116 language = "c",
1117 deps = [
1118 "grpc_base",
1119 "grpc_client_channel",
1120 "grpc_transport_chttp2",
1121 ],
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +02001122)
1123
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001124grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001125 name = "grpc_transport_chttp2_client_insecure",
1126 srcs = [
1127 "src/core/ext/transport/chttp2/client/insecure/channel_create.c",
1128 "src/core/ext/transport/chttp2/client/insecure/channel_create_posix.c",
1129 ],
1130 language = "c",
1131 deps = [
1132 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001133 "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001134 "grpc_transport_chttp2",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001135 "grpc_transport_chttp2_client_connector",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001136 ],
Makarand Dharmapurikar38d80552016-06-01 15:02:04 -07001137)
1138
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001139grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001140 name = "grpc_transport_chttp2_client_secure",
1141 srcs = [
1142 "src/core/ext/transport/chttp2/client/secure/secure_channel_create.c",
1143 ],
1144 language = "c",
1145 deps = [
1146 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001147 "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001148 "grpc_secure",
1149 "grpc_transport_chttp2",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001150 "grpc_transport_chttp2_client_connector",
1151 ],
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001152)
1153
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001154grpc_cc_library(
1155 name = "grpc_transport_chttp2_server",
1156 srcs = [
1157 "src/core/ext/transport/chttp2/server/chttp2_server.c",
1158 ],
1159 hdrs = [
1160 "src/core/ext/transport/chttp2/server/chttp2_server.h",
1161 ],
1162 language = "c",
1163 deps = [
1164 "grpc_base",
1165 "grpc_transport_chttp2",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001166 ],
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001167)
1168
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001169grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001170 name = "grpc_transport_chttp2_server_insecure",
1171 srcs = [
1172 "src/core/ext/transport/chttp2/server/insecure/server_chttp2.c",
1173 "src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.c",
1174 ],
1175 language = "c",
1176 deps = [
1177 "grpc_base",
1178 "grpc_transport_chttp2",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001179 "grpc_transport_chttp2_server",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001180 ],
Garrett Casto931a26b2016-10-04 09:18:29 -07001181)
1182
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001183grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001184 name = "grpc_transport_chttp2_server_secure",
1185 srcs = [
1186 "src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.c",
1187 ],
1188 language = "c",
1189 deps = [
1190 "grpc_base",
1191 "grpc_secure",
1192 "grpc_transport_chttp2",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001193 "grpc_transport_chttp2_server",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001194 ],
Yuchen Zengc84ed682016-05-04 16:30:11 -07001195)
1196
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001197grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001198 name = "grpc_transport_cronet_client_secure",
1199 srcs = [
1200 "src/core/ext/transport/cronet/client/secure/cronet_channel_create.c",
1201 "src/core/ext/transport/cronet/transport/cronet_api_dummy.c",
1202 "src/core/ext/transport/cronet/transport/cronet_transport.c",
1203 ],
1204 hdrs = [
Muxi Yan0a2fae92017-02-01 14:49:03 -08001205 "src/core/ext/transport/cronet/transport/cronet_transport.h",
Sree Kuchibhotla43bca1b2017-02-22 16:37:27 -08001206 "third_party/objective_c/Cronet/bidirectional_stream_c.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001207 ],
1208 language = "c",
1209 public_hdrs = [
1210 "include/grpc/grpc_cronet.h",
1211 "include/grpc/grpc_security.h",
1212 "include/grpc/grpc_security_constants.h",
1213 ],
1214 deps = [
1215 "grpc_base",
1216 "grpc_transport_chttp2",
1217 ],
Craig Tiller03915e52016-04-07 09:15:10 -07001218)
1219
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001220grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001221 name = "tsi",
1222 srcs = [
Craig Tiller134fed32017-03-28 14:27:18 -07001223 "src/core/tsi/fake_transport_security.c",
1224 "src/core/tsi/ssl_transport_security.c",
1225 "src/core/tsi/transport_security.c",
jiangtaoli2016e69881d2017-04-10 14:29:43 -07001226 "src/core/tsi/transport_security_adapter.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001227 ],
1228 hdrs = [
Craig Tiller134fed32017-03-28 14:27:18 -07001229 "src/core/tsi/fake_transport_security.h",
1230 "src/core/tsi/ssl_transport_security.h",
1231 "src/core/tsi/ssl_types.h",
1232 "src/core/tsi/transport_security.h",
jiangtaoli2016e69881d2017-04-10 14:29:43 -07001233 "src/core/tsi/transport_security_adapter.h",
Craig Tiller134fed32017-03-28 14:27:18 -07001234 "src/core/tsi/transport_security_interface.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001235 ],
1236 external_deps = [
1237 "libssl",
1238 ],
1239 language = "c",
1240 deps = [
1241 "gpr",
1242 ],
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001243)
1244
Vijay Pai576e5462017-04-20 18:40:16 +00001245grpc_cc_libraries(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001246 srcs = [
1247 "src/cpp/client/channel_cc.cc",
1248 "src/cpp/client/client_context.cc",
1249 "src/cpp/client/create_channel.cc",
1250 "src/cpp/client/create_channel_internal.cc",
1251 "src/cpp/client/create_channel_posix.cc",
1252 "src/cpp/client/credentials_cc.cc",
1253 "src/cpp/client/generic_stub.cc",
1254 "src/cpp/common/channel_arguments.cc",
1255 "src/cpp/common/channel_filter.cc",
1256 "src/cpp/common/completion_queue_cc.cc",
1257 "src/cpp/common/core_codegen.cc",
Sree Kuchibhotla43bca1b2017-02-22 16:37:27 -08001258 "src/cpp/common/resource_quota_cc.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001259 "src/cpp/common/rpc_method.cc",
Nicolas "Pixel" Noble24263c32017-01-11 01:03:09 +01001260 "src/cpp/common/version_cc.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001261 "src/cpp/server/async_generic_service.cc",
yang-g9df13b22017-03-16 14:14:18 -07001262 "src/cpp/server/channel_argument_option.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001263 "src/cpp/server/create_default_thread_pool.cc",
1264 "src/cpp/server/dynamic_thread_pool.cc",
yang-g8a7a4462017-01-11 13:13:23 -08001265 "src/cpp/server/health/default_health_check_service.cc",
1266 "src/cpp/server/health/health.pb.c",
1267 "src/cpp/server/health/health_check_service.cc",
1268 "src/cpp/server/health/health_check_service_server_builder_option.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001269 "src/cpp/server/server_builder.cc",
1270 "src/cpp/server/server_cc.cc",
1271 "src/cpp/server/server_context.cc",
1272 "src/cpp/server/server_credentials.cc",
1273 "src/cpp/server/server_posix.cc",
Nicolas "Pixel" Noble24263c32017-01-11 01:03:09 +01001274 "src/cpp/thread_manager/thread_manager.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001275 "src/cpp/util/byte_buffer_cc.cc",
1276 "src/cpp/util/slice_cc.cc",
1277 "src/cpp/util/status.cc",
1278 "src/cpp/util/string_ref.cc",
1279 "src/cpp/util/time_cc.cc",
Sree Kuchibhotlad4fc32e2017-05-02 14:15:12 -07001280 ],
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001281 hdrs = [
1282 "src/cpp/client/create_channel_internal.h",
1283 "src/cpp/common/channel_filter.h",
1284 "src/cpp/server/dynamic_thread_pool.h",
yang-g850fcb92017-01-11 14:26:15 -08001285 "src/cpp/server/health/default_health_check_service.h",
yang-g8a7a4462017-01-11 13:13:23 -08001286 "src/cpp/server/health/health.pb.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001287 "src/cpp/server/thread_pool_interface.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001288 "src/cpp/thread_manager/thread_manager.h",
Sree Kuchibhotlad4fc32e2017-05-02 14:15:12 -07001289 ],
1290 additional_dep_list = [
1291 ["grpc"],
1292 ["grpc_unsecure"],
1293 ],
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001294 language = "c++",
Sree Kuchibhotlad4fc32e2017-05-02 14:15:12 -07001295 name_list = [
1296 "grpc++_base",
1297 "grpc++_base_unsecure",
1298 ],
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001299 public_hdrs = [
1300 "include/grpc++/alarm.h",
1301 "include/grpc++/channel.h",
1302 "include/grpc++/client_context.h",
1303 "include/grpc++/completion_queue.h",
1304 "include/grpc++/create_channel.h",
1305 "include/grpc++/create_channel_posix.h",
yang-g113b0942017-01-26 15:40:05 -08001306 "include/grpc++/ext/health_check_service_server_builder_option.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001307 "include/grpc++/generic/async_generic_service.h",
1308 "include/grpc++/generic/generic_stub.h",
1309 "include/grpc++/grpc++.h",
yang-g8fe20bf2017-01-12 10:33:12 -08001310 "include/grpc++/health_check_service_interface.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001311 "include/grpc++/impl/call.h",
yang-g9df13b22017-03-16 14:14:18 -07001312 "include/grpc++/impl/channel_argument_option.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001313 "include/grpc++/impl/client_unary_call.h",
1314 "include/grpc++/impl/codegen/core_codegen.h",
1315 "include/grpc++/impl/grpc_library.h",
1316 "include/grpc++/impl/method_handler_impl.h",
1317 "include/grpc++/impl/rpc_method.h",
1318 "include/grpc++/impl/rpc_service_method.h",
1319 "include/grpc++/impl/serialization_traits.h",
1320 "include/grpc++/impl/server_builder_option.h",
1321 "include/grpc++/impl/server_builder_plugin.h",
1322 "include/grpc++/impl/server_initializer.h",
1323 "include/grpc++/impl/service_type.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001324 "include/grpc++/impl/sync_cxx11.h",
1325 "include/grpc++/impl/sync_no_cxx11.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001326 "include/grpc++/resource_quota.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001327 "include/grpc++/security/auth_context.h",
1328 "include/grpc++/security/auth_metadata_processor.h",
1329 "include/grpc++/security/credentials.h",
1330 "include/grpc++/security/server_credentials.h",
1331 "include/grpc++/server.h",
1332 "include/grpc++/server_builder.h",
1333 "include/grpc++/server_context.h",
1334 "include/grpc++/server_posix.h",
1335 "include/grpc++/support/async_stream.h",
1336 "include/grpc++/support/async_unary_call.h",
1337 "include/grpc++/support/byte_buffer.h",
1338 "include/grpc++/support/channel_arguments.h",
1339 "include/grpc++/support/config.h",
1340 "include/grpc++/support/slice.h",
1341 "include/grpc++/support/status.h",
1342 "include/grpc++/support/status_code_enum.h",
1343 "include/grpc++/support/string_ref.h",
1344 "include/grpc++/support/stub_options.h",
1345 "include/grpc++/support/sync_stream.h",
1346 "include/grpc++/support/time.h",
Sree Kuchibhotlad4fc32e2017-05-02 14:15:12 -07001347 ],
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001348 deps = [
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001349 "grpc++_codegen_base",
1350 ],
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001351)
1352
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001353grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001354 name = "grpc++_codegen_base",
1355 language = "c++",
1356 public_hdrs = [
1357 "include/grpc++/impl/codegen/async_stream.h",
1358 "include/grpc++/impl/codegen/async_unary_call.h",
1359 "include/grpc++/impl/codegen/call.h",
1360 "include/grpc++/impl/codegen/call_hook.h",
1361 "include/grpc++/impl/codegen/channel_interface.h",
1362 "include/grpc++/impl/codegen/client_context.h",
1363 "include/grpc++/impl/codegen/client_unary_call.h",
1364 "include/grpc++/impl/codegen/completion_queue.h",
1365 "include/grpc++/impl/codegen/completion_queue_tag.h",
1366 "include/grpc++/impl/codegen/config.h",
1367 "include/grpc++/impl/codegen/core_codegen_interface.h",
1368 "include/grpc++/impl/codegen/create_auth_context.h",
1369 "include/grpc++/impl/codegen/grpc_library.h",
yang-g988b47c2017-01-31 09:51:45 -08001370 "include/grpc++/impl/codegen/metadata_map.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001371 "include/grpc++/impl/codegen/method_handler_impl.h",
1372 "include/grpc++/impl/codegen/rpc_method.h",
1373 "include/grpc++/impl/codegen/rpc_service_method.h",
1374 "include/grpc++/impl/codegen/security/auth_context.h",
1375 "include/grpc++/impl/codegen/serialization_traits.h",
1376 "include/grpc++/impl/codegen/server_context.h",
1377 "include/grpc++/impl/codegen/server_interface.h",
1378 "include/grpc++/impl/codegen/service_type.h",
yang-g988b47c2017-01-31 09:51:45 -08001379 "include/grpc++/impl/codegen/slice.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001380 "include/grpc++/impl/codegen/status.h",
1381 "include/grpc++/impl/codegen/status_code_enum.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001382 "include/grpc++/impl/codegen/string_ref.h",
1383 "include/grpc++/impl/codegen/stub_options.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001384 "include/grpc++/impl/codegen/sync_stream.h",
1385 "include/grpc++/impl/codegen/time.h",
1386 ],
1387 deps = [
1388 "grpc_codegen",
1389 ],
Craig Tillerda179ce2016-02-09 12:01:53 -08001390)
1391
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001392grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001393 name = "grpc++_codegen_base_src",
1394 srcs = [
1395 "src/cpp/codegen/codegen_init.cc",
1396 ],
1397 language = "c++",
1398 deps = [
1399 "grpc++_codegen_base",
1400 ],
Jorge Canizales140bca82015-06-20 09:47:00 -07001401)
1402
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001403grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001404 name = "grpc++_codegen_proto",
1405 language = "c++",
1406 public_hdrs = [
1407 "include/grpc++/impl/codegen/proto_utils.h",
1408 ],
1409 deps = [
1410 "grpc++_codegen_base",
1411 "grpc++_config_proto",
1412 ],
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001413)
1414
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001415grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001416 name = "grpc++_config_proto",
David Garcia Quintas5481a582017-02-14 16:11:42 -08001417 external_deps = [
1418 "protobuf",
1419 ],
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001420 language = "c++",
1421 public_hdrs = [
1422 "include/grpc++/impl/codegen/config_protobuf.h",
1423 ],
Jan Tattermusch2d924952015-05-06 10:23:17 -07001424)
1425
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001426grpc_cc_library(
Sree Kuchibhotla43bca1b2017-02-22 16:37:27 -08001427 name = "grpc++_reflection",
1428 srcs = [
1429 "src/cpp/ext/proto_server_reflection.cc",
1430 "src/cpp/ext/proto_server_reflection_plugin.cc",
1431 ],
1432 hdrs = [
1433 "src/cpp/ext/proto_server_reflection.h",
1434 ],
1435 language = "c++",
1436 public_hdrs = [
1437 "include/grpc++/ext/proto_server_reflection_plugin.h",
1438 ],
1439 deps = [
1440 ":grpc++",
1441 "//src/proto/grpc/reflection/v1alpha:reflection_proto",
1442 ],
1443)