blob: 5c2e2f976a357ed74ada1bc99ae76b45e9635095 [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#
Jan Tattermusch7897ae92017-06-07 22:57:36 +02003# Copyright 2016 gRPC authors.
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +02004#
Jan Tattermusch7897ae92017-06-07 22:57:36 +02005# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +02008#
Jan Tattermusch7897ae92017-06-07 22:57:36 +02009# http://www.apache.org/licenses/LICENSE-2.0
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +020010#
Jan Tattermusch7897ae92017-06-07 22:57:36 +020011# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +020016
Jan Tattermusch4d5c3102017-06-07 10:23:56 +020017licenses(["notice"]) # Apache v2
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +020018
Piotr Sikora12e26a72016-08-04 15:32:10 -070019exports_files(["LICENSE"])
20
Nicolas "Pixel" Noble2b0f0012017-04-24 19:59:19 +020021package(
22 default_visibility = ["//visibility:public"],
23 features = [
24 "-layering_check",
25 "-parse_headers",
26 ],
27)
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +020028
Sree Kuchibhotlad4fc32e2017-05-02 14:15:12 -070029load(
30 "//bazel:grpc_build_system.bzl",
31 "grpc_cc_library",
32 "grpc_proto_plugin",
Nicolas "Pixel" Noble057b5382017-05-12 17:02:01 +020033 "grpc_generate_one_off_targets",
Sree Kuchibhotlad4fc32e2017-05-02 14:15:12 -070034)
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +020035
murgatroid99a41fd5b2017-04-13 09:56:17 -070036# This should be updated along with build.yaml
David Garcia Quintasae64b012017-04-21 16:12:39 -070037g_stands_for = "gregarious"
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +020038
David Garcia Quintasaebcdbd2017-05-30 14:14:27 -070039core_version = "4.0.0-dev"
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +020040
David Garcia Quintasaebcdbd2017-05-30 14:14:27 -070041version = "1.5.0-dev"
Rob Earhartb7b8d052016-03-29 11:35:29 -070042
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +020043GPR_PUBLIC_HDRS = [
44 "include/grpc/support/alloc.h",
45 "include/grpc/support/atm.h",
46 "include/grpc/support/atm_gcc_atomic.h",
47 "include/grpc/support/atm_gcc_sync.h",
48 "include/grpc/support/atm_windows.h",
49 "include/grpc/support/avl.h",
50 "include/grpc/support/cmdline.h",
51 "include/grpc/support/cpu.h",
52 "include/grpc/support/histogram.h",
53 "include/grpc/support/host_port.h",
54 "include/grpc/support/log.h",
55 "include/grpc/support/log_windows.h",
56 "include/grpc/support/port_platform.h",
57 "include/grpc/support/string_util.h",
58 "include/grpc/support/subprocess.h",
59 "include/grpc/support/sync.h",
60 "include/grpc/support/sync_generic.h",
61 "include/grpc/support/sync_posix.h",
62 "include/grpc/support/sync_windows.h",
63 "include/grpc/support/thd.h",
64 "include/grpc/support/time.h",
65 "include/grpc/support/tls.h",
66 "include/grpc/support/tls_gcc.h",
67 "include/grpc/support/tls_msvc.h",
68 "include/grpc/support/tls_pthread.h",
69 "include/grpc/support/useful.h",
70]
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +020071
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +020072GRPC_PUBLIC_HDRS = [
73 "include/grpc/byte_buffer.h",
74 "include/grpc/byte_buffer_reader.h",
75 "include/grpc/compression.h",
76 "include/grpc/load_reporting.h",
77 "include/grpc/grpc.h",
78 "include/grpc/grpc_posix.h",
79 "include/grpc/grpc_security_constants.h",
80 "include/grpc/slice.h",
81 "include/grpc/slice_buffer.h",
82 "include/grpc/status.h",
83 "include/grpc/support/workaround_list.h",
84]
Craig Tillereb2c1bc2017-05-15 08:18:25 -070085
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +020086GRPC_SECURE_PUBLIC_HDRS = [
87 "include/grpc/grpc_security.h",
88]
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +020089
Nicolas "Pixel" Noble86ac5962017-05-31 20:23:41 +020090# TODO(ctiller): layer grpc atop grpc_unsecure, layer grpc++ atop grpc++_unsecure
91GRPCXX_SRCS = [
92 "src/cpp/client/channel_cc.cc",
93 "src/cpp/client/client_context.cc",
94 "src/cpp/client/create_channel.cc",
95 "src/cpp/client/create_channel_internal.cc",
96 "src/cpp/client/create_channel_posix.cc",
97 "src/cpp/client/credentials_cc.cc",
98 "src/cpp/client/generic_stub.cc",
99 "src/cpp/common/channel_arguments.cc",
100 "src/cpp/common/channel_filter.cc",
101 "src/cpp/common/completion_queue_cc.cc",
102 "src/cpp/common/core_codegen.cc",
103 "src/cpp/common/resource_quota_cc.cc",
104 "src/cpp/common/rpc_method.cc",
105 "src/cpp/common/version_cc.cc",
106 "src/cpp/server/async_generic_service.cc",
107 "src/cpp/server/channel_argument_option.cc",
108 "src/cpp/server/create_default_thread_pool.cc",
109 "src/cpp/server/dynamic_thread_pool.cc",
110 "src/cpp/server/health/default_health_check_service.cc",
111 "src/cpp/server/health/health.pb.c",
112 "src/cpp/server/health/health_check_service.cc",
113 "src/cpp/server/health/health_check_service_server_builder_option.cc",
114 "src/cpp/server/server_builder.cc",
115 "src/cpp/server/server_cc.cc",
116 "src/cpp/server/server_context.cc",
117 "src/cpp/server/server_credentials.cc",
118 "src/cpp/server/server_posix.cc",
119 "src/cpp/thread_manager/thread_manager.cc",
120 "src/cpp/util/byte_buffer_cc.cc",
121 "src/cpp/util/slice_cc.cc",
122 "src/cpp/util/status.cc",
123 "src/cpp/util/string_ref.cc",
124 "src/cpp/util/time_cc.cc",
125]
126
127GRPCXX_HDRS = [
128 "src/cpp/client/create_channel_internal.h",
129 "src/cpp/common/channel_filter.h",
130 "src/cpp/server/dynamic_thread_pool.h",
131 "src/cpp/server/health/default_health_check_service.h",
132 "src/cpp/server/health/health.pb.h",
133 "src/cpp/server/thread_pool_interface.h",
134 "src/cpp/thread_manager/thread_manager.h",
135]
136
137GRPCXX_PUBLIC_HDRS = [
138 "include/grpc++/alarm.h",
139 "include/grpc++/channel.h",
140 "include/grpc++/client_context.h",
141 "include/grpc++/completion_queue.h",
142 "include/grpc++/create_channel.h",
143 "include/grpc++/create_channel_posix.h",
144 "include/grpc++/ext/health_check_service_server_builder_option.h",
145 "include/grpc++/generic/async_generic_service.h",
146 "include/grpc++/generic/generic_stub.h",
147 "include/grpc++/grpc++.h",
148 "include/grpc++/health_check_service_interface.h",
149 "include/grpc++/impl/call.h",
150 "include/grpc++/impl/channel_argument_option.h",
151 "include/grpc++/impl/client_unary_call.h",
152 "include/grpc++/impl/codegen/core_codegen.h",
153 "include/grpc++/impl/grpc_library.h",
154 "include/grpc++/impl/method_handler_impl.h",
155 "include/grpc++/impl/rpc_method.h",
156 "include/grpc++/impl/rpc_service_method.h",
157 "include/grpc++/impl/serialization_traits.h",
158 "include/grpc++/impl/server_builder_option.h",
159 "include/grpc++/impl/server_builder_plugin.h",
160 "include/grpc++/impl/server_initializer.h",
161 "include/grpc++/impl/service_type.h",
162 "include/grpc++/impl/sync_cxx11.h",
163 "include/grpc++/impl/sync_no_cxx11.h",
164 "include/grpc++/resource_quota.h",
165 "include/grpc++/security/auth_context.h",
166 "include/grpc++/security/auth_metadata_processor.h",
167 "include/grpc++/security/credentials.h",
168 "include/grpc++/security/server_credentials.h",
169 "include/grpc++/server.h",
170 "include/grpc++/server_builder.h",
171 "include/grpc++/server_context.h",
172 "include/grpc++/server_posix.h",
173 "include/grpc++/support/async_stream.h",
174 "include/grpc++/support/async_unary_call.h",
175 "include/grpc++/support/byte_buffer.h",
176 "include/grpc++/support/channel_arguments.h",
177 "include/grpc++/support/config.h",
178 "include/grpc++/support/slice.h",
179 "include/grpc++/support/status.h",
180 "include/grpc++/support/status_code_enum.h",
181 "include/grpc++/support/string_ref.h",
182 "include/grpc++/support/stub_options.h",
183 "include/grpc++/support/sync_stream.h",
184 "include/grpc++/support/time.h",
185]
186
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +0200187grpc_cc_library(
188 name = "gpr",
189 language = "c",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +0200190 public_hdrs = GPR_PUBLIC_HDRS,
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +0200191 standalone = True,
192 deps = [
193 "gpr_base",
194 ],
195)
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +0200196
197grpc_cc_library(
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +0200198 name = "grpc_unsecure",
199 srcs = [
Nicolas "Pixel" Noble31d11db2016-10-20 09:29:46 +0200200 "src/core/lib/surface/init.c",
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +0200201 "src/core/lib/surface/init_unsecure.c",
Nicolas "Pixel" Noble31d11db2016-10-20 09:29:46 +0200202 "src/core/plugin_registry/grpc_unsecure_plugin_registry.c",
203 ],
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +0200204 language = "c",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +0200205 public_hdrs = GRPC_PUBLIC_HDRS,
Nicolas "Pixel" Noble31d11db2016-10-20 09:29:46 +0200206 standalone = True,
Craig Tillerda179ce2016-02-09 12:01:53 -0800207 deps = [
208 "grpc_common",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200209 ],
210)
211
212grpc_cc_library(
213 name = "grpc",
214 srcs = [
215 "src/core/lib/surface/init.c",
216 "src/core/plugin_registry/grpc_plugin_registry.c",
217 ],
218 language = "c",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +0200219 public_hdrs = GRPC_PUBLIC_HDRS + GRPC_SECURE_PUBLIC_HDRS,
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200220 standalone = True,
221 deps = [
222 "grpc_common",
223 "grpc_lb_policy_grpclb_secure",
224 "grpc_resolver_dns_ares",
225 "grpc_secure",
226 "grpc_transport_chttp2_client_secure",
227 "grpc_transport_chttp2_server_secure",
228 ],
229)
230
231grpc_cc_library(
232 name = "grpc_cronet",
233 srcs = [
234 "src/core/lib/surface/init.c",
235 "src/core/plugin_registry/grpc_cronet_plugin_registry.c",
236 ],
237 language = "c",
238 deps = [
239 "grpc_base",
240 "grpc_http_filters",
241 "grpc_transport_chttp2_client_secure",
242 "grpc_transport_cronet_client_secure",
243 ],
244)
245
246grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200247 name = "grpc++",
248 srcs = [
249 "src/cpp/client/insecure_credentials.cc",
250 "src/cpp/client/secure_credentials.cc",
251 "src/cpp/common/auth_property_iterator.cc",
252 "src/cpp/common/secure_auth_context.cc",
253 "src/cpp/common/secure_channel_arguments.cc",
254 "src/cpp/common/secure_create_auth_context.cc",
255 "src/cpp/server/insecure_server_credentials.cc",
256 "src/cpp/server/secure_server_credentials.cc",
257 ],
258 hdrs = [
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200259 "src/cpp/client/secure_credentials.h",
260 "src/cpp/common/secure_auth_context.h",
261 "src/cpp/server/secure_server_credentials.h",
262 ],
263 language = "c++",
Nicolas "Pixel" Noble86ac5962017-05-31 20:23:41 +0200264 public_hdrs = GRPCXX_PUBLIC_HDRS,
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200265 standalone = True,
266 deps = [
267 "gpr",
268 "grpc",
269 "grpc++_base",
270 "grpc++_codegen_base",
271 "grpc++_codegen_base_src",
Jan Tattermuschaead5aa2017-02-10 11:00:29 -0800272 "grpc++_codegen_proto",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200273 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200274)
275
276grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200277 name = "grpc++_unsecure",
278 srcs = [
279 "src/cpp/client/insecure_credentials.cc",
280 "src/cpp/common/insecure_create_auth_context.cc",
281 "src/cpp/server/insecure_server_credentials.cc",
282 ],
283 language = "c++",
284 standalone = True,
285 deps = [
286 "gpr",
Vijay Pai576e5462017-04-20 18:40:16 +0000287 "grpc++_base_unsecure",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200288 "grpc++_codegen_base",
289 "grpc++_codegen_base_src",
290 "grpc_unsecure",
291 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200292)
293
294grpc_cc_library(
yang-geceec8e2017-04-10 11:58:44 -0700295 name = "grpc++_error_details",
296 srcs = [
297 "src/cpp/util/error_details.cc",
298 ],
299 hdrs = [
300 "include/grpc++/support/error_details.h",
301 ],
302 language = "c++",
303 standalone = True,
304 deps = [
305 "grpc++",
306 "//src/proto/grpc/status:status_proto",
307 ],
308)
309
310grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200311 name = "grpc_plugin_support",
312 srcs = [
313 "src/compiler/cpp_generator.cc",
314 "src/compiler/csharp_generator.cc",
315 "src/compiler/node_generator.cc",
316 "src/compiler/objective_c_generator.cc",
317 "src/compiler/php_generator.cc",
318 "src/compiler/python_generator.cc",
319 "src/compiler/ruby_generator.cc",
320 ],
321 hdrs = [
322 "src/compiler/config.h",
323 "src/compiler/cpp_generator.h",
324 "src/compiler/cpp_generator_helpers.h",
325 "src/compiler/csharp_generator.h",
326 "src/compiler/csharp_generator_helpers.h",
327 "src/compiler/generator_helpers.h",
328 "src/compiler/node_generator.h",
329 "src/compiler/node_generator_helpers.h",
330 "src/compiler/objective_c_generator.h",
331 "src/compiler/objective_c_generator_helpers.h",
332 "src/compiler/php_generator.h",
333 "src/compiler/php_generator_helpers.h",
Jan Tattermusch61f729f2017-04-06 17:11:44 +0200334 "src/compiler/protobuf_plugin.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200335 "src/compiler/python_generator.h",
Harsh Vardhan3cbc6ad2017-02-07 13:09:16 +0530336 "src/compiler/python_generator_helpers.h",
337 "src/compiler/python_private_generator.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200338 "src/compiler/ruby_generator.h",
339 "src/compiler/ruby_generator_helpers-inl.h",
340 "src/compiler/ruby_generator_map-inl.h",
341 "src/compiler/ruby_generator_string-inl.h",
Jan Tattermusch61f729f2017-04-06 17:11:44 +0200342 "src/compiler/schema_interface.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200343 ],
344 external_deps = [
Nicolas "Pixel" Noble4dc64312016-10-20 23:07:37 +0200345 "protobuf_clib",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200346 ],
347 language = "c++",
348 deps = [
349 "grpc++_config_proto",
350 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200351)
352
Nicolas "Pixel" Noble4dc64312016-10-20 23:07:37 +0200353grpc_proto_plugin(
354 name = "grpc_cpp_plugin",
355 srcs = ["src/compiler/cpp_plugin.cc"],
356 deps = [":grpc_plugin_support"],
357)
358
359grpc_proto_plugin(
360 name = "grpc_csharp_plugin",
361 srcs = ["src/compiler/csharp_plugin.cc"],
362 deps = [":grpc_plugin_support"],
363)
364
365grpc_proto_plugin(
366 name = "grpc_node_plugin",
367 srcs = ["src/compiler/node_plugin.cc"],
368 deps = [":grpc_plugin_support"],
369)
370
371grpc_proto_plugin(
372 name = "grpc_objective_c_plugin",
373 srcs = ["src/compiler/objective_c_plugin.cc"],
374 deps = [":grpc_plugin_support"],
375)
376
377grpc_proto_plugin(
378 name = "grpc_php_plugin",
379 srcs = ["src/compiler/php_plugin.cc"],
380 deps = [":grpc_plugin_support"],
381)
382
383grpc_proto_plugin(
384 name = "grpc_python_plugin",
385 srcs = ["src/compiler/python_plugin.cc"],
386 deps = [":grpc_plugin_support"],
387)
388
389grpc_proto_plugin(
390 name = "grpc_ruby_plugin",
391 srcs = ["src/compiler/ruby_plugin.cc"],
392 deps = [":grpc_plugin_support"],
393)
394
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200395grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200396 name = "grpc_csharp_ext",
397 srcs = [
398 "src/csharp/ext/grpc_csharp_ext.c",
399 ],
400 language = "csharp",
401 deps = [
402 "gpr",
403 "grpc",
404 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200405)
406
407grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200408 name = "census",
409 srcs = [
410 "src/core/ext/census/base_resources.c",
411 "src/core/ext/census/context.c",
412 "src/core/ext/census/gen/census.pb.c",
413 "src/core/ext/census/gen/trace_context.pb.c",
414 "src/core/ext/census/grpc_context.c",
415 "src/core/ext/census/grpc_filter.c",
416 "src/core/ext/census/grpc_plugin.c",
417 "src/core/ext/census/initialize.c",
Vizerai0359e122017-04-28 20:06:58 -0700418 "src/core/ext/census/intrusive_hash_map.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200419 "src/core/ext/census/mlog.c",
420 "src/core/ext/census/operation.c",
421 "src/core/ext/census/placeholders.c",
422 "src/core/ext/census/resource.c",
423 "src/core/ext/census/trace_context.c",
424 "src/core/ext/census/tracing.c",
425 ],
426 hdrs = [
427 "src/core/ext/census/aggregation.h",
428 "src/core/ext/census/base_resources.h",
429 "src/core/ext/census/census_interface.h",
430 "src/core/ext/census/census_rpc_stats.h",
431 "src/core/ext/census/gen/census.pb.h",
432 "src/core/ext/census/gen/trace_context.pb.h",
433 "src/core/ext/census/grpc_filter.h",
Vizerai26e85fe2017-04-28 21:20:34 -0700434 "src/core/ext/census/intrusive_hash_map.h",
Vizeraic1947ef2017-05-23 16:13:25 -0700435 "src/core/ext/census/intrusive_hash_map_internal.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200436 "src/core/ext/census/mlog.h",
437 "src/core/ext/census/resource.h",
438 "src/core/ext/census/rpc_metric_id.h",
439 "src/core/ext/census/trace_context.h",
Vizerai2b939832017-01-19 13:12:11 -0800440 "src/core/ext/census/trace_label.h",
441 "src/core/ext/census/trace_propagation.h",
442 "src/core/ext/census/trace_status.h",
443 "src/core/ext/census/trace_string.h",
444 "src/core/ext/census/tracing.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200445 ],
446 external_deps = [
447 "nanopb",
Vizeraib0b86d72017-01-25 13:45:54 -0800448 "libssl",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200449 ],
450 language = "c",
451 public_hdrs = [
452 "include/grpc/census.h",
453 ],
454 deps = [
455 "grpc_base",
456 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200457)
458
459grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200460 name = "gpr_base",
461 srcs = [
462 "src/core/lib/profiling/basic_timers.c",
463 "src/core/lib/profiling/stap_timers.c",
464 "src/core/lib/support/alloc.c",
Sree Kuchibhotlaf6c20262017-03-21 18:52:19 -0700465 "src/core/lib/support/arena.c",
Mark D. Rothfecba532017-03-17 09:50:48 -0700466 "src/core/lib/support/atm.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200467 "src/core/lib/support/avl.c",
468 "src/core/lib/support/backoff.c",
469 "src/core/lib/support/cmdline.c",
470 "src/core/lib/support/cpu_iphone.c",
471 "src/core/lib/support/cpu_linux.c",
472 "src/core/lib/support/cpu_posix.c",
473 "src/core/lib/support/cpu_windows.c",
474 "src/core/lib/support/env_linux.c",
475 "src/core/lib/support/env_posix.c",
476 "src/core/lib/support/env_windows.c",
477 "src/core/lib/support/histogram.c",
478 "src/core/lib/support/host_port.c",
479 "src/core/lib/support/log.c",
480 "src/core/lib/support/log_android.c",
481 "src/core/lib/support/log_linux.c",
482 "src/core/lib/support/log_posix.c",
483 "src/core/lib/support/log_windows.c",
484 "src/core/lib/support/mpscq.c",
485 "src/core/lib/support/murmur_hash.c",
Ken Paysona4710a02017-07-10 16:49:59 -0700486 "src/core/lib/support/stack_lockfree.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200487 "src/core/lib/support/string.c",
488 "src/core/lib/support/string_posix.c",
489 "src/core/lib/support/string_util_windows.c",
490 "src/core/lib/support/string_windows.c",
491 "src/core/lib/support/subprocess_posix.c",
492 "src/core/lib/support/subprocess_windows.c",
493 "src/core/lib/support/sync.c",
494 "src/core/lib/support/sync_posix.c",
495 "src/core/lib/support/sync_windows.c",
496 "src/core/lib/support/thd.c",
497 "src/core/lib/support/thd_posix.c",
498 "src/core/lib/support/thd_windows.c",
499 "src/core/lib/support/time.c",
500 "src/core/lib/support/time_posix.c",
501 "src/core/lib/support/time_precise.c",
502 "src/core/lib/support/time_windows.c",
503 "src/core/lib/support/tls_pthread.c",
504 "src/core/lib/support/tmpfile_msys.c",
505 "src/core/lib/support/tmpfile_posix.c",
506 "src/core/lib/support/tmpfile_windows.c",
507 "src/core/lib/support/wrap_memcpy.c",
508 ],
509 hdrs = [
510 "src/core/lib/profiling/timers.h",
Michael Warresc46b3eb2017-02-22 22:57:04 -0500511 "src/core/lib/support/arena.h",
Sree Kuchibhotlad4fc32e2017-05-02 14:15:12 -0700512 "src/core/lib/support/atomic.h",
513 "src/core/lib/support/atomic_with_atm.h",
514 "src/core/lib/support/atomic_with_std.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200515 "src/core/lib/support/backoff.h",
516 "src/core/lib/support/block_annotate.h",
517 "src/core/lib/support/env.h",
Craig Tillere85e9502017-04-12 08:35:49 -0700518 "src/core/lib/support/memory.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200519 "src/core/lib/support/mpscq.h",
520 "src/core/lib/support/murmur_hash.h",
Craig Tilleredbf2b92017-02-27 07:24:00 -0800521 "src/core/lib/support/spinlock.h",
Ken Paysona4710a02017-07-10 16:49:59 -0700522 "src/core/lib/support/stack_lockfree.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200523 "src/core/lib/support/string.h",
524 "src/core/lib/support/string_windows.h",
525 "src/core/lib/support/thd_internal.h",
526 "src/core/lib/support/time_precise.h",
527 "src/core/lib/support/tmpfile.h",
528 ],
529 language = "c",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +0200530 public_hdrs = GPR_PUBLIC_HDRS,
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200531 deps = [
532 "gpr_codegen",
533 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200534)
535
536grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200537 name = "gpr_codegen",
538 language = "c",
539 public_hdrs = [
540 "include/grpc/impl/codegen/atm.h",
541 "include/grpc/impl/codegen/atm_gcc_atomic.h",
542 "include/grpc/impl/codegen/atm_gcc_sync.h",
543 "include/grpc/impl/codegen/atm_windows.h",
Mark D. Roth348fba22017-01-06 11:07:30 -0800544 "include/grpc/impl/codegen/gpr_slice.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200545 "include/grpc/impl/codegen/gpr_types.h",
546 "include/grpc/impl/codegen/port_platform.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200547 "include/grpc/impl/codegen/sync.h",
548 "include/grpc/impl/codegen/sync_generic.h",
549 "include/grpc/impl/codegen/sync_posix.h",
550 "include/grpc/impl/codegen/sync_windows.h",
551 ],
Craig Tillerda179ce2016-02-09 12:01:53 -0800552)
553
Nicolas "Pixel" Noble31d11db2016-10-20 09:29:46 +0200554grpc_cc_library(
Craig Tiller1f477302017-05-05 11:01:25 -0700555 name = "grpc_trace",
556 srcs = ["src/core/lib/debug/trace.c"],
557 hdrs = ["src/core/lib/debug/trace.h"],
Nicolas "Pixel" Noble86ac5962017-05-31 20:23:41 +0200558 language = "c",
Craig Tiller1f477302017-05-05 11:01:25 -0700559 deps = [":gpr"],
560)
561
562grpc_cc_library(
Craig Tiller832c6072017-05-11 14:38:05 -0700563 name = "grpc_base_c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200564 srcs = [
565 "src/core/lib/channel/channel_args.c",
566 "src/core/lib/channel/channel_stack.c",
567 "src/core/lib/channel/channel_stack_builder.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200568 "src/core/lib/channel/connected_channel.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200569 "src/core/lib/channel/handshaker.c",
Mark D. Roth1f0f23c2017-01-06 13:07:19 -0800570 "src/core/lib/channel/handshaker_factory.c",
571 "src/core/lib/channel/handshaker_registry.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200572 "src/core/lib/compression/compression.c",
573 "src/core/lib/compression/message_compress.c",
Muxi Yane8714b92017-07-13 10:10:30 -0700574 "src/core/lib/compression/stream_compression.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200575 "src/core/lib/http/format_request.c",
576 "src/core/lib/http/httpcli.c",
577 "src/core/lib/http/parser.c",
578 "src/core/lib/iomgr/closure.c",
579 "src/core/lib/iomgr/combiner.c",
580 "src/core/lib/iomgr/endpoint.c",
581 "src/core/lib/iomgr/endpoint_pair_posix.c",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200582 "src/core/lib/iomgr/endpoint_pair_uv.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200583 "src/core/lib/iomgr/endpoint_pair_windows.c",
584 "src/core/lib/iomgr/error.c",
Craig Tiller18545a32017-05-05 17:33:44 +0000585 "src/core/lib/iomgr/ev_epoll1_linux.c",
Craig Tiller7188c9d2017-05-05 13:27:02 -0700586 "src/core/lib/iomgr/ev_epoll_limited_pollers_linux.c",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700587 "src/core/lib/iomgr/ev_epoll_thread_pool_linux.c",
588 "src/core/lib/iomgr/ev_epollex_linux.c",
589 "src/core/lib/iomgr/ev_epollsig_linux.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200590 "src/core/lib/iomgr/ev_poll_posix.c",
591 "src/core/lib/iomgr/ev_posix.c",
Jan Tattermusch9eef67d2017-05-12 09:43:32 +0200592 "src/core/lib/iomgr/ev_windows.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200593 "src/core/lib/iomgr/exec_ctx.c",
594 "src/core/lib/iomgr/executor.c",
595 "src/core/lib/iomgr/iocp_windows.c",
596 "src/core/lib/iomgr/iomgr.c",
597 "src/core/lib/iomgr/iomgr_posix.c",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100598 "src/core/lib/iomgr/iomgr_uv.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200599 "src/core/lib/iomgr/iomgr_windows.c",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700600 "src/core/lib/iomgr/is_epollexclusive_available.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200601 "src/core/lib/iomgr/load_file.c",
Jan Tattermusch43713e62017-04-12 09:20:29 +0200602 "src/core/lib/iomgr/lockfree_event.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200603 "src/core/lib/iomgr/network_status_tracker.c",
604 "src/core/lib/iomgr/polling_entity.c",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100605 "src/core/lib/iomgr/pollset_set_uv.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200606 "src/core/lib/iomgr/pollset_set_windows.c",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100607 "src/core/lib/iomgr/pollset_uv.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200608 "src/core/lib/iomgr/pollset_windows.c",
609 "src/core/lib/iomgr/resolve_address_posix.c",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100610 "src/core/lib/iomgr/resolve_address_uv.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200611 "src/core/lib/iomgr/resolve_address_windows.c",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100612 "src/core/lib/iomgr/resource_quota.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200613 "src/core/lib/iomgr/sockaddr_utils.c",
Michael Warresc46b3eb2017-02-22 22:57:04 -0500614 "src/core/lib/iomgr/socket_factory_posix.c",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100615 "src/core/lib/iomgr/socket_mutator.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200616 "src/core/lib/iomgr/socket_utils_common_posix.c",
617 "src/core/lib/iomgr/socket_utils_linux.c",
618 "src/core/lib/iomgr/socket_utils_posix.c",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100619 "src/core/lib/iomgr/socket_utils_uv.c",
620 "src/core/lib/iomgr/socket_utils_windows.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200621 "src/core/lib/iomgr/socket_windows.c",
622 "src/core/lib/iomgr/tcp_client_posix.c",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100623 "src/core/lib/iomgr/tcp_client_uv.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200624 "src/core/lib/iomgr/tcp_client_windows.c",
625 "src/core/lib/iomgr/tcp_posix.c",
626 "src/core/lib/iomgr/tcp_server_posix.c",
Yuchen Zeng68745bb2017-03-14 17:51:07 -0700627 "src/core/lib/iomgr/tcp_server_utils_posix_common.c",
Yuchen Zeng47155ed2017-03-13 17:18:07 -0700628 "src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.c",
629 "src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.c",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100630 "src/core/lib/iomgr/tcp_server_uv.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200631 "src/core/lib/iomgr/tcp_server_windows.c",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100632 "src/core/lib/iomgr/tcp_uv.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200633 "src/core/lib/iomgr/tcp_windows.c",
634 "src/core/lib/iomgr/time_averaged_stats.c",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100635 "src/core/lib/iomgr/timer_generic.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200636 "src/core/lib/iomgr/timer_heap.c",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700637 "src/core/lib/iomgr/timer_manager.c",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100638 "src/core/lib/iomgr/timer_uv.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200639 "src/core/lib/iomgr/udp_server.c",
640 "src/core/lib/iomgr/unix_sockets_posix.c",
641 "src/core/lib/iomgr/unix_sockets_posix_noop.c",
642 "src/core/lib/iomgr/wakeup_fd_cv.c",
643 "src/core/lib/iomgr/wakeup_fd_eventfd.c",
644 "src/core/lib/iomgr/wakeup_fd_nospecial.c",
645 "src/core/lib/iomgr/wakeup_fd_pipe.c",
646 "src/core/lib/iomgr/wakeup_fd_posix.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200647 "src/core/lib/json/json.c",
648 "src/core/lib/json/json_reader.c",
649 "src/core/lib/json/json_string.c",
650 "src/core/lib/json/json_writer.c",
Craig Tiller29b527f2017-03-30 10:27:20 -0700651 "src/core/lib/slice/b64.c",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100652 "src/core/lib/slice/percent_encoding.c",
653 "src/core/lib/slice/slice.c",
654 "src/core/lib/slice/slice_buffer.c",
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800655 "src/core/lib/slice/slice_hash_table.c",
656 "src/core/lib/slice/slice_intern.c",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100657 "src/core/lib/slice/slice_string_helpers.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200658 "src/core/lib/surface/alarm.c",
659 "src/core/lib/surface/api_trace.c",
660 "src/core/lib/surface/byte_buffer.c",
661 "src/core/lib/surface/byte_buffer_reader.c",
662 "src/core/lib/surface/call.c",
663 "src/core/lib/surface/call_details.c",
664 "src/core/lib/surface/call_log_batch.c",
665 "src/core/lib/surface/channel.c",
666 "src/core/lib/surface/channel_init.c",
667 "src/core/lib/surface/channel_ping.c",
668 "src/core/lib/surface/channel_stack_type.c",
669 "src/core/lib/surface/completion_queue.c",
Sree Kuchibhotlaf6c20262017-03-21 18:52:19 -0700670 "src/core/lib/surface/completion_queue_factory.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200671 "src/core/lib/surface/event_string.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200672 "src/core/lib/surface/metadata_array.c",
673 "src/core/lib/surface/server.c",
674 "src/core/lib/surface/validate_metadata.c",
675 "src/core/lib/surface/version.c",
David Garcia Quintas5481a582017-02-14 16:11:42 -0800676 "src/core/lib/transport/bdp_estimator.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200677 "src/core/lib/transport/byte_stream.c",
678 "src/core/lib/transport/connectivity_state.c",
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800679 "src/core/lib/transport/error_utils.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200680 "src/core/lib/transport/metadata.c",
681 "src/core/lib/transport/metadata_batch.c",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100682 "src/core/lib/transport/pid_controller.c",
683 "src/core/lib/transport/service_config.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200684 "src/core/lib/transport/static_metadata.c",
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800685 "src/core/lib/transport/status_conversion.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200686 "src/core/lib/transport/timeout_encoding.c",
687 "src/core/lib/transport/transport.c",
688 "src/core/lib/transport/transport_op_string.c",
689 ],
690 hdrs = [
691 "src/core/lib/channel/channel_args.h",
692 "src/core/lib/channel/channel_stack.h",
693 "src/core/lib/channel/channel_stack_builder.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200694 "src/core/lib/channel/connected_channel.h",
695 "src/core/lib/channel/context.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200696 "src/core/lib/channel/handshaker.h",
Mark D. Roth1f0f23c2017-01-06 13:07:19 -0800697 "src/core/lib/channel/handshaker_factory.h",
698 "src/core/lib/channel/handshaker_registry.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200699 "src/core/lib/compression/algorithm_metadata.h",
700 "src/core/lib/compression/message_compress.h",
Muxi Yan1e9bdb52017-07-14 10:14:02 -0700701 "src/core/lib/compression/stream_compression.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200702 "src/core/lib/http/format_request.h",
703 "src/core/lib/http/httpcli.h",
704 "src/core/lib/http/parser.h",
705 "src/core/lib/iomgr/closure.h",
706 "src/core/lib/iomgr/combiner.h",
707 "src/core/lib/iomgr/endpoint.h",
708 "src/core/lib/iomgr/endpoint_pair.h",
709 "src/core/lib/iomgr/error.h",
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800710 "src/core/lib/iomgr/error_internal.h",
Craig Tiller18545a32017-05-05 17:33:44 +0000711 "src/core/lib/iomgr/ev_epoll1_linux.h",
Craig Tiller7188c9d2017-05-05 13:27:02 -0700712 "src/core/lib/iomgr/ev_epoll_limited_pollers_linux.h",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700713 "src/core/lib/iomgr/ev_epoll_thread_pool_linux.h",
714 "src/core/lib/iomgr/ev_epollex_linux.h",
715 "src/core/lib/iomgr/ev_epollsig_linux.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200716 "src/core/lib/iomgr/ev_poll_posix.h",
717 "src/core/lib/iomgr/ev_posix.h",
718 "src/core/lib/iomgr/exec_ctx.h",
719 "src/core/lib/iomgr/executor.h",
720 "src/core/lib/iomgr/iocp_windows.h",
721 "src/core/lib/iomgr/iomgr.h",
722 "src/core/lib/iomgr/iomgr_internal.h",
723 "src/core/lib/iomgr/iomgr_posix.h",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700724 "src/core/lib/iomgr/is_epollexclusive_available.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200725 "src/core/lib/iomgr/load_file.h",
Jan Tattermusch43713e62017-04-12 09:20:29 +0200726 "src/core/lib/iomgr/lockfree_event.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200727 "src/core/lib/iomgr/network_status_tracker.h",
728 "src/core/lib/iomgr/polling_entity.h",
729 "src/core/lib/iomgr/pollset.h",
730 "src/core/lib/iomgr/pollset_set.h",
731 "src/core/lib/iomgr/pollset_set_windows.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200732 "src/core/lib/iomgr/pollset_uv.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200733 "src/core/lib/iomgr/pollset_windows.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200734 "src/core/lib/iomgr/port.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200735 "src/core/lib/iomgr/resolve_address.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100736 "src/core/lib/iomgr/resource_quota.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200737 "src/core/lib/iomgr/sockaddr.h",
738 "src/core/lib/iomgr/sockaddr_posix.h",
739 "src/core/lib/iomgr/sockaddr_utils.h",
740 "src/core/lib/iomgr/sockaddr_windows.h",
Michael Warresc46b3eb2017-02-22 22:57:04 -0500741 "src/core/lib/iomgr/socket_factory_posix.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100742 "src/core/lib/iomgr/socket_mutator.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200743 "src/core/lib/iomgr/socket_utils.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200744 "src/core/lib/iomgr/socket_utils_posix.h",
745 "src/core/lib/iomgr/socket_windows.h",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700746 "src/core/lib/iomgr/sys_epoll_wrapper.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200747 "src/core/lib/iomgr/tcp_client.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100748 "src/core/lib/iomgr/tcp_client_posix.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200749 "src/core/lib/iomgr/tcp_posix.h",
750 "src/core/lib/iomgr/tcp_server.h",
Yuchen Zeng47155ed2017-03-13 17:18:07 -0700751 "src/core/lib/iomgr/tcp_server_utils_posix.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200752 "src/core/lib/iomgr/tcp_uv.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200753 "src/core/lib/iomgr/tcp_windows.h",
754 "src/core/lib/iomgr/time_averaged_stats.h",
755 "src/core/lib/iomgr/timer.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200756 "src/core/lib/iomgr/timer_generic.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200757 "src/core/lib/iomgr/timer_heap.h",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700758 "src/core/lib/iomgr/timer_manager.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200759 "src/core/lib/iomgr/timer_uv.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200760 "src/core/lib/iomgr/udp_server.h",
761 "src/core/lib/iomgr/unix_sockets_posix.h",
762 "src/core/lib/iomgr/wakeup_fd_cv.h",
763 "src/core/lib/iomgr/wakeup_fd_pipe.h",
764 "src/core/lib/iomgr/wakeup_fd_posix.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200765 "src/core/lib/json/json.h",
766 "src/core/lib/json/json_common.h",
767 "src/core/lib/json/json_reader.h",
768 "src/core/lib/json/json_writer.h",
Craig Tiller29b527f2017-03-30 10:27:20 -0700769 "src/core/lib/slice/b64.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100770 "src/core/lib/slice/percent_encoding.h",
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800771 "src/core/lib/slice/slice_hash_table.h",
Craig Tiller3ca60192017-01-04 14:41:29 -0800772 "src/core/lib/slice/slice_internal.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100773 "src/core/lib/slice/slice_string_helpers.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200774 "src/core/lib/surface/api_trace.h",
775 "src/core/lib/surface/call.h",
776 "src/core/lib/surface/call_test_only.h",
777 "src/core/lib/surface/channel.h",
778 "src/core/lib/surface/channel_init.h",
779 "src/core/lib/surface/channel_stack_type.h",
780 "src/core/lib/surface/completion_queue.h",
Sree Kuchibhotlaf6c20262017-03-21 18:52:19 -0700781 "src/core/lib/surface/completion_queue_factory.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200782 "src/core/lib/surface/event_string.h",
783 "src/core/lib/surface/init.h",
784 "src/core/lib/surface/lame_client.h",
785 "src/core/lib/surface/server.h",
David Garcia Quintas01291502017-02-07 13:26:41 -0800786 "src/core/lib/surface/validate_metadata.h",
David Garcia Quintas5481a582017-02-14 16:11:42 -0800787 "src/core/lib/transport/bdp_estimator.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200788 "src/core/lib/transport/byte_stream.h",
789 "src/core/lib/transport/connectivity_state.h",
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800790 "src/core/lib/transport/error_utils.h",
791 "src/core/lib/transport/http2_errors.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200792 "src/core/lib/transport/metadata.h",
793 "src/core/lib/transport/metadata_batch.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100794 "src/core/lib/transport/pid_controller.h",
795 "src/core/lib/transport/service_config.h",
796 "src/core/lib/transport/static_metadata.h",
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800797 "src/core/lib/transport/status_conversion.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200798 "src/core/lib/transport/timeout_encoding.h",
799 "src/core/lib/transport/transport.h",
800 "src/core/lib/transport/transport_impl.h",
801 ],
802 external_deps = [
803 "zlib",
804 ],
805 language = "c",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +0200806 public_hdrs = GRPC_PUBLIC_HDRS,
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200807 deps = [
808 "gpr_base",
809 "grpc_codegen",
Craig Tiller1f477302017-05-05 11:01:25 -0700810 "grpc_trace",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200811 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200812)
813
814grpc_cc_library(
Craig Tiller832c6072017-05-11 14:38:05 -0700815 name = "grpc_base",
Craig Tiller832c6072017-05-11 14:38:05 -0700816 srcs = [
817 "src/core/lib/surface/lame_client.cc",
818 ],
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700819 language = "c++",
Craig Tiller832c6072017-05-11 14:38:05 -0700820 deps = [
821 "grpc_base_c",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700822 ],
823)
824
825grpc_cc_library(
826 name = "grpc_common",
Craig Tillerfaee5832017-05-15 14:23:44 -0700827 language = "c",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700828 deps = [
829 "grpc_base",
830 # standard plugins
831 "census",
832 "grpc_deadline_filter",
833 "grpc_lb_policy_pick_first",
834 "grpc_lb_policy_round_robin",
835 "grpc_load_reporting",
836 "grpc_max_age_filter",
837 "grpc_message_size_filter",
838 "grpc_resolver_dns_native",
839 "grpc_resolver_sockaddr",
840 "grpc_transport_chttp2_client_insecure",
841 "grpc_transport_chttp2_server_insecure",
Vijay Pai3d7d5f42017-05-04 10:02:24 -0700842 "grpc_transport_inproc",
Muxi Yan2a5bbc12017-05-15 12:03:08 -0700843 "grpc_workaround_cronet_compression_filter",
844 "grpc_server_backward_compatibility",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200845 ],
846)
847
848grpc_cc_library(
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100849 name = "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200850 srcs = [
Craig Tiller9eb0fde2017-03-31 16:59:30 -0700851 "src/core/ext/filters/client_channel/channel_connectivity.c",
852 "src/core/ext/filters/client_channel/client_channel.c",
853 "src/core/ext/filters/client_channel/client_channel_factory.c",
854 "src/core/ext/filters/client_channel/client_channel_plugin.c",
855 "src/core/ext/filters/client_channel/connector.c",
856 "src/core/ext/filters/client_channel/http_connect_handshaker.c",
857 "src/core/ext/filters/client_channel/http_proxy.c",
858 "src/core/ext/filters/client_channel/lb_policy.c",
859 "src/core/ext/filters/client_channel/lb_policy_factory.c",
860 "src/core/ext/filters/client_channel/lb_policy_registry.c",
861 "src/core/ext/filters/client_channel/parse_address.c",
862 "src/core/ext/filters/client_channel/proxy_mapper.c",
863 "src/core/ext/filters/client_channel/proxy_mapper_registry.c",
864 "src/core/ext/filters/client_channel/resolver.c",
865 "src/core/ext/filters/client_channel/resolver_factory.c",
866 "src/core/ext/filters/client_channel/resolver_registry.c",
867 "src/core/ext/filters/client_channel/retry_throttle.c",
868 "src/core/ext/filters/client_channel/subchannel.c",
869 "src/core/ext/filters/client_channel/subchannel_index.c",
870 "src/core/ext/filters/client_channel/uri_parser.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200871 ],
872 hdrs = [
Craig Tiller9eb0fde2017-03-31 16:59:30 -0700873 "src/core/ext/filters/client_channel/client_channel.h",
874 "src/core/ext/filters/client_channel/client_channel_factory.h",
875 "src/core/ext/filters/client_channel/connector.h",
876 "src/core/ext/filters/client_channel/http_connect_handshaker.h",
877 "src/core/ext/filters/client_channel/http_proxy.h",
878 "src/core/ext/filters/client_channel/lb_policy.h",
879 "src/core/ext/filters/client_channel/lb_policy_factory.h",
880 "src/core/ext/filters/client_channel/lb_policy_registry.h",
881 "src/core/ext/filters/client_channel/parse_address.h",
882 "src/core/ext/filters/client_channel/proxy_mapper.h",
883 "src/core/ext/filters/client_channel/proxy_mapper_registry.h",
884 "src/core/ext/filters/client_channel/resolver.h",
885 "src/core/ext/filters/client_channel/resolver_factory.h",
886 "src/core/ext/filters/client_channel/resolver_registry.h",
887 "src/core/ext/filters/client_channel/retry_throttle.h",
888 "src/core/ext/filters/client_channel/subchannel.h",
889 "src/core/ext/filters/client_channel/subchannel_index.h",
890 "src/core/ext/filters/client_channel/uri_parser.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200891 ],
David Garcia Quintas01291502017-02-07 13:26:41 -0800892 language = "c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200893 deps = [
894 "grpc_base",
Craig Tillerdcd24e42017-04-06 10:47:46 -0700895 "grpc_deadline_filter",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200896 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200897)
898
899grpc_cc_library(
Craig Tiller6b97e532017-04-03 12:56:23 -0700900 name = "grpc_max_age_filter",
901 srcs = [
902 "src/core/ext/filters/max_age/max_age_filter.c",
903 ],
904 hdrs = [
905 "src/core/ext/filters/max_age/max_age_filter.h",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200906 ],
907 language = "c",
908 deps = [
909 "grpc_base",
910 ],
911)
912
913grpc_cc_library(
Craig Tiller3be7dd02017-04-03 14:30:03 -0700914 name = "grpc_deadline_filter",
915 srcs = [
916 "src/core/ext/filters/deadline/deadline_filter.c",
917 ],
918 hdrs = [
919 "src/core/ext/filters/deadline/deadline_filter.h",
920 ],
921 language = "c",
922 deps = [
923 "grpc_base",
924 ],
925)
926
927grpc_cc_library(
Craig Tiller6461c342017-04-03 13:00:31 -0700928 name = "grpc_message_size_filter",
929 srcs = [
930 "src/core/ext/filters/message_size/message_size_filter.c",
931 ],
932 hdrs = [
933 "src/core/ext/filters/message_size/message_size_filter.h",
934 ],
935 language = "c",
936 deps = [
937 "grpc_base",
938 ],
939)
940
941grpc_cc_library(
Craig Tilleraf767432017-04-03 13:54:31 -0700942 name = "grpc_http_filters",
Craig Tilleraf767432017-04-03 13:54:31 -0700943 srcs = [
Craig Tilleraf767432017-04-03 13:54:31 -0700944 "src/core/ext/filters/http/client/http_client_filter.c",
Sree Kuchibhotlad4fc32e2017-05-02 14:15:12 -0700945 "src/core/ext/filters/http/http_filters_plugin.c",
946 "src/core/ext/filters/http/message_compress/message_compress_filter.c",
Craig Tilleraf767432017-04-03 13:54:31 -0700947 "src/core/ext/filters/http/server/http_server_filter.c",
Sree Kuchibhotlad4fc32e2017-05-02 14:15:12 -0700948 ],
949 hdrs = [
950 "src/core/ext/filters/http/client/http_client_filter.h",
951 "src/core/ext/filters/http/message_compress/message_compress_filter.h",
952 "src/core/ext/filters/http/server/http_server_filter.h",
Craig Tilleraf767432017-04-03 13:54:31 -0700953 ],
954 language = "c",
955 deps = [
956 "grpc_base",
957 ],
958)
959
960grpc_cc_library(
Muxi Yan2a5bbc12017-05-15 12:03:08 -0700961 name = "grpc_workaround_cronet_compression_filter",
962 srcs = [
963 "src/core/ext/filters/workarounds/workaround_cronet_compression_filter.c",
964 ],
965 hdrs = [
966 "src/core/ext/filters/workarounds/workaround_cronet_compression_filter.h",
967 ],
968 language = "c",
969 deps = [
970 "grpc_base",
971 "grpc_server_backward_compatibility",
972 ],
973)
974
975grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200976 name = "grpc_codegen",
977 language = "c",
978 public_hdrs = [
979 "include/grpc/impl/codegen/byte_buffer_reader.h",
980 "include/grpc/impl/codegen/compression_types.h",
981 "include/grpc/impl/codegen/connectivity_state.h",
Craig Tiller3ca60192017-01-04 14:41:29 -0800982 "include/grpc/impl/codegen/exec_ctx_fwd.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200983 "include/grpc/impl/codegen/grpc_types.h",
984 "include/grpc/impl/codegen/propagation_bits.h",
985 "include/grpc/impl/codegen/status.h",
Craig Tiller0d32f2f2017-03-30 10:50:29 -0700986 "include/grpc/impl/codegen/slice.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200987 ],
988 deps = [
989 "gpr_codegen",
990 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200991)
992
993grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200994 name = "grpc_lb_policy_grpclb",
995 srcs = [
Mark D. Roth09e458c2017-05-02 08:13:26 -0700996 "src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.c",
Craig Tiller9eb0fde2017-03-31 16:59:30 -0700997 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.c",
998 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.c",
Mark D. Roth09e458c2017-05-02 08:13:26 -0700999 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.c",
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001000 "src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.c",
1001 "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 +02001002 ],
1003 hdrs = [
Mark D. Roth09e458c2017-05-02 08:13:26 -07001004 "src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.h",
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001005 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.h",
1006 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.h",
Mark D. Roth09e458c2017-05-02 08:13:26 -07001007 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.h",
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001008 "src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.h",
1009 "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 +02001010 ],
1011 external_deps = [
1012 "nanopb",
1013 ],
1014 language = "c",
1015 deps = [
1016 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001017 "grpc_client_channel",
David Garcia Quintas87d5a312017-06-06 19:45:58 -07001018 "grpc_resolver_fake",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001019 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001020)
1021
1022grpc_cc_library(
David Garcia Quintas01291502017-02-07 13:26:41 -08001023 name = "grpc_lb_policy_grpclb_secure",
1024 srcs = [
Mark D. Roth09e458c2017-05-02 08:13:26 -07001025 "src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.c",
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001026 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.c",
1027 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel_secure.c",
Mark D. Roth09e458c2017-05-02 08:13:26 -07001028 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.c",
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001029 "src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.c",
1030 "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 -08001031 ],
1032 hdrs = [
Mark D. Roth09e458c2017-05-02 08:13:26 -07001033 "src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.h",
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001034 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.h",
1035 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.h",
Mark D. Roth09e458c2017-05-02 08:13:26 -07001036 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.h",
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001037 "src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.h",
1038 "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 -08001039 ],
1040 external_deps = [
1041 "nanopb",
1042 ],
1043 language = "c",
1044 deps = [
1045 "grpc_base",
1046 "grpc_client_channel",
David Garcia Quintas87d5a312017-06-06 19:45:58 -07001047 "grpc_resolver_fake",
David Garcia Quintas01291502017-02-07 13:26:41 -08001048 "grpc_secure",
1049 ],
1050)
1051
1052grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001053 name = "grpc_lb_policy_pick_first",
1054 srcs = [
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001055 "src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001056 ],
1057 language = "c",
1058 deps = [
1059 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001060 "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001061 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001062)
1063
1064grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001065 name = "grpc_lb_policy_round_robin",
1066 srcs = [
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001067 "src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001068 ],
1069 language = "c",
1070 deps = [
1071 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001072 "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001073 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001074)
1075
1076grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001077 name = "grpc_load_reporting",
1078 srcs = [
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001079 "src/core/ext/filters/load_reporting/load_reporting.c",
1080 "src/core/ext/filters/load_reporting/load_reporting_filter.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001081 ],
1082 hdrs = [
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001083 "src/core/ext/filters/load_reporting/load_reporting.h",
1084 "src/core/ext/filters/load_reporting/load_reporting_filter.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001085 ],
1086 language = "c",
1087 deps = [
1088 "grpc_base",
1089 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001090)
1091
1092grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001093 name = "grpc_resolver_dns_native",
1094 srcs = [
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001095 "src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001096 ],
1097 language = "c",
1098 deps = [
1099 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001100 "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001101 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001102)
1103
1104grpc_cc_library(
Yuchen Zeng4c702ed2017-01-23 10:30:10 -08001105 name = "grpc_resolver_dns_ares",
1106 srcs = [
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001107 "src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.c",
1108 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.c",
1109 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.c",
Yuchen Zeng4ebace72017-06-05 17:24:06 -07001110 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_fallback.c",
Yuchen Zeng4c702ed2017-01-23 10:30:10 -08001111 ],
1112 hdrs = [
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001113 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.h",
1114 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.h",
Yuchen Zeng4c702ed2017-01-23 10:30:10 -08001115 ],
Jan Tattermusch61f729f2017-04-06 17:11:44 +02001116 external_deps = [
1117 "cares",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001118 ],
Yuchen Zeng4c702ed2017-01-23 10:30:10 -08001119 language = "c",
1120 deps = [
1121 "grpc_base",
1122 "grpc_client_channel",
1123 ],
Yuchen Zeng4c702ed2017-01-23 10:30:10 -08001124)
1125
1126grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001127 name = "grpc_resolver_sockaddr",
1128 srcs = [
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001129 "src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001130 ],
1131 language = "c",
1132 deps = [
1133 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001134 "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001135 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001136)
1137
1138grpc_cc_library(
David Garcia Quintas87d5a312017-06-06 19:45:58 -07001139 name = "grpc_resolver_fake",
1140 srcs = ["src/core/ext/filters/client_channel/resolver/fake/fake_resolver.c"],
1141 hdrs = ["src/core/ext/filters/client_channel/resolver/fake/fake_resolver.h"],
David Garcia Quintas87d5a312017-06-06 19:45:58 -07001142 language = "c",
murgatroid99d5b04552017-06-15 17:48:42 -07001143 visibility = ["//test:__subpackages__"],
David Garcia Quintas87d5a312017-06-06 19:45:58 -07001144 deps = [
1145 "grpc_base",
1146 "grpc_client_channel",
1147 ],
1148)
1149
1150grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001151 name = "grpc_secure",
1152 srcs = [
1153 "src/core/lib/http/httpcli_security_connector.c",
1154 "src/core/lib/security/context/security_context.c",
1155 "src/core/lib/security/credentials/composite/composite_credentials.c",
1156 "src/core/lib/security/credentials/credentials.c",
1157 "src/core/lib/security/credentials/credentials_metadata.c",
1158 "src/core/lib/security/credentials/fake/fake_credentials.c",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001159 "src/core/lib/security/credentials/google_default/credentials_generic.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001160 "src/core/lib/security/credentials/google_default/google_default_credentials.c",
1161 "src/core/lib/security/credentials/iam/iam_credentials.c",
1162 "src/core/lib/security/credentials/jwt/json_token.c",
1163 "src/core/lib/security/credentials/jwt/jwt_credentials.c",
1164 "src/core/lib/security/credentials/jwt/jwt_verifier.c",
1165 "src/core/lib/security/credentials/oauth2/oauth2_credentials.c",
1166 "src/core/lib/security/credentials/plugin/plugin_credentials.c",
1167 "src/core/lib/security/credentials/ssl/ssl_credentials.c",
1168 "src/core/lib/security/transport/client_auth_filter.c",
David Garcia Quintas01291502017-02-07 13:26:41 -08001169 "src/core/lib/security/transport/lb_targets_info.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001170 "src/core/lib/security/transport/secure_endpoint.c",
1171 "src/core/lib/security/transport/security_connector.c",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001172 "src/core/lib/security/transport/security_handshaker.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001173 "src/core/lib/security/transport/server_auth_filter.c",
1174 "src/core/lib/security/transport/tsi_error.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001175 "src/core/lib/security/util/json_util.c",
1176 "src/core/lib/surface/init_secure.c",
1177 ],
1178 hdrs = [
1179 "src/core/lib/security/context/security_context.h",
1180 "src/core/lib/security/credentials/composite/composite_credentials.h",
1181 "src/core/lib/security/credentials/credentials.h",
1182 "src/core/lib/security/credentials/fake/fake_credentials.h",
1183 "src/core/lib/security/credentials/google_default/google_default_credentials.h",
1184 "src/core/lib/security/credentials/iam/iam_credentials.h",
1185 "src/core/lib/security/credentials/jwt/json_token.h",
1186 "src/core/lib/security/credentials/jwt/jwt_credentials.h",
1187 "src/core/lib/security/credentials/jwt/jwt_verifier.h",
1188 "src/core/lib/security/credentials/oauth2/oauth2_credentials.h",
1189 "src/core/lib/security/credentials/plugin/plugin_credentials.h",
1190 "src/core/lib/security/credentials/ssl/ssl_credentials.h",
1191 "src/core/lib/security/transport/auth_filters.h",
David Garcia Quintas01291502017-02-07 13:26:41 -08001192 "src/core/lib/security/transport/lb_targets_info.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001193 "src/core/lib/security/transport/secure_endpoint.h",
1194 "src/core/lib/security/transport/security_connector.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001195 "src/core/lib/security/transport/security_handshaker.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001196 "src/core/lib/security/transport/tsi_error.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001197 "src/core/lib/security/util/json_util.h",
1198 ],
1199 language = "c",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +02001200 public_hdrs = GRPC_SECURE_PUBLIC_HDRS,
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001201 deps = [
1202 "grpc_base",
1203 "grpc_transport_chttp2_alpn",
1204 "tsi",
1205 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001206)
1207
1208grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001209 name = "grpc_transport_chttp2",
1210 srcs = [
1211 "src/core/ext/transport/chttp2/transport/bin_decoder.c",
1212 "src/core/ext/transport/chttp2/transport/bin_encoder.c",
1213 "src/core/ext/transport/chttp2/transport/chttp2_plugin.c",
1214 "src/core/ext/transport/chttp2/transport/chttp2_transport.c",
1215 "src/core/ext/transport/chttp2/transport/frame_data.c",
1216 "src/core/ext/transport/chttp2/transport/frame_goaway.c",
1217 "src/core/ext/transport/chttp2/transport/frame_ping.c",
1218 "src/core/ext/transport/chttp2/transport/frame_rst_stream.c",
1219 "src/core/ext/transport/chttp2/transport/frame_settings.c",
1220 "src/core/ext/transport/chttp2/transport/frame_window_update.c",
1221 "src/core/ext/transport/chttp2/transport/hpack_encoder.c",
1222 "src/core/ext/transport/chttp2/transport/hpack_parser.c",
1223 "src/core/ext/transport/chttp2/transport/hpack_table.c",
murgatroid99a41fd5b2017-04-13 09:56:17 -07001224 "src/core/ext/transport/chttp2/transport/http2_settings.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001225 "src/core/ext/transport/chttp2/transport/huffsyms.c",
1226 "src/core/ext/transport/chttp2/transport/incoming_metadata.c",
1227 "src/core/ext/transport/chttp2/transport/parsing.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001228 "src/core/ext/transport/chttp2/transport/stream_lists.c",
1229 "src/core/ext/transport/chttp2/transport/stream_map.c",
1230 "src/core/ext/transport/chttp2/transport/varint.c",
1231 "src/core/ext/transport/chttp2/transport/writing.c",
1232 ],
1233 hdrs = [
1234 "src/core/ext/transport/chttp2/transport/bin_decoder.h",
1235 "src/core/ext/transport/chttp2/transport/bin_encoder.h",
1236 "src/core/ext/transport/chttp2/transport/chttp2_transport.h",
1237 "src/core/ext/transport/chttp2/transport/frame.h",
1238 "src/core/ext/transport/chttp2/transport/frame_data.h",
1239 "src/core/ext/transport/chttp2/transport/frame_goaway.h",
1240 "src/core/ext/transport/chttp2/transport/frame_ping.h",
1241 "src/core/ext/transport/chttp2/transport/frame_rst_stream.h",
1242 "src/core/ext/transport/chttp2/transport/frame_settings.h",
1243 "src/core/ext/transport/chttp2/transport/frame_window_update.h",
1244 "src/core/ext/transport/chttp2/transport/hpack_encoder.h",
1245 "src/core/ext/transport/chttp2/transport/hpack_parser.h",
1246 "src/core/ext/transport/chttp2/transport/hpack_table.h",
murgatroid99a41fd5b2017-04-13 09:56:17 -07001247 "src/core/ext/transport/chttp2/transport/http2_settings.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001248 "src/core/ext/transport/chttp2/transport/huffsyms.h",
1249 "src/core/ext/transport/chttp2/transport/incoming_metadata.h",
1250 "src/core/ext/transport/chttp2/transport/internal.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001251 "src/core/ext/transport/chttp2/transport/stream_map.h",
1252 "src/core/ext/transport/chttp2/transport/varint.h",
1253 ],
1254 language = "c",
1255 deps = [
1256 "grpc_base",
Craig Tilleraf767432017-04-03 13:54:31 -07001257 "grpc_http_filters",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001258 "grpc_transport_chttp2_alpn",
1259 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001260)
1261
1262grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001263 name = "grpc_transport_chttp2_alpn",
1264 srcs = [
1265 "src/core/ext/transport/chttp2/alpn/alpn.c",
1266 ],
1267 hdrs = [
1268 "src/core/ext/transport/chttp2/alpn/alpn.h",
1269 ],
1270 language = "c",
1271 deps = [
1272 "gpr",
1273 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001274)
1275
1276grpc_cc_library(
David Garcia Quintas01291502017-02-07 13:26:41 -08001277 name = "grpc_transport_chttp2_client_connector",
1278 srcs = [
1279 "src/core/ext/transport/chttp2/client/chttp2_connector.c",
1280 ],
1281 hdrs = [
1282 "src/core/ext/transport/chttp2/client/chttp2_connector.h",
1283 ],
1284 language = "c",
1285 deps = [
1286 "grpc_base",
1287 "grpc_client_channel",
1288 "grpc_transport_chttp2",
1289 ],
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +02001290)
1291
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001292grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001293 name = "grpc_transport_chttp2_client_insecure",
1294 srcs = [
1295 "src/core/ext/transport/chttp2/client/insecure/channel_create.c",
1296 "src/core/ext/transport/chttp2/client/insecure/channel_create_posix.c",
1297 ],
1298 language = "c",
1299 deps = [
1300 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001301 "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001302 "grpc_transport_chttp2",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001303 "grpc_transport_chttp2_client_connector",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001304 ],
Makarand Dharmapurikar38d80552016-06-01 15:02:04 -07001305)
1306
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001307grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001308 name = "grpc_transport_chttp2_client_secure",
1309 srcs = [
1310 "src/core/ext/transport/chttp2/client/secure/secure_channel_create.c",
1311 ],
1312 language = "c",
1313 deps = [
1314 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001315 "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001316 "grpc_secure",
1317 "grpc_transport_chttp2",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001318 "grpc_transport_chttp2_client_connector",
1319 ],
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001320)
1321
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001322grpc_cc_library(
1323 name = "grpc_transport_chttp2_server",
1324 srcs = [
1325 "src/core/ext/transport/chttp2/server/chttp2_server.c",
1326 ],
1327 hdrs = [
1328 "src/core/ext/transport/chttp2/server/chttp2_server.h",
1329 ],
1330 language = "c",
1331 deps = [
1332 "grpc_base",
1333 "grpc_transport_chttp2",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001334 ],
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001335)
1336
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001337grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001338 name = "grpc_transport_chttp2_server_insecure",
1339 srcs = [
1340 "src/core/ext/transport/chttp2/server/insecure/server_chttp2.c",
1341 "src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.c",
1342 ],
1343 language = "c",
1344 deps = [
1345 "grpc_base",
1346 "grpc_transport_chttp2",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001347 "grpc_transport_chttp2_server",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001348 ],
Garrett Casto931a26b2016-10-04 09:18:29 -07001349)
1350
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001351grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001352 name = "grpc_transport_chttp2_server_secure",
1353 srcs = [
1354 "src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.c",
1355 ],
1356 language = "c",
1357 deps = [
1358 "grpc_base",
1359 "grpc_secure",
1360 "grpc_transport_chttp2",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001361 "grpc_transport_chttp2_server",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001362 ],
Yuchen Zengc84ed682016-05-04 16:30:11 -07001363)
1364
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001365grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001366 name = "grpc_transport_cronet_client_secure",
1367 srcs = [
1368 "src/core/ext/transport/cronet/client/secure/cronet_channel_create.c",
1369 "src/core/ext/transport/cronet/transport/cronet_api_dummy.c",
1370 "src/core/ext/transport/cronet/transport/cronet_transport.c",
1371 ],
1372 hdrs = [
Muxi Yan0a2fae92017-02-01 14:49:03 -08001373 "src/core/ext/transport/cronet/transport/cronet_transport.h",
Sree Kuchibhotla43bca1b2017-02-22 16:37:27 -08001374 "third_party/objective_c/Cronet/bidirectional_stream_c.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001375 ],
1376 language = "c",
1377 public_hdrs = [
1378 "include/grpc/grpc_cronet.h",
1379 "include/grpc/grpc_security.h",
1380 "include/grpc/grpc_security_constants.h",
1381 ],
1382 deps = [
1383 "grpc_base",
1384 "grpc_transport_chttp2",
1385 ],
Craig Tiller03915e52016-04-07 09:15:10 -07001386)
1387
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001388grpc_cc_library(
Vijay Pai3d7d5f42017-05-04 10:02:24 -07001389 name = "grpc_transport_inproc",
1390 srcs = [
1391 "src/core/ext/transport/inproc/inproc_plugin.c",
1392 "src/core/ext/transport/inproc/inproc_transport.c",
1393 ],
1394 hdrs = [
1395 "src/core/ext/transport/inproc/inproc_transport.h",
1396 ],
1397 language = "c",
1398 deps = [
1399 "grpc_base",
1400 ],
1401)
1402
1403grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001404 name = "tsi",
1405 srcs = [
Craig Tiller134fed32017-03-28 14:27:18 -07001406 "src/core/tsi/fake_transport_security.c",
Yihua Zhang1435bfc2017-07-17 11:20:51 -07001407 "src/core/tsi/gts_transport_security.c",
Craig Tiller134fed32017-03-28 14:27:18 -07001408 "src/core/tsi/ssl_transport_security.c",
1409 "src/core/tsi/transport_security.c",
jiangtaoli2016e69881d2017-04-10 14:29:43 -07001410 "src/core/tsi/transport_security_adapter.c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001411 ],
1412 hdrs = [
Craig Tiller134fed32017-03-28 14:27:18 -07001413 "src/core/tsi/fake_transport_security.h",
Yihua Zhang1435bfc2017-07-17 11:20:51 -07001414 "src/core/tsi/gts_transport_security.h",
Craig Tiller134fed32017-03-28 14:27:18 -07001415 "src/core/tsi/ssl_transport_security.h",
1416 "src/core/tsi/ssl_types.h",
1417 "src/core/tsi/transport_security.h",
jiangtaoli2016e69881d2017-04-10 14:29:43 -07001418 "src/core/tsi/transport_security_adapter.h",
Craig Tiller134fed32017-03-28 14:27:18 -07001419 "src/core/tsi/transport_security_interface.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001420 ],
1421 external_deps = [
1422 "libssl",
1423 ],
1424 language = "c",
1425 deps = [
1426 "gpr",
Yihua Zhang1435bfc2017-07-17 11:20:51 -07001427 "grpc_base",
Craig Tiller1f477302017-05-05 11:01:25 -07001428 "grpc_trace",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001429 ],
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001430)
1431
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001432grpc_cc_library(
1433 name = "grpc++_base",
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001434 srcs = GRPCXX_SRCS,
Stanley Cheungebeda852017-05-17 19:34:47 -07001435 hdrs = GRPCXX_HDRS,
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001436 language = "c++",
Stanley Cheungebeda852017-05-17 19:34:47 -07001437 public_hdrs = GRPCXX_PUBLIC_HDRS,
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001438 deps = [
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001439 "grpc",
Stanley Cheungebeda852017-05-17 19:34:47 -07001440 "grpc++_codegen_base",
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001441 ],
1442)
1443
1444grpc_cc_library(
1445 name = "grpc++_base_unsecure",
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001446 srcs = GRPCXX_SRCS,
Stanley Cheungebeda852017-05-17 19:34:47 -07001447 hdrs = GRPCXX_HDRS,
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001448 language = "c++",
Stanley Cheungebeda852017-05-17 19:34:47 -07001449 public_hdrs = GRPCXX_PUBLIC_HDRS,
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001450 deps = [
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001451 "grpc++_codegen_base",
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001452 "grpc_unsecure",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001453 ],
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001454)
1455
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001456grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001457 name = "grpc++_codegen_base",
1458 language = "c++",
1459 public_hdrs = [
1460 "include/grpc++/impl/codegen/async_stream.h",
1461 "include/grpc++/impl/codegen/async_unary_call.h",
1462 "include/grpc++/impl/codegen/call.h",
1463 "include/grpc++/impl/codegen/call_hook.h",
1464 "include/grpc++/impl/codegen/channel_interface.h",
1465 "include/grpc++/impl/codegen/client_context.h",
1466 "include/grpc++/impl/codegen/client_unary_call.h",
1467 "include/grpc++/impl/codegen/completion_queue.h",
1468 "include/grpc++/impl/codegen/completion_queue_tag.h",
1469 "include/grpc++/impl/codegen/config.h",
1470 "include/grpc++/impl/codegen/core_codegen_interface.h",
1471 "include/grpc++/impl/codegen/create_auth_context.h",
1472 "include/grpc++/impl/codegen/grpc_library.h",
yang-g988b47c2017-01-31 09:51:45 -08001473 "include/grpc++/impl/codegen/metadata_map.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001474 "include/grpc++/impl/codegen/method_handler_impl.h",
1475 "include/grpc++/impl/codegen/rpc_method.h",
1476 "include/grpc++/impl/codegen/rpc_service_method.h",
1477 "include/grpc++/impl/codegen/security/auth_context.h",
1478 "include/grpc++/impl/codegen/serialization_traits.h",
1479 "include/grpc++/impl/codegen/server_context.h",
1480 "include/grpc++/impl/codegen/server_interface.h",
1481 "include/grpc++/impl/codegen/service_type.h",
yang-g988b47c2017-01-31 09:51:45 -08001482 "include/grpc++/impl/codegen/slice.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001483 "include/grpc++/impl/codegen/status.h",
1484 "include/grpc++/impl/codegen/status_code_enum.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001485 "include/grpc++/impl/codegen/string_ref.h",
1486 "include/grpc++/impl/codegen/stub_options.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001487 "include/grpc++/impl/codegen/sync_stream.h",
1488 "include/grpc++/impl/codegen/time.h",
1489 ],
1490 deps = [
1491 "grpc_codegen",
1492 ],
Craig Tillerda179ce2016-02-09 12:01:53 -08001493)
1494
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001495grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001496 name = "grpc++_codegen_base_src",
1497 srcs = [
1498 "src/cpp/codegen/codegen_init.cc",
1499 ],
1500 language = "c++",
1501 deps = [
1502 "grpc++_codegen_base",
1503 ],
Jorge Canizales140bca82015-06-20 09:47:00 -07001504)
1505
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001506grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001507 name = "grpc++_codegen_proto",
1508 language = "c++",
1509 public_hdrs = [
1510 "include/grpc++/impl/codegen/proto_utils.h",
1511 ],
1512 deps = [
1513 "grpc++_codegen_base",
1514 "grpc++_config_proto",
1515 ],
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001516)
1517
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001518grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001519 name = "grpc++_config_proto",
David Garcia Quintas5481a582017-02-14 16:11:42 -08001520 external_deps = [
1521 "protobuf",
1522 ],
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001523 language = "c++",
1524 public_hdrs = [
1525 "include/grpc++/impl/codegen/config_protobuf.h",
1526 ],
Jan Tattermusch2d924952015-05-06 10:23:17 -07001527)
1528
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001529grpc_cc_library(
Sree Kuchibhotla43bca1b2017-02-22 16:37:27 -08001530 name = "grpc++_reflection",
1531 srcs = [
1532 "src/cpp/ext/proto_server_reflection.cc",
1533 "src/cpp/ext/proto_server_reflection_plugin.cc",
1534 ],
1535 hdrs = [
1536 "src/cpp/ext/proto_server_reflection.h",
1537 ],
1538 language = "c++",
1539 public_hdrs = [
1540 "include/grpc++/ext/proto_server_reflection_plugin.h",
1541 ],
1542 deps = [
1543 ":grpc++",
1544 "//src/proto/grpc/reflection/v1alpha:reflection_proto",
1545 ],
Ian Coolidge13213412017-06-27 21:49:44 -07001546 alwayslink = 1,
Sree Kuchibhotla43bca1b2017-02-22 16:37:27 -08001547)
Nicolas "Pixel" Noble2b0f0012017-04-24 19:59:19 +02001548
Nicolas "Pixel" Noble0885f982017-05-12 21:10:55 +02001549grpc_cc_library(
1550 name = "grpc++_test",
1551 public_hdrs = [
1552 "include/grpc++/test/mock_stream.h",
1553 "include/grpc++/test/server_context_test_spouse.h",
1554 ],
1555 deps = [
1556 ":grpc++",
1557 ],
1558)
1559
Muxi Yan2a5bbc12017-05-15 12:03:08 -07001560grpc_cc_library(
1561 name = "grpc_server_backward_compatibility",
1562 srcs = [
1563 "src/core/ext/filters/workarounds/workaround_utils.c",
1564 ],
1565 hdrs = [
1566 "src/core/ext/filters/workarounds/workaround_utils.h",
1567 ],
1568 language = "c",
1569 deps = [
1570 "grpc_base",
1571 ],
1572)
1573
Nicolas "Pixel" Noble2b0f0012017-04-24 19:59:19 +02001574grpc_generate_one_off_targets()