blob: 8ccc74803972f50c8d61e68fc826c36ed306d98f [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
murgatroid9998873792017-10-02 17:28:27 -070037g_stands_for = "generous"
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +020038
murgatroid990bb3f292017-10-02 17:39:58 -070039core_version = "5.0.0-dev"
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +020040
murgatroid9998873792017-10-02 17:28:27 -070041version = "1.8.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",
yang-g9ff60312017-08-24 09:08:21 -070060 "include/grpc/support/sync_custom.h",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +020061 "include/grpc/support/sync_generic.h",
62 "include/grpc/support/sync_posix.h",
63 "include/grpc/support/sync_windows.h",
64 "include/grpc/support/thd.h",
65 "include/grpc/support/time.h",
66 "include/grpc/support/tls.h",
67 "include/grpc/support/tls_gcc.h",
68 "include/grpc/support/tls_msvc.h",
69 "include/grpc/support/tls_pthread.h",
70 "include/grpc/support/useful.h",
71]
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +020072
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +020073GRPC_PUBLIC_HDRS = [
74 "include/grpc/byte_buffer.h",
75 "include/grpc/byte_buffer_reader.h",
76 "include/grpc/compression.h",
77 "include/grpc/load_reporting.h",
78 "include/grpc/grpc.h",
79 "include/grpc/grpc_posix.h",
80 "include/grpc/grpc_security_constants.h",
81 "include/grpc/slice.h",
82 "include/grpc/slice_buffer.h",
83 "include/grpc/status.h",
84 "include/grpc/support/workaround_list.h",
85]
Craig Tillereb2c1bc2017-05-15 08:18:25 -070086
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +020087GRPC_SECURE_PUBLIC_HDRS = [
88 "include/grpc/grpc_security.h",
89]
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +020090
Nicolas "Pixel" Noble86ac5962017-05-31 20:23:41 +020091# TODO(ctiller): layer grpc atop grpc_unsecure, layer grpc++ atop grpc++_unsecure
92GRPCXX_SRCS = [
93 "src/cpp/client/channel_cc.cc",
94 "src/cpp/client/client_context.cc",
95 "src/cpp/client/create_channel.cc",
96 "src/cpp/client/create_channel_internal.cc",
97 "src/cpp/client/create_channel_posix.cc",
98 "src/cpp/client/credentials_cc.cc",
99 "src/cpp/client/generic_stub.cc",
100 "src/cpp/common/channel_arguments.cc",
101 "src/cpp/common/channel_filter.cc",
102 "src/cpp/common/completion_queue_cc.cc",
103 "src/cpp/common/core_codegen.cc",
104 "src/cpp/common/resource_quota_cc.cc",
105 "src/cpp/common/rpc_method.cc",
106 "src/cpp/common/version_cc.cc",
107 "src/cpp/server/async_generic_service.cc",
108 "src/cpp/server/channel_argument_option.cc",
109 "src/cpp/server/create_default_thread_pool.cc",
110 "src/cpp/server/dynamic_thread_pool.cc",
111 "src/cpp/server/health/default_health_check_service.cc",
112 "src/cpp/server/health/health.pb.c",
113 "src/cpp/server/health/health_check_service.cc",
114 "src/cpp/server/health/health_check_service_server_builder_option.cc",
115 "src/cpp/server/server_builder.cc",
116 "src/cpp/server/server_cc.cc",
117 "src/cpp/server/server_context.cc",
118 "src/cpp/server/server_credentials.cc",
119 "src/cpp/server/server_posix.cc",
120 "src/cpp/thread_manager/thread_manager.cc",
121 "src/cpp/util/byte_buffer_cc.cc",
122 "src/cpp/util/slice_cc.cc",
123 "src/cpp/util/status.cc",
124 "src/cpp/util/string_ref.cc",
125 "src/cpp/util/time_cc.cc",
126]
127
128GRPCXX_HDRS = [
129 "src/cpp/client/create_channel_internal.h",
130 "src/cpp/common/channel_filter.h",
131 "src/cpp/server/dynamic_thread_pool.h",
132 "src/cpp/server/health/default_health_check_service.h",
133 "src/cpp/server/health/health.pb.h",
134 "src/cpp/server/thread_pool_interface.h",
135 "src/cpp/thread_manager/thread_manager.h",
136]
137
138GRPCXX_PUBLIC_HDRS = [
139 "include/grpc++/alarm.h",
140 "include/grpc++/channel.h",
141 "include/grpc++/client_context.h",
142 "include/grpc++/completion_queue.h",
143 "include/grpc++/create_channel.h",
144 "include/grpc++/create_channel_posix.h",
145 "include/grpc++/ext/health_check_service_server_builder_option.h",
146 "include/grpc++/generic/async_generic_service.h",
147 "include/grpc++/generic/generic_stub.h",
148 "include/grpc++/grpc++.h",
149 "include/grpc++/health_check_service_interface.h",
150 "include/grpc++/impl/call.h",
151 "include/grpc++/impl/channel_argument_option.h",
152 "include/grpc++/impl/client_unary_call.h",
153 "include/grpc++/impl/codegen/core_codegen.h",
154 "include/grpc++/impl/grpc_library.h",
155 "include/grpc++/impl/method_handler_impl.h",
156 "include/grpc++/impl/rpc_method.h",
157 "include/grpc++/impl/rpc_service_method.h",
158 "include/grpc++/impl/serialization_traits.h",
159 "include/grpc++/impl/server_builder_option.h",
160 "include/grpc++/impl/server_builder_plugin.h",
161 "include/grpc++/impl/server_initializer.h",
162 "include/grpc++/impl/service_type.h",
163 "include/grpc++/impl/sync_cxx11.h",
164 "include/grpc++/impl/sync_no_cxx11.h",
165 "include/grpc++/resource_quota.h",
166 "include/grpc++/security/auth_context.h",
167 "include/grpc++/security/auth_metadata_processor.h",
168 "include/grpc++/security/credentials.h",
169 "include/grpc++/security/server_credentials.h",
170 "include/grpc++/server.h",
171 "include/grpc++/server_builder.h",
172 "include/grpc++/server_context.h",
173 "include/grpc++/server_posix.h",
174 "include/grpc++/support/async_stream.h",
175 "include/grpc++/support/async_unary_call.h",
176 "include/grpc++/support/byte_buffer.h",
177 "include/grpc++/support/channel_arguments.h",
178 "include/grpc++/support/config.h",
179 "include/grpc++/support/slice.h",
180 "include/grpc++/support/status.h",
181 "include/grpc++/support/status_code_enum.h",
182 "include/grpc++/support/string_ref.h",
183 "include/grpc++/support/stub_options.h",
184 "include/grpc++/support/sync_stream.h",
185 "include/grpc++/support/time.h",
186]
187
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +0200188grpc_cc_library(
189 name = "gpr",
Yash Tibrewal2dcbc102017-10-03 16:23:07 -0700190 language = "c++",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +0200191 public_hdrs = GPR_PUBLIC_HDRS,
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +0200192 standalone = True,
193 deps = [
194 "gpr_base",
195 ],
196)
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +0200197
198grpc_cc_library(
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +0200199 name = "grpc_unsecure",
200 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -0700201 "src/core/lib/surface/init.cc",
202 "src/core/lib/surface/init_unsecure.cc",
203 "src/core/plugin_registry/grpc_unsecure_plugin_registry.cc",
Nicolas "Pixel" Noble31d11db2016-10-20 09:29:46 +0200204 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -0700205 language = "c++",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +0200206 public_hdrs = GRPC_PUBLIC_HDRS,
Nicolas "Pixel" Noble31d11db2016-10-20 09:29:46 +0200207 standalone = True,
Craig Tillerda179ce2016-02-09 12:01:53 -0800208 deps = [
209 "grpc_common",
Vijay Pai42807252017-07-28 15:08:24 -0700210 "grpc_lb_policy_grpclb",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200211 ],
212)
213
214grpc_cc_library(
215 name = "grpc",
216 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -0700217 "src/core/lib/surface/init.cc",
218 "src/core/plugin_registry/grpc_plugin_registry.cc",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200219 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -0700220 language = "c++",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +0200221 public_hdrs = GRPC_PUBLIC_HDRS + GRPC_SECURE_PUBLIC_HDRS,
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200222 standalone = True,
223 deps = [
224 "grpc_common",
225 "grpc_lb_policy_grpclb_secure",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200226 "grpc_secure",
227 "grpc_transport_chttp2_client_secure",
228 "grpc_transport_chttp2_server_secure",
229 ],
230)
231
232grpc_cc_library(
233 name = "grpc_cronet",
234 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -0700235 "src/core/lib/surface/init.cc",
236 "src/core/plugin_registry/grpc_cronet_plugin_registry.cc",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200237 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -0700238 language = "c++",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200239 deps = [
240 "grpc_base",
241 "grpc_http_filters",
242 "grpc_transport_chttp2_client_secure",
243 "grpc_transport_cronet_client_secure",
244 ],
245)
246
247grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200248 name = "grpc++",
249 srcs = [
250 "src/cpp/client/insecure_credentials.cc",
251 "src/cpp/client/secure_credentials.cc",
252 "src/cpp/common/auth_property_iterator.cc",
253 "src/cpp/common/secure_auth_context.cc",
254 "src/cpp/common/secure_channel_arguments.cc",
255 "src/cpp/common/secure_create_auth_context.cc",
256 "src/cpp/server/insecure_server_credentials.cc",
257 "src/cpp/server/secure_server_credentials.cc",
258 ],
259 hdrs = [
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200260 "src/cpp/client/secure_credentials.h",
261 "src/cpp/common/secure_auth_context.h",
262 "src/cpp/server/secure_server_credentials.h",
263 ],
264 language = "c++",
Nicolas "Pixel" Noble86ac5962017-05-31 20:23:41 +0200265 public_hdrs = GRPCXX_PUBLIC_HDRS,
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200266 standalone = True,
267 deps = [
268 "gpr",
269 "grpc",
270 "grpc++_base",
271 "grpc++_codegen_base",
272 "grpc++_codegen_base_src",
Jan Tattermuschaead5aa2017-02-10 11:00:29 -0800273 "grpc++_codegen_proto",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200274 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200275)
276
277grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200278 name = "grpc++_unsecure",
279 srcs = [
280 "src/cpp/client/insecure_credentials.cc",
281 "src/cpp/common/insecure_create_auth_context.cc",
282 "src/cpp/server/insecure_server_credentials.cc",
283 ],
284 language = "c++",
285 standalone = True,
286 deps = [
287 "gpr",
Vijay Pai576e5462017-04-20 18:40:16 +0000288 "grpc++_base_unsecure",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200289 "grpc++_codegen_base",
290 "grpc++_codegen_base_src",
Vijay Pai42807252017-07-28 15:08:24 -0700291 "grpc++_codegen_proto",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200292 "grpc_unsecure",
293 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200294)
295
296grpc_cc_library(
yang-geceec8e2017-04-10 11:58:44 -0700297 name = "grpc++_error_details",
298 srcs = [
299 "src/cpp/util/error_details.cc",
300 ],
301 hdrs = [
302 "include/grpc++/support/error_details.h",
303 ],
304 language = "c++",
305 standalone = True,
306 deps = [
307 "grpc++",
308 "//src/proto/grpc/status:status_proto",
309 ],
310)
311
312grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200313 name = "grpc_plugin_support",
314 srcs = [
315 "src/compiler/cpp_generator.cc",
316 "src/compiler/csharp_generator.cc",
317 "src/compiler/node_generator.cc",
318 "src/compiler/objective_c_generator.cc",
319 "src/compiler/php_generator.cc",
320 "src/compiler/python_generator.cc",
321 "src/compiler/ruby_generator.cc",
322 ],
323 hdrs = [
324 "src/compiler/config.h",
325 "src/compiler/cpp_generator.h",
326 "src/compiler/cpp_generator_helpers.h",
327 "src/compiler/csharp_generator.h",
328 "src/compiler/csharp_generator_helpers.h",
329 "src/compiler/generator_helpers.h",
330 "src/compiler/node_generator.h",
331 "src/compiler/node_generator_helpers.h",
332 "src/compiler/objective_c_generator.h",
333 "src/compiler/objective_c_generator_helpers.h",
334 "src/compiler/php_generator.h",
335 "src/compiler/php_generator_helpers.h",
Jan Tattermusch61f729f2017-04-06 17:11:44 +0200336 "src/compiler/protobuf_plugin.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200337 "src/compiler/python_generator.h",
Harsh Vardhan3cbc6ad2017-02-07 13:09:16 +0530338 "src/compiler/python_generator_helpers.h",
339 "src/compiler/python_private_generator.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200340 "src/compiler/ruby_generator.h",
341 "src/compiler/ruby_generator_helpers-inl.h",
342 "src/compiler/ruby_generator_map-inl.h",
343 "src/compiler/ruby_generator_string-inl.h",
Jan Tattermusch61f729f2017-04-06 17:11:44 +0200344 "src/compiler/schema_interface.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200345 ],
346 external_deps = [
Nicolas "Pixel" Noble4dc64312016-10-20 23:07:37 +0200347 "protobuf_clib",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200348 ],
349 language = "c++",
350 deps = [
351 "grpc++_config_proto",
352 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200353)
354
Nicolas "Pixel" Noble4dc64312016-10-20 23:07:37 +0200355grpc_proto_plugin(
356 name = "grpc_cpp_plugin",
357 srcs = ["src/compiler/cpp_plugin.cc"],
358 deps = [":grpc_plugin_support"],
359)
360
361grpc_proto_plugin(
362 name = "grpc_csharp_plugin",
363 srcs = ["src/compiler/csharp_plugin.cc"],
364 deps = [":grpc_plugin_support"],
365)
366
367grpc_proto_plugin(
368 name = "grpc_node_plugin",
369 srcs = ["src/compiler/node_plugin.cc"],
370 deps = [":grpc_plugin_support"],
371)
372
373grpc_proto_plugin(
374 name = "grpc_objective_c_plugin",
375 srcs = ["src/compiler/objective_c_plugin.cc"],
376 deps = [":grpc_plugin_support"],
377)
378
379grpc_proto_plugin(
380 name = "grpc_php_plugin",
381 srcs = ["src/compiler/php_plugin.cc"],
382 deps = [":grpc_plugin_support"],
383)
384
385grpc_proto_plugin(
386 name = "grpc_python_plugin",
387 srcs = ["src/compiler/python_plugin.cc"],
388 deps = [":grpc_plugin_support"],
389)
390
391grpc_proto_plugin(
392 name = "grpc_ruby_plugin",
393 srcs = ["src/compiler/ruby_plugin.cc"],
394 deps = [":grpc_plugin_support"],
395)
396
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200397grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200398 name = "grpc_csharp_ext",
399 srcs = [
400 "src/csharp/ext/grpc_csharp_ext.c",
401 ],
402 language = "csharp",
403 deps = [
404 "gpr",
405 "grpc",
406 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200407)
408
409grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200410 name = "census",
411 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -0700412 "src/core/ext/census/base_resources.cc",
413 "src/core/ext/census/context.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200414 "src/core/ext/census/gen/census.pb.c",
415 "src/core/ext/census/gen/trace_context.pb.c",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700416 "src/core/ext/census/grpc_context.cc",
417 "src/core/ext/census/grpc_filter.cc",
418 "src/core/ext/census/grpc_plugin.cc",
419 "src/core/ext/census/initialize.cc",
420 "src/core/ext/census/intrusive_hash_map.cc",
421 "src/core/ext/census/mlog.cc",
422 "src/core/ext/census/operation.cc",
423 "src/core/ext/census/placeholders.cc",
424 "src/core/ext/census/resource.cc",
425 "src/core/ext/census/trace_context.cc",
426 "src/core/ext/census/tracing.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200427 ],
428 hdrs = [
429 "src/core/ext/census/aggregation.h",
430 "src/core/ext/census/base_resources.h",
431 "src/core/ext/census/census_interface.h",
432 "src/core/ext/census/census_rpc_stats.h",
433 "src/core/ext/census/gen/census.pb.h",
434 "src/core/ext/census/gen/trace_context.pb.h",
435 "src/core/ext/census/grpc_filter.h",
Vizerai26e85fe2017-04-28 21:20:34 -0700436 "src/core/ext/census/intrusive_hash_map.h",
Vizeraic1947ef2017-05-23 16:13:25 -0700437 "src/core/ext/census/intrusive_hash_map_internal.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200438 "src/core/ext/census/mlog.h",
439 "src/core/ext/census/resource.h",
440 "src/core/ext/census/rpc_metric_id.h",
441 "src/core/ext/census/trace_context.h",
Vizerai2b939832017-01-19 13:12:11 -0800442 "src/core/ext/census/trace_label.h",
443 "src/core/ext/census/trace_propagation.h",
444 "src/core/ext/census/trace_status.h",
445 "src/core/ext/census/trace_string.h",
446 "src/core/ext/census/tracing.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200447 ],
448 external_deps = [
449 "nanopb",
Vizeraib0b86d72017-01-25 13:45:54 -0800450 "libssl",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200451 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -0700452 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200453 public_hdrs = [
454 "include/grpc/census.h",
455 ],
456 deps = [
457 "grpc_base",
458 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200459)
460
461grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200462 name = "gpr_base",
463 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -0700464 "src/core/lib/profiling/basic_timers.cc",
465 "src/core/lib/profiling/stap_timers.cc",
466 "src/core/lib/support/alloc.cc",
467 "src/core/lib/support/arena.cc",
468 "src/core/lib/support/atm.cc",
469 "src/core/lib/support/avl.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700470 "src/core/lib/support/cmdline.cc",
471 "src/core/lib/support/cpu_iphone.cc",
472 "src/core/lib/support/cpu_linux.cc",
473 "src/core/lib/support/cpu_posix.cc",
474 "src/core/lib/support/cpu_windows.cc",
475 "src/core/lib/support/env_linux.cc",
476 "src/core/lib/support/env_posix.cc",
477 "src/core/lib/support/env_windows.cc",
478 "src/core/lib/support/histogram.cc",
479 "src/core/lib/support/host_port.cc",
480 "src/core/lib/support/log.cc",
481 "src/core/lib/support/log_android.cc",
482 "src/core/lib/support/log_linux.cc",
483 "src/core/lib/support/log_posix.cc",
484 "src/core/lib/support/log_windows.cc",
485 "src/core/lib/support/mpscq.cc",
486 "src/core/lib/support/murmur_hash.cc",
487 "src/core/lib/support/stack_lockfree.cc",
488 "src/core/lib/support/string.cc",
489 "src/core/lib/support/string_posix.cc",
490 "src/core/lib/support/string_util_windows.cc",
491 "src/core/lib/support/string_windows.cc",
492 "src/core/lib/support/subprocess_posix.cc",
493 "src/core/lib/support/subprocess_windows.cc",
494 "src/core/lib/support/sync.cc",
495 "src/core/lib/support/sync_posix.cc",
496 "src/core/lib/support/sync_windows.cc",
497 "src/core/lib/support/thd.cc",
498 "src/core/lib/support/thd_posix.cc",
499 "src/core/lib/support/thd_windows.cc",
500 "src/core/lib/support/time.cc",
501 "src/core/lib/support/time_posix.cc",
502 "src/core/lib/support/time_precise.cc",
503 "src/core/lib/support/time_windows.cc",
504 "src/core/lib/support/tls_pthread.cc",
505 "src/core/lib/support/tmpfile_msys.cc",
506 "src/core/lib/support/tmpfile_posix.cc",
507 "src/core/lib/support/tmpfile_windows.cc",
508 "src/core/lib/support/wrap_memcpy.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200509 ],
510 hdrs = [
511 "src/core/lib/profiling/timers.h",
Michael Warresc46b3eb2017-02-22 22:57:04 -0500512 "src/core/lib/support/arena.h",
Sree Kuchibhotlad4fc32e2017-05-02 14:15:12 -0700513 "src/core/lib/support/atomic.h",
514 "src/core/lib/support/atomic_with_atm.h",
515 "src/core/lib/support/atomic_with_std.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200516 "src/core/lib/support/env.h",
Craig Tillere85e9502017-04-12 08:35:49 -0700517 "src/core/lib/support/memory.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200518 "src/core/lib/support/mpscq.h",
519 "src/core/lib/support/murmur_hash.h",
Craig Tilleredbf2b92017-02-27 07:24:00 -0800520 "src/core/lib/support/spinlock.h",
Ken Paysona4710a02017-07-10 16:49:59 -0700521 "src/core/lib/support/stack_lockfree.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200522 "src/core/lib/support/string.h",
523 "src/core/lib/support/string_windows.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200524 "src/core/lib/support/time_precise.h",
525 "src/core/lib/support/tmpfile.h",
526 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -0700527 language = "c++",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +0200528 public_hdrs = GPR_PUBLIC_HDRS,
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200529 deps = [
530 "gpr_codegen",
531 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200532)
533
534grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200535 name = "gpr_codegen",
Yash Tibrewal2dcbc102017-10-03 16:23:07 -0700536 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200537 public_hdrs = [
538 "include/grpc/impl/codegen/atm.h",
539 "include/grpc/impl/codegen/atm_gcc_atomic.h",
540 "include/grpc/impl/codegen/atm_gcc_sync.h",
541 "include/grpc/impl/codegen/atm_windows.h",
Mark D. Roth348fba22017-01-06 11:07:30 -0800542 "include/grpc/impl/codegen/gpr_slice.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200543 "include/grpc/impl/codegen/gpr_types.h",
544 "include/grpc/impl/codegen/port_platform.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200545 "include/grpc/impl/codegen/sync.h",
yang-g9ff60312017-08-24 09:08:21 -0700546 "include/grpc/impl/codegen/sync_custom.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200547 "include/grpc/impl/codegen/sync_generic.h",
548 "include/grpc/impl/codegen/sync_posix.h",
549 "include/grpc/impl/codegen/sync_windows.h",
550 ],
Craig Tillerda179ce2016-02-09 12:01:53 -0800551)
552
Nicolas "Pixel" Noble31d11db2016-10-20 09:29:46 +0200553grpc_cc_library(
Craig Tiller1f477302017-05-05 11:01:25 -0700554 name = "grpc_trace",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700555 srcs = ["src/core/lib/debug/trace.cc"],
Craig Tiller1f477302017-05-05 11:01:25 -0700556 hdrs = ["src/core/lib/debug/trace.h"],
Yash Tibrewala60c7632017-09-28 16:13:32 -0700557 language = "c++",
Yash Tibrewal12587d52017-10-05 08:53:41 -0700558 public_hdrs = GRPC_PUBLIC_HDRS,
Yash Tibrewalf49ab122017-10-03 18:36:05 -0700559 deps = [
560 "grpc_codegen",
561 ":gpr",
562 ],
Craig Tiller1f477302017-05-05 11:01:25 -0700563)
564
565grpc_cc_library(
Craig Tiller832c6072017-05-11 14:38:05 -0700566 name = "grpc_base_c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200567 srcs = [
Craig Tillere1a2b4a2017-10-05 11:07:14 -0700568 "src/core/lib/backoff/backoff.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700569 "src/core/lib/channel/channel_args.cc",
570 "src/core/lib/channel/channel_stack.cc",
571 "src/core/lib/channel/channel_stack_builder.cc",
572 "src/core/lib/channel/connected_channel.cc",
573 "src/core/lib/channel/handshaker.cc",
574 "src/core/lib/channel/handshaker_factory.cc",
575 "src/core/lib/channel/handshaker_registry.cc",
576 "src/core/lib/compression/compression.cc",
577 "src/core/lib/compression/message_compress.cc",
578 "src/core/lib/compression/stream_compression.cc",
579 "src/core/lib/compression/stream_compression_gzip.cc",
580 "src/core/lib/compression/stream_compression_identity.cc",
581 "src/core/lib/debug/stats.cc",
582 "src/core/lib/debug/stats_data.cc",
583 "src/core/lib/http/format_request.cc",
584 "src/core/lib/http/httpcli.cc",
585 "src/core/lib/http/parser.cc",
586 "src/core/lib/iomgr/call_combiner.cc",
587 "src/core/lib/iomgr/closure.cc",
588 "src/core/lib/iomgr/combiner.cc",
589 "src/core/lib/iomgr/endpoint.cc",
590 "src/core/lib/iomgr/endpoint_pair_posix.cc",
591 "src/core/lib/iomgr/endpoint_pair_uv.cc",
592 "src/core/lib/iomgr/endpoint_pair_windows.cc",
593 "src/core/lib/iomgr/error.cc",
594 "src/core/lib/iomgr/ev_epoll1_linux.cc",
595 "src/core/lib/iomgr/ev_epollex_linux.cc",
596 "src/core/lib/iomgr/ev_epollsig_linux.cc",
597 "src/core/lib/iomgr/ev_poll_posix.cc",
598 "src/core/lib/iomgr/ev_posix.cc",
599 "src/core/lib/iomgr/ev_windows.cc",
600 "src/core/lib/iomgr/exec_ctx.cc",
601 "src/core/lib/iomgr/executor.cc",
602 "src/core/lib/iomgr/gethostname_fallback.cc",
603 "src/core/lib/iomgr/gethostname_host_name_max.cc",
604 "src/core/lib/iomgr/gethostname_sysconf.cc",
605 "src/core/lib/iomgr/iocp_windows.cc",
606 "src/core/lib/iomgr/iomgr.cc",
607 "src/core/lib/iomgr/iomgr_posix.cc",
608 "src/core/lib/iomgr/iomgr_uv.cc",
609 "src/core/lib/iomgr/iomgr_windows.cc",
610 "src/core/lib/iomgr/is_epollexclusive_available.cc",
611 "src/core/lib/iomgr/load_file.cc",
612 "src/core/lib/iomgr/lockfree_event.cc",
613 "src/core/lib/iomgr/network_status_tracker.cc",
614 "src/core/lib/iomgr/polling_entity.cc",
615 "src/core/lib/iomgr/pollset_set_uv.cc",
616 "src/core/lib/iomgr/pollset_set_windows.cc",
617 "src/core/lib/iomgr/pollset_uv.cc",
618 "src/core/lib/iomgr/pollset_windows.cc",
619 "src/core/lib/iomgr/resolve_address_posix.cc",
620 "src/core/lib/iomgr/resolve_address_uv.cc",
621 "src/core/lib/iomgr/resolve_address_windows.cc",
622 "src/core/lib/iomgr/resource_quota.cc",
623 "src/core/lib/iomgr/sockaddr_utils.cc",
624 "src/core/lib/iomgr/socket_factory_posix.cc",
625 "src/core/lib/iomgr/socket_mutator.cc",
626 "src/core/lib/iomgr/socket_utils_common_posix.cc",
627 "src/core/lib/iomgr/socket_utils_linux.cc",
628 "src/core/lib/iomgr/socket_utils_posix.cc",
629 "src/core/lib/iomgr/socket_utils_uv.cc",
Yash Tibrewal26c78032017-09-28 14:34:43 -0700630 "src/core/lib/iomgr/socket_utils_windows.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700631 "src/core/lib/iomgr/socket_windows.cc",
632 "src/core/lib/iomgr/tcp_client_posix.cc",
633 "src/core/lib/iomgr/tcp_client_uv.cc",
634 "src/core/lib/iomgr/tcp_client_windows.cc",
635 "src/core/lib/iomgr/tcp_posix.cc",
636 "src/core/lib/iomgr/tcp_server_posix.cc",
637 "src/core/lib/iomgr/tcp_server_utils_posix_common.cc",
638 "src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc",
639 "src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc",
640 "src/core/lib/iomgr/tcp_server_uv.cc",
641 "src/core/lib/iomgr/tcp_server_windows.cc",
642 "src/core/lib/iomgr/tcp_uv.cc",
643 "src/core/lib/iomgr/tcp_windows.cc",
644 "src/core/lib/iomgr/time_averaged_stats.cc",
645 "src/core/lib/iomgr/timer_generic.cc",
646 "src/core/lib/iomgr/timer_heap.cc",
647 "src/core/lib/iomgr/timer_manager.cc",
648 "src/core/lib/iomgr/timer_uv.cc",
649 "src/core/lib/iomgr/udp_server.cc",
650 "src/core/lib/iomgr/unix_sockets_posix.cc",
651 "src/core/lib/iomgr/unix_sockets_posix_noop.cc",
652 "src/core/lib/iomgr/wakeup_fd_cv.cc",
653 "src/core/lib/iomgr/wakeup_fd_eventfd.cc",
654 "src/core/lib/iomgr/wakeup_fd_nospecial.cc",
655 "src/core/lib/iomgr/wakeup_fd_pipe.cc",
656 "src/core/lib/iomgr/wakeup_fd_posix.cc",
657 "src/core/lib/json/json.cc",
658 "src/core/lib/json/json_reader.cc",
659 "src/core/lib/json/json_string.cc",
660 "src/core/lib/json/json_writer.cc",
661 "src/core/lib/slice/b64.cc",
662 "src/core/lib/slice/percent_encoding.cc",
663 "src/core/lib/slice/slice.cc",
664 "src/core/lib/slice/slice_buffer.cc",
665 "src/core/lib/slice/slice_hash_table.cc",
666 "src/core/lib/slice/slice_intern.cc",
667 "src/core/lib/slice/slice_string_helpers.cc",
668 "src/core/lib/surface/alarm.cc",
669 "src/core/lib/surface/api_trace.cc",
670 "src/core/lib/surface/byte_buffer.cc",
671 "src/core/lib/surface/byte_buffer_reader.cc",
672 "src/core/lib/surface/call.cc",
673 "src/core/lib/surface/call_details.cc",
674 "src/core/lib/surface/call_log_batch.cc",
675 "src/core/lib/surface/channel.cc",
676 "src/core/lib/surface/channel_init.cc",
677 "src/core/lib/surface/channel_ping.cc",
678 "src/core/lib/surface/channel_stack_type.cc",
679 "src/core/lib/surface/completion_queue.cc",
680 "src/core/lib/surface/completion_queue_factory.cc",
681 "src/core/lib/surface/event_string.cc",
682 "src/core/lib/surface/metadata_array.cc",
683 "src/core/lib/surface/server.cc",
684 "src/core/lib/surface/validate_metadata.cc",
685 "src/core/lib/surface/version.cc",
686 "src/core/lib/transport/bdp_estimator.cc",
687 "src/core/lib/transport/byte_stream.cc",
688 "src/core/lib/transport/connectivity_state.cc",
689 "src/core/lib/transport/error_utils.cc",
690 "src/core/lib/transport/metadata.cc",
691 "src/core/lib/transport/metadata_batch.cc",
692 "src/core/lib/transport/pid_controller.cc",
693 "src/core/lib/transport/service_config.cc",
694 "src/core/lib/transport/static_metadata.cc",
695 "src/core/lib/transport/status_conversion.cc",
696 "src/core/lib/transport/timeout_encoding.cc",
697 "src/core/lib/transport/transport.cc",
698 "src/core/lib/transport/transport_op_string.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200699 ],
700 hdrs = [
701 "src/core/lib/channel/channel_args.h",
702 "src/core/lib/channel/channel_stack.h",
703 "src/core/lib/channel/channel_stack_builder.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200704 "src/core/lib/channel/connected_channel.h",
705 "src/core/lib/channel/context.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200706 "src/core/lib/channel/handshaker.h",
Mark D. Roth1f0f23c2017-01-06 13:07:19 -0800707 "src/core/lib/channel/handshaker_factory.h",
708 "src/core/lib/channel/handshaker_registry.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200709 "src/core/lib/compression/algorithm_metadata.h",
710 "src/core/lib/compression/message_compress.h",
Muxi Yan1e9bdb52017-07-14 10:14:02 -0700711 "src/core/lib/compression/stream_compression.h",
Muxi Yan9cd90f42017-09-07 09:51:13 -0700712 "src/core/lib/compression/stream_compression_gzip.h",
713 "src/core/lib/compression/stream_compression_identity.h",
David Garcia Quintasb352be02017-09-18 11:55:52 -0700714 "src/core/lib/debug/stats.h",
715 "src/core/lib/debug/stats_data.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200716 "src/core/lib/http/format_request.h",
717 "src/core/lib/http/httpcli.h",
718 "src/core/lib/http/parser.h",
Mark D. Roth76e264b2017-08-25 09:03:33 -0700719 "src/core/lib/iomgr/call_combiner.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200720 "src/core/lib/iomgr/closure.h",
721 "src/core/lib/iomgr/combiner.h",
722 "src/core/lib/iomgr/endpoint.h",
723 "src/core/lib/iomgr/endpoint_pair.h",
724 "src/core/lib/iomgr/error.h",
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800725 "src/core/lib/iomgr/error_internal.h",
Craig Tiller18545a32017-05-05 17:33:44 +0000726 "src/core/lib/iomgr/ev_epoll1_linux.h",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700727 "src/core/lib/iomgr/ev_epollex_linux.h",
728 "src/core/lib/iomgr/ev_epollsig_linux.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200729 "src/core/lib/iomgr/ev_poll_posix.h",
730 "src/core/lib/iomgr/ev_posix.h",
731 "src/core/lib/iomgr/exec_ctx.h",
732 "src/core/lib/iomgr/executor.h",
Mark D. Rothf9bf4282017-08-03 14:47:23 -0700733 "src/core/lib/iomgr/gethostname.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200734 "src/core/lib/iomgr/iocp_windows.h",
735 "src/core/lib/iomgr/iomgr.h",
736 "src/core/lib/iomgr/iomgr_internal.h",
737 "src/core/lib/iomgr/iomgr_posix.h",
murgatroid99b8e07ad2017-07-18 13:20:55 -0700738 "src/core/lib/iomgr/iomgr_uv.h",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700739 "src/core/lib/iomgr/is_epollexclusive_available.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200740 "src/core/lib/iomgr/load_file.h",
Jan Tattermusch43713e62017-04-12 09:20:29 +0200741 "src/core/lib/iomgr/lockfree_event.h",
Yuchen Zeng2d6ce742017-07-28 15:21:01 -0700742 "src/core/lib/iomgr/nameser.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200743 "src/core/lib/iomgr/network_status_tracker.h",
744 "src/core/lib/iomgr/polling_entity.h",
745 "src/core/lib/iomgr/pollset.h",
746 "src/core/lib/iomgr/pollset_set.h",
747 "src/core/lib/iomgr/pollset_set_windows.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200748 "src/core/lib/iomgr/pollset_uv.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200749 "src/core/lib/iomgr/pollset_windows.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200750 "src/core/lib/iomgr/port.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200751 "src/core/lib/iomgr/resolve_address.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100752 "src/core/lib/iomgr/resource_quota.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200753 "src/core/lib/iomgr/sockaddr.h",
754 "src/core/lib/iomgr/sockaddr_posix.h",
755 "src/core/lib/iomgr/sockaddr_utils.h",
756 "src/core/lib/iomgr/sockaddr_windows.h",
Michael Warresc46b3eb2017-02-22 22:57:04 -0500757 "src/core/lib/iomgr/socket_factory_posix.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100758 "src/core/lib/iomgr/socket_mutator.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200759 "src/core/lib/iomgr/socket_utils.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200760 "src/core/lib/iomgr/socket_utils_posix.h",
761 "src/core/lib/iomgr/socket_windows.h",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700762 "src/core/lib/iomgr/sys_epoll_wrapper.h",
Craig Tiller50f473e2017-10-05 11:17:15 -0700763 "src/core/lib/iomgr/block_annotate.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200764 "src/core/lib/iomgr/tcp_client.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100765 "src/core/lib/iomgr/tcp_client_posix.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200766 "src/core/lib/iomgr/tcp_posix.h",
767 "src/core/lib/iomgr/tcp_server.h",
Yuchen Zeng47155ed2017-03-13 17:18:07 -0700768 "src/core/lib/iomgr/tcp_server_utils_posix.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200769 "src/core/lib/iomgr/tcp_uv.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200770 "src/core/lib/iomgr/tcp_windows.h",
771 "src/core/lib/iomgr/time_averaged_stats.h",
772 "src/core/lib/iomgr/timer.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200773 "src/core/lib/iomgr/timer_generic.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200774 "src/core/lib/iomgr/timer_heap.h",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700775 "src/core/lib/iomgr/timer_manager.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200776 "src/core/lib/iomgr/timer_uv.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200777 "src/core/lib/iomgr/udp_server.h",
778 "src/core/lib/iomgr/unix_sockets_posix.h",
779 "src/core/lib/iomgr/wakeup_fd_cv.h",
780 "src/core/lib/iomgr/wakeup_fd_pipe.h",
781 "src/core/lib/iomgr/wakeup_fd_posix.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200782 "src/core/lib/json/json.h",
783 "src/core/lib/json/json_common.h",
784 "src/core/lib/json/json_reader.h",
785 "src/core/lib/json/json_writer.h",
Craig Tiller29b527f2017-03-30 10:27:20 -0700786 "src/core/lib/slice/b64.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100787 "src/core/lib/slice/percent_encoding.h",
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800788 "src/core/lib/slice/slice_hash_table.h",
Craig Tiller3ca60192017-01-04 14:41:29 -0800789 "src/core/lib/slice/slice_internal.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100790 "src/core/lib/slice/slice_string_helpers.h",
Sree Kuchibhotlaa8cf05c2017-06-22 15:08:55 -0700791 "src/core/lib/surface/alarm_internal.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200792 "src/core/lib/surface/api_trace.h",
793 "src/core/lib/surface/call.h",
794 "src/core/lib/surface/call_test_only.h",
795 "src/core/lib/surface/channel.h",
796 "src/core/lib/surface/channel_init.h",
797 "src/core/lib/surface/channel_stack_type.h",
798 "src/core/lib/surface/completion_queue.h",
Sree Kuchibhotlaf6c20262017-03-21 18:52:19 -0700799 "src/core/lib/surface/completion_queue_factory.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200800 "src/core/lib/surface/event_string.h",
801 "src/core/lib/surface/init.h",
802 "src/core/lib/surface/lame_client.h",
803 "src/core/lib/surface/server.h",
David Garcia Quintas01291502017-02-07 13:26:41 -0800804 "src/core/lib/surface/validate_metadata.h",
David Garcia Quintas5481a582017-02-14 16:11:42 -0800805 "src/core/lib/transport/bdp_estimator.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200806 "src/core/lib/transport/byte_stream.h",
807 "src/core/lib/transport/connectivity_state.h",
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800808 "src/core/lib/transport/error_utils.h",
809 "src/core/lib/transport/http2_errors.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200810 "src/core/lib/transport/metadata.h",
811 "src/core/lib/transport/metadata_batch.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100812 "src/core/lib/transport/pid_controller.h",
813 "src/core/lib/transport/service_config.h",
814 "src/core/lib/transport/static_metadata.h",
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800815 "src/core/lib/transport/status_conversion.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200816 "src/core/lib/transport/timeout_encoding.h",
817 "src/core/lib/transport/transport.h",
818 "src/core/lib/transport/transport_impl.h",
Craig Tiller2014a372017-07-21 15:36:11 -0700819 "src/core/lib/backoff/backoff.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200820 ],
821 external_deps = [
822 "zlib",
823 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -0700824 language = "c++",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +0200825 public_hdrs = GRPC_PUBLIC_HDRS,
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200826 deps = [
827 "gpr_base",
828 "grpc_codegen",
Craig Tiller1f477302017-05-05 11:01:25 -0700829 "grpc_trace",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200830 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200831)
832
833grpc_cc_library(
Craig Tiller832c6072017-05-11 14:38:05 -0700834 name = "grpc_base",
Craig Tiller832c6072017-05-11 14:38:05 -0700835 srcs = [
836 "src/core/lib/surface/lame_client.cc",
837 ],
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700838 language = "c++",
Craig Tiller832c6072017-05-11 14:38:05 -0700839 deps = [
840 "grpc_base_c",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700841 ],
842)
843
844grpc_cc_library(
845 name = "grpc_common",
Yash Tibrewal2dcbc102017-10-03 16:23:07 -0700846 language = "c++",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700847 deps = [
848 "grpc_base",
849 # standard plugins
850 "census",
851 "grpc_deadline_filter",
852 "grpc_lb_policy_pick_first",
853 "grpc_lb_policy_round_robin",
David Garcia Quintas0822d332017-09-06 17:40:42 -0700854 "grpc_server_load_reporting",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700855 "grpc_max_age_filter",
856 "grpc_message_size_filter",
Vijay Pai42807252017-07-28 15:08:24 -0700857 "grpc_resolver_dns_ares",
858 "grpc_resolver_fake",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700859 "grpc_resolver_dns_native",
860 "grpc_resolver_sockaddr",
861 "grpc_transport_chttp2_client_insecure",
862 "grpc_transport_chttp2_server_insecure",
Vijay Pai3d7d5f42017-05-04 10:02:24 -0700863 "grpc_transport_inproc",
Muxi Yan2a5bbc12017-05-15 12:03:08 -0700864 "grpc_workaround_cronet_compression_filter",
865 "grpc_server_backward_compatibility",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200866 ],
867)
868
869grpc_cc_library(
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100870 name = "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200871 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -0700872 "src/core/ext/filters/client_channel/channel_connectivity.cc",
873 "src/core/ext/filters/client_channel/client_channel.cc",
874 "src/core/ext/filters/client_channel/client_channel_factory.cc",
875 "src/core/ext/filters/client_channel/client_channel_plugin.cc",
876 "src/core/ext/filters/client_channel/connector.cc",
877 "src/core/ext/filters/client_channel/http_connect_handshaker.cc",
878 "src/core/ext/filters/client_channel/http_proxy.cc",
879 "src/core/ext/filters/client_channel/lb_policy.cc",
880 "src/core/ext/filters/client_channel/lb_policy_factory.cc",
881 "src/core/ext/filters/client_channel/lb_policy_registry.cc",
882 "src/core/ext/filters/client_channel/parse_address.cc",
883 "src/core/ext/filters/client_channel/proxy_mapper.cc",
884 "src/core/ext/filters/client_channel/proxy_mapper_registry.cc",
885 "src/core/ext/filters/client_channel/resolver.cc",
886 "src/core/ext/filters/client_channel/resolver_factory.cc",
887 "src/core/ext/filters/client_channel/resolver_registry.cc",
888 "src/core/ext/filters/client_channel/retry_throttle.cc",
889 "src/core/ext/filters/client_channel/subchannel.cc",
890 "src/core/ext/filters/client_channel/subchannel_index.cc",
891 "src/core/ext/filters/client_channel/uri_parser.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200892 ],
893 hdrs = [
Craig Tiller9eb0fde2017-03-31 16:59:30 -0700894 "src/core/ext/filters/client_channel/client_channel.h",
895 "src/core/ext/filters/client_channel/client_channel_factory.h",
896 "src/core/ext/filters/client_channel/connector.h",
897 "src/core/ext/filters/client_channel/http_connect_handshaker.h",
898 "src/core/ext/filters/client_channel/http_proxy.h",
899 "src/core/ext/filters/client_channel/lb_policy.h",
900 "src/core/ext/filters/client_channel/lb_policy_factory.h",
901 "src/core/ext/filters/client_channel/lb_policy_registry.h",
902 "src/core/ext/filters/client_channel/parse_address.h",
903 "src/core/ext/filters/client_channel/proxy_mapper.h",
904 "src/core/ext/filters/client_channel/proxy_mapper_registry.h",
905 "src/core/ext/filters/client_channel/resolver.h",
906 "src/core/ext/filters/client_channel/resolver_factory.h",
907 "src/core/ext/filters/client_channel/resolver_registry.h",
908 "src/core/ext/filters/client_channel/retry_throttle.h",
909 "src/core/ext/filters/client_channel/subchannel.h",
910 "src/core/ext/filters/client_channel/subchannel_index.h",
911 "src/core/ext/filters/client_channel/uri_parser.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200912 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -0700913 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200914 deps = [
915 "grpc_base",
Craig Tillerdcd24e42017-04-06 10:47:46 -0700916 "grpc_deadline_filter",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200917 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200918)
919
920grpc_cc_library(
Craig Tiller6b97e532017-04-03 12:56:23 -0700921 name = "grpc_max_age_filter",
922 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -0700923 "src/core/ext/filters/max_age/max_age_filter.cc",
Craig Tiller6b97e532017-04-03 12:56:23 -0700924 ],
925 hdrs = [
926 "src/core/ext/filters/max_age/max_age_filter.h",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200927 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -0700928 language = "c++",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200929 deps = [
930 "grpc_base",
931 ],
932)
933
934grpc_cc_library(
Craig Tiller3be7dd02017-04-03 14:30:03 -0700935 name = "grpc_deadline_filter",
936 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -0700937 "src/core/ext/filters/deadline/deadline_filter.cc",
Craig Tiller3be7dd02017-04-03 14:30:03 -0700938 ],
939 hdrs = [
940 "src/core/ext/filters/deadline/deadline_filter.h",
941 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -0700942 language = "c++",
Craig Tiller3be7dd02017-04-03 14:30:03 -0700943 deps = [
944 "grpc_base",
945 ],
946)
947
948grpc_cc_library(
Craig Tiller6461c342017-04-03 13:00:31 -0700949 name = "grpc_message_size_filter",
950 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -0700951 "src/core/ext/filters/message_size/message_size_filter.cc",
Craig Tiller6461c342017-04-03 13:00:31 -0700952 ],
953 hdrs = [
954 "src/core/ext/filters/message_size/message_size_filter.h",
955 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -0700956 language = "c++",
Craig Tiller6461c342017-04-03 13:00:31 -0700957 deps = [
958 "grpc_base",
959 ],
960)
961
962grpc_cc_library(
Craig Tilleraf767432017-04-03 13:54:31 -0700963 name = "grpc_http_filters",
Craig Tilleraf767432017-04-03 13:54:31 -0700964 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -0700965 "src/core/ext/filters/http/client/http_client_filter.cc",
966 "src/core/ext/filters/http/http_filters_plugin.cc",
967 "src/core/ext/filters/http/message_compress/message_compress_filter.cc",
968 "src/core/ext/filters/http/server/http_server_filter.cc",
Sree Kuchibhotlad4fc32e2017-05-02 14:15:12 -0700969 ],
970 hdrs = [
971 "src/core/ext/filters/http/client/http_client_filter.h",
972 "src/core/ext/filters/http/message_compress/message_compress_filter.h",
973 "src/core/ext/filters/http/server/http_server_filter.h",
Craig Tilleraf767432017-04-03 13:54:31 -0700974 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -0700975 language = "c++",
Craig Tilleraf767432017-04-03 13:54:31 -0700976 deps = [
977 "grpc_base",
978 ],
979)
980
981grpc_cc_library(
Muxi Yan2a5bbc12017-05-15 12:03:08 -0700982 name = "grpc_workaround_cronet_compression_filter",
983 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -0700984 "src/core/ext/filters/workarounds/workaround_cronet_compression_filter.cc",
Muxi Yan2a5bbc12017-05-15 12:03:08 -0700985 ],
986 hdrs = [
987 "src/core/ext/filters/workarounds/workaround_cronet_compression_filter.h",
988 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -0700989 language = "c++",
Muxi Yan2a5bbc12017-05-15 12:03:08 -0700990 deps = [
991 "grpc_base",
992 "grpc_server_backward_compatibility",
993 ],
994)
995
996grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200997 name = "grpc_codegen",
Yash Tibrewal2dcbc102017-10-03 16:23:07 -0700998 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200999 public_hdrs = [
Vijay Paiefce6e12017-09-14 09:07:50 -07001000 "include/grpc/impl/codegen/byte_buffer.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001001 "include/grpc/impl/codegen/byte_buffer_reader.h",
1002 "include/grpc/impl/codegen/compression_types.h",
1003 "include/grpc/impl/codegen/connectivity_state.h",
Craig Tiller3ca60192017-01-04 14:41:29 -08001004 "include/grpc/impl/codegen/exec_ctx_fwd.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001005 "include/grpc/impl/codegen/grpc_types.h",
1006 "include/grpc/impl/codegen/propagation_bits.h",
1007 "include/grpc/impl/codegen/status.h",
Craig Tiller0d32f2f2017-03-30 10:50:29 -07001008 "include/grpc/impl/codegen/slice.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001009 ],
1010 deps = [
1011 "gpr_codegen",
1012 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001013)
1014
1015grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001016 name = "grpc_lb_policy_grpclb",
1017 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001018 "src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc",
1019 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc",
1020 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.cc",
1021 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc",
1022 "src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc",
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001023 "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 +02001024 ],
1025 hdrs = [
Mark D. Roth09e458c2017-05-02 08:13:26 -07001026 "src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.h",
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001027 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.h",
1028 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.h",
Mark D. Roth09e458c2017-05-02 08:13:26 -07001029 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.h",
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001030 "src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.h",
1031 "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 +02001032 ],
1033 external_deps = [
1034 "nanopb",
1035 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001036 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001037 deps = [
1038 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001039 "grpc_client_channel",
David Garcia Quintas87d5a312017-06-06 19:45:58 -07001040 "grpc_resolver_fake",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001041 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001042)
1043
1044grpc_cc_library(
David Garcia Quintas01291502017-02-07 13:26:41 -08001045 name = "grpc_lb_policy_grpclb_secure",
1046 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001047 "src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc",
1048 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc",
1049 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel_secure.cc",
1050 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc",
1051 "src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc",
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001052 "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 -08001053 ],
1054 hdrs = [
Mark D. Roth09e458c2017-05-02 08:13:26 -07001055 "src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.h",
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001056 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.h",
1057 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.h",
Mark D. Roth09e458c2017-05-02 08:13:26 -07001058 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.h",
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001059 "src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.h",
1060 "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 -08001061 ],
1062 external_deps = [
1063 "nanopb",
1064 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001065 language = "c++",
David Garcia Quintas01291502017-02-07 13:26:41 -08001066 deps = [
1067 "grpc_base",
1068 "grpc_client_channel",
David Garcia Quintas87d5a312017-06-06 19:45:58 -07001069 "grpc_resolver_fake",
David Garcia Quintas01291502017-02-07 13:26:41 -08001070 "grpc_secure",
1071 ],
1072)
1073
1074grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001075 name = "grpc_lb_policy_pick_first",
1076 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001077 "src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001078 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001079 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001080 deps = [
1081 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001082 "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001083 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001084)
1085
1086grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001087 name = "grpc_lb_policy_round_robin",
1088 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001089 "src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001090 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001091 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001092 deps = [
1093 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001094 "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001095 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001096)
1097
1098grpc_cc_library(
David Garcia Quintas0822d332017-09-06 17:40:42 -07001099 name = "grpc_server_load_reporting",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001100 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001101 "src/core/ext/filters/load_reporting/server_load_reporting_filter.cc",
1102 "src/core/ext/filters/load_reporting/server_load_reporting_plugin.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001103 ],
1104 hdrs = [
David Garcia Quintas0822d332017-09-06 17:40:42 -07001105 "src/core/ext/filters/load_reporting/server_load_reporting_filter.h",
1106 "src/core/ext/filters/load_reporting/server_load_reporting_plugin.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001107 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001108 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001109 deps = [
1110 "grpc_base",
1111 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001112)
1113
1114grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001115 name = "grpc_resolver_dns_native",
1116 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001117 "src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001118 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001119 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001120 deps = [
1121 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001122 "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001123 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001124)
1125
1126grpc_cc_library(
Yuchen Zeng4c702ed2017-01-23 10:30:10 -08001127 name = "grpc_resolver_dns_ares",
1128 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001129 "src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc",
1130 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc",
1131 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc",
1132 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_fallback.cc",
Yuchen Zeng4c702ed2017-01-23 10:30:10 -08001133 ],
1134 hdrs = [
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001135 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.h",
1136 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.h",
Yuchen Zeng4c702ed2017-01-23 10:30:10 -08001137 ],
Jan Tattermusch61f729f2017-04-06 17:11:44 +02001138 external_deps = [
1139 "cares",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001140 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001141 language = "c++",
Yuchen Zeng4c702ed2017-01-23 10:30:10 -08001142 deps = [
1143 "grpc_base",
1144 "grpc_client_channel",
1145 ],
Yuchen Zeng4c702ed2017-01-23 10:30:10 -08001146)
1147
1148grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001149 name = "grpc_resolver_sockaddr",
1150 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001151 "src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001152 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001153 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001154 deps = [
1155 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001156 "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001157 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001158)
1159
1160grpc_cc_library(
David Garcia Quintas87d5a312017-06-06 19:45:58 -07001161 name = "grpc_resolver_fake",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001162 srcs = ["src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc"],
David Garcia Quintas87d5a312017-06-06 19:45:58 -07001163 hdrs = ["src/core/ext/filters/client_channel/resolver/fake/fake_resolver.h"],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001164 language = "c++",
murgatroid99d5b04552017-06-15 17:48:42 -07001165 visibility = ["//test:__subpackages__"],
David Garcia Quintas87d5a312017-06-06 19:45:58 -07001166 deps = [
1167 "grpc_base",
1168 "grpc_client_channel",
1169 ],
1170)
1171
1172grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001173 name = "grpc_secure",
1174 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001175 "src/core/lib/http/httpcli_security_connector.cc",
1176 "src/core/lib/security/context/security_context.cc",
1177 "src/core/lib/security/credentials/composite/composite_credentials.cc",
1178 "src/core/lib/security/credentials/credentials.cc",
1179 "src/core/lib/security/credentials/credentials_metadata.cc",
1180 "src/core/lib/security/credentials/fake/fake_credentials.cc",
1181 "src/core/lib/security/credentials/google_default/credentials_generic.cc",
1182 "src/core/lib/security/credentials/google_default/google_default_credentials.cc",
1183 "src/core/lib/security/credentials/iam/iam_credentials.cc",
1184 "src/core/lib/security/credentials/jwt/json_token.cc",
1185 "src/core/lib/security/credentials/jwt/jwt_credentials.cc",
1186 "src/core/lib/security/credentials/jwt/jwt_verifier.cc",
1187 "src/core/lib/security/credentials/oauth2/oauth2_credentials.cc",
1188 "src/core/lib/security/credentials/plugin/plugin_credentials.cc",
1189 "src/core/lib/security/credentials/ssl/ssl_credentials.cc",
1190 "src/core/lib/security/transport/client_auth_filter.cc",
1191 "src/core/lib/security/transport/lb_targets_info.cc",
1192 "src/core/lib/security/transport/secure_endpoint.cc",
1193 "src/core/lib/security/transport/security_connector.cc",
1194 "src/core/lib/security/transport/security_handshaker.cc",
1195 "src/core/lib/security/transport/server_auth_filter.cc",
1196 "src/core/lib/security/transport/tsi_error.cc",
1197 "src/core/lib/security/util/json_util.cc",
1198 "src/core/lib/surface/init_secure.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001199 ],
1200 hdrs = [
1201 "src/core/lib/security/context/security_context.h",
1202 "src/core/lib/security/credentials/composite/composite_credentials.h",
1203 "src/core/lib/security/credentials/credentials.h",
1204 "src/core/lib/security/credentials/fake/fake_credentials.h",
1205 "src/core/lib/security/credentials/google_default/google_default_credentials.h",
1206 "src/core/lib/security/credentials/iam/iam_credentials.h",
1207 "src/core/lib/security/credentials/jwt/json_token.h",
1208 "src/core/lib/security/credentials/jwt/jwt_credentials.h",
1209 "src/core/lib/security/credentials/jwt/jwt_verifier.h",
1210 "src/core/lib/security/credentials/oauth2/oauth2_credentials.h",
1211 "src/core/lib/security/credentials/plugin/plugin_credentials.h",
1212 "src/core/lib/security/credentials/ssl/ssl_credentials.h",
1213 "src/core/lib/security/transport/auth_filters.h",
David Garcia Quintas01291502017-02-07 13:26:41 -08001214 "src/core/lib/security/transport/lb_targets_info.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001215 "src/core/lib/security/transport/secure_endpoint.h",
1216 "src/core/lib/security/transport/security_connector.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001217 "src/core/lib/security/transport/security_handshaker.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001218 "src/core/lib/security/transport/tsi_error.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001219 "src/core/lib/security/util/json_util.h",
1220 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001221 language = "c++",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +02001222 public_hdrs = GRPC_SECURE_PUBLIC_HDRS,
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001223 deps = [
1224 "grpc_base",
1225 "grpc_transport_chttp2_alpn",
1226 "tsi",
1227 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001228)
1229
1230grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001231 name = "grpc_transport_chttp2",
1232 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001233 "src/core/ext/transport/chttp2/transport/bin_decoder.cc",
1234 "src/core/ext/transport/chttp2/transport/bin_encoder.cc",
1235 "src/core/ext/transport/chttp2/transport/chttp2_plugin.cc",
1236 "src/core/ext/transport/chttp2/transport/chttp2_transport.cc",
1237 "src/core/ext/transport/chttp2/transport/flow_control.cc",
1238 "src/core/ext/transport/chttp2/transport/frame_data.cc",
1239 "src/core/ext/transport/chttp2/transport/frame_goaway.cc",
1240 "src/core/ext/transport/chttp2/transport/frame_ping.cc",
1241 "src/core/ext/transport/chttp2/transport/frame_rst_stream.cc",
1242 "src/core/ext/transport/chttp2/transport/frame_settings.cc",
1243 "src/core/ext/transport/chttp2/transport/frame_window_update.cc",
1244 "src/core/ext/transport/chttp2/transport/hpack_encoder.cc",
1245 "src/core/ext/transport/chttp2/transport/hpack_parser.cc",
1246 "src/core/ext/transport/chttp2/transport/hpack_table.cc",
1247 "src/core/ext/transport/chttp2/transport/http2_settings.cc",
1248 "src/core/ext/transport/chttp2/transport/huffsyms.cc",
1249 "src/core/ext/transport/chttp2/transport/incoming_metadata.cc",
1250 "src/core/ext/transport/chttp2/transport/parsing.cc",
1251 "src/core/ext/transport/chttp2/transport/stream_lists.cc",
1252 "src/core/ext/transport/chttp2/transport/stream_map.cc",
1253 "src/core/ext/transport/chttp2/transport/varint.cc",
1254 "src/core/ext/transport/chttp2/transport/writing.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001255 ],
1256 hdrs = [
1257 "src/core/ext/transport/chttp2/transport/bin_decoder.h",
1258 "src/core/ext/transport/chttp2/transport/bin_encoder.h",
1259 "src/core/ext/transport/chttp2/transport/chttp2_transport.h",
1260 "src/core/ext/transport/chttp2/transport/frame.h",
1261 "src/core/ext/transport/chttp2/transport/frame_data.h",
1262 "src/core/ext/transport/chttp2/transport/frame_goaway.h",
1263 "src/core/ext/transport/chttp2/transport/frame_ping.h",
1264 "src/core/ext/transport/chttp2/transport/frame_rst_stream.h",
1265 "src/core/ext/transport/chttp2/transport/frame_settings.h",
1266 "src/core/ext/transport/chttp2/transport/frame_window_update.h",
1267 "src/core/ext/transport/chttp2/transport/hpack_encoder.h",
1268 "src/core/ext/transport/chttp2/transport/hpack_parser.h",
1269 "src/core/ext/transport/chttp2/transport/hpack_table.h",
murgatroid99a41fd5b2017-04-13 09:56:17 -07001270 "src/core/ext/transport/chttp2/transport/http2_settings.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001271 "src/core/ext/transport/chttp2/transport/huffsyms.h",
1272 "src/core/ext/transport/chttp2/transport/incoming_metadata.h",
1273 "src/core/ext/transport/chttp2/transport/internal.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001274 "src/core/ext/transport/chttp2/transport/stream_map.h",
1275 "src/core/ext/transport/chttp2/transport/varint.h",
1276 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001277 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001278 deps = [
1279 "grpc_base",
Craig Tilleraf767432017-04-03 13:54:31 -07001280 "grpc_http_filters",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001281 "grpc_transport_chttp2_alpn",
1282 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001283)
1284
1285grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001286 name = "grpc_transport_chttp2_alpn",
1287 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001288 "src/core/ext/transport/chttp2/alpn/alpn.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001289 ],
1290 hdrs = [
1291 "src/core/ext/transport/chttp2/alpn/alpn.h",
1292 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001293 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001294 deps = [
1295 "gpr",
1296 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001297)
1298
1299grpc_cc_library(
David Garcia Quintas01291502017-02-07 13:26:41 -08001300 name = "grpc_transport_chttp2_client_connector",
1301 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001302 "src/core/ext/transport/chttp2/client/chttp2_connector.cc",
David Garcia Quintas01291502017-02-07 13:26:41 -08001303 ],
1304 hdrs = [
1305 "src/core/ext/transport/chttp2/client/chttp2_connector.h",
1306 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001307 language = "c++",
David Garcia Quintas01291502017-02-07 13:26:41 -08001308 deps = [
1309 "grpc_base",
1310 "grpc_client_channel",
1311 "grpc_transport_chttp2",
1312 ],
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +02001313)
1314
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001315grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001316 name = "grpc_transport_chttp2_client_insecure",
1317 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001318 "src/core/ext/transport/chttp2/client/insecure/channel_create.cc",
1319 "src/core/ext/transport/chttp2/client/insecure/channel_create_posix.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001320 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001321 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001322 deps = [
1323 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001324 "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001325 "grpc_transport_chttp2",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001326 "grpc_transport_chttp2_client_connector",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001327 ],
Makarand Dharmapurikar38d80552016-06-01 15:02:04 -07001328)
1329
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001330grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001331 name = "grpc_transport_chttp2_client_secure",
1332 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001333 "src/core/ext/transport/chttp2/client/secure/secure_channel_create.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001334 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001335 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001336 deps = [
1337 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001338 "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001339 "grpc_secure",
1340 "grpc_transport_chttp2",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001341 "grpc_transport_chttp2_client_connector",
1342 ],
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001343)
1344
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001345grpc_cc_library(
1346 name = "grpc_transport_chttp2_server",
1347 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001348 "src/core/ext/transport/chttp2/server/chttp2_server.cc",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001349 ],
1350 hdrs = [
1351 "src/core/ext/transport/chttp2/server/chttp2_server.h",
1352 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001353 language = "c++",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001354 deps = [
1355 "grpc_base",
1356 "grpc_transport_chttp2",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001357 ],
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001358)
1359
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001360grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001361 name = "grpc_transport_chttp2_server_insecure",
1362 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001363 "src/core/ext/transport/chttp2/server/insecure/server_chttp2.cc",
1364 "src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001365 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001366 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001367 deps = [
1368 "grpc_base",
1369 "grpc_transport_chttp2",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001370 "grpc_transport_chttp2_server",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001371 ],
Garrett Casto931a26b2016-10-04 09:18:29 -07001372)
1373
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001374grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001375 name = "grpc_transport_chttp2_server_secure",
1376 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001377 "src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001378 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001379 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001380 deps = [
1381 "grpc_base",
1382 "grpc_secure",
1383 "grpc_transport_chttp2",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001384 "grpc_transport_chttp2_server",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001385 ],
Yuchen Zengc84ed682016-05-04 16:30:11 -07001386)
1387
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001388grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001389 name = "grpc_transport_cronet_client_secure",
1390 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001391 "src/core/ext/transport/cronet/client/secure/cronet_channel_create.cc",
1392 "src/core/ext/transport/cronet/transport/cronet_api_dummy.cc",
1393 "src/core/ext/transport/cronet/transport/cronet_transport.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001394 ],
1395 hdrs = [
Muxi Yan0a2fae92017-02-01 14:49:03 -08001396 "src/core/ext/transport/cronet/transport/cronet_transport.h",
Sree Kuchibhotla43bca1b2017-02-22 16:37:27 -08001397 "third_party/objective_c/Cronet/bidirectional_stream_c.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001398 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001399 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001400 public_hdrs = [
1401 "include/grpc/grpc_cronet.h",
1402 "include/grpc/grpc_security.h",
1403 "include/grpc/grpc_security_constants.h",
1404 ],
1405 deps = [
1406 "grpc_base",
1407 "grpc_transport_chttp2",
1408 ],
Craig Tiller03915e52016-04-07 09:15:10 -07001409)
1410
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001411grpc_cc_library(
Vijay Pai3d7d5f42017-05-04 10:02:24 -07001412 name = "grpc_transport_inproc",
1413 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001414 "src/core/ext/transport/inproc/inproc_plugin.cc",
1415 "src/core/ext/transport/inproc/inproc_transport.cc",
Vijay Pai3d7d5f42017-05-04 10:02:24 -07001416 ],
1417 hdrs = [
1418 "src/core/ext/transport/inproc/inproc_transport.h",
1419 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001420 language = "c++",
Vijay Pai3d7d5f42017-05-04 10:02:24 -07001421 deps = [
1422 "grpc_base",
1423 ],
1424)
1425
1426grpc_cc_library(
jiangtaoli201625d6fd82017-08-09 11:15:04 -07001427 name = "tsi_interface",
1428 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001429 "src/core/tsi/transport_security.cc",
1430 "src/core/tsi/transport_security_adapter.cc",
jiangtaoli201625d6fd82017-08-09 11:15:04 -07001431 ],
1432 hdrs = [
1433 "src/core/tsi/transport_security.h",
1434 "src/core/tsi/transport_security_adapter.h",
1435 "src/core/tsi/transport_security_interface.h",
1436 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001437 language = "c++",
jiangtaoli201625d6fd82017-08-09 11:15:04 -07001438 deps = [
1439 "gpr",
1440 "grpc_trace",
1441 ],
1442)
1443
1444grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001445 name = "tsi",
1446 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001447 "src/core/tsi/fake_transport_security.cc",
1448 "src/core/tsi/gts_transport_security.cc",
1449 "src/core/tsi/ssl_transport_security.cc",
1450 "src/core/tsi/transport_security_grpc.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001451 ],
1452 hdrs = [
Craig Tiller134fed32017-03-28 14:27:18 -07001453 "src/core/tsi/fake_transport_security.h",
Yihua Zhang1435bfc2017-07-17 11:20:51 -07001454 "src/core/tsi/gts_transport_security.h",
Craig Tiller134fed32017-03-28 14:27:18 -07001455 "src/core/tsi/ssl_transport_security.h",
1456 "src/core/tsi/ssl_types.h",
Jiangtao Li0211cfb2017-08-07 11:24:07 -07001457 "src/core/tsi/transport_security_grpc.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001458 ],
1459 external_deps = [
1460 "libssl",
1461 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001462 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001463 deps = [
Yihua Zhang1435bfc2017-07-17 11:20:51 -07001464 "grpc_base",
jiangtaoli201625d6fd82017-08-09 11:15:04 -07001465 "tsi_interface",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001466 ],
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001467)
1468
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001469grpc_cc_library(
1470 name = "grpc++_base",
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001471 srcs = GRPCXX_SRCS,
Stanley Cheungebeda852017-05-17 19:34:47 -07001472 hdrs = GRPCXX_HDRS,
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001473 language = "c++",
Stanley Cheungebeda852017-05-17 19:34:47 -07001474 public_hdrs = GRPCXX_PUBLIC_HDRS,
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001475 deps = [
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001476 "grpc",
Stanley Cheungebeda852017-05-17 19:34:47 -07001477 "grpc++_codegen_base",
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001478 ],
1479)
1480
1481grpc_cc_library(
1482 name = "grpc++_base_unsecure",
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001483 srcs = GRPCXX_SRCS,
Stanley Cheungebeda852017-05-17 19:34:47 -07001484 hdrs = GRPCXX_HDRS,
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001485 language = "c++",
Stanley Cheungebeda852017-05-17 19:34:47 -07001486 public_hdrs = GRPCXX_PUBLIC_HDRS,
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001487 deps = [
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001488 "grpc++_codegen_base",
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001489 "grpc_unsecure",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001490 ],
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001491)
1492
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001493grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001494 name = "grpc++_codegen_base",
1495 language = "c++",
1496 public_hdrs = [
1497 "include/grpc++/impl/codegen/async_stream.h",
1498 "include/grpc++/impl/codegen/async_unary_call.h",
Vijay Paiefce6e12017-09-14 09:07:50 -07001499 "include/grpc++/impl/codegen/byte_buffer.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001500 "include/grpc++/impl/codegen/call.h",
1501 "include/grpc++/impl/codegen/call_hook.h",
1502 "include/grpc++/impl/codegen/channel_interface.h",
1503 "include/grpc++/impl/codegen/client_context.h",
1504 "include/grpc++/impl/codegen/client_unary_call.h",
1505 "include/grpc++/impl/codegen/completion_queue.h",
1506 "include/grpc++/impl/codegen/completion_queue_tag.h",
1507 "include/grpc++/impl/codegen/config.h",
1508 "include/grpc++/impl/codegen/core_codegen_interface.h",
1509 "include/grpc++/impl/codegen/create_auth_context.h",
1510 "include/grpc++/impl/codegen/grpc_library.h",
yang-g988b47c2017-01-31 09:51:45 -08001511 "include/grpc++/impl/codegen/metadata_map.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001512 "include/grpc++/impl/codegen/method_handler_impl.h",
1513 "include/grpc++/impl/codegen/rpc_method.h",
1514 "include/grpc++/impl/codegen/rpc_service_method.h",
1515 "include/grpc++/impl/codegen/security/auth_context.h",
1516 "include/grpc++/impl/codegen/serialization_traits.h",
1517 "include/grpc++/impl/codegen/server_context.h",
1518 "include/grpc++/impl/codegen/server_interface.h",
1519 "include/grpc++/impl/codegen/service_type.h",
yang-g988b47c2017-01-31 09:51:45 -08001520 "include/grpc++/impl/codegen/slice.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001521 "include/grpc++/impl/codegen/status.h",
1522 "include/grpc++/impl/codegen/status_code_enum.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001523 "include/grpc++/impl/codegen/string_ref.h",
1524 "include/grpc++/impl/codegen/stub_options.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001525 "include/grpc++/impl/codegen/sync_stream.h",
1526 "include/grpc++/impl/codegen/time.h",
1527 ],
1528 deps = [
1529 "grpc_codegen",
1530 ],
Craig Tillerda179ce2016-02-09 12:01:53 -08001531)
1532
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001533grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001534 name = "grpc++_codegen_base_src",
1535 srcs = [
1536 "src/cpp/codegen/codegen_init.cc",
1537 ],
1538 language = "c++",
1539 deps = [
1540 "grpc++_codegen_base",
1541 ],
Jorge Canizales140bca82015-06-20 09:47:00 -07001542)
1543
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001544grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001545 name = "grpc++_codegen_proto",
1546 language = "c++",
1547 public_hdrs = [
1548 "include/grpc++/impl/codegen/proto_utils.h",
1549 ],
1550 deps = [
1551 "grpc++_codegen_base",
1552 "grpc++_config_proto",
1553 ],
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001554)
1555
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001556grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001557 name = "grpc++_config_proto",
David Garcia Quintas5481a582017-02-14 16:11:42 -08001558 external_deps = [
1559 "protobuf",
1560 ],
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001561 language = "c++",
1562 public_hdrs = [
1563 "include/grpc++/impl/codegen/config_protobuf.h",
1564 ],
Jan Tattermusch2d924952015-05-06 10:23:17 -07001565)
1566
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001567grpc_cc_library(
Sree Kuchibhotla43bca1b2017-02-22 16:37:27 -08001568 name = "grpc++_reflection",
1569 srcs = [
1570 "src/cpp/ext/proto_server_reflection.cc",
1571 "src/cpp/ext/proto_server_reflection_plugin.cc",
1572 ],
1573 hdrs = [
1574 "src/cpp/ext/proto_server_reflection.h",
1575 ],
1576 language = "c++",
1577 public_hdrs = [
1578 "include/grpc++/ext/proto_server_reflection_plugin.h",
1579 ],
1580 deps = [
1581 ":grpc++",
1582 "//src/proto/grpc/reflection/v1alpha:reflection_proto",
1583 ],
Ian Coolidge13213412017-06-27 21:49:44 -07001584 alwayslink = 1,
Sree Kuchibhotla43bca1b2017-02-22 16:37:27 -08001585)
Nicolas "Pixel" Noble2b0f0012017-04-24 19:59:19 +02001586
Nicolas "Pixel" Noble0885f982017-05-12 21:10:55 +02001587grpc_cc_library(
1588 name = "grpc++_test",
1589 public_hdrs = [
1590 "include/grpc++/test/mock_stream.h",
1591 "include/grpc++/test/server_context_test_spouse.h",
1592 ],
1593 deps = [
1594 ":grpc++",
1595 ],
1596)
1597
Muxi Yan2a5bbc12017-05-15 12:03:08 -07001598grpc_cc_library(
1599 name = "grpc_server_backward_compatibility",
1600 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001601 "src/core/ext/filters/workarounds/workaround_utils.cc",
Muxi Yan2a5bbc12017-05-15 12:03:08 -07001602 ],
1603 hdrs = [
1604 "src/core/ext/filters/workarounds/workaround_utils.h",
1605 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001606 language = "c++",
Muxi Yan2a5bbc12017-05-15 12:03:08 -07001607 deps = [
1608 "grpc_base",
1609 ],
1610)
1611
Craig Tillere1101cf2017-09-06 09:42:20 -07001612grpc_cc_library(
1613 name = "grpc++_core_stats",
1614 srcs = [
1615 "src/cpp/util/core_stats.cc",
1616 ],
1617 hdrs = [
1618 "src/cpp/util/core_stats.h",
1619 ],
1620 language = "c++",
1621 deps = [
1622 ":grpc++",
1623 "//src/proto/grpc/core:stats_proto",
1624 ],
1625)
1626
Nicolas "Pixel" Noble2b0f0012017-04-24 19:59:19 +02001627grpc_generate_one_off_targets()