blob: 76d78d737f2053c8a8a0d5ab5824bab3b489f2a9 [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",
Nicolas "Pixel" Noble057b5382017-05-12 17:02:01 +020032 "grpc_generate_one_off_targets",
Juanli Shen291bbc72018-06-21 13:02:40 -070033 "grpc_proto_plugin",
Sree Kuchibhotlad4fc32e2017-05-02 14:15:12 -070034)
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +020035
Vijay Pai60409752017-11-10 13:44:26 -080036config_setting(
37 name = "grpc_no_ares",
38 values = {"define": "grpc_no_ares=true"},
39)
40
Adele Zhoue5df91f2017-11-29 14:37:18 -080041config_setting(
Vijay Pai9809ce32017-12-19 09:09:52 -080042 name = "grpc_allow_exceptions",
43 values = {"define": "GRPC_ALLOW_EXCEPTIONS=1"},
44)
45
46config_setting(
47 name = "grpc_disallow_exceptions",
48 values = {"define": "GRPC_ALLOW_EXCEPTIONS=0"},
49)
50
51config_setting(
Adele Zhoue5df91f2017-11-29 14:37:18 -080052 name = "remote_execution",
Adele Zhou5b7cdef2017-11-29 16:25:17 -080053 values = {"define": "GRPC_PORT_ISOLATED_RUNTIME=1"},
Adele Zhoue5df91f2017-11-29 14:37:18 -080054)
55
Loo Rong Jiee97c2302018-01-10 17:35:34 +080056config_setting(
57 name = "windows",
David Garcia Quintas396d49d2018-02-28 16:06:30 -080058 values = {"cpu": "x64_windows"},
Loo Rong Jiee97c2302018-01-10 17:35:34 +080059)
60
61config_setting(
62 name = "windows_msvc",
63 values = {"cpu": "x64_windows_msvc"},
64)
65
murgatroid99a41fd5b2017-04-13 09:56:17 -070066# This should be updated along with build.yaml
Juanli Shen63322ac2018-08-27 14:26:45 -070067g_stands_for = "gao"
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +020068
Vijay Pai392e2132018-01-13 23:58:26 -080069core_version = "6.0.0-dev"
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +020070
Juanli Shen63322ac2018-08-27 14:26:45 -070071version = "1.16.0-dev"
Rob Earhartb7b8d052016-03-29 11:35:29 -070072
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +020073GPR_PUBLIC_HDRS = [
74 "include/grpc/support/alloc.h",
75 "include/grpc/support/atm.h",
76 "include/grpc/support/atm_gcc_atomic.h",
77 "include/grpc/support/atm_gcc_sync.h",
78 "include/grpc/support/atm_windows.h",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +020079 "include/grpc/support/cpu.h",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +020080 "include/grpc/support/log.h",
81 "include/grpc/support/log_windows.h",
82 "include/grpc/support/port_platform.h",
83 "include/grpc/support/string_util.h",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +020084 "include/grpc/support/sync.h",
yang-g9ff60312017-08-24 09:08:21 -070085 "include/grpc/support/sync_custom.h",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +020086 "include/grpc/support/sync_generic.h",
87 "include/grpc/support/sync_posix.h",
88 "include/grpc/support/sync_windows.h",
Vijay Paic7456902018-02-12 10:28:24 -080089 "include/grpc/support/thd_id.h",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +020090 "include/grpc/support/time.h",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +020091]
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +020092
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +020093GRPC_PUBLIC_HDRS = [
94 "include/grpc/byte_buffer.h",
95 "include/grpc/byte_buffer_reader.h",
96 "include/grpc/compression.h",
Vijay Pai195cf1e2017-11-30 10:56:06 -080097 "include/grpc/fork.h",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +020098 "include/grpc/grpc.h",
99 "include/grpc/grpc_posix.h",
100 "include/grpc/grpc_security_constants.h",
101 "include/grpc/slice.h",
102 "include/grpc/slice_buffer.h",
103 "include/grpc/status.h",
Juanli Shenbe40b0d2018-07-13 19:52:59 -0700104 "include/grpc/load_reporting.h",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +0200105 "include/grpc/support/workaround_list.h",
106]
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700107
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +0200108GRPC_SECURE_PUBLIC_HDRS = [
109 "include/grpc/grpc_security.h",
110]
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200111
Nicolas "Pixel" Noble86ac5962017-05-31 20:23:41 +0200112# TODO(ctiller): layer grpc atop grpc_unsecure, layer grpc++ atop grpc++_unsecure
113GRPCXX_SRCS = [
114 "src/cpp/client/channel_cc.cc",
115 "src/cpp/client/client_context.cc",
116 "src/cpp/client/create_channel.cc",
117 "src/cpp/client/create_channel_internal.cc",
118 "src/cpp/client/create_channel_posix.cc",
119 "src/cpp/client/credentials_cc.cc",
120 "src/cpp/client/generic_stub.cc",
Vijay Pai2b226ad2018-01-11 16:11:35 -0800121 "src/cpp/common/alarm.cc",
Nicolas "Pixel" Noble86ac5962017-05-31 20:23:41 +0200122 "src/cpp/common/channel_arguments.cc",
123 "src/cpp/common/channel_filter.cc",
124 "src/cpp/common/completion_queue_cc.cc",
125 "src/cpp/common/core_codegen.cc",
126 "src/cpp/common/resource_quota_cc.cc",
127 "src/cpp/common/rpc_method.cc",
128 "src/cpp/common/version_cc.cc",
129 "src/cpp/server/async_generic_service.cc",
130 "src/cpp/server/channel_argument_option.cc",
131 "src/cpp/server/create_default_thread_pool.cc",
132 "src/cpp/server/dynamic_thread_pool.cc",
133 "src/cpp/server/health/default_health_check_service.cc",
134 "src/cpp/server/health/health.pb.c",
135 "src/cpp/server/health/health_check_service.cc",
136 "src/cpp/server/health/health_check_service_server_builder_option.cc",
137 "src/cpp/server/server_builder.cc",
138 "src/cpp/server/server_cc.cc",
139 "src/cpp/server/server_context.cc",
140 "src/cpp/server/server_credentials.cc",
141 "src/cpp/server/server_posix.cc",
142 "src/cpp/thread_manager/thread_manager.cc",
143 "src/cpp/util/byte_buffer_cc.cc",
Nicolas "Pixel" Noble86ac5962017-05-31 20:23:41 +0200144 "src/cpp/util/status.cc",
145 "src/cpp/util/string_ref.cc",
146 "src/cpp/util/time_cc.cc",
147]
148
149GRPCXX_HDRS = [
150 "src/cpp/client/create_channel_internal.h",
151 "src/cpp/common/channel_filter.h",
152 "src/cpp/server/dynamic_thread_pool.h",
153 "src/cpp/server/health/default_health_check_service.h",
154 "src/cpp/server/health/health.pb.h",
155 "src/cpp/server/thread_pool_interface.h",
156 "src/cpp/thread_manager/thread_manager.h",
157]
158
159GRPCXX_PUBLIC_HDRS = [
160 "include/grpc++/alarm.h",
161 "include/grpc++/channel.h",
162 "include/grpc++/client_context.h",
163 "include/grpc++/completion_queue.h",
164 "include/grpc++/create_channel.h",
165 "include/grpc++/create_channel_posix.h",
166 "include/grpc++/ext/health_check_service_server_builder_option.h",
167 "include/grpc++/generic/async_generic_service.h",
168 "include/grpc++/generic/generic_stub.h",
169 "include/grpc++/grpc++.h",
170 "include/grpc++/health_check_service_interface.h",
171 "include/grpc++/impl/call.h",
172 "include/grpc++/impl/channel_argument_option.h",
173 "include/grpc++/impl/client_unary_call.h",
174 "include/grpc++/impl/codegen/core_codegen.h",
175 "include/grpc++/impl/grpc_library.h",
176 "include/grpc++/impl/method_handler_impl.h",
177 "include/grpc++/impl/rpc_method.h",
178 "include/grpc++/impl/rpc_service_method.h",
179 "include/grpc++/impl/serialization_traits.h",
180 "include/grpc++/impl/server_builder_option.h",
181 "include/grpc++/impl/server_builder_plugin.h",
182 "include/grpc++/impl/server_initializer.h",
183 "include/grpc++/impl/service_type.h",
184 "include/grpc++/impl/sync_cxx11.h",
185 "include/grpc++/impl/sync_no_cxx11.h",
186 "include/grpc++/resource_quota.h",
187 "include/grpc++/security/auth_context.h",
188 "include/grpc++/security/auth_metadata_processor.h",
189 "include/grpc++/security/credentials.h",
190 "include/grpc++/security/server_credentials.h",
191 "include/grpc++/server.h",
192 "include/grpc++/server_builder.h",
193 "include/grpc++/server_context.h",
194 "include/grpc++/server_posix.h",
195 "include/grpc++/support/async_stream.h",
196 "include/grpc++/support/async_unary_call.h",
197 "include/grpc++/support/byte_buffer.h",
198 "include/grpc++/support/channel_arguments.h",
199 "include/grpc++/support/config.h",
200 "include/grpc++/support/slice.h",
201 "include/grpc++/support/status.h",
202 "include/grpc++/support/status_code_enum.h",
203 "include/grpc++/support/string_ref.h",
204 "include/grpc++/support/stub_options.h",
205 "include/grpc++/support/sync_stream.h",
206 "include/grpc++/support/time.h",
Muxi Yan0e00c432018-01-26 15:39:32 -0800207 "include/grpcpp/alarm.h",
208 "include/grpcpp/channel.h",
209 "include/grpcpp/client_context.h",
210 "include/grpcpp/completion_queue.h",
211 "include/grpcpp/create_channel.h",
212 "include/grpcpp/create_channel_posix.h",
213 "include/grpcpp/ext/health_check_service_server_builder_option.h",
214 "include/grpcpp/generic/async_generic_service.h",
215 "include/grpcpp/generic/generic_stub.h",
216 "include/grpcpp/grpcpp.h",
217 "include/grpcpp/health_check_service_interface.h",
218 "include/grpcpp/impl/call.h",
219 "include/grpcpp/impl/channel_argument_option.h",
220 "include/grpcpp/impl/client_unary_call.h",
221 "include/grpcpp/impl/codegen/core_codegen.h",
222 "include/grpcpp/impl/grpc_library.h",
223 "include/grpcpp/impl/method_handler_impl.h",
224 "include/grpcpp/impl/rpc_method.h",
225 "include/grpcpp/impl/rpc_service_method.h",
226 "include/grpcpp/impl/serialization_traits.h",
227 "include/grpcpp/impl/server_builder_option.h",
228 "include/grpcpp/impl/server_builder_plugin.h",
229 "include/grpcpp/impl/server_initializer.h",
230 "include/grpcpp/impl/service_type.h",
231 "include/grpcpp/impl/sync_cxx11.h",
232 "include/grpcpp/impl/sync_no_cxx11.h",
233 "include/grpcpp/resource_quota.h",
234 "include/grpcpp/security/auth_context.h",
235 "include/grpcpp/security/auth_metadata_processor.h",
236 "include/grpcpp/security/credentials.h",
237 "include/grpcpp/security/server_credentials.h",
238 "include/grpcpp/server.h",
239 "include/grpcpp/server_builder.h",
240 "include/grpcpp/server_context.h",
241 "include/grpcpp/server_posix.h",
242 "include/grpcpp/support/async_stream.h",
243 "include/grpcpp/support/async_unary_call.h",
244 "include/grpcpp/support/byte_buffer.h",
245 "include/grpcpp/support/channel_arguments.h",
Vijay Pai8bf52532018-08-21 14:32:13 -0700246 "include/grpcpp/support/client_callback.h",
Muxi Yan0e00c432018-01-26 15:39:32 -0800247 "include/grpcpp/support/config.h",
ncteisencf5b2662018-02-27 11:55:10 -0800248 "include/grpcpp/support/proto_buffer_reader.h",
249 "include/grpcpp/support/proto_buffer_writer.h",
Muxi Yan0e00c432018-01-26 15:39:32 -0800250 "include/grpcpp/support/slice.h",
251 "include/grpcpp/support/status.h",
252 "include/grpcpp/support/status_code_enum.h",
253 "include/grpcpp/support/string_ref.h",
254 "include/grpcpp/support/stub_options.h",
255 "include/grpcpp/support/sync_stream.h",
256 "include/grpcpp/support/time.h",
Nicolas "Pixel" Noble86ac5962017-05-31 20:23:41 +0200257]
258
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +0200259grpc_cc_library(
260 name = "gpr",
Yash Tibrewal2dcbc102017-10-03 16:23:07 -0700261 language = "c++",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +0200262 public_hdrs = GPR_PUBLIC_HDRS,
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +0200263 standalone = True,
264 deps = [
265 "gpr_base",
266 ],
267)
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +0200268
269grpc_cc_library(
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +0200270 name = "grpc_unsecure",
271 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -0700272 "src/core/lib/surface/init.cc",
273 "src/core/lib/surface/init_unsecure.cc",
274 "src/core/plugin_registry/grpc_unsecure_plugin_registry.cc",
Nicolas "Pixel" Noble31d11db2016-10-20 09:29:46 +0200275 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -0700276 language = "c++",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +0200277 public_hdrs = GRPC_PUBLIC_HDRS,
Nicolas "Pixel" Noble31d11db2016-10-20 09:29:46 +0200278 standalone = True,
Craig Tillerda179ce2016-02-09 12:01:53 -0800279 deps = [
280 "grpc_common",
Vijay Pai42807252017-07-28 15:08:24 -0700281 "grpc_lb_policy_grpclb",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200282 ],
283)
284
285grpc_cc_library(
286 name = "grpc",
287 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -0700288 "src/core/lib/surface/init.cc",
289 "src/core/plugin_registry/grpc_plugin_registry.cc",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200290 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -0700291 language = "c++",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +0200292 public_hdrs = GRPC_PUBLIC_HDRS + GRPC_SECURE_PUBLIC_HDRS,
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200293 standalone = True,
294 deps = [
295 "grpc_common",
296 "grpc_lb_policy_grpclb_secure",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200297 "grpc_secure",
298 "grpc_transport_chttp2_client_secure",
299 "grpc_transport_chttp2_server_secure",
300 ],
301)
302
303grpc_cc_library(
304 name = "grpc_cronet",
305 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -0700306 "src/core/lib/surface/init.cc",
307 "src/core/plugin_registry/grpc_cronet_plugin_registry.cc",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200308 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -0700309 language = "c++",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200310 deps = [
311 "grpc_base",
312 "grpc_http_filters",
313 "grpc_transport_chttp2_client_secure",
314 "grpc_transport_cronet_client_secure",
315 ],
316)
317
318grpc_cc_library(
makdharma8d6e6f62018-01-23 09:44:25 -0800319 name = "grpc++_public_hdrs",
320 hdrs = GRPCXX_PUBLIC_HDRS,
321)
322
323grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200324 name = "grpc++",
325 srcs = [
326 "src/cpp/client/insecure_credentials.cc",
327 "src/cpp/client/secure_credentials.cc",
328 "src/cpp/common/auth_property_iterator.cc",
329 "src/cpp/common/secure_auth_context.cc",
330 "src/cpp/common/secure_channel_arguments.cc",
331 "src/cpp/common/secure_create_auth_context.cc",
332 "src/cpp/server/insecure_server_credentials.cc",
333 "src/cpp/server/secure_server_credentials.cc",
334 ],
335 hdrs = [
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200336 "src/cpp/client/secure_credentials.h",
337 "src/cpp/common/secure_auth_context.h",
338 "src/cpp/server/secure_server_credentials.h",
339 ],
340 language = "c++",
Nicolas "Pixel" Noble86ac5962017-05-31 20:23:41 +0200341 public_hdrs = GRPCXX_PUBLIC_HDRS,
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200342 standalone = True,
343 deps = [
344 "gpr",
345 "grpc",
346 "grpc++_base",
347 "grpc++_codegen_base",
348 "grpc++_codegen_base_src",
Jan Tattermuschaead5aa2017-02-10 11:00:29 -0800349 "grpc++_codegen_proto",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200350 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200351)
352
353grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200354 name = "grpc++_unsecure",
355 srcs = [
356 "src/cpp/client/insecure_credentials.cc",
357 "src/cpp/common/insecure_create_auth_context.cc",
358 "src/cpp/server/insecure_server_credentials.cc",
359 ],
360 language = "c++",
361 standalone = True,
362 deps = [
363 "gpr",
Vijay Pai576e5462017-04-20 18:40:16 +0000364 "grpc++_base_unsecure",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200365 "grpc++_codegen_base",
366 "grpc++_codegen_base_src",
Vijay Pai42807252017-07-28 15:08:24 -0700367 "grpc++_codegen_proto",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200368 "grpc_unsecure",
369 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200370)
371
372grpc_cc_library(
yang-geceec8e2017-04-10 11:58:44 -0700373 name = "grpc++_error_details",
374 srcs = [
375 "src/cpp/util/error_details.cc",
376 ],
377 hdrs = [
378 "include/grpc++/support/error_details.h",
Muxi Yan0e00c432018-01-26 15:39:32 -0800379 "include/grpcpp/support/error_details.h",
yang-geceec8e2017-04-10 11:58:44 -0700380 ],
381 language = "c++",
382 standalone = True,
383 deps = [
384 "grpc++",
385 "//src/proto/grpc/status:status_proto",
386 ],
387)
388
389grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200390 name = "grpc_plugin_support",
391 srcs = [
392 "src/compiler/cpp_generator.cc",
393 "src/compiler/csharp_generator.cc",
394 "src/compiler/node_generator.cc",
395 "src/compiler/objective_c_generator.cc",
396 "src/compiler/php_generator.cc",
397 "src/compiler/python_generator.cc",
398 "src/compiler/ruby_generator.cc",
399 ],
400 hdrs = [
401 "src/compiler/config.h",
402 "src/compiler/cpp_generator.h",
403 "src/compiler/cpp_generator_helpers.h",
404 "src/compiler/csharp_generator.h",
405 "src/compiler/csharp_generator_helpers.h",
406 "src/compiler/generator_helpers.h",
407 "src/compiler/node_generator.h",
408 "src/compiler/node_generator_helpers.h",
409 "src/compiler/objective_c_generator.h",
410 "src/compiler/objective_c_generator_helpers.h",
411 "src/compiler/php_generator.h",
412 "src/compiler/php_generator_helpers.h",
Jan Tattermusch61f729f2017-04-06 17:11:44 +0200413 "src/compiler/protobuf_plugin.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200414 "src/compiler/python_generator.h",
Harsh Vardhan3cbc6ad2017-02-07 13:09:16 +0530415 "src/compiler/python_generator_helpers.h",
416 "src/compiler/python_private_generator.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200417 "src/compiler/ruby_generator.h",
418 "src/compiler/ruby_generator_helpers-inl.h",
419 "src/compiler/ruby_generator_map-inl.h",
420 "src/compiler/ruby_generator_string-inl.h",
Jan Tattermusch61f729f2017-04-06 17:11:44 +0200421 "src/compiler/schema_interface.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200422 ],
423 external_deps = [
Nicolas "Pixel" Noble4dc64312016-10-20 23:07:37 +0200424 "protobuf_clib",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200425 ],
426 language = "c++",
427 deps = [
428 "grpc++_config_proto",
429 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200430)
431
Nicolas "Pixel" Noble4dc64312016-10-20 23:07:37 +0200432grpc_proto_plugin(
433 name = "grpc_cpp_plugin",
434 srcs = ["src/compiler/cpp_plugin.cc"],
435 deps = [":grpc_plugin_support"],
436)
437
438grpc_proto_plugin(
439 name = "grpc_csharp_plugin",
440 srcs = ["src/compiler/csharp_plugin.cc"],
441 deps = [":grpc_plugin_support"],
442)
443
444grpc_proto_plugin(
445 name = "grpc_node_plugin",
446 srcs = ["src/compiler/node_plugin.cc"],
447 deps = [":grpc_plugin_support"],
448)
449
450grpc_proto_plugin(
451 name = "grpc_objective_c_plugin",
452 srcs = ["src/compiler/objective_c_plugin.cc"],
453 deps = [":grpc_plugin_support"],
454)
455
456grpc_proto_plugin(
457 name = "grpc_php_plugin",
458 srcs = ["src/compiler/php_plugin.cc"],
459 deps = [":grpc_plugin_support"],
460)
461
462grpc_proto_plugin(
463 name = "grpc_python_plugin",
464 srcs = ["src/compiler/python_plugin.cc"],
465 deps = [":grpc_plugin_support"],
466)
467
468grpc_proto_plugin(
469 name = "grpc_ruby_plugin",
470 srcs = ["src/compiler/ruby_plugin.cc"],
471 deps = [":grpc_plugin_support"],
472)
473
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200474grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200475 name = "grpc_csharp_ext",
476 srcs = [
477 "src/csharp/ext/grpc_csharp_ext.c",
478 ],
479 language = "csharp",
480 deps = [
481 "gpr",
482 "grpc",
483 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200484)
485
486grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200487 name = "census",
488 srcs = [
Vijay Pai381bcab2018-08-16 15:44:19 -0700489 "src/core/ext/filters/census/grpc_context.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200490 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -0700491 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200492 public_hdrs = [
493 "include/grpc/census.h",
494 ],
495 deps = [
496 "grpc_base",
497 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200498)
499
500grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200501 name = "gpr_base",
502 srcs = [
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800503 "src/core/lib/gpr/alloc.cc",
504 "src/core/lib/gpr/arena.cc",
505 "src/core/lib/gpr/atm.cc",
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800506 "src/core/lib/gpr/cpu_iphone.cc",
507 "src/core/lib/gpr/cpu_linux.cc",
508 "src/core/lib/gpr/cpu_posix.cc",
509 "src/core/lib/gpr/cpu_windows.cc",
510 "src/core/lib/gpr/env_linux.cc",
511 "src/core/lib/gpr/env_posix.cc",
512 "src/core/lib/gpr/env_windows.cc",
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800513 "src/core/lib/gpr/host_port.cc",
514 "src/core/lib/gpr/log.cc",
515 "src/core/lib/gpr/log_android.cc",
516 "src/core/lib/gpr/log_linux.cc",
517 "src/core/lib/gpr/log_posix.cc",
518 "src/core/lib/gpr/log_windows.cc",
519 "src/core/lib/gpr/mpscq.cc",
520 "src/core/lib/gpr/murmur_hash.cc",
521 "src/core/lib/gpr/string.cc",
522 "src/core/lib/gpr/string_posix.cc",
523 "src/core/lib/gpr/string_util_windows.cc",
524 "src/core/lib/gpr/string_windows.cc",
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800525 "src/core/lib/gpr/sync.cc",
526 "src/core/lib/gpr/sync_posix.cc",
527 "src/core/lib/gpr/sync_windows.cc",
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800528 "src/core/lib/gpr/time.cc",
529 "src/core/lib/gpr/time_posix.cc",
530 "src/core/lib/gpr/time_precise.cc",
531 "src/core/lib/gpr/time_windows.cc",
532 "src/core/lib/gpr/tls_pthread.cc",
533 "src/core/lib/gpr/tmpfile_msys.cc",
534 "src/core/lib/gpr/tmpfile_posix.cc",
535 "src/core/lib/gpr/tmpfile_windows.cc",
536 "src/core/lib/gpr/wrap_memcpy.cc",
kpayson64701e70d2018-04-30 17:40:00 -0700537 "src/core/lib/gprpp/fork.cc",
Vijay Pai756caa72018-03-01 12:38:16 -0800538 "src/core/lib/gprpp/thd_posix.cc",
539 "src/core/lib/gprpp/thd_windows.cc",
Vijay Pai239b7d42018-02-08 11:08:41 -0800540 "src/core/lib/profiling/basic_timers.cc",
541 "src/core/lib/profiling/stap_timers.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200542 ],
543 hdrs = [
Mark D. Roth2223e602018-06-27 07:23:33 -0700544 "src/core/lib/gpr/alloc.h",
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800545 "src/core/lib/gpr/arena.h",
546 "src/core/lib/gpr/env.h",
Vijay Paiae376bf2018-01-25 22:54:02 -0800547 "src/core/lib/gpr/host_port.h",
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800548 "src/core/lib/gpr/mpscq.h",
549 "src/core/lib/gpr/murmur_hash.h",
550 "src/core/lib/gpr/spinlock.h",
551 "src/core/lib/gpr/string.h",
552 "src/core/lib/gpr/string_windows.h",
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800553 "src/core/lib/gpr/time_precise.h",
Vijay Paib6cf1232018-01-25 21:02:26 -0800554 "src/core/lib/gpr/tls.h",
555 "src/core/lib/gpr/tls_gcc.h",
556 "src/core/lib/gpr/tls_msvc.h",
557 "src/core/lib/gpr/tls_pthread.h",
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800558 "src/core/lib/gpr/tmpfile.h",
Vijay Pai239b7d42018-02-08 11:08:41 -0800559 "src/core/lib/gpr/useful.h",
Vijay Pai756caa72018-03-01 12:38:16 -0800560 "src/core/lib/gprpp/abstract.h",
kpayson64701e70d2018-04-30 17:40:00 -0700561 "src/core/lib/gprpp/fork.h",
Vijay Pai756caa72018-03-01 12:38:16 -0800562 "src/core/lib/gprpp/manual_constructor.h",
563 "src/core/lib/gprpp/memory.h",
Mark D. Roth7a7e4f52018-08-16 12:04:24 -0700564 "src/core/lib/gprpp/mutex_lock.h",
Vijay Pai756caa72018-03-01 12:38:16 -0800565 "src/core/lib/gprpp/thd.h",
Vijay Pai239b7d42018-02-08 11:08:41 -0800566 "src/core/lib/profiling/timers.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200567 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -0700568 language = "c++",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +0200569 public_hdrs = GPR_PUBLIC_HDRS,
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200570 deps = [
571 "gpr_codegen",
572 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200573)
574
575grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200576 name = "gpr_codegen",
Yash Tibrewal2dcbc102017-10-03 16:23:07 -0700577 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200578 public_hdrs = [
579 "include/grpc/impl/codegen/atm.h",
580 "include/grpc/impl/codegen/atm_gcc_atomic.h",
581 "include/grpc/impl/codegen/atm_gcc_sync.h",
582 "include/grpc/impl/codegen/atm_windows.h",
Ken Payson9714e032017-10-10 11:18:49 -0700583 "include/grpc/impl/codegen/fork.h",
Mark D. Roth348fba22017-01-06 11:07:30 -0800584 "include/grpc/impl/codegen/gpr_slice.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200585 "include/grpc/impl/codegen/gpr_types.h",
ncteisen93a90e62018-06-18 18:39:56 -0700586 "include/grpc/impl/codegen/log.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200587 "include/grpc/impl/codegen/port_platform.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200588 "include/grpc/impl/codegen/sync.h",
yang-g9ff60312017-08-24 09:08:21 -0700589 "include/grpc/impl/codegen/sync_custom.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200590 "include/grpc/impl/codegen/sync_generic.h",
591 "include/grpc/impl/codegen/sync_posix.h",
592 "include/grpc/impl/codegen/sync_windows.h",
593 ],
Craig Tillerda179ce2016-02-09 12:01:53 -0800594)
595
Nicolas "Pixel" Noble31d11db2016-10-20 09:29:46 +0200596grpc_cc_library(
Craig Tiller1f477302017-05-05 11:01:25 -0700597 name = "grpc_trace",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700598 srcs = ["src/core/lib/debug/trace.cc"],
Craig Tiller1f477302017-05-05 11:01:25 -0700599 hdrs = ["src/core/lib/debug/trace.h"],
Yash Tibrewala60c7632017-09-28 16:13:32 -0700600 language = "c++",
Yash Tibrewal12587d52017-10-05 08:53:41 -0700601 public_hdrs = GRPC_PUBLIC_HDRS,
Yash Tibrewalf49ab122017-10-03 18:36:05 -0700602 deps = [
603 "grpc_codegen",
604 ":gpr",
605 ],
Craig Tiller1f477302017-05-05 11:01:25 -0700606)
607
608grpc_cc_library(
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800609 name = "atomic",
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800610 hdrs = [
Mark D. Roth4f2b0fd2018-01-19 12:12:23 -0800611 "src/core/lib/gprpp/atomic_with_atm.h",
612 "src/core/lib/gprpp/atomic_with_std.h",
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800613 ],
Vijay Pai239b7d42018-02-08 11:08:41 -0800614 language = "c++",
615 public_hdrs = [
616 "src/core/lib/gprpp/atomic.h",
617 ],
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800618 deps = [
619 "gpr",
620 ],
621)
622
623grpc_cc_library(
624 name = "inlined_vector",
625 language = "c++",
626 public_hdrs = [
Mark D. Roth4f2b0fd2018-01-19 12:12:23 -0800627 "src/core/lib/gprpp/inlined_vector.h",
628 ],
629 deps = [
Vijay Pai756caa72018-03-01 12:38:16 -0800630 "gpr_base",
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800631 ],
632)
633
634grpc_cc_library(
Mark D. Roth70db6632017-11-27 14:53:26 -0800635 name = "debug_location",
Mark D. Roth70db6632017-11-27 14:53:26 -0800636 language = "c++",
Mark D. Roth4f2b0fd2018-01-19 12:12:23 -0800637 public_hdrs = ["src/core/lib/gprpp/debug_location.h"],
Mark D. Roth70db6632017-11-27 14:53:26 -0800638)
639
640grpc_cc_library(
Mark D. Roth324703d2018-01-11 07:41:31 -0800641 name = "orphanable",
Mark D. Roth324703d2018-01-11 07:41:31 -0800642 language = "c++",
Mark D. Roth4f2b0fd2018-01-19 12:12:23 -0800643 public_hdrs = ["src/core/lib/gprpp/orphanable.h"],
Mark D. Roth324703d2018-01-11 07:41:31 -0800644 deps = [
Mark D. Roth324703d2018-01-11 07:41:31 -0800645 "debug_location",
Vijay Pai756caa72018-03-01 12:38:16 -0800646 "gpr_base",
David Garcia Quintas41d27e12018-01-17 10:38:53 -0800647 "grpc_trace",
Vijay Pai239b7d42018-02-08 11:08:41 -0800648 "ref_counted_ptr",
Mark D. Roth324703d2018-01-11 07:41:31 -0800649 ],
Mark D. Roth70db6632017-11-27 14:53:26 -0800650)
651
652grpc_cc_library(
Mark D. Rothbf816d32017-11-29 11:25:34 -0800653 name = "ref_counted",
Mark D. Roth70db6632017-11-27 14:53:26 -0800654 language = "c++",
Mark D. Roth4f2b0fd2018-01-19 12:12:23 -0800655 public_hdrs = ["src/core/lib/gprpp/ref_counted.h"],
Mark D. Roth70db6632017-11-27 14:53:26 -0800656 deps = [
Mark D. Roth70db6632017-11-27 14:53:26 -0800657 "debug_location",
Vijay Pai756caa72018-03-01 12:38:16 -0800658 "gpr_base",
David Garcia Quintas53bfe692018-01-04 16:39:08 -0800659 "grpc_trace",
Vijay Pai239b7d42018-02-08 11:08:41 -0800660 "ref_counted_ptr",
Mark D. Roth70db6632017-11-27 14:53:26 -0800661 ],
662)
663
664grpc_cc_library(
Mark D. Rothbf816d32017-11-29 11:25:34 -0800665 name = "ref_counted_ptr",
Mark D. Rothcf9ca842017-11-28 08:24:35 -0800666 language = "c++",
Mark D. Roth4f2b0fd2018-01-19 12:12:23 -0800667 public_hdrs = ["src/core/lib/gprpp/ref_counted_ptr.h"],
668 deps = [
Vijay Pai756caa72018-03-01 12:38:16 -0800669 "gpr_base",
Mark D. Roth4f2b0fd2018-01-19 12:12:23 -0800670 ],
Mark D. Rothcf9ca842017-11-28 08:24:35 -0800671)
672
673grpc_cc_library(
Craig Tiller832c6072017-05-11 14:38:05 -0700674 name = "grpc_base_c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200675 srcs = [
Vijay Pai8f4fbb12018-02-08 10:04:08 -0800676 "src/core/lib/avl/avl.cc",
Craig Tillere1a2b4a2017-10-05 11:07:14 -0700677 "src/core/lib/backoff/backoff.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700678 "src/core/lib/channel/channel_args.cc",
679 "src/core/lib/channel/channel_stack.cc",
680 "src/core/lib/channel/channel_stack_builder.cc",
ncteisen3b42f832018-03-19 13:22:35 -0700681 "src/core/lib/channel/channel_trace.cc",
ncteisenc3c6e062018-05-09 11:10:21 -0700682 "src/core/lib/channel/channelz.cc",
Juanli Shen291bbc72018-06-21 13:02:40 -0700683 "src/core/lib/channel/channelz_registry.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700684 "src/core/lib/channel/connected_channel.cc",
685 "src/core/lib/channel/handshaker.cc",
686 "src/core/lib/channel/handshaker_factory.cc",
687 "src/core/lib/channel/handshaker_registry.cc",
David Garcia Quintasfa460dc2018-03-23 14:51:41 -0700688 "src/core/lib/channel/status_util.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700689 "src/core/lib/compression/compression.cc",
Muxi Yan03fc8572017-10-06 18:47:09 -0700690 "src/core/lib/compression/compression_internal.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700691 "src/core/lib/compression/message_compress.cc",
692 "src/core/lib/compression/stream_compression.cc",
693 "src/core/lib/compression/stream_compression_gzip.cc",
694 "src/core/lib/compression/stream_compression_identity.cc",
695 "src/core/lib/debug/stats.cc",
696 "src/core/lib/debug/stats_data.cc",
697 "src/core/lib/http/format_request.cc",
698 "src/core/lib/http/httpcli.cc",
699 "src/core/lib/http/parser.cc",
Yash Tibrewal8d47cd42018-08-27 14:56:01 -0700700 "src/core/lib/iomgr/buffer_list.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700701 "src/core/lib/iomgr/call_combiner.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700702 "src/core/lib/iomgr/combiner.cc",
703 "src/core/lib/iomgr/endpoint.cc",
704 "src/core/lib/iomgr/endpoint_pair_posix.cc",
705 "src/core/lib/iomgr/endpoint_pair_uv.cc",
706 "src/core/lib/iomgr/endpoint_pair_windows.cc",
707 "src/core/lib/iomgr/error.cc",
708 "src/core/lib/iomgr/ev_epoll1_linux.cc",
709 "src/core/lib/iomgr/ev_epollex_linux.cc",
710 "src/core/lib/iomgr/ev_epollsig_linux.cc",
711 "src/core/lib/iomgr/ev_poll_posix.cc",
712 "src/core/lib/iomgr/ev_posix.cc",
713 "src/core/lib/iomgr/ev_windows.cc",
714 "src/core/lib/iomgr/exec_ctx.cc",
715 "src/core/lib/iomgr/executor.cc",
Nicolas "Pixel" Noble18a68372017-11-20 23:33:22 +0100716 "src/core/lib/iomgr/fork_posix.cc",
717 "src/core/lib/iomgr/fork_windows.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700718 "src/core/lib/iomgr/gethostname_fallback.cc",
719 "src/core/lib/iomgr/gethostname_host_name_max.cc",
720 "src/core/lib/iomgr/gethostname_sysconf.cc",
Yash Tibrewal8d47cd42018-08-27 14:56:01 -0700721 "src/core/lib/iomgr/internal_errqueue.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700722 "src/core/lib/iomgr/iocp_windows.cc",
723 "src/core/lib/iomgr/iomgr.cc",
kpayson64539f5062018-03-12 19:16:30 -0700724 "src/core/lib/iomgr/iomgr_custom.cc",
725 "src/core/lib/iomgr/iomgr_internal.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700726 "src/core/lib/iomgr/iomgr_posix.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700727 "src/core/lib/iomgr/iomgr_windows.cc",
728 "src/core/lib/iomgr/is_epollexclusive_available.cc",
729 "src/core/lib/iomgr/load_file.cc",
730 "src/core/lib/iomgr/lockfree_event.cc",
731 "src/core/lib/iomgr/network_status_tracker.cc",
732 "src/core/lib/iomgr/polling_entity.cc",
kpayson64539f5062018-03-12 19:16:30 -0700733 "src/core/lib/iomgr/pollset.cc",
734 "src/core/lib/iomgr/pollset_custom.cc",
735 "src/core/lib/iomgr/pollset_set.cc",
736 "src/core/lib/iomgr/pollset_set_custom.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700737 "src/core/lib/iomgr/pollset_set_windows.cc",
738 "src/core/lib/iomgr/pollset_uv.cc",
739 "src/core/lib/iomgr/pollset_windows.cc",
kpayson64539f5062018-03-12 19:16:30 -0700740 "src/core/lib/iomgr/resolve_address.cc",
741 "src/core/lib/iomgr/resolve_address_custom.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700742 "src/core/lib/iomgr/resolve_address_posix.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700743 "src/core/lib/iomgr/resolve_address_windows.cc",
744 "src/core/lib/iomgr/resource_quota.cc",
745 "src/core/lib/iomgr/sockaddr_utils.cc",
746 "src/core/lib/iomgr/socket_factory_posix.cc",
747 "src/core/lib/iomgr/socket_mutator.cc",
748 "src/core/lib/iomgr/socket_utils_common_posix.cc",
749 "src/core/lib/iomgr/socket_utils_linux.cc",
750 "src/core/lib/iomgr/socket_utils_posix.cc",
Yash Tibrewal26c78032017-09-28 14:34:43 -0700751 "src/core/lib/iomgr/socket_utils_windows.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700752 "src/core/lib/iomgr/socket_windows.cc",
kpayson64539f5062018-03-12 19:16:30 -0700753 "src/core/lib/iomgr/tcp_client.cc",
754 "src/core/lib/iomgr/tcp_client_custom.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700755 "src/core/lib/iomgr/tcp_client_posix.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700756 "src/core/lib/iomgr/tcp_client_windows.cc",
kpayson64539f5062018-03-12 19:16:30 -0700757 "src/core/lib/iomgr/tcp_custom.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700758 "src/core/lib/iomgr/tcp_posix.cc",
kpayson64539f5062018-03-12 19:16:30 -0700759 "src/core/lib/iomgr/tcp_server.cc",
760 "src/core/lib/iomgr/tcp_server_custom.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700761 "src/core/lib/iomgr/tcp_server_posix.cc",
762 "src/core/lib/iomgr/tcp_server_utils_posix_common.cc",
763 "src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc",
764 "src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700765 "src/core/lib/iomgr/tcp_server_windows.cc",
766 "src/core/lib/iomgr/tcp_uv.cc",
767 "src/core/lib/iomgr/tcp_windows.cc",
768 "src/core/lib/iomgr/time_averaged_stats.cc",
kpayson64539f5062018-03-12 19:16:30 -0700769 "src/core/lib/iomgr/timer.cc",
770 "src/core/lib/iomgr/timer_custom.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700771 "src/core/lib/iomgr/timer_generic.cc",
772 "src/core/lib/iomgr/timer_heap.cc",
773 "src/core/lib/iomgr/timer_manager.cc",
774 "src/core/lib/iomgr/timer_uv.cc",
775 "src/core/lib/iomgr/udp_server.cc",
776 "src/core/lib/iomgr/unix_sockets_posix.cc",
777 "src/core/lib/iomgr/unix_sockets_posix_noop.cc",
778 "src/core/lib/iomgr/wakeup_fd_cv.cc",
779 "src/core/lib/iomgr/wakeup_fd_eventfd.cc",
780 "src/core/lib/iomgr/wakeup_fd_nospecial.cc",
781 "src/core/lib/iomgr/wakeup_fd_pipe.cc",
782 "src/core/lib/iomgr/wakeup_fd_posix.cc",
783 "src/core/lib/json/json.cc",
784 "src/core/lib/json/json_reader.cc",
785 "src/core/lib/json/json_string.cc",
786 "src/core/lib/json/json_writer.cc",
787 "src/core/lib/slice/b64.cc",
788 "src/core/lib/slice/percent_encoding.cc",
789 "src/core/lib/slice/slice.cc",
790 "src/core/lib/slice/slice_buffer.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700791 "src/core/lib/slice/slice_intern.cc",
792 "src/core/lib/slice/slice_string_helpers.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700793 "src/core/lib/surface/api_trace.cc",
794 "src/core/lib/surface/byte_buffer.cc",
795 "src/core/lib/surface/byte_buffer_reader.cc",
796 "src/core/lib/surface/call.cc",
797 "src/core/lib/surface/call_details.cc",
798 "src/core/lib/surface/call_log_batch.cc",
799 "src/core/lib/surface/channel.cc",
800 "src/core/lib/surface/channel_init.cc",
801 "src/core/lib/surface/channel_ping.cc",
802 "src/core/lib/surface/channel_stack_type.cc",
803 "src/core/lib/surface/completion_queue.cc",
804 "src/core/lib/surface/completion_queue_factory.cc",
805 "src/core/lib/surface/event_string.cc",
806 "src/core/lib/surface/metadata_array.cc",
807 "src/core/lib/surface/server.cc",
808 "src/core/lib/surface/validate_metadata.cc",
809 "src/core/lib/surface/version.cc",
810 "src/core/lib/transport/bdp_estimator.cc",
811 "src/core/lib/transport/byte_stream.cc",
812 "src/core/lib/transport/connectivity_state.cc",
813 "src/core/lib/transport/error_utils.cc",
814 "src/core/lib/transport/metadata.cc",
815 "src/core/lib/transport/metadata_batch.cc",
816 "src/core/lib/transport/pid_controller.cc",
817 "src/core/lib/transport/service_config.cc",
818 "src/core/lib/transport/static_metadata.cc",
819 "src/core/lib/transport/status_conversion.cc",
Mark D. Roth718c8342018-02-28 13:00:04 -0800820 "src/core/lib/transport/status_metadata.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700821 "src/core/lib/transport/timeout_encoding.cc",
822 "src/core/lib/transport/transport.cc",
823 "src/core/lib/transport/transport_op_string.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200824 ],
825 hdrs = [
Vijay Pai8f4fbb12018-02-08 10:04:08 -0800826 "src/core/lib/avl/avl.h",
Vijay Pai89125422017-11-22 10:22:28 -0800827 "src/core/lib/backoff/backoff.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200828 "src/core/lib/channel/channel_args.h",
829 "src/core/lib/channel/channel_stack.h",
830 "src/core/lib/channel/channel_stack_builder.h",
ncteisen3b42f832018-03-19 13:22:35 -0700831 "src/core/lib/channel/channel_trace.h",
ncteisenc3c6e062018-05-09 11:10:21 -0700832 "src/core/lib/channel/channelz.h",
Juanli Shen291bbc72018-06-21 13:02:40 -0700833 "src/core/lib/channel/channelz_registry.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200834 "src/core/lib/channel/connected_channel.h",
835 "src/core/lib/channel/context.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200836 "src/core/lib/channel/handshaker.h",
Mark D. Roth1f0f23c2017-01-06 13:07:19 -0800837 "src/core/lib/channel/handshaker_factory.h",
838 "src/core/lib/channel/handshaker_registry.h",
David Garcia Quintasfa460dc2018-03-23 14:51:41 -0700839 "src/core/lib/channel/status_util.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200840 "src/core/lib/compression/algorithm_metadata.h",
Muxi Yane6d888d2017-09-14 09:42:56 -0700841 "src/core/lib/compression/compression_internal.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200842 "src/core/lib/compression/message_compress.h",
Muxi Yan1e9bdb52017-07-14 10:14:02 -0700843 "src/core/lib/compression/stream_compression.h",
Muxi Yan9cd90f42017-09-07 09:51:13 -0700844 "src/core/lib/compression/stream_compression_gzip.h",
845 "src/core/lib/compression/stream_compression_identity.h",
David Garcia Quintasb352be02017-09-18 11:55:52 -0700846 "src/core/lib/debug/stats.h",
847 "src/core/lib/debug/stats_data.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200848 "src/core/lib/http/format_request.h",
849 "src/core/lib/http/httpcli.h",
850 "src/core/lib/http/parser.h",
Yash Tibrewal8d47cd42018-08-27 14:56:01 -0700851 "src/core/lib/iomgr/buffer_list.h",
Vijay Pai89125422017-11-22 10:22:28 -0800852 "src/core/lib/iomgr/block_annotate.h",
Mark D. Roth764cf042017-09-01 09:00:06 -0700853 "src/core/lib/iomgr/call_combiner.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200854 "src/core/lib/iomgr/closure.h",
855 "src/core/lib/iomgr/combiner.h",
856 "src/core/lib/iomgr/endpoint.h",
857 "src/core/lib/iomgr/endpoint_pair.h",
858 "src/core/lib/iomgr/error.h",
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800859 "src/core/lib/iomgr/error_internal.h",
Craig Tiller18545a32017-05-05 17:33:44 +0000860 "src/core/lib/iomgr/ev_epoll1_linux.h",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700861 "src/core/lib/iomgr/ev_epollex_linux.h",
862 "src/core/lib/iomgr/ev_epollsig_linux.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200863 "src/core/lib/iomgr/ev_poll_posix.h",
864 "src/core/lib/iomgr/ev_posix.h",
865 "src/core/lib/iomgr/exec_ctx.h",
866 "src/core/lib/iomgr/executor.h",
Mark D. Rothf9bf4282017-08-03 14:47:23 -0700867 "src/core/lib/iomgr/gethostname.h",
Naresh74426fd2018-06-22 20:06:39 +0530868 "src/core/lib/iomgr/gevent_util.h",
Yash Tibrewal8d47cd42018-08-27 14:56:01 -0700869 "src/core/lib/iomgr/internal_errqueue.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200870 "src/core/lib/iomgr/iocp_windows.h",
871 "src/core/lib/iomgr/iomgr.h",
kpayson64539f5062018-03-12 19:16:30 -0700872 "src/core/lib/iomgr/iomgr_custom.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200873 "src/core/lib/iomgr/iomgr_internal.h",
874 "src/core/lib/iomgr/iomgr_posix.h",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700875 "src/core/lib/iomgr/is_epollexclusive_available.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200876 "src/core/lib/iomgr/load_file.h",
Jan Tattermusch43713e62017-04-12 09:20:29 +0200877 "src/core/lib/iomgr/lockfree_event.h",
Yuchen Zeng2d6ce742017-07-28 15:21:01 -0700878 "src/core/lib/iomgr/nameser.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200879 "src/core/lib/iomgr/network_status_tracker.h",
880 "src/core/lib/iomgr/polling_entity.h",
881 "src/core/lib/iomgr/pollset.h",
kpayson64539f5062018-03-12 19:16:30 -0700882 "src/core/lib/iomgr/pollset_custom.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200883 "src/core/lib/iomgr/pollset_set.h",
kpayson64539f5062018-03-12 19:16:30 -0700884 "src/core/lib/iomgr/pollset_set_custom.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200885 "src/core/lib/iomgr/pollset_set_windows.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200886 "src/core/lib/iomgr/pollset_uv.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200887 "src/core/lib/iomgr/pollset_windows.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200888 "src/core/lib/iomgr/port.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200889 "src/core/lib/iomgr/resolve_address.h",
kpayson64539f5062018-03-12 19:16:30 -0700890 "src/core/lib/iomgr/resolve_address_custom.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100891 "src/core/lib/iomgr/resource_quota.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200892 "src/core/lib/iomgr/sockaddr.h",
kpayson64539f5062018-03-12 19:16:30 -0700893 "src/core/lib/iomgr/sockaddr_custom.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200894 "src/core/lib/iomgr/sockaddr_posix.h",
895 "src/core/lib/iomgr/sockaddr_utils.h",
896 "src/core/lib/iomgr/sockaddr_windows.h",
Michael Warresc46b3eb2017-02-22 22:57:04 -0500897 "src/core/lib/iomgr/socket_factory_posix.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100898 "src/core/lib/iomgr/socket_mutator.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200899 "src/core/lib/iomgr/socket_utils.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200900 "src/core/lib/iomgr/socket_utils_posix.h",
901 "src/core/lib/iomgr/socket_windows.h",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700902 "src/core/lib/iomgr/sys_epoll_wrapper.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200903 "src/core/lib/iomgr/tcp_client.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100904 "src/core/lib/iomgr/tcp_client_posix.h",
kpayson64539f5062018-03-12 19:16:30 -0700905 "src/core/lib/iomgr/tcp_custom.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200906 "src/core/lib/iomgr/tcp_posix.h",
907 "src/core/lib/iomgr/tcp_server.h",
Yuchen Zeng47155ed2017-03-13 17:18:07 -0700908 "src/core/lib/iomgr/tcp_server_utils_posix.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200909 "src/core/lib/iomgr/tcp_windows.h",
910 "src/core/lib/iomgr/time_averaged_stats.h",
911 "src/core/lib/iomgr/timer.h",
kpayson64539f5062018-03-12 19:16:30 -0700912 "src/core/lib/iomgr/timer_custom.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200913 "src/core/lib/iomgr/timer_generic.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200914 "src/core/lib/iomgr/timer_heap.h",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700915 "src/core/lib/iomgr/timer_manager.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200916 "src/core/lib/iomgr/udp_server.h",
917 "src/core/lib/iomgr/unix_sockets_posix.h",
918 "src/core/lib/iomgr/wakeup_fd_cv.h",
919 "src/core/lib/iomgr/wakeup_fd_pipe.h",
920 "src/core/lib/iomgr/wakeup_fd_posix.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200921 "src/core/lib/json/json.h",
922 "src/core/lib/json/json_common.h",
923 "src/core/lib/json/json_reader.h",
924 "src/core/lib/json/json_writer.h",
Craig Tiller29b527f2017-03-30 10:27:20 -0700925 "src/core/lib/slice/b64.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100926 "src/core/lib/slice/percent_encoding.h",
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800927 "src/core/lib/slice/slice_hash_table.h",
Craig Tiller3ca60192017-01-04 14:41:29 -0800928 "src/core/lib/slice/slice_internal.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100929 "src/core/lib/slice/slice_string_helpers.h",
David Garcia Quintas396d49d2018-02-28 16:06:30 -0800930 "src/core/lib/slice/slice_weak_hash_table.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200931 "src/core/lib/surface/api_trace.h",
932 "src/core/lib/surface/call.h",
933 "src/core/lib/surface/call_test_only.h",
934 "src/core/lib/surface/channel.h",
935 "src/core/lib/surface/channel_init.h",
936 "src/core/lib/surface/channel_stack_type.h",
937 "src/core/lib/surface/completion_queue.h",
Sree Kuchibhotlaf6c20262017-03-21 18:52:19 -0700938 "src/core/lib/surface/completion_queue_factory.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200939 "src/core/lib/surface/event_string.h",
940 "src/core/lib/surface/init.h",
941 "src/core/lib/surface/lame_client.h",
942 "src/core/lib/surface/server.h",
David Garcia Quintas01291502017-02-07 13:26:41 -0800943 "src/core/lib/surface/validate_metadata.h",
David Garcia Quintas5481a582017-02-14 16:11:42 -0800944 "src/core/lib/transport/bdp_estimator.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200945 "src/core/lib/transport/byte_stream.h",
946 "src/core/lib/transport/connectivity_state.h",
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800947 "src/core/lib/transport/error_utils.h",
948 "src/core/lib/transport/http2_errors.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200949 "src/core/lib/transport/metadata.h",
950 "src/core/lib/transport/metadata_batch.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100951 "src/core/lib/transport/pid_controller.h",
952 "src/core/lib/transport/service_config.h",
953 "src/core/lib/transport/static_metadata.h",
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800954 "src/core/lib/transport/status_conversion.h",
Mark D. Roth718c8342018-02-28 13:00:04 -0800955 "src/core/lib/transport/status_metadata.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200956 "src/core/lib/transport/timeout_encoding.h",
957 "src/core/lib/transport/transport.h",
958 "src/core/lib/transport/transport_impl.h",
959 ],
960 external_deps = [
961 "zlib",
962 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -0700963 language = "c++",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +0200964 public_hdrs = GRPC_PUBLIC_HDRS,
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200965 deps = [
Vijay Pai239b7d42018-02-08 11:08:41 -0800966 "gpr_base",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200967 "grpc_codegen",
Craig Tiller1f477302017-05-05 11:01:25 -0700968 "grpc_trace",
Vijay Pai756caa72018-03-01 12:38:16 -0800969 "inlined_vector",
Mark D. Roth3d8b32d2018-03-09 13:25:40 -0800970 "orphanable",
Mark D. Roth3e7f2df2018-02-26 13:17:06 -0800971 "ref_counted",
972 "ref_counted_ptr",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200973 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200974)
975
976grpc_cc_library(
Craig Tiller832c6072017-05-11 14:38:05 -0700977 name = "grpc_base",
Craig Tiller832c6072017-05-11 14:38:05 -0700978 srcs = [
979 "src/core/lib/surface/lame_client.cc",
980 ],
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700981 language = "c++",
Craig Tiller832c6072017-05-11 14:38:05 -0700982 deps = [
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800983 "atomic",
Craig Tiller832c6072017-05-11 14:38:05 -0700984 "grpc_base_c",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700985 ],
986)
987
988grpc_cc_library(
989 name = "grpc_common",
Yash Tibrewal2dcbc102017-10-03 16:23:07 -0700990 language = "c++",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700991 deps = [
992 "grpc_base",
993 # standard plugins
994 "census",
995 "grpc_deadline_filter",
David Garcia Quintasaa843f22018-03-13 08:36:16 -0700996 "grpc_client_authority_filter",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700997 "grpc_lb_policy_pick_first",
998 "grpc_lb_policy_round_robin",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700999 "grpc_max_age_filter",
1000 "grpc_message_size_filter",
Vijay Pai42807252017-07-28 15:08:24 -07001001 "grpc_resolver_dns_ares",
1002 "grpc_resolver_fake",
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001003 "grpc_resolver_dns_native",
1004 "grpc_resolver_sockaddr",
1005 "grpc_transport_chttp2_client_insecure",
1006 "grpc_transport_chttp2_server_insecure",
Vijay Pai3d7d5f42017-05-04 10:02:24 -07001007 "grpc_transport_inproc",
Muxi Yan2a5bbc12017-05-15 12:03:08 -07001008 "grpc_workaround_cronet_compression_filter",
1009 "grpc_server_backward_compatibility",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001010 ],
1011)
1012
1013grpc_cc_library(
Muxi Yanc512b4f2018-06-05 09:42:33 -07001014 name = "grpc_cfstream",
1015 srcs = [
1016 "src/core/lib/iomgr/cfstream_handle.cc",
1017 "src/core/lib/iomgr/endpoint_cfstream.cc",
1018 "src/core/lib/iomgr/error_cfstream.cc",
Muxi Yane8f0e542018-08-06 18:55:45 -07001019 "src/core/lib/iomgr/iomgr_posix_cfstream.cc",
Muxi Yanc512b4f2018-06-05 09:42:33 -07001020 "src/core/lib/iomgr/tcp_client_cfstream.cc",
1021 ],
1022 hdrs = [
1023 "src/core/lib/iomgr/cfstream_handle.h",
1024 "src/core/lib/iomgr/endpoint_cfstream.h",
1025 "src/core/lib/iomgr/error_cfstream.h",
1026 ],
1027 deps = [
1028 ":gpr_base",
1029 ":grpc_base",
1030 ],
1031)
1032
1033grpc_cc_library(
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001034 name = "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001035 srcs = [
Yuchen Zeng0bad30a2017-10-05 21:47:39 -07001036 "src/core/ext/filters/client_channel/backup_poller.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001037 "src/core/ext/filters/client_channel/channel_connectivity.cc",
1038 "src/core/ext/filters/client_channel/client_channel.cc",
ncteisenafb98292018-06-28 18:04:24 -07001039 "src/core/ext/filters/client_channel/client_channel_channelz.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001040 "src/core/ext/filters/client_channel/client_channel_factory.cc",
1041 "src/core/ext/filters/client_channel/client_channel_plugin.cc",
1042 "src/core/ext/filters/client_channel/connector.cc",
1043 "src/core/ext/filters/client_channel/http_connect_handshaker.cc",
1044 "src/core/ext/filters/client_channel/http_proxy.cc",
1045 "src/core/ext/filters/client_channel/lb_policy.cc",
1046 "src/core/ext/filters/client_channel/lb_policy_factory.cc",
1047 "src/core/ext/filters/client_channel/lb_policy_registry.cc",
Mark D. Roth3e7f2df2018-02-26 13:17:06 -08001048 "src/core/ext/filters/client_channel/method_params.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001049 "src/core/ext/filters/client_channel/parse_address.cc",
1050 "src/core/ext/filters/client_channel/proxy_mapper.cc",
1051 "src/core/ext/filters/client_channel/proxy_mapper_registry.cc",
1052 "src/core/ext/filters/client_channel/resolver.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001053 "src/core/ext/filters/client_channel/resolver_registry.cc",
1054 "src/core/ext/filters/client_channel/retry_throttle.cc",
1055 "src/core/ext/filters/client_channel/subchannel.cc",
1056 "src/core/ext/filters/client_channel/subchannel_index.cc",
1057 "src/core/ext/filters/client_channel/uri_parser.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001058 ],
1059 hdrs = [
Yuchen Zeng0bad30a2017-10-05 21:47:39 -07001060 "src/core/ext/filters/client_channel/backup_poller.h",
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001061 "src/core/ext/filters/client_channel/client_channel.h",
ncteisenafb98292018-06-28 18:04:24 -07001062 "src/core/ext/filters/client_channel/client_channel_channelz.h",
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001063 "src/core/ext/filters/client_channel/client_channel_factory.h",
1064 "src/core/ext/filters/client_channel/connector.h",
1065 "src/core/ext/filters/client_channel/http_connect_handshaker.h",
1066 "src/core/ext/filters/client_channel/http_proxy.h",
1067 "src/core/ext/filters/client_channel/lb_policy.h",
1068 "src/core/ext/filters/client_channel/lb_policy_factory.h",
1069 "src/core/ext/filters/client_channel/lb_policy_registry.h",
Mark D. Roth3e7f2df2018-02-26 13:17:06 -08001070 "src/core/ext/filters/client_channel/method_params.h",
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001071 "src/core/ext/filters/client_channel/parse_address.h",
1072 "src/core/ext/filters/client_channel/proxy_mapper.h",
1073 "src/core/ext/filters/client_channel/proxy_mapper_registry.h",
1074 "src/core/ext/filters/client_channel/resolver.h",
1075 "src/core/ext/filters/client_channel/resolver_factory.h",
1076 "src/core/ext/filters/client_channel/resolver_registry.h",
1077 "src/core/ext/filters/client_channel/retry_throttle.h",
1078 "src/core/ext/filters/client_channel/subchannel.h",
1079 "src/core/ext/filters/client_channel/subchannel_index.h",
1080 "src/core/ext/filters/client_channel/uri_parser.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001081 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001082 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001083 deps = [
Vijay Pai0693b722018-02-08 15:18:13 -08001084 "gpr_base",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001085 "grpc_base",
David Garcia Quintasaa843f22018-03-13 08:36:16 -07001086 "grpc_client_authority_filter",
Craig Tillerdcd24e42017-04-06 10:47:46 -07001087 "grpc_deadline_filter",
Mark D. Roth209f6442018-02-08 10:26:46 -08001088 "inlined_vector",
1089 "orphanable",
David Garcia Quintas53bfe692018-01-04 16:39:08 -08001090 "ref_counted",
David Garcia Quintas4adad992018-01-17 13:50:39 -08001091 "ref_counted_ptr",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001092 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001093)
1094
1095grpc_cc_library(
Craig Tiller6b97e532017-04-03 12:56:23 -07001096 name = "grpc_max_age_filter",
1097 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001098 "src/core/ext/filters/max_age/max_age_filter.cc",
Craig Tiller6b97e532017-04-03 12:56:23 -07001099 ],
1100 hdrs = [
1101 "src/core/ext/filters/max_age/max_age_filter.h",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001102 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001103 language = "c++",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001104 deps = [
1105 "grpc_base",
1106 ],
1107)
1108
1109grpc_cc_library(
Craig Tiller3be7dd02017-04-03 14:30:03 -07001110 name = "grpc_deadline_filter",
1111 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001112 "src/core/ext/filters/deadline/deadline_filter.cc",
Craig Tiller3be7dd02017-04-03 14:30:03 -07001113 ],
1114 hdrs = [
1115 "src/core/ext/filters/deadline/deadline_filter.h",
1116 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001117 language = "c++",
Craig Tiller3be7dd02017-04-03 14:30:03 -07001118 deps = [
1119 "grpc_base",
1120 ],
1121)
1122
1123grpc_cc_library(
David Garcia Quintasaa843f22018-03-13 08:36:16 -07001124 name = "grpc_client_authority_filter",
1125 srcs = [
David Garcia Quintas961353a2018-03-15 16:11:05 -07001126 "src/core/ext/filters/http/client_authority_filter.cc",
David Garcia Quintasaa843f22018-03-13 08:36:16 -07001127 ],
1128 hdrs = [
David Garcia Quintas961353a2018-03-15 16:11:05 -07001129 "src/core/ext/filters/http/client_authority_filter.h",
David Garcia Quintasaa843f22018-03-13 08:36:16 -07001130 ],
1131 language = "c++",
1132 deps = [
1133 "grpc_base",
1134 ],
1135)
1136
1137grpc_cc_library(
Craig Tiller6461c342017-04-03 13:00:31 -07001138 name = "grpc_message_size_filter",
1139 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001140 "src/core/ext/filters/message_size/message_size_filter.cc",
Craig Tiller6461c342017-04-03 13:00:31 -07001141 ],
1142 hdrs = [
1143 "src/core/ext/filters/message_size/message_size_filter.h",
1144 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001145 language = "c++",
Craig Tiller6461c342017-04-03 13:00:31 -07001146 deps = [
1147 "grpc_base",
1148 ],
1149)
1150
1151grpc_cc_library(
Craig Tilleraf767432017-04-03 13:54:31 -07001152 name = "grpc_http_filters",
Craig Tilleraf767432017-04-03 13:54:31 -07001153 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001154 "src/core/ext/filters/http/client/http_client_filter.cc",
1155 "src/core/ext/filters/http/http_filters_plugin.cc",
1156 "src/core/ext/filters/http/message_compress/message_compress_filter.cc",
1157 "src/core/ext/filters/http/server/http_server_filter.cc",
Sree Kuchibhotlad4fc32e2017-05-02 14:15:12 -07001158 ],
1159 hdrs = [
1160 "src/core/ext/filters/http/client/http_client_filter.h",
1161 "src/core/ext/filters/http/message_compress/message_compress_filter.h",
1162 "src/core/ext/filters/http/server/http_server_filter.h",
Craig Tilleraf767432017-04-03 13:54:31 -07001163 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001164 language = "c++",
Craig Tilleraf767432017-04-03 13:54:31 -07001165 deps = [
1166 "grpc_base",
1167 ],
1168)
1169
1170grpc_cc_library(
Muxi Yan2a5bbc12017-05-15 12:03:08 -07001171 name = "grpc_workaround_cronet_compression_filter",
1172 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001173 "src/core/ext/filters/workarounds/workaround_cronet_compression_filter.cc",
Muxi Yan2a5bbc12017-05-15 12:03:08 -07001174 ],
1175 hdrs = [
1176 "src/core/ext/filters/workarounds/workaround_cronet_compression_filter.h",
1177 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001178 language = "c++",
Muxi Yan2a5bbc12017-05-15 12:03:08 -07001179 deps = [
1180 "grpc_base",
1181 "grpc_server_backward_compatibility",
1182 ],
1183)
1184
1185grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001186 name = "grpc_codegen",
Yash Tibrewal2dcbc102017-10-03 16:23:07 -07001187 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001188 public_hdrs = [
Vijay Paiefce6e12017-09-14 09:07:50 -07001189 "include/grpc/impl/codegen/byte_buffer.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001190 "include/grpc/impl/codegen/byte_buffer_reader.h",
1191 "include/grpc/impl/codegen/compression_types.h",
1192 "include/grpc/impl/codegen/connectivity_state.h",
1193 "include/grpc/impl/codegen/grpc_types.h",
1194 "include/grpc/impl/codegen/propagation_bits.h",
1195 "include/grpc/impl/codegen/status.h",
Craig Tiller0d32f2f2017-03-30 10:50:29 -07001196 "include/grpc/impl/codegen/slice.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001197 ],
1198 deps = [
1199 "gpr_codegen",
1200 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001201)
1202
1203grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001204 name = "grpc_lb_policy_grpclb",
1205 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001206 "src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc",
1207 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc",
1208 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.cc",
1209 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc",
1210 "src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc",
David Garcia Quintasf3955ba2018-06-21 15:15:10 -07001211 "src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf/duration.pb.c",
1212 "src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf/timestamp.pb.c",
Juanli Shenbe40b0d2018-07-13 19:52:59 -07001213 "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 +02001214 ],
1215 hdrs = [
Mark D. Roth09e458c2017-05-02 08:13:26 -07001216 "src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.h",
Yihua Zhang392dad72018-05-03 20:12:20 -07001217 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.h",
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001218 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.h",
Mark D. Roth09e458c2017-05-02 08:13:26 -07001219 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.h",
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001220 "src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.h",
David Garcia Quintasf3955ba2018-06-21 15:15:10 -07001221 "src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf/duration.pb.h",
1222 "src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf/timestamp.pb.h",
Juanli Shenbe40b0d2018-07-13 19:52:59 -07001223 "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 +02001224 ],
1225 external_deps = [
1226 "nanopb",
1227 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001228 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001229 deps = [
1230 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001231 "grpc_client_channel",
David Garcia Quintas87d5a312017-06-06 19:45:58 -07001232 "grpc_resolver_fake",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001233 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001234)
1235
1236grpc_cc_library(
David Garcia Quintas01291502017-02-07 13:26:41 -08001237 name = "grpc_lb_policy_grpclb_secure",
1238 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001239 "src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc",
1240 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc",
1241 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel_secure.cc",
1242 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc",
1243 "src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc",
David Garcia Quintasf3955ba2018-06-21 15:15:10 -07001244 "src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf/duration.pb.c",
1245 "src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf/timestamp.pb.c",
Juanli Shenbe40b0d2018-07-13 19:52:59 -07001246 "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 -08001247 ],
1248 hdrs = [
Mark D. Roth09e458c2017-05-02 08:13:26 -07001249 "src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.h",
Yihua Zhang392dad72018-05-03 20:12:20 -07001250 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.h",
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001251 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.h",
Mark D. Roth09e458c2017-05-02 08:13:26 -07001252 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.h",
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001253 "src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.h",
David Garcia Quintasf3955ba2018-06-21 15:15:10 -07001254 "src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf/duration.pb.h",
1255 "src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf/timestamp.pb.h",
Juanli Shenbe40b0d2018-07-13 19:52:59 -07001256 "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 -08001257 ],
1258 external_deps = [
1259 "nanopb",
1260 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001261 language = "c++",
David Garcia Quintas01291502017-02-07 13:26:41 -08001262 deps = [
1263 "grpc_base",
1264 "grpc_client_channel",
David Garcia Quintas87d5a312017-06-06 19:45:58 -07001265 "grpc_resolver_fake",
David Garcia Quintas01291502017-02-07 13:26:41 -08001266 "grpc_secure",
1267 ],
1268)
1269
1270grpc_cc_library(
Mark D. Roth5e9848e2017-10-06 13:59:32 -07001271 name = "grpc_lb_subchannel_list",
Mark D. Roth5e9848e2017-10-06 13:59:32 -07001272 hdrs = [
1273 "src/core/ext/filters/client_channel/lb_policy/subchannel_list.h",
1274 ],
1275 language = "c++",
1276 deps = [
1277 "grpc_base",
1278 "grpc_client_channel",
1279 ],
1280)
1281
1282grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001283 name = "grpc_lb_policy_pick_first",
1284 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001285 "src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001286 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001287 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001288 deps = [
1289 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001290 "grpc_client_channel",
Mark D. Roth5e9848e2017-10-06 13:59:32 -07001291 "grpc_lb_subchannel_list",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001292 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001293)
1294
1295grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001296 name = "grpc_lb_policy_round_robin",
1297 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001298 "src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001299 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001300 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001301 deps = [
1302 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001303 "grpc_client_channel",
Mark D. Roth5e9848e2017-10-06 13:59:32 -07001304 "grpc_lb_subchannel_list",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001305 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001306)
1307
1308grpc_cc_library(
Juanli Shenf5f1d572018-06-21 22:44:05 -07001309 name = "lb_server_load_reporting_filter",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001310 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001311 "src/core/ext/filters/load_reporting/server_load_reporting_filter.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001312 ],
1313 hdrs = [
Juanli Shenf5f1d572018-06-21 22:44:05 -07001314 "src/core/ext/filters/load_reporting/registered_opencensus_objects.h",
David Garcia Quintas0822d332017-09-06 17:40:42 -07001315 "src/core/ext/filters/load_reporting/server_load_reporting_filter.h",
Juanli Shenf5f1d572018-06-21 22:44:05 -07001316 "src/cpp/server/load_reporter/constants.h",
1317 ],
1318 external_deps = [
1319 "opencensus-stats",
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 = [
Juanli Shenf5f1d572018-06-21 22:44:05 -07001323 "grpc++_base",
1324 "grpc_secure",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001325 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001326)
1327
1328grpc_cc_library(
Juanli Shena0aab7e2018-05-01 10:30:54 -07001329 name = "lb_load_data_store",
1330 srcs = [
1331 "src/cpp/server/load_reporter/load_data_store.cc",
1332 ],
1333 hdrs = [
Juanli Shen291bbc72018-06-21 13:02:40 -07001334 "src/cpp/server/load_reporter/constants.h",
Juanli Shena0aab7e2018-05-01 10:30:54 -07001335 "src/cpp/server/load_reporter/load_data_store.h",
1336 ],
1337 language = "c++",
1338 deps = [
1339 "grpc++",
1340 ],
1341)
1342
1343grpc_cc_library(
Juanli Shenbe40b0d2018-07-13 19:52:59 -07001344 name = "lb_server_load_reporting_service_server_builder_plugin",
1345 srcs = [
1346 "src/cpp/server/load_reporter/load_reporting_service_server_builder_plugin.cc",
1347 ],
1348 hdrs = [
1349 "src/cpp/server/load_reporter/load_reporting_service_server_builder_plugin.h",
1350 ],
1351 language = "c++",
1352 deps = [
1353 "lb_load_reporter_service",
1354 ],
1355)
1356
1357grpc_cc_library(
1358 name = "grpcpp_server_load_reporting",
1359 srcs = [
1360 "src/cpp/server/load_reporter/load_reporting_service_server_builder_option.cc",
1361 "src/cpp/server/load_reporter/util.cc",
1362 ],
1363 language = "c++",
1364 public_hdrs = [
1365 "include/grpcpp/ext/server_load_reporting.h",
1366 ],
1367 deps = [
1368 "lb_server_load_reporting_filter",
1369 "lb_server_load_reporting_service_server_builder_plugin",
1370 ],
1371 alwayslink = 1,
1372)
1373
1374grpc_cc_library(
1375 name = "lb_load_reporter_service",
1376 srcs = [
1377 "src/cpp/server/load_reporter/load_reporter_async_service_impl.cc",
1378 ],
1379 hdrs = [
1380 "src/cpp/server/load_reporter/load_reporter_async_service_impl.h",
1381 ],
1382 language = "c++",
1383 deps = [
1384 "lb_load_reporter",
1385 ],
1386)
1387
1388grpc_cc_library(
Juanli Shen291bbc72018-06-21 13:02:40 -07001389 name = "lb_get_cpu_stats",
1390 srcs = [
1391 "src/cpp/server/load_reporter/get_cpu_stats_linux.cc",
1392 "src/cpp/server/load_reporter/get_cpu_stats_macos.cc",
1393 "src/cpp/server/load_reporter/get_cpu_stats_unsupported.cc",
1394 "src/cpp/server/load_reporter/get_cpu_stats_windows.cc",
1395 ],
1396 hdrs = [
1397 "src/cpp/server/load_reporter/get_cpu_stats.h",
1398 ],
1399 language = "c++",
1400 deps = [
1401 "grpc++",
1402 ],
1403)
1404
1405grpc_cc_library(
1406 name = "lb_load_reporter",
1407 srcs = [
1408 "src/cpp/server/load_reporter/load_reporter.cc",
1409 ],
1410 hdrs = [
1411 "src/cpp/server/load_reporter/constants.h",
1412 "src/cpp/server/load_reporter/load_reporter.h",
1413 ],
1414 external_deps = [
1415 "opencensus-stats",
1416 ],
1417 language = "c++",
1418 deps = [
1419 "lb_get_cpu_stats",
1420 "lb_load_data_store",
1421 "//src/proto/grpc/lb/v1:load_reporter_proto",
1422 ],
1423)
1424
1425grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001426 name = "grpc_resolver_dns_native",
1427 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001428 "src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001429 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001430 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001431 deps = [
1432 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001433 "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001434 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001435)
1436
1437grpc_cc_library(
Yuchen Zeng4c702ed2017-01-23 10:30:10 -08001438 name = "grpc_resolver_dns_ares",
1439 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001440 "src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc",
Alexander Polcyn7eda6192018-06-14 23:07:33 -07001441 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001442 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc",
Alexander Polcyn9896c642018-07-27 01:38:26 -07001443 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001444 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc",
Vijay Pai381bcab2018-08-16 15:44:19 -07001445 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_fallback.cc",
Alexander Polcyn9896c642018-07-27 01:38:26 -07001446 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_posix.cc",
1447 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_windows.cc",
Yuchen Zeng4c702ed2017-01-23 10:30:10 -08001448 ],
1449 hdrs = [
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001450 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.h",
1451 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.h",
Yuchen Zeng4c702ed2017-01-23 10:30:10 -08001452 ],
Jan Tattermusch61f729f2017-04-06 17:11:44 +02001453 external_deps = [
1454 "cares",
Alexander Polcyn690dde62017-10-18 00:20:33 -07001455 "address_sorting",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001456 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001457 language = "c++",
Yuchen Zeng4c702ed2017-01-23 10:30:10 -08001458 deps = [
1459 "grpc_base",
1460 "grpc_client_channel",
1461 ],
Yuchen Zeng4c702ed2017-01-23 10:30:10 -08001462)
1463
1464grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001465 name = "grpc_resolver_sockaddr",
1466 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001467 "src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001468 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001469 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001470 deps = [
1471 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001472 "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001473 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001474)
1475
1476grpc_cc_library(
David Garcia Quintas87d5a312017-06-06 19:45:58 -07001477 name = "grpc_resolver_fake",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001478 srcs = ["src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc"],
David Garcia Quintas87d5a312017-06-06 19:45:58 -07001479 hdrs = ["src/core/ext/filters/client_channel/resolver/fake/fake_resolver.h"],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001480 language = "c++",
murgatroid99d5b04552017-06-15 17:48:42 -07001481 visibility = ["//test:__subpackages__"],
David Garcia Quintas87d5a312017-06-06 19:45:58 -07001482 deps = [
1483 "grpc_base",
1484 "grpc_client_channel",
1485 ],
1486)
1487
1488grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001489 name = "grpc_secure",
1490 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001491 "src/core/lib/http/httpcli_security_connector.cc",
1492 "src/core/lib/security/context/security_context.cc",
David Garcia Quintasc7c0d692018-03-10 17:27:15 -08001493 "src/core/lib/security/credentials/alts/alts_credentials.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001494 "src/core/lib/security/credentials/composite/composite_credentials.cc",
1495 "src/core/lib/security/credentials/credentials.cc",
1496 "src/core/lib/security/credentials/credentials_metadata.cc",
1497 "src/core/lib/security/credentials/fake/fake_credentials.cc",
1498 "src/core/lib/security/credentials/google_default/credentials_generic.cc",
1499 "src/core/lib/security/credentials/google_default/google_default_credentials.cc",
1500 "src/core/lib/security/credentials/iam/iam_credentials.cc",
1501 "src/core/lib/security/credentials/jwt/json_token.cc",
1502 "src/core/lib/security/credentials/jwt/jwt_credentials.cc",
1503 "src/core/lib/security/credentials/jwt/jwt_verifier.cc",
Yihua Zhangc5f1eda2018-07-02 13:29:27 -07001504 "src/core/lib/security/credentials/local/local_credentials.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001505 "src/core/lib/security/credentials/oauth2/oauth2_credentials.cc",
1506 "src/core/lib/security/credentials/plugin/plugin_credentials.cc",
1507 "src/core/lib/security/credentials/ssl/ssl_credentials.cc",
Yihua Zhangeaf64862018-03-06 21:40:45 -08001508 "src/core/lib/security/security_connector/alts_security_connector.cc",
tdbhacksbcd747d2018-07-20 16:41:44 -07001509 "src/core/lib/security/security_connector/load_system_roots_fallback.cc",
1510 "src/core/lib/security/security_connector/load_system_roots_linux.cc",
Yihua Zhangc5f1eda2018-07-02 13:29:27 -07001511 "src/core/lib/security/security_connector/local_security_connector.cc",
Yihua Zhang75f0a9f2018-02-20 10:09:47 -08001512 "src/core/lib/security/security_connector/security_connector.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001513 "src/core/lib/security/transport/client_auth_filter.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001514 "src/core/lib/security/transport/secure_endpoint.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001515 "src/core/lib/security/transport/security_handshaker.cc",
1516 "src/core/lib/security/transport/server_auth_filter.cc",
Mark D. Roth3e7f2df2018-02-26 13:17:06 -08001517 "src/core/lib/security/transport/target_authority_table.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001518 "src/core/lib/security/transport/tsi_error.cc",
1519 "src/core/lib/security/util/json_util.cc",
1520 "src/core/lib/surface/init_secure.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001521 ],
1522 hdrs = [
Yihua Zhang392dad72018-05-03 20:12:20 -07001523 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001524 "src/core/lib/security/context/security_context.h",
David Garcia Quintasc7c0d692018-03-10 17:27:15 -08001525 "src/core/lib/security/credentials/alts/alts_credentials.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001526 "src/core/lib/security/credentials/composite/composite_credentials.h",
1527 "src/core/lib/security/credentials/credentials.h",
1528 "src/core/lib/security/credentials/fake/fake_credentials.h",
1529 "src/core/lib/security/credentials/google_default/google_default_credentials.h",
1530 "src/core/lib/security/credentials/iam/iam_credentials.h",
1531 "src/core/lib/security/credentials/jwt/json_token.h",
1532 "src/core/lib/security/credentials/jwt/jwt_credentials.h",
1533 "src/core/lib/security/credentials/jwt/jwt_verifier.h",
Yihua Zhangc5f1eda2018-07-02 13:29:27 -07001534 "src/core/lib/security/credentials/local/local_credentials.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001535 "src/core/lib/security/credentials/oauth2/oauth2_credentials.h",
1536 "src/core/lib/security/credentials/plugin/plugin_credentials.h",
1537 "src/core/lib/security/credentials/ssl/ssl_credentials.h",
Yihua Zhangeaf64862018-03-06 21:40:45 -08001538 "src/core/lib/security/security_connector/alts_security_connector.h",
tdbhacksbcd747d2018-07-20 16:41:44 -07001539 "src/core/lib/security/security_connector/load_system_roots.h",
1540 "src/core/lib/security/security_connector/load_system_roots_linux.h",
Yihua Zhangc5f1eda2018-07-02 13:29:27 -07001541 "src/core/lib/security/security_connector/local_security_connector.h",
Yihua Zhang75f0a9f2018-02-20 10:09:47 -08001542 "src/core/lib/security/security_connector/security_connector.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001543 "src/core/lib/security/transport/auth_filters.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001544 "src/core/lib/security/transport/secure_endpoint.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001545 "src/core/lib/security/transport/security_handshaker.h",
Mark D. Roth3e7f2df2018-02-26 13:17:06 -08001546 "src/core/lib/security/transport/target_authority_table.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001547 "src/core/lib/security/transport/tsi_error.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001548 "src/core/lib/security/util/json_util.h",
1549 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001550 language = "c++",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +02001551 public_hdrs = GRPC_SECURE_PUBLIC_HDRS,
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001552 deps = [
Yihua Zhangeaf64862018-03-06 21:40:45 -08001553 "alts_util",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001554 "grpc_base",
1555 "grpc_transport_chttp2_alpn",
1556 "tsi",
Muxi Yanb24b2122018-08-14 10:21:27 -07001557 "grpc_shadow_boringssl",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001558 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001559)
1560
1561grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001562 name = "grpc_transport_chttp2",
1563 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001564 "src/core/ext/transport/chttp2/transport/bin_decoder.cc",
1565 "src/core/ext/transport/chttp2/transport/bin_encoder.cc",
1566 "src/core/ext/transport/chttp2/transport/chttp2_plugin.cc",
1567 "src/core/ext/transport/chttp2/transport/chttp2_transport.cc",
1568 "src/core/ext/transport/chttp2/transport/flow_control.cc",
1569 "src/core/ext/transport/chttp2/transport/frame_data.cc",
1570 "src/core/ext/transport/chttp2/transport/frame_goaway.cc",
1571 "src/core/ext/transport/chttp2/transport/frame_ping.cc",
1572 "src/core/ext/transport/chttp2/transport/frame_rst_stream.cc",
1573 "src/core/ext/transport/chttp2/transport/frame_settings.cc",
1574 "src/core/ext/transport/chttp2/transport/frame_window_update.cc",
1575 "src/core/ext/transport/chttp2/transport/hpack_encoder.cc",
1576 "src/core/ext/transport/chttp2/transport/hpack_parser.cc",
Hope Casey-Allen327c5142018-09-19 13:47:29 -07001577 "src/core/ext/transport/chttp2/transport/hpack_mapping.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001578 "src/core/ext/transport/chttp2/transport/hpack_table.cc",
1579 "src/core/ext/transport/chttp2/transport/http2_settings.cc",
1580 "src/core/ext/transport/chttp2/transport/huffsyms.cc",
1581 "src/core/ext/transport/chttp2/transport/incoming_metadata.cc",
1582 "src/core/ext/transport/chttp2/transport/parsing.cc",
1583 "src/core/ext/transport/chttp2/transport/stream_lists.cc",
1584 "src/core/ext/transport/chttp2/transport/stream_map.cc",
1585 "src/core/ext/transport/chttp2/transport/varint.cc",
1586 "src/core/ext/transport/chttp2/transport/writing.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001587 ],
1588 hdrs = [
1589 "src/core/ext/transport/chttp2/transport/bin_decoder.h",
1590 "src/core/ext/transport/chttp2/transport/bin_encoder.h",
1591 "src/core/ext/transport/chttp2/transport/chttp2_transport.h",
Craig Tiller32736482017-10-12 22:02:28 -07001592 "src/core/ext/transport/chttp2/transport/flow_control.h",
Vijay Pai89125422017-11-22 10:22:28 -08001593 "src/core/ext/transport/chttp2/transport/frame.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001594 "src/core/ext/transport/chttp2/transport/frame_data.h",
1595 "src/core/ext/transport/chttp2/transport/frame_goaway.h",
1596 "src/core/ext/transport/chttp2/transport/frame_ping.h",
1597 "src/core/ext/transport/chttp2/transport/frame_rst_stream.h",
1598 "src/core/ext/transport/chttp2/transport/frame_settings.h",
1599 "src/core/ext/transport/chttp2/transport/frame_window_update.h",
1600 "src/core/ext/transport/chttp2/transport/hpack_encoder.h",
1601 "src/core/ext/transport/chttp2/transport/hpack_parser.h",
Hope Casey-Allen327c5142018-09-19 13:47:29 -07001602 "src/core/ext/transport/chttp2/transport/hpack_mapping.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001603 "src/core/ext/transport/chttp2/transport/hpack_table.h",
murgatroid99a41fd5b2017-04-13 09:56:17 -07001604 "src/core/ext/transport/chttp2/transport/http2_settings.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001605 "src/core/ext/transport/chttp2/transport/huffsyms.h",
1606 "src/core/ext/transport/chttp2/transport/incoming_metadata.h",
1607 "src/core/ext/transport/chttp2/transport/internal.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001608 "src/core/ext/transport/chttp2/transport/stream_map.h",
1609 "src/core/ext/transport/chttp2/transport/varint.h",
1610 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001611 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001612 deps = [
Vijay Pai756caa72018-03-01 12:38:16 -08001613 "gpr_base",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001614 "grpc_base",
Craig Tilleraf767432017-04-03 13:54:31 -07001615 "grpc_http_filters",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001616 "grpc_transport_chttp2_alpn",
1617 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001618)
1619
1620grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001621 name = "grpc_transport_chttp2_alpn",
1622 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001623 "src/core/ext/transport/chttp2/alpn/alpn.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001624 ],
1625 hdrs = [
1626 "src/core/ext/transport/chttp2/alpn/alpn.h",
1627 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001628 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001629 deps = [
1630 "gpr",
1631 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001632)
1633
1634grpc_cc_library(
David Garcia Quintas01291502017-02-07 13:26:41 -08001635 name = "grpc_transport_chttp2_client_connector",
1636 srcs = [
David Garcia Quintas49f625f2018-03-27 11:23:49 -07001637 "src/core/ext/transport/chttp2/client/authority.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001638 "src/core/ext/transport/chttp2/client/chttp2_connector.cc",
David Garcia Quintas01291502017-02-07 13:26:41 -08001639 ],
1640 hdrs = [
David Garcia Quintas49f625f2018-03-27 11:23:49 -07001641 "src/core/ext/transport/chttp2/client/authority.h",
David Garcia Quintas01291502017-02-07 13:26:41 -08001642 "src/core/ext/transport/chttp2/client/chttp2_connector.h",
1643 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001644 language = "c++",
David Garcia Quintas01291502017-02-07 13:26:41 -08001645 deps = [
1646 "grpc_base",
1647 "grpc_client_channel",
1648 "grpc_transport_chttp2",
1649 ],
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +02001650)
1651
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001652grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001653 name = "grpc_transport_chttp2_client_insecure",
1654 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001655 "src/core/ext/transport/chttp2/client/insecure/channel_create.cc",
1656 "src/core/ext/transport/chttp2/client/insecure/channel_create_posix.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001657 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001658 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001659 deps = [
1660 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001661 "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001662 "grpc_transport_chttp2",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001663 "grpc_transport_chttp2_client_connector",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001664 ],
Makarand Dharmapurikar38d80552016-06-01 15:02:04 -07001665)
1666
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001667grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001668 name = "grpc_transport_chttp2_client_secure",
1669 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001670 "src/core/ext/transport/chttp2/client/secure/secure_channel_create.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001671 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001672 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001673 deps = [
1674 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001675 "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001676 "grpc_secure",
1677 "grpc_transport_chttp2",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001678 "grpc_transport_chttp2_client_connector",
1679 ],
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001680)
1681
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001682grpc_cc_library(
1683 name = "grpc_transport_chttp2_server",
1684 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001685 "src/core/ext/transport/chttp2/server/chttp2_server.cc",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001686 ],
1687 hdrs = [
1688 "src/core/ext/transport/chttp2/server/chttp2_server.h",
1689 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001690 language = "c++",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001691 deps = [
1692 "grpc_base",
1693 "grpc_transport_chttp2",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001694 ],
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001695)
1696
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001697grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001698 name = "grpc_transport_chttp2_server_insecure",
1699 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001700 "src/core/ext/transport/chttp2/server/insecure/server_chttp2.cc",
1701 "src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001702 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001703 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001704 deps = [
1705 "grpc_base",
1706 "grpc_transport_chttp2",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001707 "grpc_transport_chttp2_server",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001708 ],
Garrett Casto931a26b2016-10-04 09:18:29 -07001709)
1710
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001711grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001712 name = "grpc_transport_chttp2_server_secure",
1713 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001714 "src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001715 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001716 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001717 deps = [
1718 "grpc_base",
1719 "grpc_secure",
1720 "grpc_transport_chttp2",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001721 "grpc_transport_chttp2_server",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001722 ],
Yuchen Zengc84ed682016-05-04 16:30:11 -07001723)
1724
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001725grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001726 name = "grpc_transport_cronet_client_secure",
1727 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001728 "src/core/ext/transport/cronet/client/secure/cronet_channel_create.cc",
1729 "src/core/ext/transport/cronet/transport/cronet_api_dummy.cc",
1730 "src/core/ext/transport/cronet/transport/cronet_transport.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001731 ],
1732 hdrs = [
Muxi Yan0a2fae92017-02-01 14:49:03 -08001733 "src/core/ext/transport/cronet/transport/cronet_transport.h",
Sree Kuchibhotla43bca1b2017-02-22 16:37:27 -08001734 "third_party/objective_c/Cronet/bidirectional_stream_c.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001735 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001736 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001737 public_hdrs = [
1738 "include/grpc/grpc_cronet.h",
1739 "include/grpc/grpc_security.h",
1740 "include/grpc/grpc_security_constants.h",
1741 ],
1742 deps = [
1743 "grpc_base",
1744 "grpc_transport_chttp2",
1745 ],
Craig Tiller03915e52016-04-07 09:15:10 -07001746)
1747
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001748grpc_cc_library(
Vijay Pai3d7d5f42017-05-04 10:02:24 -07001749 name = "grpc_transport_inproc",
1750 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001751 "src/core/ext/transport/inproc/inproc_plugin.cc",
1752 "src/core/ext/transport/inproc/inproc_transport.cc",
Vijay Pai3d7d5f42017-05-04 10:02:24 -07001753 ],
1754 hdrs = [
1755 "src/core/ext/transport/inproc/inproc_transport.h",
1756 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001757 language = "c++",
Vijay Pai3d7d5f42017-05-04 10:02:24 -07001758 deps = [
1759 "grpc_base",
1760 ],
1761)
1762
1763grpc_cc_library(
jiangtaoli201625d6fd82017-08-09 11:15:04 -07001764 name = "tsi_interface",
1765 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001766 "src/core/tsi/transport_security.cc",
jiangtaoli201625d6fd82017-08-09 11:15:04 -07001767 ],
1768 hdrs = [
1769 "src/core/tsi/transport_security.h",
jiangtaoli201625d6fd82017-08-09 11:15:04 -07001770 "src/core/tsi/transport_security_interface.h",
1771 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001772 language = "c++",
jiangtaoli201625d6fd82017-08-09 11:15:04 -07001773 deps = [
1774 "gpr",
1775 "grpc_trace",
1776 ],
1777)
1778
1779grpc_cc_library(
Yihua Zhangeaf64862018-03-06 21:40:45 -08001780 name = "alts_frame_protector",
1781 srcs = [
1782 "src/core/tsi/alts/crypt/aes_gcm.cc",
1783 "src/core/tsi/alts/crypt/gsec.cc",
1784 "src/core/tsi/alts/frame_protector/alts_counter.cc",
1785 "src/core/tsi/alts/frame_protector/alts_crypter.cc",
1786 "src/core/tsi/alts/frame_protector/alts_frame_protector.cc",
1787 "src/core/tsi/alts/frame_protector/alts_record_protocol_crypter_common.cc",
1788 "src/core/tsi/alts/frame_protector/alts_seal_privacy_integrity_crypter.cc",
1789 "src/core/tsi/alts/frame_protector/alts_unseal_privacy_integrity_crypter.cc",
1790 "src/core/tsi/alts/frame_protector/frame_handler.cc",
1791 "src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_integrity_only_record_protocol.cc",
1792 "src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_privacy_integrity_record_protocol.cc",
1793 "src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_record_protocol_common.cc",
1794 "src/core/tsi/alts/zero_copy_frame_protector/alts_iovec_record_protocol.cc",
1795 "src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.cc",
1796 ],
1797 hdrs = [
1798 "src/core/tsi/alts/crypt/gsec.h",
1799 "src/core/tsi/alts/frame_protector/alts_counter.h",
1800 "src/core/tsi/alts/frame_protector/alts_crypter.h",
1801 "src/core/tsi/alts/frame_protector/alts_frame_protector.h",
1802 "src/core/tsi/alts/frame_protector/alts_record_protocol_crypter_common.h",
1803 "src/core/tsi/alts/frame_protector/frame_handler.h",
1804 "src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_integrity_only_record_protocol.h",
1805 "src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_privacy_integrity_record_protocol.h",
Yihua Zhangeaf64862018-03-06 21:40:45 -08001806 "src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_record_protocol.h",
David Garcia Quintasc7c0d692018-03-10 17:27:15 -08001807 "src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_record_protocol_common.h",
Yihua Zhangeaf64862018-03-06 21:40:45 -08001808 "src/core/tsi/alts/zero_copy_frame_protector/alts_iovec_record_protocol.h",
1809 "src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.h",
1810 "src/core/tsi/transport_security_grpc.h",
1811 ],
1812 external_deps = [
1813 "libssl",
1814 ],
1815 language = "c++",
1816 deps = [
1817 "gpr",
1818 "grpc_base",
1819 "tsi_interface",
Muxi Yanb24b2122018-08-14 10:21:27 -07001820 "grpc_shadow_boringssl",
Yihua Zhangeaf64862018-03-06 21:40:45 -08001821 ],
1822)
1823
1824grpc_cc_library(
1825 name = "alts_proto",
1826 srcs = [
1827 "src/core/tsi/alts/handshaker/altscontext.pb.c",
1828 "src/core/tsi/alts/handshaker/handshaker.pb.c",
1829 "src/core/tsi/alts/handshaker/transport_security_common.pb.c",
1830 ],
1831 hdrs = [
1832 "src/core/tsi/alts/handshaker/altscontext.pb.h",
1833 "src/core/tsi/alts/handshaker/handshaker.pb.h",
1834 "src/core/tsi/alts/handshaker/transport_security_common.pb.h",
1835 ],
1836 external_deps = [
1837 "nanopb",
1838 ],
1839 language = "c++",
1840)
1841
1842grpc_cc_library(
1843 name = "alts_util",
1844 srcs = [
1845 "src/core/lib/security/credentials/alts/check_gcp_environment.cc",
1846 "src/core/lib/security/credentials/alts/check_gcp_environment_linux.cc",
1847 "src/core/lib/security/credentials/alts/check_gcp_environment_no_op.cc",
1848 "src/core/lib/security/credentials/alts/check_gcp_environment_windows.cc",
1849 "src/core/lib/security/credentials/alts/grpc_alts_credentials_client_options.cc",
1850 "src/core/lib/security/credentials/alts/grpc_alts_credentials_options.cc",
1851 "src/core/lib/security/credentials/alts/grpc_alts_credentials_server_options.cc",
1852 "src/core/tsi/alts/handshaker/alts_handshaker_service_api.cc",
1853 "src/core/tsi/alts/handshaker/alts_handshaker_service_api_util.cc",
1854 "src/core/tsi/alts/handshaker/transport_security_common_api.cc",
1855 ],
1856 hdrs = [
1857 "src/core/lib/security/credentials/alts/check_gcp_environment.h",
1858 "src/core/lib/security/credentials/alts/grpc_alts_credentials_options.h",
1859 "src/core/tsi/alts/handshaker/alts_handshaker_service_api.h",
1860 "src/core/tsi/alts/handshaker/alts_handshaker_service_api_util.h",
1861 "src/core/tsi/alts/handshaker/transport_security_common_api.h",
1862 ],
1863 external_deps = [
1864 "nanopb",
1865 ],
1866 language = "c++",
Juanli Shen291bbc72018-06-21 13:02:40 -07001867 public_hdrs = GRPC_SECURE_PUBLIC_HDRS,
Yihua Zhangeaf64862018-03-06 21:40:45 -08001868 deps = [
David Garcia Quintasc7c0d692018-03-10 17:27:15 -08001869 "alts_proto",
1870 "gpr",
1871 "grpc_base",
Yihua Zhangeaf64862018-03-06 21:40:45 -08001872 ],
1873)
1874
1875grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001876 name = "tsi",
1877 srcs = [
Yihua Zhangeaf64862018-03-06 21:40:45 -08001878 "src/core/tsi/alts/handshaker/alts_handshaker_client.cc",
1879 "src/core/tsi/alts/handshaker/alts_tsi_event.cc",
1880 "src/core/tsi/alts/handshaker/alts_tsi_handshaker.cc",
1881 "src/core/tsi/alts/handshaker/alts_tsi_utils.cc",
David Garcia Quintasc7c0d692018-03-10 17:27:15 -08001882 "src/core/tsi/alts_transport_security.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001883 "src/core/tsi/fake_transport_security.cc",
Yihua Zhangc5f1eda2018-07-02 13:29:27 -07001884 "src/core/tsi/local_transport_security.cc",
Ruslan Nigmatullin7ae37332018-02-21 16:44:35 -08001885 "src/core/tsi/ssl/session_cache/ssl_session_boringssl.cc",
1886 "src/core/tsi/ssl/session_cache/ssl_session_cache.cc",
1887 "src/core/tsi/ssl/session_cache/ssl_session_openssl.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001888 "src/core/tsi/ssl_transport_security.cc",
1889 "src/core/tsi/transport_security_grpc.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001890 ],
1891 hdrs = [
Yihua Zhangeaf64862018-03-06 21:40:45 -08001892 "src/core/tsi/alts/handshaker/alts_handshaker_client.h",
1893 "src/core/tsi/alts/handshaker/alts_tsi_event.h",
1894 "src/core/tsi/alts/handshaker/alts_tsi_handshaker.h",
1895 "src/core/tsi/alts/handshaker/alts_tsi_handshaker_private.h",
1896 "src/core/tsi/alts/handshaker/alts_tsi_utils.h",
David Garcia Quintasc7c0d692018-03-10 17:27:15 -08001897 "src/core/tsi/alts_transport_security.h",
Craig Tiller134fed32017-03-28 14:27:18 -07001898 "src/core/tsi/fake_transport_security.h",
Vijay Pai381bcab2018-08-16 15:44:19 -07001899 "src/core/tsi/local_transport_security.h",
Ruslan Nigmatullin7ae37332018-02-21 16:44:35 -08001900 "src/core/tsi/ssl/session_cache/ssl_session.h",
1901 "src/core/tsi/ssl/session_cache/ssl_session_cache.h",
Craig Tiller134fed32017-03-28 14:27:18 -07001902 "src/core/tsi/ssl_transport_security.h",
1903 "src/core/tsi/ssl_types.h",
Jiangtao Li0211cfb2017-08-07 11:24:07 -07001904 "src/core/tsi/transport_security_grpc.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001905 ],
1906 external_deps = [
1907 "libssl",
1908 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001909 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001910 deps = [
Yihua Zhangeaf64862018-03-06 21:40:45 -08001911 "alts_frame_protector",
1912 "alts_util",
1913 "gpr",
Yihua Zhang1435bfc2017-07-17 11:20:51 -07001914 "grpc_base",
Yihua Zhangeaf64862018-03-06 21:40:45 -08001915 "grpc_transport_chttp2_client_insecure",
jiangtaoli201625d6fd82017-08-09 11:15:04 -07001916 "tsi_interface",
Muxi Yanb24b2122018-08-14 10:21:27 -07001917 "grpc_shadow_boringssl",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001918 ],
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001919)
1920
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001921grpc_cc_library(
1922 name = "grpc++_base",
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001923 srcs = GRPCXX_SRCS,
Stanley Cheungebeda852017-05-17 19:34:47 -07001924 hdrs = GRPCXX_HDRS,
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001925 language = "c++",
Stanley Cheungebeda852017-05-17 19:34:47 -07001926 public_hdrs = GRPCXX_PUBLIC_HDRS,
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001927 deps = [
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001928 "grpc",
Stanley Cheungebeda852017-05-17 19:34:47 -07001929 "grpc++_codegen_base",
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001930 ],
1931)
1932
1933grpc_cc_library(
1934 name = "grpc++_base_unsecure",
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001935 srcs = GRPCXX_SRCS,
Stanley Cheungebeda852017-05-17 19:34:47 -07001936 hdrs = GRPCXX_HDRS,
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001937 language = "c++",
Stanley Cheungebeda852017-05-17 19:34:47 -07001938 public_hdrs = GRPCXX_PUBLIC_HDRS,
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001939 deps = [
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001940 "grpc++_codegen_base",
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001941 "grpc_unsecure",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001942 ],
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001943)
1944
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001945grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001946 name = "grpc++_codegen_base",
1947 language = "c++",
1948 public_hdrs = [
1949 "include/grpc++/impl/codegen/async_stream.h",
1950 "include/grpc++/impl/codegen/async_unary_call.h",
Vijay Paiefce6e12017-09-14 09:07:50 -07001951 "include/grpc++/impl/codegen/byte_buffer.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001952 "include/grpc++/impl/codegen/call.h",
1953 "include/grpc++/impl/codegen/call_hook.h",
1954 "include/grpc++/impl/codegen/channel_interface.h",
1955 "include/grpc++/impl/codegen/client_context.h",
1956 "include/grpc++/impl/codegen/client_unary_call.h",
1957 "include/grpc++/impl/codegen/completion_queue.h",
1958 "include/grpc++/impl/codegen/completion_queue_tag.h",
1959 "include/grpc++/impl/codegen/config.h",
1960 "include/grpc++/impl/codegen/core_codegen_interface.h",
1961 "include/grpc++/impl/codegen/create_auth_context.h",
1962 "include/grpc++/impl/codegen/grpc_library.h",
yang-g988b47c2017-01-31 09:51:45 -08001963 "include/grpc++/impl/codegen/metadata_map.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001964 "include/grpc++/impl/codegen/method_handler_impl.h",
1965 "include/grpc++/impl/codegen/rpc_method.h",
1966 "include/grpc++/impl/codegen/rpc_service_method.h",
1967 "include/grpc++/impl/codegen/security/auth_context.h",
1968 "include/grpc++/impl/codegen/serialization_traits.h",
1969 "include/grpc++/impl/codegen/server_context.h",
1970 "include/grpc++/impl/codegen/server_interface.h",
1971 "include/grpc++/impl/codegen/service_type.h",
yang-g988b47c2017-01-31 09:51:45 -08001972 "include/grpc++/impl/codegen/slice.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001973 "include/grpc++/impl/codegen/status.h",
1974 "include/grpc++/impl/codegen/status_code_enum.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001975 "include/grpc++/impl/codegen/string_ref.h",
1976 "include/grpc++/impl/codegen/stub_options.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001977 "include/grpc++/impl/codegen/sync_stream.h",
1978 "include/grpc++/impl/codegen/time.h",
ncteisen93a90e62018-06-18 18:39:56 -07001979 "include/grpcpp/impl/codegen/async_generic_service.h",
Muxi Yan0e00c432018-01-26 15:39:32 -08001980 "include/grpcpp/impl/codegen/async_stream.h",
1981 "include/grpcpp/impl/codegen/async_unary_call.h",
1982 "include/grpcpp/impl/codegen/byte_buffer.h",
1983 "include/grpcpp/impl/codegen/call.h",
1984 "include/grpcpp/impl/codegen/call_hook.h",
Vijay Pai8bf52532018-08-21 14:32:13 -07001985 "include/grpcpp/impl/codegen/callback_common.h",
Muxi Yan0e00c432018-01-26 15:39:32 -08001986 "include/grpcpp/impl/codegen/channel_interface.h",
Vijay Pai8bf52532018-08-21 14:32:13 -07001987 "include/grpcpp/impl/codegen/client_callback.h",
Muxi Yan0e00c432018-01-26 15:39:32 -08001988 "include/grpcpp/impl/codegen/client_context.h",
1989 "include/grpcpp/impl/codegen/client_unary_call.h",
1990 "include/grpcpp/impl/codegen/completion_queue.h",
1991 "include/grpcpp/impl/codegen/completion_queue_tag.h",
1992 "include/grpcpp/impl/codegen/config.h",
1993 "include/grpcpp/impl/codegen/core_codegen_interface.h",
1994 "include/grpcpp/impl/codegen/create_auth_context.h",
1995 "include/grpcpp/impl/codegen/grpc_library.h",
1996 "include/grpcpp/impl/codegen/metadata_map.h",
1997 "include/grpcpp/impl/codegen/method_handler_impl.h",
1998 "include/grpcpp/impl/codegen/rpc_method.h",
1999 "include/grpcpp/impl/codegen/rpc_service_method.h",
2000 "include/grpcpp/impl/codegen/security/auth_context.h",
2001 "include/grpcpp/impl/codegen/serialization_traits.h",
2002 "include/grpcpp/impl/codegen/server_context.h",
2003 "include/grpcpp/impl/codegen/server_interface.h",
2004 "include/grpcpp/impl/codegen/service_type.h",
2005 "include/grpcpp/impl/codegen/slice.h",
2006 "include/grpcpp/impl/codegen/status.h",
2007 "include/grpcpp/impl/codegen/status_code_enum.h",
2008 "include/grpcpp/impl/codegen/string_ref.h",
2009 "include/grpcpp/impl/codegen/stub_options.h",
2010 "include/grpcpp/impl/codegen/sync_stream.h",
2011 "include/grpcpp/impl/codegen/time.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02002012 ],
2013 deps = [
2014 "grpc_codegen",
2015 ],
Craig Tillerda179ce2016-02-09 12:01:53 -08002016)
2017
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02002018grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02002019 name = "grpc++_codegen_base_src",
2020 srcs = [
2021 "src/cpp/codegen/codegen_init.cc",
2022 ],
2023 language = "c++",
2024 deps = [
2025 "grpc++_codegen_base",
2026 ],
Jorge Canizales140bca82015-06-20 09:47:00 -07002027)
2028
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02002029grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02002030 name = "grpc++_codegen_proto",
2031 language = "c++",
2032 public_hdrs = [
2033 "include/grpc++/impl/codegen/proto_utils.h",
ncteisencf5b2662018-02-27 11:55:10 -08002034 "include/grpcpp/impl/codegen/proto_buffer_reader.h",
2035 "include/grpcpp/impl/codegen/proto_buffer_writer.h",
Muxi Yan0e00c432018-01-26 15:39:32 -08002036 "include/grpcpp/impl/codegen/proto_utils.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02002037 ],
2038 deps = [
2039 "grpc++_codegen_base",
2040 "grpc++_config_proto",
2041 ],
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07002042)
2043
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02002044grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02002045 name = "grpc++_config_proto",
David Garcia Quintas5481a582017-02-14 16:11:42 -08002046 external_deps = [
Vijay Paidc7c50e2017-11-03 14:46:42 -07002047 "protobuf_headers",
David Garcia Quintas5481a582017-02-14 16:11:42 -08002048 ],
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02002049 language = "c++",
2050 public_hdrs = [
2051 "include/grpc++/impl/codegen/config_protobuf.h",
Muxi Yan0e00c432018-01-26 15:39:32 -08002052 "include/grpcpp/impl/codegen/config_protobuf.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02002053 ],
Jan Tattermusch2d924952015-05-06 10:23:17 -07002054)
2055
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02002056grpc_cc_library(
Sree Kuchibhotla43bca1b2017-02-22 16:37:27 -08002057 name = "grpc++_reflection",
2058 srcs = [
2059 "src/cpp/ext/proto_server_reflection.cc",
2060 "src/cpp/ext/proto_server_reflection_plugin.cc",
2061 ],
2062 hdrs = [
2063 "src/cpp/ext/proto_server_reflection.h",
2064 ],
2065 language = "c++",
2066 public_hdrs = [
2067 "include/grpc++/ext/proto_server_reflection_plugin.h",
Muxi Yan0e00c432018-01-26 15:39:32 -08002068 "include/grpcpp/ext/proto_server_reflection_plugin.h",
Sree Kuchibhotla43bca1b2017-02-22 16:37:27 -08002069 ],
2070 deps = [
2071 ":grpc++",
2072 "//src/proto/grpc/reflection/v1alpha:reflection_proto",
2073 ],
Ian Coolidge13213412017-06-27 21:49:44 -07002074 alwayslink = 1,
Sree Kuchibhotla43bca1b2017-02-22 16:37:27 -08002075)
Nicolas "Pixel" Noble2b0f0012017-04-24 19:59:19 +02002076
Nicolas "Pixel" Noble0885f982017-05-12 21:10:55 +02002077grpc_cc_library(
ncteisenc1945282018-07-16 22:24:53 -07002078 name = "grpcpp_channelz",
2079 srcs = [
2080 "src/cpp/server/channelz/channelz_service.cc",
2081 "src/cpp/server/channelz/channelz_service_plugin.cc",
2082 ],
2083 hdrs = [
2084 "src/cpp/server/channelz/channelz_service.h",
ncteisenc1945282018-07-16 22:24:53 -07002085 ],
2086 language = "c++",
ncteisen18a9d7d2018-07-20 09:29:05 -07002087 public_hdrs = [
2088 "include/grpcpp/ext/channelz_service_plugin.h",
2089 ],
ncteisenc1945282018-07-16 22:24:53 -07002090 deps = [
2091 ":grpc++",
2092 "//src/proto/grpc/channelz:channelz_proto",
2093 ],
2094 alwayslink = 1,
2095)
2096
2097grpc_cc_library(
Nicolas "Pixel" Noble0885f982017-05-12 21:10:55 +02002098 name = "grpc++_test",
2099 public_hdrs = [
2100 "include/grpc++/test/mock_stream.h",
2101 "include/grpc++/test/server_context_test_spouse.h",
Muxi Yan0e00c432018-01-26 15:39:32 -08002102 "include/grpcpp/test/mock_stream.h",
2103 "include/grpcpp/test/server_context_test_spouse.h",
Nicolas "Pixel" Noble0885f982017-05-12 21:10:55 +02002104 ],
2105 deps = [
2106 ":grpc++",
2107 ],
2108)
2109
Muxi Yan2a5bbc12017-05-15 12:03:08 -07002110grpc_cc_library(
2111 name = "grpc_server_backward_compatibility",
2112 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07002113 "src/core/ext/filters/workarounds/workaround_utils.cc",
Muxi Yan2a5bbc12017-05-15 12:03:08 -07002114 ],
2115 hdrs = [
2116 "src/core/ext/filters/workarounds/workaround_utils.h",
2117 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07002118 language = "c++",
Muxi Yan2a5bbc12017-05-15 12:03:08 -07002119 deps = [
2120 "grpc_base",
2121 ],
2122)
2123
Craig Tillere1101cf2017-09-06 09:42:20 -07002124grpc_cc_library(
2125 name = "grpc++_core_stats",
2126 srcs = [
2127 "src/cpp/util/core_stats.cc",
2128 ],
2129 hdrs = [
2130 "src/cpp/util/core_stats.h",
2131 ],
2132 language = "c++",
2133 deps = [
2134 ":grpc++",
2135 "//src/proto/grpc/core:stats_proto",
2136 ],
2137)
2138
Vizerai41e4ced2018-04-13 18:19:21 -07002139grpc_cc_library(
2140 name = "grpc_opencensus_plugin",
2141 srcs = [
Vizerai41e4ced2018-04-13 18:19:21 -07002142 "src/cpp/ext/filters/census/channel_filter.cc",
Juanli Shen291bbc72018-06-21 13:02:40 -07002143 "src/cpp/ext/filters/census/client_filter.cc",
Vizerai41e4ced2018-04-13 18:19:21 -07002144 "src/cpp/ext/filters/census/context.cc",
Vijay Paiccc47712018-08-16 16:11:51 -07002145 "src/core/ext/filters/census/grpc_context.cc",
Vizerai41e4ced2018-04-13 18:19:21 -07002146 "src/cpp/ext/filters/census/grpc_plugin.cc",
2147 "src/cpp/ext/filters/census/measures.cc",
2148 "src/cpp/ext/filters/census/rpc_encoding.cc",
Juanli Shen291bbc72018-06-21 13:02:40 -07002149 "src/cpp/ext/filters/census/server_filter.cc",
Vizerai41e4ced2018-04-13 18:19:21 -07002150 "src/cpp/ext/filters/census/views.cc",
2151 ],
2152 hdrs = [
Vizerai60086792018-05-22 16:03:16 -07002153 "include/grpcpp/opencensus.h",
Vizerai41e4ced2018-04-13 18:19:21 -07002154 "src/cpp/ext/filters/census/channel_filter.h",
Juanli Shen291bbc72018-06-21 13:02:40 -07002155 "src/cpp/ext/filters/census/client_filter.h",
Vizerai41e4ced2018-04-13 18:19:21 -07002156 "src/cpp/ext/filters/census/context.h",
2157 "src/cpp/ext/filters/census/grpc_plugin.h",
2158 "src/cpp/ext/filters/census/measures.h",
2159 "src/cpp/ext/filters/census/rpc_encoding.h",
Juanli Shen291bbc72018-06-21 13:02:40 -07002160 "src/cpp/ext/filters/census/server_filter.h",
Vizerai41e4ced2018-04-13 18:19:21 -07002161 ],
Vizerai41e4ced2018-04-13 18:19:21 -07002162 external_deps = [
2163 "absl-base",
2164 "absl-time",
2165 "opencensus-trace",
2166 "opencensus-stats",
2167 ],
Juanli Shen291bbc72018-06-21 13:02:40 -07002168 language = "c++",
Vizerai41e4ced2018-04-13 18:19:21 -07002169 deps = [
2170 ":census",
2171 ":grpc++",
2172 ],
2173)
2174
Muxi Yanb24b2122018-08-14 10:21:27 -07002175grpc_cc_library(
2176 name = "grpc_shadow_boringssl",
2177 hdrs = [
2178 "src/core/tsi/grpc_shadow_boringssl.h",
2179 ],
2180)
2181
Nicolas "Pixel" Noble2b0f0012017-04-24 19:59:19 +02002182grpc_generate_one_off_targets()