blob: c01b971281d387704af21150cb3553eff39dcf18 [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
Srini Polavarapu27b014e2018-07-19 09:48:58 -070067g_stands_for = "glider"
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
Srini Polavarapu27b014e2018-07-19 09:48:58 -070071version = "1.15.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",
246 "include/grpcpp/support/config.h",
ncteisencf5b2662018-02-27 11:55:10 -0800247 "include/grpcpp/support/proto_buffer_reader.h",
248 "include/grpcpp/support/proto_buffer_writer.h",
Muxi Yan0e00c432018-01-26 15:39:32 -0800249 "include/grpcpp/support/slice.h",
250 "include/grpcpp/support/status.h",
251 "include/grpcpp/support/status_code_enum.h",
252 "include/grpcpp/support/string_ref.h",
253 "include/grpcpp/support/stub_options.h",
254 "include/grpcpp/support/sync_stream.h",
255 "include/grpcpp/support/time.h",
Nicolas "Pixel" Noble86ac5962017-05-31 20:23:41 +0200256]
257
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +0200258grpc_cc_library(
259 name = "gpr",
Yash Tibrewal2dcbc102017-10-03 16:23:07 -0700260 language = "c++",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +0200261 public_hdrs = GPR_PUBLIC_HDRS,
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +0200262 standalone = True,
263 deps = [
264 "gpr_base",
265 ],
266)
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +0200267
268grpc_cc_library(
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +0200269 name = "grpc_unsecure",
270 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -0700271 "src/core/lib/surface/init.cc",
272 "src/core/lib/surface/init_unsecure.cc",
273 "src/core/plugin_registry/grpc_unsecure_plugin_registry.cc",
Nicolas "Pixel" Noble31d11db2016-10-20 09:29:46 +0200274 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -0700275 language = "c++",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +0200276 public_hdrs = GRPC_PUBLIC_HDRS,
Nicolas "Pixel" Noble31d11db2016-10-20 09:29:46 +0200277 standalone = True,
Craig Tillerda179ce2016-02-09 12:01:53 -0800278 deps = [
279 "grpc_common",
Vijay Pai42807252017-07-28 15:08:24 -0700280 "grpc_lb_policy_grpclb",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200281 ],
282)
283
284grpc_cc_library(
285 name = "grpc",
286 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -0700287 "src/core/lib/surface/init.cc",
288 "src/core/plugin_registry/grpc_plugin_registry.cc",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200289 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -0700290 language = "c++",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +0200291 public_hdrs = GRPC_PUBLIC_HDRS + GRPC_SECURE_PUBLIC_HDRS,
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200292 standalone = True,
293 deps = [
294 "grpc_common",
295 "grpc_lb_policy_grpclb_secure",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200296 "grpc_secure",
297 "grpc_transport_chttp2_client_secure",
298 "grpc_transport_chttp2_server_secure",
299 ],
300)
301
302grpc_cc_library(
303 name = "grpc_cronet",
304 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -0700305 "src/core/lib/surface/init.cc",
306 "src/core/plugin_registry/grpc_cronet_plugin_registry.cc",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200307 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -0700308 language = "c++",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200309 deps = [
310 "grpc_base",
311 "grpc_http_filters",
312 "grpc_transport_chttp2_client_secure",
313 "grpc_transport_cronet_client_secure",
314 ],
315)
316
317grpc_cc_library(
makdharma8d6e6f62018-01-23 09:44:25 -0800318 name = "grpc++_public_hdrs",
319 hdrs = GRPCXX_PUBLIC_HDRS,
320)
321
322grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200323 name = "grpc++",
324 srcs = [
325 "src/cpp/client/insecure_credentials.cc",
326 "src/cpp/client/secure_credentials.cc",
327 "src/cpp/common/auth_property_iterator.cc",
328 "src/cpp/common/secure_auth_context.cc",
329 "src/cpp/common/secure_channel_arguments.cc",
330 "src/cpp/common/secure_create_auth_context.cc",
331 "src/cpp/server/insecure_server_credentials.cc",
332 "src/cpp/server/secure_server_credentials.cc",
333 ],
334 hdrs = [
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200335 "src/cpp/client/secure_credentials.h",
336 "src/cpp/common/secure_auth_context.h",
337 "src/cpp/server/secure_server_credentials.h",
338 ],
339 language = "c++",
Nicolas "Pixel" Noble86ac5962017-05-31 20:23:41 +0200340 public_hdrs = GRPCXX_PUBLIC_HDRS,
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200341 standalone = True,
342 deps = [
343 "gpr",
344 "grpc",
345 "grpc++_base",
346 "grpc++_codegen_base",
347 "grpc++_codegen_base_src",
Jan Tattermuschaead5aa2017-02-10 11:00:29 -0800348 "grpc++_codegen_proto",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200349 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200350)
351
352grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200353 name = "grpc++_unsecure",
354 srcs = [
355 "src/cpp/client/insecure_credentials.cc",
356 "src/cpp/common/insecure_create_auth_context.cc",
357 "src/cpp/server/insecure_server_credentials.cc",
358 ],
359 language = "c++",
360 standalone = True,
361 deps = [
362 "gpr",
Vijay Pai576e5462017-04-20 18:40:16 +0000363 "grpc++_base_unsecure",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200364 "grpc++_codegen_base",
365 "grpc++_codegen_base_src",
Vijay Pai42807252017-07-28 15:08:24 -0700366 "grpc++_codegen_proto",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200367 "grpc_unsecure",
368 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200369)
370
371grpc_cc_library(
yang-geceec8e2017-04-10 11:58:44 -0700372 name = "grpc++_error_details",
373 srcs = [
374 "src/cpp/util/error_details.cc",
375 ],
376 hdrs = [
377 "include/grpc++/support/error_details.h",
Muxi Yan0e00c432018-01-26 15:39:32 -0800378 "include/grpcpp/support/error_details.h",
yang-geceec8e2017-04-10 11:58:44 -0700379 ],
380 language = "c++",
381 standalone = True,
382 deps = [
383 "grpc++",
384 "//src/proto/grpc/status:status_proto",
385 ],
386)
387
388grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200389 name = "grpc_plugin_support",
390 srcs = [
391 "src/compiler/cpp_generator.cc",
392 "src/compiler/csharp_generator.cc",
393 "src/compiler/node_generator.cc",
394 "src/compiler/objective_c_generator.cc",
395 "src/compiler/php_generator.cc",
396 "src/compiler/python_generator.cc",
397 "src/compiler/ruby_generator.cc",
398 ],
399 hdrs = [
400 "src/compiler/config.h",
401 "src/compiler/cpp_generator.h",
402 "src/compiler/cpp_generator_helpers.h",
403 "src/compiler/csharp_generator.h",
404 "src/compiler/csharp_generator_helpers.h",
405 "src/compiler/generator_helpers.h",
406 "src/compiler/node_generator.h",
407 "src/compiler/node_generator_helpers.h",
408 "src/compiler/objective_c_generator.h",
409 "src/compiler/objective_c_generator_helpers.h",
410 "src/compiler/php_generator.h",
411 "src/compiler/php_generator_helpers.h",
Jan Tattermusch61f729f2017-04-06 17:11:44 +0200412 "src/compiler/protobuf_plugin.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200413 "src/compiler/python_generator.h",
Harsh Vardhan3cbc6ad2017-02-07 13:09:16 +0530414 "src/compiler/python_generator_helpers.h",
415 "src/compiler/python_private_generator.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200416 "src/compiler/ruby_generator.h",
417 "src/compiler/ruby_generator_helpers-inl.h",
418 "src/compiler/ruby_generator_map-inl.h",
419 "src/compiler/ruby_generator_string-inl.h",
Jan Tattermusch61f729f2017-04-06 17:11:44 +0200420 "src/compiler/schema_interface.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200421 ],
422 external_deps = [
Nicolas "Pixel" Noble4dc64312016-10-20 23:07:37 +0200423 "protobuf_clib",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200424 ],
425 language = "c++",
426 deps = [
427 "grpc++_config_proto",
428 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200429)
430
Nicolas "Pixel" Noble4dc64312016-10-20 23:07:37 +0200431grpc_proto_plugin(
432 name = "grpc_cpp_plugin",
433 srcs = ["src/compiler/cpp_plugin.cc"],
434 deps = [":grpc_plugin_support"],
435)
436
437grpc_proto_plugin(
438 name = "grpc_csharp_plugin",
439 srcs = ["src/compiler/csharp_plugin.cc"],
440 deps = [":grpc_plugin_support"],
441)
442
443grpc_proto_plugin(
444 name = "grpc_node_plugin",
445 srcs = ["src/compiler/node_plugin.cc"],
446 deps = [":grpc_plugin_support"],
447)
448
449grpc_proto_plugin(
450 name = "grpc_objective_c_plugin",
451 srcs = ["src/compiler/objective_c_plugin.cc"],
452 deps = [":grpc_plugin_support"],
453)
454
455grpc_proto_plugin(
456 name = "grpc_php_plugin",
457 srcs = ["src/compiler/php_plugin.cc"],
458 deps = [":grpc_plugin_support"],
459)
460
461grpc_proto_plugin(
462 name = "grpc_python_plugin",
463 srcs = ["src/compiler/python_plugin.cc"],
464 deps = [":grpc_plugin_support"],
465)
466
467grpc_proto_plugin(
468 name = "grpc_ruby_plugin",
469 srcs = ["src/compiler/ruby_plugin.cc"],
470 deps = [":grpc_plugin_support"],
471)
472
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200473grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200474 name = "grpc_csharp_ext",
475 srcs = [
476 "src/csharp/ext/grpc_csharp_ext.c",
477 ],
478 language = "csharp",
479 deps = [
480 "gpr",
481 "grpc",
482 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200483)
484
485grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200486 name = "census",
487 srcs = [
Vijay Pai381bcab2018-08-16 15:44:19 -0700488 "src/core/ext/filters/census/grpc_context.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200489 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -0700490 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200491 public_hdrs = [
492 "include/grpc/census.h",
493 ],
494 deps = [
495 "grpc_base",
496 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200497)
498
499grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200500 name = "gpr_base",
501 srcs = [
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800502 "src/core/lib/gpr/alloc.cc",
503 "src/core/lib/gpr/arena.cc",
504 "src/core/lib/gpr/atm.cc",
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800505 "src/core/lib/gpr/cpu_iphone.cc",
506 "src/core/lib/gpr/cpu_linux.cc",
507 "src/core/lib/gpr/cpu_posix.cc",
508 "src/core/lib/gpr/cpu_windows.cc",
509 "src/core/lib/gpr/env_linux.cc",
510 "src/core/lib/gpr/env_posix.cc",
511 "src/core/lib/gpr/env_windows.cc",
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800512 "src/core/lib/gpr/host_port.cc",
513 "src/core/lib/gpr/log.cc",
514 "src/core/lib/gpr/log_android.cc",
515 "src/core/lib/gpr/log_linux.cc",
516 "src/core/lib/gpr/log_posix.cc",
517 "src/core/lib/gpr/log_windows.cc",
518 "src/core/lib/gpr/mpscq.cc",
519 "src/core/lib/gpr/murmur_hash.cc",
520 "src/core/lib/gpr/string.cc",
521 "src/core/lib/gpr/string_posix.cc",
522 "src/core/lib/gpr/string_util_windows.cc",
523 "src/core/lib/gpr/string_windows.cc",
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800524 "src/core/lib/gpr/sync.cc",
525 "src/core/lib/gpr/sync_posix.cc",
526 "src/core/lib/gpr/sync_windows.cc",
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800527 "src/core/lib/gpr/time.cc",
528 "src/core/lib/gpr/time_posix.cc",
529 "src/core/lib/gpr/time_precise.cc",
530 "src/core/lib/gpr/time_windows.cc",
531 "src/core/lib/gpr/tls_pthread.cc",
532 "src/core/lib/gpr/tmpfile_msys.cc",
533 "src/core/lib/gpr/tmpfile_posix.cc",
534 "src/core/lib/gpr/tmpfile_windows.cc",
535 "src/core/lib/gpr/wrap_memcpy.cc",
kpayson64701e70d2018-04-30 17:40:00 -0700536 "src/core/lib/gprpp/fork.cc",
Vijay Pai756caa72018-03-01 12:38:16 -0800537 "src/core/lib/gprpp/thd_posix.cc",
538 "src/core/lib/gprpp/thd_windows.cc",
Vijay Pai239b7d42018-02-08 11:08:41 -0800539 "src/core/lib/profiling/basic_timers.cc",
540 "src/core/lib/profiling/stap_timers.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200541 ],
542 hdrs = [
Mark D. Roth2223e602018-06-27 07:23:33 -0700543 "src/core/lib/gpr/alloc.h",
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800544 "src/core/lib/gpr/arena.h",
545 "src/core/lib/gpr/env.h",
Vijay Paiae376bf2018-01-25 22:54:02 -0800546 "src/core/lib/gpr/host_port.h",
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800547 "src/core/lib/gpr/mpscq.h",
548 "src/core/lib/gpr/murmur_hash.h",
549 "src/core/lib/gpr/spinlock.h",
550 "src/core/lib/gpr/string.h",
551 "src/core/lib/gpr/string_windows.h",
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800552 "src/core/lib/gpr/time_precise.h",
Vijay Paib6cf1232018-01-25 21:02:26 -0800553 "src/core/lib/gpr/tls.h",
554 "src/core/lib/gpr/tls_gcc.h",
555 "src/core/lib/gpr/tls_msvc.h",
556 "src/core/lib/gpr/tls_pthread.h",
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800557 "src/core/lib/gpr/tmpfile.h",
Vijay Pai239b7d42018-02-08 11:08:41 -0800558 "src/core/lib/gpr/useful.h",
Vijay Pai756caa72018-03-01 12:38:16 -0800559 "src/core/lib/gprpp/abstract.h",
kpayson64701e70d2018-04-30 17:40:00 -0700560 "src/core/lib/gprpp/fork.h",
Vijay Pai756caa72018-03-01 12:38:16 -0800561 "src/core/lib/gprpp/manual_constructor.h",
562 "src/core/lib/gprpp/memory.h",
Mark D. Roth7a7e4f52018-08-16 12:04:24 -0700563 "src/core/lib/gprpp/mutex_lock.h",
Vijay Pai756caa72018-03-01 12:38:16 -0800564 "src/core/lib/gprpp/thd.h",
Vijay Pai239b7d42018-02-08 11:08:41 -0800565 "src/core/lib/profiling/timers.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200566 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -0700567 language = "c++",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +0200568 public_hdrs = GPR_PUBLIC_HDRS,
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200569 deps = [
570 "gpr_codegen",
571 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200572)
573
574grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200575 name = "gpr_codegen",
Yash Tibrewal2dcbc102017-10-03 16:23:07 -0700576 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200577 public_hdrs = [
578 "include/grpc/impl/codegen/atm.h",
579 "include/grpc/impl/codegen/atm_gcc_atomic.h",
580 "include/grpc/impl/codegen/atm_gcc_sync.h",
581 "include/grpc/impl/codegen/atm_windows.h",
Ken Payson9714e032017-10-10 11:18:49 -0700582 "include/grpc/impl/codegen/fork.h",
Mark D. Roth348fba22017-01-06 11:07:30 -0800583 "include/grpc/impl/codegen/gpr_slice.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200584 "include/grpc/impl/codegen/gpr_types.h",
ncteisen93a90e62018-06-18 18:39:56 -0700585 "include/grpc/impl/codegen/log.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200586 "include/grpc/impl/codegen/port_platform.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200587 "include/grpc/impl/codegen/sync.h",
yang-g9ff60312017-08-24 09:08:21 -0700588 "include/grpc/impl/codegen/sync_custom.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200589 "include/grpc/impl/codegen/sync_generic.h",
590 "include/grpc/impl/codegen/sync_posix.h",
591 "include/grpc/impl/codegen/sync_windows.h",
592 ],
Craig Tillerda179ce2016-02-09 12:01:53 -0800593)
594
Nicolas "Pixel" Noble31d11db2016-10-20 09:29:46 +0200595grpc_cc_library(
Craig Tiller1f477302017-05-05 11:01:25 -0700596 name = "grpc_trace",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700597 srcs = ["src/core/lib/debug/trace.cc"],
Craig Tiller1f477302017-05-05 11:01:25 -0700598 hdrs = ["src/core/lib/debug/trace.h"],
Yash Tibrewala60c7632017-09-28 16:13:32 -0700599 language = "c++",
Yash Tibrewal12587d52017-10-05 08:53:41 -0700600 public_hdrs = GRPC_PUBLIC_HDRS,
Yash Tibrewalf49ab122017-10-03 18:36:05 -0700601 deps = [
602 "grpc_codegen",
603 ":gpr",
604 ],
Craig Tiller1f477302017-05-05 11:01:25 -0700605)
606
607grpc_cc_library(
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800608 name = "atomic",
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800609 hdrs = [
Mark D. Roth4f2b0fd2018-01-19 12:12:23 -0800610 "src/core/lib/gprpp/atomic_with_atm.h",
611 "src/core/lib/gprpp/atomic_with_std.h",
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800612 ],
Vijay Pai239b7d42018-02-08 11:08:41 -0800613 language = "c++",
614 public_hdrs = [
615 "src/core/lib/gprpp/atomic.h",
616 ],
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800617 deps = [
618 "gpr",
619 ],
620)
621
622grpc_cc_library(
623 name = "inlined_vector",
624 language = "c++",
625 public_hdrs = [
Mark D. Roth4f2b0fd2018-01-19 12:12:23 -0800626 "src/core/lib/gprpp/inlined_vector.h",
627 ],
628 deps = [
Vijay Pai756caa72018-03-01 12:38:16 -0800629 "gpr_base",
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800630 ],
631)
632
633grpc_cc_library(
Mark D. Roth70db6632017-11-27 14:53:26 -0800634 name = "debug_location",
Mark D. Roth70db6632017-11-27 14:53:26 -0800635 language = "c++",
Mark D. Roth4f2b0fd2018-01-19 12:12:23 -0800636 public_hdrs = ["src/core/lib/gprpp/debug_location.h"],
Mark D. Roth70db6632017-11-27 14:53:26 -0800637)
638
639grpc_cc_library(
Mark D. Roth324703d2018-01-11 07:41:31 -0800640 name = "orphanable",
Mark D. Roth324703d2018-01-11 07:41:31 -0800641 language = "c++",
Mark D. Roth4f2b0fd2018-01-19 12:12:23 -0800642 public_hdrs = ["src/core/lib/gprpp/orphanable.h"],
Mark D. Roth324703d2018-01-11 07:41:31 -0800643 deps = [
Mark D. Roth324703d2018-01-11 07:41:31 -0800644 "debug_location",
Vijay Pai756caa72018-03-01 12:38:16 -0800645 "gpr_base",
David Garcia Quintas41d27e12018-01-17 10:38:53 -0800646 "grpc_trace",
Vijay Pai239b7d42018-02-08 11:08:41 -0800647 "ref_counted_ptr",
Mark D. Roth324703d2018-01-11 07:41:31 -0800648 ],
Mark D. Roth70db6632017-11-27 14:53:26 -0800649)
650
651grpc_cc_library(
Mark D. Rothbf816d32017-11-29 11:25:34 -0800652 name = "ref_counted",
Mark D. Roth70db6632017-11-27 14:53:26 -0800653 language = "c++",
Mark D. Roth4f2b0fd2018-01-19 12:12:23 -0800654 public_hdrs = ["src/core/lib/gprpp/ref_counted.h"],
Mark D. Roth70db6632017-11-27 14:53:26 -0800655 deps = [
Mark D. Roth70db6632017-11-27 14:53:26 -0800656 "debug_location",
Vijay Pai756caa72018-03-01 12:38:16 -0800657 "gpr_base",
David Garcia Quintas53bfe692018-01-04 16:39:08 -0800658 "grpc_trace",
Vijay Pai239b7d42018-02-08 11:08:41 -0800659 "ref_counted_ptr",
Mark D. Roth70db6632017-11-27 14:53:26 -0800660 ],
661)
662
663grpc_cc_library(
Mark D. Rothbf816d32017-11-29 11:25:34 -0800664 name = "ref_counted_ptr",
Mark D. Rothcf9ca842017-11-28 08:24:35 -0800665 language = "c++",
Mark D. Roth4f2b0fd2018-01-19 12:12:23 -0800666 public_hdrs = ["src/core/lib/gprpp/ref_counted_ptr.h"],
667 deps = [
Vijay Pai756caa72018-03-01 12:38:16 -0800668 "gpr_base",
Mark D. Roth4f2b0fd2018-01-19 12:12:23 -0800669 ],
Mark D. Rothcf9ca842017-11-28 08:24:35 -0800670)
671
672grpc_cc_library(
Craig Tiller832c6072017-05-11 14:38:05 -0700673 name = "grpc_base_c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200674 srcs = [
Vijay Pai8f4fbb12018-02-08 10:04:08 -0800675 "src/core/lib/avl/avl.cc",
Craig Tillere1a2b4a2017-10-05 11:07:14 -0700676 "src/core/lib/backoff/backoff.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700677 "src/core/lib/channel/channel_args.cc",
678 "src/core/lib/channel/channel_stack.cc",
679 "src/core/lib/channel/channel_stack_builder.cc",
ncteisen3b42f832018-03-19 13:22:35 -0700680 "src/core/lib/channel/channel_trace.cc",
ncteisenc3c6e062018-05-09 11:10:21 -0700681 "src/core/lib/channel/channelz.cc",
Juanli Shen291bbc72018-06-21 13:02:40 -0700682 "src/core/lib/channel/channelz_registry.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700683 "src/core/lib/channel/connected_channel.cc",
684 "src/core/lib/channel/handshaker.cc",
685 "src/core/lib/channel/handshaker_factory.cc",
686 "src/core/lib/channel/handshaker_registry.cc",
David Garcia Quintasfa460dc2018-03-23 14:51:41 -0700687 "src/core/lib/channel/status_util.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700688 "src/core/lib/compression/compression.cc",
Muxi Yan03fc8572017-10-06 18:47:09 -0700689 "src/core/lib/compression/compression_internal.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700690 "src/core/lib/compression/message_compress.cc",
691 "src/core/lib/compression/stream_compression.cc",
692 "src/core/lib/compression/stream_compression_gzip.cc",
693 "src/core/lib/compression/stream_compression_identity.cc",
694 "src/core/lib/debug/stats.cc",
695 "src/core/lib/debug/stats_data.cc",
696 "src/core/lib/http/format_request.cc",
697 "src/core/lib/http/httpcli.cc",
698 "src/core/lib/http/parser.cc",
Yash Tibrewalf0397932018-05-31 19:39:52 -0700699 "src/core/lib/iomgr/buffer_list.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700700 "src/core/lib/iomgr/call_combiner.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700701 "src/core/lib/iomgr/combiner.cc",
702 "src/core/lib/iomgr/endpoint.cc",
703 "src/core/lib/iomgr/endpoint_pair_posix.cc",
704 "src/core/lib/iomgr/endpoint_pair_uv.cc",
705 "src/core/lib/iomgr/endpoint_pair_windows.cc",
706 "src/core/lib/iomgr/error.cc",
707 "src/core/lib/iomgr/ev_epoll1_linux.cc",
708 "src/core/lib/iomgr/ev_epollex_linux.cc",
709 "src/core/lib/iomgr/ev_epollsig_linux.cc",
710 "src/core/lib/iomgr/ev_poll_posix.cc",
711 "src/core/lib/iomgr/ev_posix.cc",
712 "src/core/lib/iomgr/ev_windows.cc",
713 "src/core/lib/iomgr/exec_ctx.cc",
714 "src/core/lib/iomgr/executor.cc",
Nicolas "Pixel" Noble18a68372017-11-20 23:33:22 +0100715 "src/core/lib/iomgr/fork_posix.cc",
716 "src/core/lib/iomgr/fork_windows.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700717 "src/core/lib/iomgr/gethostname_fallback.cc",
718 "src/core/lib/iomgr/gethostname_host_name_max.cc",
719 "src/core/lib/iomgr/gethostname_sysconf.cc",
Yash Tibrewalf0397932018-05-31 19:39:52 -0700720 "src/core/lib/iomgr/internal_errqueue.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700721 "src/core/lib/iomgr/iocp_windows.cc",
722 "src/core/lib/iomgr/iomgr.cc",
kpayson64539f5062018-03-12 19:16:30 -0700723 "src/core/lib/iomgr/iomgr_custom.cc",
724 "src/core/lib/iomgr/iomgr_internal.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700725 "src/core/lib/iomgr/iomgr_posix.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700726 "src/core/lib/iomgr/iomgr_windows.cc",
727 "src/core/lib/iomgr/is_epollexclusive_available.cc",
728 "src/core/lib/iomgr/load_file.cc",
729 "src/core/lib/iomgr/lockfree_event.cc",
730 "src/core/lib/iomgr/network_status_tracker.cc",
731 "src/core/lib/iomgr/polling_entity.cc",
kpayson64539f5062018-03-12 19:16:30 -0700732 "src/core/lib/iomgr/pollset.cc",
733 "src/core/lib/iomgr/pollset_custom.cc",
734 "src/core/lib/iomgr/pollset_set.cc",
735 "src/core/lib/iomgr/pollset_set_custom.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700736 "src/core/lib/iomgr/pollset_set_windows.cc",
737 "src/core/lib/iomgr/pollset_uv.cc",
738 "src/core/lib/iomgr/pollset_windows.cc",
kpayson64539f5062018-03-12 19:16:30 -0700739 "src/core/lib/iomgr/resolve_address.cc",
740 "src/core/lib/iomgr/resolve_address_custom.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700741 "src/core/lib/iomgr/resolve_address_posix.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700742 "src/core/lib/iomgr/resolve_address_windows.cc",
743 "src/core/lib/iomgr/resource_quota.cc",
744 "src/core/lib/iomgr/sockaddr_utils.cc",
745 "src/core/lib/iomgr/socket_factory_posix.cc",
746 "src/core/lib/iomgr/socket_mutator.cc",
747 "src/core/lib/iomgr/socket_utils_common_posix.cc",
748 "src/core/lib/iomgr/socket_utils_linux.cc",
749 "src/core/lib/iomgr/socket_utils_posix.cc",
Yash Tibrewal26c78032017-09-28 14:34:43 -0700750 "src/core/lib/iomgr/socket_utils_windows.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700751 "src/core/lib/iomgr/socket_windows.cc",
kpayson64539f5062018-03-12 19:16:30 -0700752 "src/core/lib/iomgr/tcp_client.cc",
753 "src/core/lib/iomgr/tcp_client_custom.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700754 "src/core/lib/iomgr/tcp_client_posix.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700755 "src/core/lib/iomgr/tcp_client_windows.cc",
kpayson64539f5062018-03-12 19:16:30 -0700756 "src/core/lib/iomgr/tcp_custom.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700757 "src/core/lib/iomgr/tcp_posix.cc",
kpayson64539f5062018-03-12 19:16:30 -0700758 "src/core/lib/iomgr/tcp_server.cc",
759 "src/core/lib/iomgr/tcp_server_custom.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700760 "src/core/lib/iomgr/tcp_server_posix.cc",
761 "src/core/lib/iomgr/tcp_server_utils_posix_common.cc",
762 "src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc",
763 "src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700764 "src/core/lib/iomgr/tcp_server_windows.cc",
765 "src/core/lib/iomgr/tcp_uv.cc",
766 "src/core/lib/iomgr/tcp_windows.cc",
767 "src/core/lib/iomgr/time_averaged_stats.cc",
kpayson64539f5062018-03-12 19:16:30 -0700768 "src/core/lib/iomgr/timer.cc",
769 "src/core/lib/iomgr/timer_custom.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700770 "src/core/lib/iomgr/timer_generic.cc",
771 "src/core/lib/iomgr/timer_heap.cc",
772 "src/core/lib/iomgr/timer_manager.cc",
773 "src/core/lib/iomgr/timer_uv.cc",
774 "src/core/lib/iomgr/udp_server.cc",
775 "src/core/lib/iomgr/unix_sockets_posix.cc",
776 "src/core/lib/iomgr/unix_sockets_posix_noop.cc",
777 "src/core/lib/iomgr/wakeup_fd_cv.cc",
778 "src/core/lib/iomgr/wakeup_fd_eventfd.cc",
779 "src/core/lib/iomgr/wakeup_fd_nospecial.cc",
780 "src/core/lib/iomgr/wakeup_fd_pipe.cc",
781 "src/core/lib/iomgr/wakeup_fd_posix.cc",
782 "src/core/lib/json/json.cc",
783 "src/core/lib/json/json_reader.cc",
784 "src/core/lib/json/json_string.cc",
785 "src/core/lib/json/json_writer.cc",
786 "src/core/lib/slice/b64.cc",
787 "src/core/lib/slice/percent_encoding.cc",
788 "src/core/lib/slice/slice.cc",
789 "src/core/lib/slice/slice_buffer.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700790 "src/core/lib/slice/slice_intern.cc",
791 "src/core/lib/slice/slice_string_helpers.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700792 "src/core/lib/surface/api_trace.cc",
793 "src/core/lib/surface/byte_buffer.cc",
794 "src/core/lib/surface/byte_buffer_reader.cc",
795 "src/core/lib/surface/call.cc",
796 "src/core/lib/surface/call_details.cc",
797 "src/core/lib/surface/call_log_batch.cc",
798 "src/core/lib/surface/channel.cc",
799 "src/core/lib/surface/channel_init.cc",
800 "src/core/lib/surface/channel_ping.cc",
801 "src/core/lib/surface/channel_stack_type.cc",
802 "src/core/lib/surface/completion_queue.cc",
803 "src/core/lib/surface/completion_queue_factory.cc",
804 "src/core/lib/surface/event_string.cc",
805 "src/core/lib/surface/metadata_array.cc",
806 "src/core/lib/surface/server.cc",
807 "src/core/lib/surface/validate_metadata.cc",
808 "src/core/lib/surface/version.cc",
809 "src/core/lib/transport/bdp_estimator.cc",
810 "src/core/lib/transport/byte_stream.cc",
811 "src/core/lib/transport/connectivity_state.cc",
812 "src/core/lib/transport/error_utils.cc",
813 "src/core/lib/transport/metadata.cc",
814 "src/core/lib/transport/metadata_batch.cc",
815 "src/core/lib/transport/pid_controller.cc",
816 "src/core/lib/transport/service_config.cc",
817 "src/core/lib/transport/static_metadata.cc",
818 "src/core/lib/transport/status_conversion.cc",
Mark D. Roth718c8342018-02-28 13:00:04 -0800819 "src/core/lib/transport/status_metadata.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700820 "src/core/lib/transport/timeout_encoding.cc",
821 "src/core/lib/transport/transport.cc",
822 "src/core/lib/transport/transport_op_string.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200823 ],
824 hdrs = [
Vijay Pai8f4fbb12018-02-08 10:04:08 -0800825 "src/core/lib/avl/avl.h",
Vijay Pai89125422017-11-22 10:22:28 -0800826 "src/core/lib/backoff/backoff.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200827 "src/core/lib/channel/channel_args.h",
828 "src/core/lib/channel/channel_stack.h",
829 "src/core/lib/channel/channel_stack_builder.h",
ncteisen3b42f832018-03-19 13:22:35 -0700830 "src/core/lib/channel/channel_trace.h",
ncteisenc3c6e062018-05-09 11:10:21 -0700831 "src/core/lib/channel/channelz.h",
Juanli Shen291bbc72018-06-21 13:02:40 -0700832 "src/core/lib/channel/channelz_registry.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200833 "src/core/lib/channel/connected_channel.h",
834 "src/core/lib/channel/context.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200835 "src/core/lib/channel/handshaker.h",
Mark D. Roth1f0f23c2017-01-06 13:07:19 -0800836 "src/core/lib/channel/handshaker_factory.h",
837 "src/core/lib/channel/handshaker_registry.h",
David Garcia Quintasfa460dc2018-03-23 14:51:41 -0700838 "src/core/lib/channel/status_util.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200839 "src/core/lib/compression/algorithm_metadata.h",
Muxi Yane6d888d2017-09-14 09:42:56 -0700840 "src/core/lib/compression/compression_internal.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200841 "src/core/lib/compression/message_compress.h",
Muxi Yan1e9bdb52017-07-14 10:14:02 -0700842 "src/core/lib/compression/stream_compression.h",
Muxi Yan9cd90f42017-09-07 09:51:13 -0700843 "src/core/lib/compression/stream_compression_gzip.h",
844 "src/core/lib/compression/stream_compression_identity.h",
David Garcia Quintasb352be02017-09-18 11:55:52 -0700845 "src/core/lib/debug/stats.h",
846 "src/core/lib/debug/stats_data.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200847 "src/core/lib/http/format_request.h",
848 "src/core/lib/http/httpcli.h",
849 "src/core/lib/http/parser.h",
Yash Tibrewalf0397932018-05-31 19:39:52 -0700850 "src/core/lib/iomgr/buffer_list.h",
Vijay Pai89125422017-11-22 10:22:28 -0800851 "src/core/lib/iomgr/block_annotate.h",
Mark D. Roth764cf042017-09-01 09:00:06 -0700852 "src/core/lib/iomgr/call_combiner.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200853 "src/core/lib/iomgr/closure.h",
854 "src/core/lib/iomgr/combiner.h",
855 "src/core/lib/iomgr/endpoint.h",
856 "src/core/lib/iomgr/endpoint_pair.h",
857 "src/core/lib/iomgr/error.h",
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800858 "src/core/lib/iomgr/error_internal.h",
Craig Tiller18545a32017-05-05 17:33:44 +0000859 "src/core/lib/iomgr/ev_epoll1_linux.h",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700860 "src/core/lib/iomgr/ev_epollex_linux.h",
861 "src/core/lib/iomgr/ev_epollsig_linux.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200862 "src/core/lib/iomgr/ev_poll_posix.h",
863 "src/core/lib/iomgr/ev_posix.h",
864 "src/core/lib/iomgr/exec_ctx.h",
865 "src/core/lib/iomgr/executor.h",
Mark D. Rothf9bf4282017-08-03 14:47:23 -0700866 "src/core/lib/iomgr/gethostname.h",
Naresh74426fd2018-06-22 20:06:39 +0530867 "src/core/lib/iomgr/gevent_util.h",
Yash Tibrewalf0397932018-05-31 19:39:52 -0700868 "src/core/lib/iomgr/internal_errqueue.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200869 "src/core/lib/iomgr/iocp_windows.h",
870 "src/core/lib/iomgr/iomgr.h",
kpayson64539f5062018-03-12 19:16:30 -0700871 "src/core/lib/iomgr/iomgr_custom.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200872 "src/core/lib/iomgr/iomgr_internal.h",
873 "src/core/lib/iomgr/iomgr_posix.h",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700874 "src/core/lib/iomgr/is_epollexclusive_available.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200875 "src/core/lib/iomgr/load_file.h",
Jan Tattermusch43713e62017-04-12 09:20:29 +0200876 "src/core/lib/iomgr/lockfree_event.h",
Yuchen Zeng2d6ce742017-07-28 15:21:01 -0700877 "src/core/lib/iomgr/nameser.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200878 "src/core/lib/iomgr/network_status_tracker.h",
879 "src/core/lib/iomgr/polling_entity.h",
880 "src/core/lib/iomgr/pollset.h",
kpayson64539f5062018-03-12 19:16:30 -0700881 "src/core/lib/iomgr/pollset_custom.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200882 "src/core/lib/iomgr/pollset_set.h",
kpayson64539f5062018-03-12 19:16:30 -0700883 "src/core/lib/iomgr/pollset_set_custom.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200884 "src/core/lib/iomgr/pollset_set_windows.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200885 "src/core/lib/iomgr/pollset_uv.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200886 "src/core/lib/iomgr/pollset_windows.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200887 "src/core/lib/iomgr/port.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200888 "src/core/lib/iomgr/resolve_address.h",
kpayson64539f5062018-03-12 19:16:30 -0700889 "src/core/lib/iomgr/resolve_address_custom.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100890 "src/core/lib/iomgr/resource_quota.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200891 "src/core/lib/iomgr/sockaddr.h",
kpayson64539f5062018-03-12 19:16:30 -0700892 "src/core/lib/iomgr/sockaddr_custom.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200893 "src/core/lib/iomgr/sockaddr_posix.h",
894 "src/core/lib/iomgr/sockaddr_utils.h",
895 "src/core/lib/iomgr/sockaddr_windows.h",
Michael Warresc46b3eb2017-02-22 22:57:04 -0500896 "src/core/lib/iomgr/socket_factory_posix.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100897 "src/core/lib/iomgr/socket_mutator.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200898 "src/core/lib/iomgr/socket_utils.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200899 "src/core/lib/iomgr/socket_utils_posix.h",
900 "src/core/lib/iomgr/socket_windows.h",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700901 "src/core/lib/iomgr/sys_epoll_wrapper.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200902 "src/core/lib/iomgr/tcp_client.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100903 "src/core/lib/iomgr/tcp_client_posix.h",
kpayson64539f5062018-03-12 19:16:30 -0700904 "src/core/lib/iomgr/tcp_custom.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200905 "src/core/lib/iomgr/tcp_posix.h",
906 "src/core/lib/iomgr/tcp_server.h",
Yuchen Zeng47155ed2017-03-13 17:18:07 -0700907 "src/core/lib/iomgr/tcp_server_utils_posix.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200908 "src/core/lib/iomgr/tcp_windows.h",
909 "src/core/lib/iomgr/time_averaged_stats.h",
910 "src/core/lib/iomgr/timer.h",
kpayson64539f5062018-03-12 19:16:30 -0700911 "src/core/lib/iomgr/timer_custom.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200912 "src/core/lib/iomgr/timer_generic.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200913 "src/core/lib/iomgr/timer_heap.h",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700914 "src/core/lib/iomgr/timer_manager.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200915 "src/core/lib/iomgr/udp_server.h",
916 "src/core/lib/iomgr/unix_sockets_posix.h",
917 "src/core/lib/iomgr/wakeup_fd_cv.h",
918 "src/core/lib/iomgr/wakeup_fd_pipe.h",
919 "src/core/lib/iomgr/wakeup_fd_posix.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200920 "src/core/lib/json/json.h",
921 "src/core/lib/json/json_common.h",
922 "src/core/lib/json/json_reader.h",
923 "src/core/lib/json/json_writer.h",
Craig Tiller29b527f2017-03-30 10:27:20 -0700924 "src/core/lib/slice/b64.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100925 "src/core/lib/slice/percent_encoding.h",
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800926 "src/core/lib/slice/slice_hash_table.h",
Craig Tiller3ca60192017-01-04 14:41:29 -0800927 "src/core/lib/slice/slice_internal.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100928 "src/core/lib/slice/slice_string_helpers.h",
David Garcia Quintas396d49d2018-02-28 16:06:30 -0800929 "src/core/lib/slice/slice_weak_hash_table.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200930 "src/core/lib/surface/api_trace.h",
931 "src/core/lib/surface/call.h",
932 "src/core/lib/surface/call_test_only.h",
933 "src/core/lib/surface/channel.h",
934 "src/core/lib/surface/channel_init.h",
935 "src/core/lib/surface/channel_stack_type.h",
936 "src/core/lib/surface/completion_queue.h",
Sree Kuchibhotlaf6c20262017-03-21 18:52:19 -0700937 "src/core/lib/surface/completion_queue_factory.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200938 "src/core/lib/surface/event_string.h",
939 "src/core/lib/surface/init.h",
940 "src/core/lib/surface/lame_client.h",
941 "src/core/lib/surface/server.h",
David Garcia Quintas01291502017-02-07 13:26:41 -0800942 "src/core/lib/surface/validate_metadata.h",
David Garcia Quintas5481a582017-02-14 16:11:42 -0800943 "src/core/lib/transport/bdp_estimator.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200944 "src/core/lib/transport/byte_stream.h",
945 "src/core/lib/transport/connectivity_state.h",
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800946 "src/core/lib/transport/error_utils.h",
947 "src/core/lib/transport/http2_errors.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200948 "src/core/lib/transport/metadata.h",
949 "src/core/lib/transport/metadata_batch.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100950 "src/core/lib/transport/pid_controller.h",
951 "src/core/lib/transport/service_config.h",
952 "src/core/lib/transport/static_metadata.h",
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800953 "src/core/lib/transport/status_conversion.h",
Mark D. Roth718c8342018-02-28 13:00:04 -0800954 "src/core/lib/transport/status_metadata.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200955 "src/core/lib/transport/timeout_encoding.h",
956 "src/core/lib/transport/transport.h",
957 "src/core/lib/transport/transport_impl.h",
958 ],
959 external_deps = [
960 "zlib",
961 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -0700962 language = "c++",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +0200963 public_hdrs = GRPC_PUBLIC_HDRS,
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200964 deps = [
Vijay Pai239b7d42018-02-08 11:08:41 -0800965 "gpr_base",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200966 "grpc_codegen",
Craig Tiller1f477302017-05-05 11:01:25 -0700967 "grpc_trace",
Vijay Pai756caa72018-03-01 12:38:16 -0800968 "inlined_vector",
Mark D. Roth3d8b32d2018-03-09 13:25:40 -0800969 "orphanable",
Mark D. Roth3e7f2df2018-02-26 13:17:06 -0800970 "ref_counted",
971 "ref_counted_ptr",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200972 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200973)
974
975grpc_cc_library(
Craig Tiller832c6072017-05-11 14:38:05 -0700976 name = "grpc_base",
Craig Tiller832c6072017-05-11 14:38:05 -0700977 srcs = [
978 "src/core/lib/surface/lame_client.cc",
979 ],
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700980 language = "c++",
Craig Tiller832c6072017-05-11 14:38:05 -0700981 deps = [
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800982 "atomic",
Craig Tiller832c6072017-05-11 14:38:05 -0700983 "grpc_base_c",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700984 ],
985)
986
987grpc_cc_library(
988 name = "grpc_common",
Yash Tibrewal2dcbc102017-10-03 16:23:07 -0700989 language = "c++",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700990 deps = [
991 "grpc_base",
992 # standard plugins
993 "census",
994 "grpc_deadline_filter",
David Garcia Quintasaa843f22018-03-13 08:36:16 -0700995 "grpc_client_authority_filter",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700996 "grpc_lb_policy_pick_first",
997 "grpc_lb_policy_round_robin",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700998 "grpc_max_age_filter",
999 "grpc_message_size_filter",
Vijay Pai42807252017-07-28 15:08:24 -07001000 "grpc_resolver_dns_ares",
1001 "grpc_resolver_fake",
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001002 "grpc_resolver_dns_native",
1003 "grpc_resolver_sockaddr",
1004 "grpc_transport_chttp2_client_insecure",
1005 "grpc_transport_chttp2_server_insecure",
Vijay Pai3d7d5f42017-05-04 10:02:24 -07001006 "grpc_transport_inproc",
Muxi Yan2a5bbc12017-05-15 12:03:08 -07001007 "grpc_workaround_cronet_compression_filter",
1008 "grpc_server_backward_compatibility",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001009 ],
1010)
1011
1012grpc_cc_library(
Muxi Yanc512b4f2018-06-05 09:42:33 -07001013 name = "grpc_cfstream",
1014 srcs = [
1015 "src/core/lib/iomgr/cfstream_handle.cc",
1016 "src/core/lib/iomgr/endpoint_cfstream.cc",
1017 "src/core/lib/iomgr/error_cfstream.cc",
Muxi Yane8f0e542018-08-06 18:55:45 -07001018 "src/core/lib/iomgr/iomgr_posix_cfstream.cc",
Muxi Yanc512b4f2018-06-05 09:42:33 -07001019 "src/core/lib/iomgr/tcp_client_cfstream.cc",
1020 ],
1021 hdrs = [
1022 "src/core/lib/iomgr/cfstream_handle.h",
1023 "src/core/lib/iomgr/endpoint_cfstream.h",
1024 "src/core/lib/iomgr/error_cfstream.h",
1025 ],
1026 deps = [
1027 ":gpr_base",
1028 ":grpc_base",
1029 ],
1030)
1031
1032grpc_cc_library(
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001033 name = "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001034 srcs = [
Yuchen Zeng0bad30a2017-10-05 21:47:39 -07001035 "src/core/ext/filters/client_channel/backup_poller.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001036 "src/core/ext/filters/client_channel/channel_connectivity.cc",
1037 "src/core/ext/filters/client_channel/client_channel.cc",
ncteisenafb98292018-06-28 18:04:24 -07001038 "src/core/ext/filters/client_channel/client_channel_channelz.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001039 "src/core/ext/filters/client_channel/client_channel_factory.cc",
1040 "src/core/ext/filters/client_channel/client_channel_plugin.cc",
1041 "src/core/ext/filters/client_channel/connector.cc",
1042 "src/core/ext/filters/client_channel/http_connect_handshaker.cc",
1043 "src/core/ext/filters/client_channel/http_proxy.cc",
1044 "src/core/ext/filters/client_channel/lb_policy.cc",
1045 "src/core/ext/filters/client_channel/lb_policy_factory.cc",
1046 "src/core/ext/filters/client_channel/lb_policy_registry.cc",
Mark D. Roth3e7f2df2018-02-26 13:17:06 -08001047 "src/core/ext/filters/client_channel/method_params.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001048 "src/core/ext/filters/client_channel/parse_address.cc",
1049 "src/core/ext/filters/client_channel/proxy_mapper.cc",
1050 "src/core/ext/filters/client_channel/proxy_mapper_registry.cc",
1051 "src/core/ext/filters/client_channel/resolver.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001052 "src/core/ext/filters/client_channel/resolver_registry.cc",
1053 "src/core/ext/filters/client_channel/retry_throttle.cc",
1054 "src/core/ext/filters/client_channel/subchannel.cc",
1055 "src/core/ext/filters/client_channel/subchannel_index.cc",
1056 "src/core/ext/filters/client_channel/uri_parser.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001057 ],
1058 hdrs = [
Yuchen Zeng0bad30a2017-10-05 21:47:39 -07001059 "src/core/ext/filters/client_channel/backup_poller.h",
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001060 "src/core/ext/filters/client_channel/client_channel.h",
ncteisenafb98292018-06-28 18:04:24 -07001061 "src/core/ext/filters/client_channel/client_channel_channelz.h",
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001062 "src/core/ext/filters/client_channel/client_channel_factory.h",
1063 "src/core/ext/filters/client_channel/connector.h",
1064 "src/core/ext/filters/client_channel/http_connect_handshaker.h",
1065 "src/core/ext/filters/client_channel/http_proxy.h",
1066 "src/core/ext/filters/client_channel/lb_policy.h",
1067 "src/core/ext/filters/client_channel/lb_policy_factory.h",
1068 "src/core/ext/filters/client_channel/lb_policy_registry.h",
Mark D. Roth3e7f2df2018-02-26 13:17:06 -08001069 "src/core/ext/filters/client_channel/method_params.h",
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001070 "src/core/ext/filters/client_channel/parse_address.h",
1071 "src/core/ext/filters/client_channel/proxy_mapper.h",
1072 "src/core/ext/filters/client_channel/proxy_mapper_registry.h",
1073 "src/core/ext/filters/client_channel/resolver.h",
1074 "src/core/ext/filters/client_channel/resolver_factory.h",
1075 "src/core/ext/filters/client_channel/resolver_registry.h",
1076 "src/core/ext/filters/client_channel/retry_throttle.h",
1077 "src/core/ext/filters/client_channel/subchannel.h",
1078 "src/core/ext/filters/client_channel/subchannel_index.h",
1079 "src/core/ext/filters/client_channel/uri_parser.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001080 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001081 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001082 deps = [
Vijay Pai0693b722018-02-08 15:18:13 -08001083 "gpr_base",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001084 "grpc_base",
David Garcia Quintasaa843f22018-03-13 08:36:16 -07001085 "grpc_client_authority_filter",
Craig Tillerdcd24e42017-04-06 10:47:46 -07001086 "grpc_deadline_filter",
Mark D. Roth209f6442018-02-08 10:26:46 -08001087 "inlined_vector",
1088 "orphanable",
David Garcia Quintas53bfe692018-01-04 16:39:08 -08001089 "ref_counted",
David Garcia Quintas4adad992018-01-17 13:50:39 -08001090 "ref_counted_ptr",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001091 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001092)
1093
1094grpc_cc_library(
Craig Tiller6b97e532017-04-03 12:56:23 -07001095 name = "grpc_max_age_filter",
1096 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001097 "src/core/ext/filters/max_age/max_age_filter.cc",
Craig Tiller6b97e532017-04-03 12:56:23 -07001098 ],
1099 hdrs = [
1100 "src/core/ext/filters/max_age/max_age_filter.h",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001101 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001102 language = "c++",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001103 deps = [
1104 "grpc_base",
1105 ],
1106)
1107
1108grpc_cc_library(
Craig Tiller3be7dd02017-04-03 14:30:03 -07001109 name = "grpc_deadline_filter",
1110 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001111 "src/core/ext/filters/deadline/deadline_filter.cc",
Craig Tiller3be7dd02017-04-03 14:30:03 -07001112 ],
1113 hdrs = [
1114 "src/core/ext/filters/deadline/deadline_filter.h",
1115 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001116 language = "c++",
Craig Tiller3be7dd02017-04-03 14:30:03 -07001117 deps = [
1118 "grpc_base",
1119 ],
1120)
1121
1122grpc_cc_library(
David Garcia Quintasaa843f22018-03-13 08:36:16 -07001123 name = "grpc_client_authority_filter",
1124 srcs = [
David Garcia Quintas961353a2018-03-15 16:11:05 -07001125 "src/core/ext/filters/http/client_authority_filter.cc",
David Garcia Quintasaa843f22018-03-13 08:36:16 -07001126 ],
1127 hdrs = [
David Garcia Quintas961353a2018-03-15 16:11:05 -07001128 "src/core/ext/filters/http/client_authority_filter.h",
David Garcia Quintasaa843f22018-03-13 08:36:16 -07001129 ],
1130 language = "c++",
1131 deps = [
1132 "grpc_base",
1133 ],
1134)
1135
1136grpc_cc_library(
Craig Tiller6461c342017-04-03 13:00:31 -07001137 name = "grpc_message_size_filter",
1138 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001139 "src/core/ext/filters/message_size/message_size_filter.cc",
Craig Tiller6461c342017-04-03 13:00:31 -07001140 ],
1141 hdrs = [
1142 "src/core/ext/filters/message_size/message_size_filter.h",
1143 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001144 language = "c++",
Craig Tiller6461c342017-04-03 13:00:31 -07001145 deps = [
1146 "grpc_base",
1147 ],
1148)
1149
1150grpc_cc_library(
Craig Tilleraf767432017-04-03 13:54:31 -07001151 name = "grpc_http_filters",
Craig Tilleraf767432017-04-03 13:54:31 -07001152 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001153 "src/core/ext/filters/http/client/http_client_filter.cc",
1154 "src/core/ext/filters/http/http_filters_plugin.cc",
1155 "src/core/ext/filters/http/message_compress/message_compress_filter.cc",
1156 "src/core/ext/filters/http/server/http_server_filter.cc",
Sree Kuchibhotlad4fc32e2017-05-02 14:15:12 -07001157 ],
1158 hdrs = [
1159 "src/core/ext/filters/http/client/http_client_filter.h",
1160 "src/core/ext/filters/http/message_compress/message_compress_filter.h",
1161 "src/core/ext/filters/http/server/http_server_filter.h",
Craig Tilleraf767432017-04-03 13:54:31 -07001162 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001163 language = "c++",
Craig Tilleraf767432017-04-03 13:54:31 -07001164 deps = [
1165 "grpc_base",
1166 ],
1167)
1168
1169grpc_cc_library(
Muxi Yan2a5bbc12017-05-15 12:03:08 -07001170 name = "grpc_workaround_cronet_compression_filter",
1171 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001172 "src/core/ext/filters/workarounds/workaround_cronet_compression_filter.cc",
Muxi Yan2a5bbc12017-05-15 12:03:08 -07001173 ],
1174 hdrs = [
1175 "src/core/ext/filters/workarounds/workaround_cronet_compression_filter.h",
1176 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001177 language = "c++",
Muxi Yan2a5bbc12017-05-15 12:03:08 -07001178 deps = [
1179 "grpc_base",
1180 "grpc_server_backward_compatibility",
1181 ],
1182)
1183
1184grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001185 name = "grpc_codegen",
Yash Tibrewal2dcbc102017-10-03 16:23:07 -07001186 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001187 public_hdrs = [
Vijay Paiefce6e12017-09-14 09:07:50 -07001188 "include/grpc/impl/codegen/byte_buffer.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001189 "include/grpc/impl/codegen/byte_buffer_reader.h",
1190 "include/grpc/impl/codegen/compression_types.h",
1191 "include/grpc/impl/codegen/connectivity_state.h",
1192 "include/grpc/impl/codegen/grpc_types.h",
1193 "include/grpc/impl/codegen/propagation_bits.h",
1194 "include/grpc/impl/codegen/status.h",
Craig Tiller0d32f2f2017-03-30 10:50:29 -07001195 "include/grpc/impl/codegen/slice.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001196 ],
1197 deps = [
1198 "gpr_codegen",
1199 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001200)
1201
1202grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001203 name = "grpc_lb_policy_grpclb",
1204 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001205 "src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc",
1206 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc",
1207 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.cc",
1208 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc",
1209 "src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc",
David Garcia Quintasf3955ba2018-06-21 15:15:10 -07001210 "src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf/duration.pb.c",
1211 "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 -07001212 "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 +02001213 ],
1214 hdrs = [
Mark D. Roth09e458c2017-05-02 08:13:26 -07001215 "src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.h",
Yihua Zhang392dad72018-05-03 20:12:20 -07001216 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.h",
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001217 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.h",
Mark D. Roth09e458c2017-05-02 08:13:26 -07001218 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.h",
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001219 "src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.h",
David Garcia Quintasf3955ba2018-06-21 15:15:10 -07001220 "src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf/duration.pb.h",
1221 "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 -07001222 "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 +02001223 ],
1224 external_deps = [
1225 "nanopb",
1226 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001227 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001228 deps = [
1229 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001230 "grpc_client_channel",
David Garcia Quintas87d5a312017-06-06 19:45:58 -07001231 "grpc_resolver_fake",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001232 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001233)
1234
1235grpc_cc_library(
David Garcia Quintas01291502017-02-07 13:26:41 -08001236 name = "grpc_lb_policy_grpclb_secure",
1237 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001238 "src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc",
1239 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc",
1240 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel_secure.cc",
1241 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc",
1242 "src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc",
David Garcia Quintasf3955ba2018-06-21 15:15:10 -07001243 "src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf/duration.pb.c",
1244 "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 -07001245 "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 -08001246 ],
1247 hdrs = [
Mark D. Roth09e458c2017-05-02 08:13:26 -07001248 "src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.h",
Yihua Zhang392dad72018-05-03 20:12:20 -07001249 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.h",
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001250 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.h",
Mark D. Roth09e458c2017-05-02 08:13:26 -07001251 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.h",
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001252 "src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.h",
David Garcia Quintasf3955ba2018-06-21 15:15:10 -07001253 "src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf/duration.pb.h",
1254 "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 -07001255 "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 -08001256 ],
1257 external_deps = [
1258 "nanopb",
1259 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001260 language = "c++",
David Garcia Quintas01291502017-02-07 13:26:41 -08001261 deps = [
1262 "grpc_base",
1263 "grpc_client_channel",
David Garcia Quintas87d5a312017-06-06 19:45:58 -07001264 "grpc_resolver_fake",
David Garcia Quintas01291502017-02-07 13:26:41 -08001265 "grpc_secure",
1266 ],
1267)
1268
1269grpc_cc_library(
Mark D. Roth5e9848e2017-10-06 13:59:32 -07001270 name = "grpc_lb_subchannel_list",
Mark D. Roth5e9848e2017-10-06 13:59:32 -07001271 hdrs = [
1272 "src/core/ext/filters/client_channel/lb_policy/subchannel_list.h",
1273 ],
1274 language = "c++",
1275 deps = [
1276 "grpc_base",
1277 "grpc_client_channel",
1278 ],
1279)
1280
1281grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001282 name = "grpc_lb_policy_pick_first",
1283 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001284 "src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001285 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001286 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001287 deps = [
1288 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001289 "grpc_client_channel",
Mark D. Roth5e9848e2017-10-06 13:59:32 -07001290 "grpc_lb_subchannel_list",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001291 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001292)
1293
1294grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001295 name = "grpc_lb_policy_round_robin",
1296 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001297 "src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001298 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001299 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001300 deps = [
1301 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001302 "grpc_client_channel",
Mark D. Roth5e9848e2017-10-06 13:59:32 -07001303 "grpc_lb_subchannel_list",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001304 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001305)
1306
1307grpc_cc_library(
Juanli Shenf5f1d572018-06-21 22:44:05 -07001308 name = "lb_server_load_reporting_filter",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001309 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001310 "src/core/ext/filters/load_reporting/server_load_reporting_filter.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001311 ],
1312 hdrs = [
Juanli Shenf5f1d572018-06-21 22:44:05 -07001313 "src/core/ext/filters/load_reporting/registered_opencensus_objects.h",
David Garcia Quintas0822d332017-09-06 17:40:42 -07001314 "src/core/ext/filters/load_reporting/server_load_reporting_filter.h",
Juanli Shenf5f1d572018-06-21 22:44:05 -07001315 "src/cpp/server/load_reporter/constants.h",
1316 ],
1317 external_deps = [
1318 "opencensus-stats",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001319 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001320 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001321 deps = [
Juanli Shenf5f1d572018-06-21 22:44:05 -07001322 "grpc++_base",
1323 "grpc_secure",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001324 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001325)
1326
1327grpc_cc_library(
Juanli Shena0aab7e2018-05-01 10:30:54 -07001328 name = "lb_load_data_store",
1329 srcs = [
1330 "src/cpp/server/load_reporter/load_data_store.cc",
1331 ],
1332 hdrs = [
Juanli Shen291bbc72018-06-21 13:02:40 -07001333 "src/cpp/server/load_reporter/constants.h",
Juanli Shena0aab7e2018-05-01 10:30:54 -07001334 "src/cpp/server/load_reporter/load_data_store.h",
1335 ],
1336 language = "c++",
1337 deps = [
1338 "grpc++",
1339 ],
1340)
1341
1342grpc_cc_library(
Juanli Shenbe40b0d2018-07-13 19:52:59 -07001343 name = "lb_server_load_reporting_service_server_builder_plugin",
1344 srcs = [
1345 "src/cpp/server/load_reporter/load_reporting_service_server_builder_plugin.cc",
1346 ],
1347 hdrs = [
1348 "src/cpp/server/load_reporter/load_reporting_service_server_builder_plugin.h",
1349 ],
1350 language = "c++",
1351 deps = [
1352 "lb_load_reporter_service",
1353 ],
1354)
1355
1356grpc_cc_library(
1357 name = "grpcpp_server_load_reporting",
1358 srcs = [
1359 "src/cpp/server/load_reporter/load_reporting_service_server_builder_option.cc",
1360 "src/cpp/server/load_reporter/util.cc",
1361 ],
1362 language = "c++",
1363 public_hdrs = [
1364 "include/grpcpp/ext/server_load_reporting.h",
1365 ],
1366 deps = [
1367 "lb_server_load_reporting_filter",
1368 "lb_server_load_reporting_service_server_builder_plugin",
1369 ],
1370 alwayslink = 1,
1371)
1372
1373grpc_cc_library(
1374 name = "lb_load_reporter_service",
1375 srcs = [
1376 "src/cpp/server/load_reporter/load_reporter_async_service_impl.cc",
1377 ],
1378 hdrs = [
1379 "src/cpp/server/load_reporter/load_reporter_async_service_impl.h",
1380 ],
1381 language = "c++",
1382 deps = [
1383 "lb_load_reporter",
1384 ],
1385)
1386
1387grpc_cc_library(
Juanli Shen291bbc72018-06-21 13:02:40 -07001388 name = "lb_get_cpu_stats",
1389 srcs = [
1390 "src/cpp/server/load_reporter/get_cpu_stats_linux.cc",
1391 "src/cpp/server/load_reporter/get_cpu_stats_macos.cc",
1392 "src/cpp/server/load_reporter/get_cpu_stats_unsupported.cc",
1393 "src/cpp/server/load_reporter/get_cpu_stats_windows.cc",
1394 ],
1395 hdrs = [
1396 "src/cpp/server/load_reporter/get_cpu_stats.h",
1397 ],
1398 language = "c++",
1399 deps = [
1400 "grpc++",
1401 ],
1402)
1403
1404grpc_cc_library(
1405 name = "lb_load_reporter",
1406 srcs = [
1407 "src/cpp/server/load_reporter/load_reporter.cc",
1408 ],
1409 hdrs = [
1410 "src/cpp/server/load_reporter/constants.h",
1411 "src/cpp/server/load_reporter/load_reporter.h",
1412 ],
1413 external_deps = [
1414 "opencensus-stats",
1415 ],
1416 language = "c++",
1417 deps = [
1418 "lb_get_cpu_stats",
1419 "lb_load_data_store",
1420 "//src/proto/grpc/lb/v1:load_reporter_proto",
1421 ],
1422)
1423
1424grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001425 name = "grpc_resolver_dns_native",
1426 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001427 "src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001428 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001429 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001430 deps = [
1431 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001432 "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001433 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001434)
1435
1436grpc_cc_library(
Yuchen Zeng4c702ed2017-01-23 10:30:10 -08001437 name = "grpc_resolver_dns_ares",
1438 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001439 "src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc",
Alexander Polcyn7eda6192018-06-14 23:07:33 -07001440 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001441 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc",
Alexander Polcyn9896c642018-07-27 01:38:26 -07001442 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001443 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc",
Vijay Pai381bcab2018-08-16 15:44:19 -07001444 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_fallback.cc",
Alexander Polcyn9896c642018-07-27 01:38:26 -07001445 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_posix.cc",
1446 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_windows.cc",
Yuchen Zeng4c702ed2017-01-23 10:30:10 -08001447 ],
1448 hdrs = [
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001449 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.h",
1450 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.h",
Yuchen Zeng4c702ed2017-01-23 10:30:10 -08001451 ],
Jan Tattermusch61f729f2017-04-06 17:11:44 +02001452 external_deps = [
1453 "cares",
Alexander Polcyn690dde62017-10-18 00:20:33 -07001454 "address_sorting",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001455 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001456 language = "c++",
Yuchen Zeng4c702ed2017-01-23 10:30:10 -08001457 deps = [
1458 "grpc_base",
1459 "grpc_client_channel",
1460 ],
Yuchen Zeng4c702ed2017-01-23 10:30:10 -08001461)
1462
1463grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001464 name = "grpc_resolver_sockaddr",
1465 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001466 "src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001467 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001468 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001469 deps = [
1470 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001471 "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001472 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001473)
1474
1475grpc_cc_library(
David Garcia Quintas87d5a312017-06-06 19:45:58 -07001476 name = "grpc_resolver_fake",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001477 srcs = ["src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc"],
David Garcia Quintas87d5a312017-06-06 19:45:58 -07001478 hdrs = ["src/core/ext/filters/client_channel/resolver/fake/fake_resolver.h"],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001479 language = "c++",
murgatroid99d5b04552017-06-15 17:48:42 -07001480 visibility = ["//test:__subpackages__"],
David Garcia Quintas87d5a312017-06-06 19:45:58 -07001481 deps = [
1482 "grpc_base",
1483 "grpc_client_channel",
1484 ],
1485)
1486
1487grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001488 name = "grpc_secure",
1489 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001490 "src/core/lib/http/httpcli_security_connector.cc",
1491 "src/core/lib/security/context/security_context.cc",
David Garcia Quintasc7c0d692018-03-10 17:27:15 -08001492 "src/core/lib/security/credentials/alts/alts_credentials.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001493 "src/core/lib/security/credentials/composite/composite_credentials.cc",
1494 "src/core/lib/security/credentials/credentials.cc",
1495 "src/core/lib/security/credentials/credentials_metadata.cc",
1496 "src/core/lib/security/credentials/fake/fake_credentials.cc",
1497 "src/core/lib/security/credentials/google_default/credentials_generic.cc",
1498 "src/core/lib/security/credentials/google_default/google_default_credentials.cc",
1499 "src/core/lib/security/credentials/iam/iam_credentials.cc",
1500 "src/core/lib/security/credentials/jwt/json_token.cc",
1501 "src/core/lib/security/credentials/jwt/jwt_credentials.cc",
1502 "src/core/lib/security/credentials/jwt/jwt_verifier.cc",
Yihua Zhangc5f1eda2018-07-02 13:29:27 -07001503 "src/core/lib/security/credentials/local/local_credentials.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001504 "src/core/lib/security/credentials/oauth2/oauth2_credentials.cc",
1505 "src/core/lib/security/credentials/plugin/plugin_credentials.cc",
1506 "src/core/lib/security/credentials/ssl/ssl_credentials.cc",
Yihua Zhangeaf64862018-03-06 21:40:45 -08001507 "src/core/lib/security/security_connector/alts_security_connector.cc",
tdbhacksbcd747d2018-07-20 16:41:44 -07001508 "src/core/lib/security/security_connector/load_system_roots_fallback.cc",
1509 "src/core/lib/security/security_connector/load_system_roots_linux.cc",
Yihua Zhangc5f1eda2018-07-02 13:29:27 -07001510 "src/core/lib/security/security_connector/local_security_connector.cc",
Yihua Zhang75f0a9f2018-02-20 10:09:47 -08001511 "src/core/lib/security/security_connector/security_connector.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001512 "src/core/lib/security/transport/client_auth_filter.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001513 "src/core/lib/security/transport/secure_endpoint.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001514 "src/core/lib/security/transport/security_handshaker.cc",
1515 "src/core/lib/security/transport/server_auth_filter.cc",
Mark D. Roth3e7f2df2018-02-26 13:17:06 -08001516 "src/core/lib/security/transport/target_authority_table.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001517 "src/core/lib/security/transport/tsi_error.cc",
1518 "src/core/lib/security/util/json_util.cc",
1519 "src/core/lib/surface/init_secure.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001520 ],
1521 hdrs = [
Yihua Zhang392dad72018-05-03 20:12:20 -07001522 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001523 "src/core/lib/security/context/security_context.h",
David Garcia Quintasc7c0d692018-03-10 17:27:15 -08001524 "src/core/lib/security/credentials/alts/alts_credentials.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001525 "src/core/lib/security/credentials/composite/composite_credentials.h",
1526 "src/core/lib/security/credentials/credentials.h",
1527 "src/core/lib/security/credentials/fake/fake_credentials.h",
1528 "src/core/lib/security/credentials/google_default/google_default_credentials.h",
1529 "src/core/lib/security/credentials/iam/iam_credentials.h",
1530 "src/core/lib/security/credentials/jwt/json_token.h",
1531 "src/core/lib/security/credentials/jwt/jwt_credentials.h",
1532 "src/core/lib/security/credentials/jwt/jwt_verifier.h",
Yihua Zhangc5f1eda2018-07-02 13:29:27 -07001533 "src/core/lib/security/credentials/local/local_credentials.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001534 "src/core/lib/security/credentials/oauth2/oauth2_credentials.h",
1535 "src/core/lib/security/credentials/plugin/plugin_credentials.h",
1536 "src/core/lib/security/credentials/ssl/ssl_credentials.h",
Yihua Zhangeaf64862018-03-06 21:40:45 -08001537 "src/core/lib/security/security_connector/alts_security_connector.h",
tdbhacksbcd747d2018-07-20 16:41:44 -07001538 "src/core/lib/security/security_connector/load_system_roots.h",
1539 "src/core/lib/security/security_connector/load_system_roots_linux.h",
Yihua Zhangc5f1eda2018-07-02 13:29:27 -07001540 "src/core/lib/security/security_connector/local_security_connector.h",
Yihua Zhang75f0a9f2018-02-20 10:09:47 -08001541 "src/core/lib/security/security_connector/security_connector.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001542 "src/core/lib/security/transport/auth_filters.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001543 "src/core/lib/security/transport/secure_endpoint.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001544 "src/core/lib/security/transport/security_handshaker.h",
Mark D. Roth3e7f2df2018-02-26 13:17:06 -08001545 "src/core/lib/security/transport/target_authority_table.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001546 "src/core/lib/security/transport/tsi_error.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001547 "src/core/lib/security/util/json_util.h",
1548 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001549 language = "c++",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +02001550 public_hdrs = GRPC_SECURE_PUBLIC_HDRS,
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001551 deps = [
Yihua Zhangeaf64862018-03-06 21:40:45 -08001552 "alts_util",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001553 "grpc_base",
1554 "grpc_transport_chttp2_alpn",
1555 "tsi",
Muxi Yanb24b2122018-08-14 10:21:27 -07001556 "grpc_shadow_boringssl",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001557 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001558)
1559
1560grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001561 name = "grpc_transport_chttp2",
1562 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001563 "src/core/ext/transport/chttp2/transport/bin_decoder.cc",
1564 "src/core/ext/transport/chttp2/transport/bin_encoder.cc",
1565 "src/core/ext/transport/chttp2/transport/chttp2_plugin.cc",
1566 "src/core/ext/transport/chttp2/transport/chttp2_transport.cc",
1567 "src/core/ext/transport/chttp2/transport/flow_control.cc",
1568 "src/core/ext/transport/chttp2/transport/frame_data.cc",
1569 "src/core/ext/transport/chttp2/transport/frame_goaway.cc",
1570 "src/core/ext/transport/chttp2/transport/frame_ping.cc",
1571 "src/core/ext/transport/chttp2/transport/frame_rst_stream.cc",
1572 "src/core/ext/transport/chttp2/transport/frame_settings.cc",
1573 "src/core/ext/transport/chttp2/transport/frame_window_update.cc",
1574 "src/core/ext/transport/chttp2/transport/hpack_encoder.cc",
1575 "src/core/ext/transport/chttp2/transport/hpack_parser.cc",
1576 "src/core/ext/transport/chttp2/transport/hpack_table.cc",
1577 "src/core/ext/transport/chttp2/transport/http2_settings.cc",
1578 "src/core/ext/transport/chttp2/transport/huffsyms.cc",
1579 "src/core/ext/transport/chttp2/transport/incoming_metadata.cc",
1580 "src/core/ext/transport/chttp2/transport/parsing.cc",
1581 "src/core/ext/transport/chttp2/transport/stream_lists.cc",
1582 "src/core/ext/transport/chttp2/transport/stream_map.cc",
1583 "src/core/ext/transport/chttp2/transport/varint.cc",
1584 "src/core/ext/transport/chttp2/transport/writing.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001585 ],
1586 hdrs = [
1587 "src/core/ext/transport/chttp2/transport/bin_decoder.h",
1588 "src/core/ext/transport/chttp2/transport/bin_encoder.h",
1589 "src/core/ext/transport/chttp2/transport/chttp2_transport.h",
Craig Tiller32736482017-10-12 22:02:28 -07001590 "src/core/ext/transport/chttp2/transport/flow_control.h",
Vijay Pai89125422017-11-22 10:22:28 -08001591 "src/core/ext/transport/chttp2/transport/frame.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001592 "src/core/ext/transport/chttp2/transport/frame_data.h",
1593 "src/core/ext/transport/chttp2/transport/frame_goaway.h",
1594 "src/core/ext/transport/chttp2/transport/frame_ping.h",
1595 "src/core/ext/transport/chttp2/transport/frame_rst_stream.h",
1596 "src/core/ext/transport/chttp2/transport/frame_settings.h",
1597 "src/core/ext/transport/chttp2/transport/frame_window_update.h",
1598 "src/core/ext/transport/chttp2/transport/hpack_encoder.h",
1599 "src/core/ext/transport/chttp2/transport/hpack_parser.h",
1600 "src/core/ext/transport/chttp2/transport/hpack_table.h",
murgatroid99a41fd5b2017-04-13 09:56:17 -07001601 "src/core/ext/transport/chttp2/transport/http2_settings.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001602 "src/core/ext/transport/chttp2/transport/huffsyms.h",
1603 "src/core/ext/transport/chttp2/transport/incoming_metadata.h",
1604 "src/core/ext/transport/chttp2/transport/internal.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001605 "src/core/ext/transport/chttp2/transport/stream_map.h",
1606 "src/core/ext/transport/chttp2/transport/varint.h",
1607 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001608 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001609 deps = [
Vijay Pai756caa72018-03-01 12:38:16 -08001610 "gpr_base",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001611 "grpc_base",
Craig Tilleraf767432017-04-03 13:54:31 -07001612 "grpc_http_filters",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001613 "grpc_transport_chttp2_alpn",
1614 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001615)
1616
1617grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001618 name = "grpc_transport_chttp2_alpn",
1619 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001620 "src/core/ext/transport/chttp2/alpn/alpn.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001621 ],
1622 hdrs = [
1623 "src/core/ext/transport/chttp2/alpn/alpn.h",
1624 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001625 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001626 deps = [
1627 "gpr",
1628 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001629)
1630
1631grpc_cc_library(
David Garcia Quintas01291502017-02-07 13:26:41 -08001632 name = "grpc_transport_chttp2_client_connector",
1633 srcs = [
David Garcia Quintas49f625f2018-03-27 11:23:49 -07001634 "src/core/ext/transport/chttp2/client/authority.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001635 "src/core/ext/transport/chttp2/client/chttp2_connector.cc",
David Garcia Quintas01291502017-02-07 13:26:41 -08001636 ],
1637 hdrs = [
David Garcia Quintas49f625f2018-03-27 11:23:49 -07001638 "src/core/ext/transport/chttp2/client/authority.h",
David Garcia Quintas01291502017-02-07 13:26:41 -08001639 "src/core/ext/transport/chttp2/client/chttp2_connector.h",
1640 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001641 language = "c++",
David Garcia Quintas01291502017-02-07 13:26:41 -08001642 deps = [
1643 "grpc_base",
1644 "grpc_client_channel",
1645 "grpc_transport_chttp2",
1646 ],
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +02001647)
1648
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001649grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001650 name = "grpc_transport_chttp2_client_insecure",
1651 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001652 "src/core/ext/transport/chttp2/client/insecure/channel_create.cc",
1653 "src/core/ext/transport/chttp2/client/insecure/channel_create_posix.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001654 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001655 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001656 deps = [
1657 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001658 "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001659 "grpc_transport_chttp2",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001660 "grpc_transport_chttp2_client_connector",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001661 ],
Makarand Dharmapurikar38d80552016-06-01 15:02:04 -07001662)
1663
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001664grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001665 name = "grpc_transport_chttp2_client_secure",
1666 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001667 "src/core/ext/transport/chttp2/client/secure/secure_channel_create.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001668 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001669 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001670 deps = [
1671 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001672 "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001673 "grpc_secure",
1674 "grpc_transport_chttp2",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001675 "grpc_transport_chttp2_client_connector",
1676 ],
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001677)
1678
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001679grpc_cc_library(
1680 name = "grpc_transport_chttp2_server",
1681 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001682 "src/core/ext/transport/chttp2/server/chttp2_server.cc",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001683 ],
1684 hdrs = [
1685 "src/core/ext/transport/chttp2/server/chttp2_server.h",
1686 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001687 language = "c++",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001688 deps = [
1689 "grpc_base",
1690 "grpc_transport_chttp2",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001691 ],
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001692)
1693
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001694grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001695 name = "grpc_transport_chttp2_server_insecure",
1696 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001697 "src/core/ext/transport/chttp2/server/insecure/server_chttp2.cc",
1698 "src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001699 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001700 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001701 deps = [
1702 "grpc_base",
1703 "grpc_transport_chttp2",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001704 "grpc_transport_chttp2_server",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001705 ],
Garrett Casto931a26b2016-10-04 09:18:29 -07001706)
1707
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001708grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001709 name = "grpc_transport_chttp2_server_secure",
1710 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001711 "src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001712 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001713 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001714 deps = [
1715 "grpc_base",
1716 "grpc_secure",
1717 "grpc_transport_chttp2",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001718 "grpc_transport_chttp2_server",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001719 ],
Yuchen Zengc84ed682016-05-04 16:30:11 -07001720)
1721
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001722grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001723 name = "grpc_transport_cronet_client_secure",
1724 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001725 "src/core/ext/transport/cronet/client/secure/cronet_channel_create.cc",
1726 "src/core/ext/transport/cronet/transport/cronet_api_dummy.cc",
1727 "src/core/ext/transport/cronet/transport/cronet_transport.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001728 ],
1729 hdrs = [
Muxi Yan0a2fae92017-02-01 14:49:03 -08001730 "src/core/ext/transport/cronet/transport/cronet_transport.h",
Sree Kuchibhotla43bca1b2017-02-22 16:37:27 -08001731 "third_party/objective_c/Cronet/bidirectional_stream_c.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001732 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001733 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001734 public_hdrs = [
1735 "include/grpc/grpc_cronet.h",
1736 "include/grpc/grpc_security.h",
1737 "include/grpc/grpc_security_constants.h",
1738 ],
1739 deps = [
1740 "grpc_base",
1741 "grpc_transport_chttp2",
1742 ],
Craig Tiller03915e52016-04-07 09:15:10 -07001743)
1744
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001745grpc_cc_library(
Vijay Pai3d7d5f42017-05-04 10:02:24 -07001746 name = "grpc_transport_inproc",
1747 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001748 "src/core/ext/transport/inproc/inproc_plugin.cc",
1749 "src/core/ext/transport/inproc/inproc_transport.cc",
Vijay Pai3d7d5f42017-05-04 10:02:24 -07001750 ],
1751 hdrs = [
1752 "src/core/ext/transport/inproc/inproc_transport.h",
1753 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001754 language = "c++",
Vijay Pai3d7d5f42017-05-04 10:02:24 -07001755 deps = [
1756 "grpc_base",
1757 ],
1758)
1759
1760grpc_cc_library(
jiangtaoli201625d6fd82017-08-09 11:15:04 -07001761 name = "tsi_interface",
1762 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001763 "src/core/tsi/transport_security.cc",
jiangtaoli201625d6fd82017-08-09 11:15:04 -07001764 ],
1765 hdrs = [
1766 "src/core/tsi/transport_security.h",
jiangtaoli201625d6fd82017-08-09 11:15:04 -07001767 "src/core/tsi/transport_security_interface.h",
1768 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001769 language = "c++",
jiangtaoli201625d6fd82017-08-09 11:15:04 -07001770 deps = [
1771 "gpr",
1772 "grpc_trace",
1773 ],
1774)
1775
1776grpc_cc_library(
Yihua Zhangeaf64862018-03-06 21:40:45 -08001777 name = "alts_frame_protector",
1778 srcs = [
1779 "src/core/tsi/alts/crypt/aes_gcm.cc",
1780 "src/core/tsi/alts/crypt/gsec.cc",
1781 "src/core/tsi/alts/frame_protector/alts_counter.cc",
1782 "src/core/tsi/alts/frame_protector/alts_crypter.cc",
1783 "src/core/tsi/alts/frame_protector/alts_frame_protector.cc",
1784 "src/core/tsi/alts/frame_protector/alts_record_protocol_crypter_common.cc",
1785 "src/core/tsi/alts/frame_protector/alts_seal_privacy_integrity_crypter.cc",
1786 "src/core/tsi/alts/frame_protector/alts_unseal_privacy_integrity_crypter.cc",
1787 "src/core/tsi/alts/frame_protector/frame_handler.cc",
1788 "src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_integrity_only_record_protocol.cc",
1789 "src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_privacy_integrity_record_protocol.cc",
1790 "src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_record_protocol_common.cc",
1791 "src/core/tsi/alts/zero_copy_frame_protector/alts_iovec_record_protocol.cc",
1792 "src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.cc",
1793 ],
1794 hdrs = [
1795 "src/core/tsi/alts/crypt/gsec.h",
1796 "src/core/tsi/alts/frame_protector/alts_counter.h",
1797 "src/core/tsi/alts/frame_protector/alts_crypter.h",
1798 "src/core/tsi/alts/frame_protector/alts_frame_protector.h",
1799 "src/core/tsi/alts/frame_protector/alts_record_protocol_crypter_common.h",
1800 "src/core/tsi/alts/frame_protector/frame_handler.h",
1801 "src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_integrity_only_record_protocol.h",
1802 "src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_privacy_integrity_record_protocol.h",
Yihua Zhangeaf64862018-03-06 21:40:45 -08001803 "src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_record_protocol.h",
David Garcia Quintasc7c0d692018-03-10 17:27:15 -08001804 "src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_record_protocol_common.h",
Yihua Zhangeaf64862018-03-06 21:40:45 -08001805 "src/core/tsi/alts/zero_copy_frame_protector/alts_iovec_record_protocol.h",
1806 "src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.h",
1807 "src/core/tsi/transport_security_grpc.h",
1808 ],
1809 external_deps = [
1810 "libssl",
1811 ],
1812 language = "c++",
1813 deps = [
1814 "gpr",
1815 "grpc_base",
1816 "tsi_interface",
Muxi Yanb24b2122018-08-14 10:21:27 -07001817 "grpc_shadow_boringssl",
Yihua Zhangeaf64862018-03-06 21:40:45 -08001818 ],
1819)
1820
1821grpc_cc_library(
1822 name = "alts_proto",
1823 srcs = [
1824 "src/core/tsi/alts/handshaker/altscontext.pb.c",
1825 "src/core/tsi/alts/handshaker/handshaker.pb.c",
1826 "src/core/tsi/alts/handshaker/transport_security_common.pb.c",
1827 ],
1828 hdrs = [
1829 "src/core/tsi/alts/handshaker/altscontext.pb.h",
1830 "src/core/tsi/alts/handshaker/handshaker.pb.h",
1831 "src/core/tsi/alts/handshaker/transport_security_common.pb.h",
1832 ],
1833 external_deps = [
1834 "nanopb",
1835 ],
1836 language = "c++",
1837)
1838
1839grpc_cc_library(
1840 name = "alts_util",
1841 srcs = [
1842 "src/core/lib/security/credentials/alts/check_gcp_environment.cc",
1843 "src/core/lib/security/credentials/alts/check_gcp_environment_linux.cc",
1844 "src/core/lib/security/credentials/alts/check_gcp_environment_no_op.cc",
1845 "src/core/lib/security/credentials/alts/check_gcp_environment_windows.cc",
1846 "src/core/lib/security/credentials/alts/grpc_alts_credentials_client_options.cc",
1847 "src/core/lib/security/credentials/alts/grpc_alts_credentials_options.cc",
1848 "src/core/lib/security/credentials/alts/grpc_alts_credentials_server_options.cc",
1849 "src/core/tsi/alts/handshaker/alts_handshaker_service_api.cc",
1850 "src/core/tsi/alts/handshaker/alts_handshaker_service_api_util.cc",
1851 "src/core/tsi/alts/handshaker/transport_security_common_api.cc",
1852 ],
1853 hdrs = [
1854 "src/core/lib/security/credentials/alts/check_gcp_environment.h",
1855 "src/core/lib/security/credentials/alts/grpc_alts_credentials_options.h",
1856 "src/core/tsi/alts/handshaker/alts_handshaker_service_api.h",
1857 "src/core/tsi/alts/handshaker/alts_handshaker_service_api_util.h",
1858 "src/core/tsi/alts/handshaker/transport_security_common_api.h",
1859 ],
1860 external_deps = [
1861 "nanopb",
1862 ],
1863 language = "c++",
Juanli Shen291bbc72018-06-21 13:02:40 -07001864 public_hdrs = GRPC_SECURE_PUBLIC_HDRS,
Yihua Zhangeaf64862018-03-06 21:40:45 -08001865 deps = [
David Garcia Quintasc7c0d692018-03-10 17:27:15 -08001866 "alts_proto",
1867 "gpr",
1868 "grpc_base",
Yihua Zhangeaf64862018-03-06 21:40:45 -08001869 ],
1870)
1871
1872grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001873 name = "tsi",
1874 srcs = [
Yihua Zhangeaf64862018-03-06 21:40:45 -08001875 "src/core/tsi/alts/handshaker/alts_handshaker_client.cc",
1876 "src/core/tsi/alts/handshaker/alts_tsi_event.cc",
1877 "src/core/tsi/alts/handshaker/alts_tsi_handshaker.cc",
1878 "src/core/tsi/alts/handshaker/alts_tsi_utils.cc",
David Garcia Quintasc7c0d692018-03-10 17:27:15 -08001879 "src/core/tsi/alts_transport_security.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001880 "src/core/tsi/fake_transport_security.cc",
Yihua Zhangc5f1eda2018-07-02 13:29:27 -07001881 "src/core/tsi/local_transport_security.cc",
Ruslan Nigmatullin7ae37332018-02-21 16:44:35 -08001882 "src/core/tsi/ssl/session_cache/ssl_session_boringssl.cc",
1883 "src/core/tsi/ssl/session_cache/ssl_session_cache.cc",
1884 "src/core/tsi/ssl/session_cache/ssl_session_openssl.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001885 "src/core/tsi/ssl_transport_security.cc",
1886 "src/core/tsi/transport_security_grpc.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001887 ],
1888 hdrs = [
Yihua Zhangeaf64862018-03-06 21:40:45 -08001889 "src/core/tsi/alts/handshaker/alts_handshaker_client.h",
1890 "src/core/tsi/alts/handshaker/alts_tsi_event.h",
1891 "src/core/tsi/alts/handshaker/alts_tsi_handshaker.h",
1892 "src/core/tsi/alts/handshaker/alts_tsi_handshaker_private.h",
1893 "src/core/tsi/alts/handshaker/alts_tsi_utils.h",
David Garcia Quintasc7c0d692018-03-10 17:27:15 -08001894 "src/core/tsi/alts_transport_security.h",
Craig Tiller134fed32017-03-28 14:27:18 -07001895 "src/core/tsi/fake_transport_security.h",
Vijay Pai381bcab2018-08-16 15:44:19 -07001896 "src/core/tsi/local_transport_security.h",
Ruslan Nigmatullin7ae37332018-02-21 16:44:35 -08001897 "src/core/tsi/ssl/session_cache/ssl_session.h",
1898 "src/core/tsi/ssl/session_cache/ssl_session_cache.h",
Craig Tiller134fed32017-03-28 14:27:18 -07001899 "src/core/tsi/ssl_transport_security.h",
1900 "src/core/tsi/ssl_types.h",
Jiangtao Li0211cfb2017-08-07 11:24:07 -07001901 "src/core/tsi/transport_security_grpc.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001902 ],
1903 external_deps = [
1904 "libssl",
1905 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001906 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001907 deps = [
Yihua Zhangeaf64862018-03-06 21:40:45 -08001908 "alts_frame_protector",
1909 "alts_util",
1910 "gpr",
Yihua Zhang1435bfc2017-07-17 11:20:51 -07001911 "grpc_base",
Yihua Zhangeaf64862018-03-06 21:40:45 -08001912 "grpc_transport_chttp2_client_insecure",
jiangtaoli201625d6fd82017-08-09 11:15:04 -07001913 "tsi_interface",
Muxi Yanb24b2122018-08-14 10:21:27 -07001914 "grpc_shadow_boringssl",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001915 ],
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001916)
1917
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001918grpc_cc_library(
1919 name = "grpc++_base",
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001920 srcs = GRPCXX_SRCS,
Stanley Cheungebeda852017-05-17 19:34:47 -07001921 hdrs = GRPCXX_HDRS,
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001922 language = "c++",
Stanley Cheungebeda852017-05-17 19:34:47 -07001923 public_hdrs = GRPCXX_PUBLIC_HDRS,
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001924 deps = [
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001925 "grpc",
Stanley Cheungebeda852017-05-17 19:34:47 -07001926 "grpc++_codegen_base",
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001927 ],
1928)
1929
1930grpc_cc_library(
1931 name = "grpc++_base_unsecure",
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001932 srcs = GRPCXX_SRCS,
Stanley Cheungebeda852017-05-17 19:34:47 -07001933 hdrs = GRPCXX_HDRS,
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001934 language = "c++",
Stanley Cheungebeda852017-05-17 19:34:47 -07001935 public_hdrs = GRPCXX_PUBLIC_HDRS,
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001936 deps = [
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001937 "grpc++_codegen_base",
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001938 "grpc_unsecure",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001939 ],
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001940)
1941
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001942grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001943 name = "grpc++_codegen_base",
1944 language = "c++",
1945 public_hdrs = [
1946 "include/grpc++/impl/codegen/async_stream.h",
1947 "include/grpc++/impl/codegen/async_unary_call.h",
Vijay Paiefce6e12017-09-14 09:07:50 -07001948 "include/grpc++/impl/codegen/byte_buffer.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001949 "include/grpc++/impl/codegen/call.h",
1950 "include/grpc++/impl/codegen/call_hook.h",
1951 "include/grpc++/impl/codegen/channel_interface.h",
1952 "include/grpc++/impl/codegen/client_context.h",
1953 "include/grpc++/impl/codegen/client_unary_call.h",
1954 "include/grpc++/impl/codegen/completion_queue.h",
1955 "include/grpc++/impl/codegen/completion_queue_tag.h",
1956 "include/grpc++/impl/codegen/config.h",
1957 "include/grpc++/impl/codegen/core_codegen_interface.h",
1958 "include/grpc++/impl/codegen/create_auth_context.h",
1959 "include/grpc++/impl/codegen/grpc_library.h",
yang-g988b47c2017-01-31 09:51:45 -08001960 "include/grpc++/impl/codegen/metadata_map.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001961 "include/grpc++/impl/codegen/method_handler_impl.h",
1962 "include/grpc++/impl/codegen/rpc_method.h",
1963 "include/grpc++/impl/codegen/rpc_service_method.h",
1964 "include/grpc++/impl/codegen/security/auth_context.h",
1965 "include/grpc++/impl/codegen/serialization_traits.h",
1966 "include/grpc++/impl/codegen/server_context.h",
1967 "include/grpc++/impl/codegen/server_interface.h",
1968 "include/grpc++/impl/codegen/service_type.h",
yang-g988b47c2017-01-31 09:51:45 -08001969 "include/grpc++/impl/codegen/slice.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001970 "include/grpc++/impl/codegen/status.h",
1971 "include/grpc++/impl/codegen/status_code_enum.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001972 "include/grpc++/impl/codegen/string_ref.h",
1973 "include/grpc++/impl/codegen/stub_options.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001974 "include/grpc++/impl/codegen/sync_stream.h",
1975 "include/grpc++/impl/codegen/time.h",
ncteisen93a90e62018-06-18 18:39:56 -07001976 "include/grpcpp/impl/codegen/async_generic_service.h",
Muxi Yan0e00c432018-01-26 15:39:32 -08001977 "include/grpcpp/impl/codegen/async_stream.h",
1978 "include/grpcpp/impl/codegen/async_unary_call.h",
1979 "include/grpcpp/impl/codegen/byte_buffer.h",
1980 "include/grpcpp/impl/codegen/call.h",
1981 "include/grpcpp/impl/codegen/call_hook.h",
1982 "include/grpcpp/impl/codegen/channel_interface.h",
1983 "include/grpcpp/impl/codegen/client_context.h",
1984 "include/grpcpp/impl/codegen/client_unary_call.h",
1985 "include/grpcpp/impl/codegen/completion_queue.h",
1986 "include/grpcpp/impl/codegen/completion_queue_tag.h",
1987 "include/grpcpp/impl/codegen/config.h",
1988 "include/grpcpp/impl/codegen/core_codegen_interface.h",
1989 "include/grpcpp/impl/codegen/create_auth_context.h",
1990 "include/grpcpp/impl/codegen/grpc_library.h",
1991 "include/grpcpp/impl/codegen/metadata_map.h",
1992 "include/grpcpp/impl/codegen/method_handler_impl.h",
1993 "include/grpcpp/impl/codegen/rpc_method.h",
1994 "include/grpcpp/impl/codegen/rpc_service_method.h",
1995 "include/grpcpp/impl/codegen/security/auth_context.h",
1996 "include/grpcpp/impl/codegen/serialization_traits.h",
1997 "include/grpcpp/impl/codegen/server_context.h",
1998 "include/grpcpp/impl/codegen/server_interface.h",
1999 "include/grpcpp/impl/codegen/service_type.h",
2000 "include/grpcpp/impl/codegen/slice.h",
2001 "include/grpcpp/impl/codegen/status.h",
2002 "include/grpcpp/impl/codegen/status_code_enum.h",
2003 "include/grpcpp/impl/codegen/string_ref.h",
2004 "include/grpcpp/impl/codegen/stub_options.h",
2005 "include/grpcpp/impl/codegen/sync_stream.h",
2006 "include/grpcpp/impl/codegen/time.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02002007 ],
2008 deps = [
2009 "grpc_codegen",
2010 ],
Craig Tillerda179ce2016-02-09 12:01:53 -08002011)
2012
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02002013grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02002014 name = "grpc++_codegen_base_src",
2015 srcs = [
2016 "src/cpp/codegen/codegen_init.cc",
2017 ],
2018 language = "c++",
2019 deps = [
2020 "grpc++_codegen_base",
2021 ],
Jorge Canizales140bca82015-06-20 09:47:00 -07002022)
2023
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02002024grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02002025 name = "grpc++_codegen_proto",
2026 language = "c++",
2027 public_hdrs = [
2028 "include/grpc++/impl/codegen/proto_utils.h",
ncteisencf5b2662018-02-27 11:55:10 -08002029 "include/grpcpp/impl/codegen/proto_buffer_reader.h",
2030 "include/grpcpp/impl/codegen/proto_buffer_writer.h",
Muxi Yan0e00c432018-01-26 15:39:32 -08002031 "include/grpcpp/impl/codegen/proto_utils.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02002032 ],
2033 deps = [
2034 "grpc++_codegen_base",
2035 "grpc++_config_proto",
2036 ],
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07002037)
2038
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02002039grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02002040 name = "grpc++_config_proto",
David Garcia Quintas5481a582017-02-14 16:11:42 -08002041 external_deps = [
Vijay Paidc7c50e2017-11-03 14:46:42 -07002042 "protobuf_headers",
David Garcia Quintas5481a582017-02-14 16:11:42 -08002043 ],
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02002044 language = "c++",
2045 public_hdrs = [
2046 "include/grpc++/impl/codegen/config_protobuf.h",
Muxi Yan0e00c432018-01-26 15:39:32 -08002047 "include/grpcpp/impl/codegen/config_protobuf.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02002048 ],
Jan Tattermusch2d924952015-05-06 10:23:17 -07002049)
2050
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02002051grpc_cc_library(
Sree Kuchibhotla43bca1b2017-02-22 16:37:27 -08002052 name = "grpc++_reflection",
2053 srcs = [
2054 "src/cpp/ext/proto_server_reflection.cc",
2055 "src/cpp/ext/proto_server_reflection_plugin.cc",
2056 ],
2057 hdrs = [
2058 "src/cpp/ext/proto_server_reflection.h",
2059 ],
2060 language = "c++",
2061 public_hdrs = [
2062 "include/grpc++/ext/proto_server_reflection_plugin.h",
Muxi Yan0e00c432018-01-26 15:39:32 -08002063 "include/grpcpp/ext/proto_server_reflection_plugin.h",
Sree Kuchibhotla43bca1b2017-02-22 16:37:27 -08002064 ],
2065 deps = [
2066 ":grpc++",
2067 "//src/proto/grpc/reflection/v1alpha:reflection_proto",
2068 ],
Ian Coolidge13213412017-06-27 21:49:44 -07002069 alwayslink = 1,
Sree Kuchibhotla43bca1b2017-02-22 16:37:27 -08002070)
Nicolas "Pixel" Noble2b0f0012017-04-24 19:59:19 +02002071
Nicolas "Pixel" Noble0885f982017-05-12 21:10:55 +02002072grpc_cc_library(
ncteisenc1945282018-07-16 22:24:53 -07002073 name = "grpcpp_channelz",
2074 srcs = [
2075 "src/cpp/server/channelz/channelz_service.cc",
2076 "src/cpp/server/channelz/channelz_service_plugin.cc",
2077 ],
2078 hdrs = [
2079 "src/cpp/server/channelz/channelz_service.h",
ncteisenc1945282018-07-16 22:24:53 -07002080 ],
2081 language = "c++",
ncteisen18a9d7d2018-07-20 09:29:05 -07002082 public_hdrs = [
2083 "include/grpcpp/ext/channelz_service_plugin.h",
2084 ],
ncteisenc1945282018-07-16 22:24:53 -07002085 deps = [
2086 ":grpc++",
2087 "//src/proto/grpc/channelz:channelz_proto",
2088 ],
2089 alwayslink = 1,
2090)
2091
2092grpc_cc_library(
Nicolas "Pixel" Noble0885f982017-05-12 21:10:55 +02002093 name = "grpc++_test",
2094 public_hdrs = [
2095 "include/grpc++/test/mock_stream.h",
2096 "include/grpc++/test/server_context_test_spouse.h",
Muxi Yan0e00c432018-01-26 15:39:32 -08002097 "include/grpcpp/test/mock_stream.h",
2098 "include/grpcpp/test/server_context_test_spouse.h",
Nicolas "Pixel" Noble0885f982017-05-12 21:10:55 +02002099 ],
2100 deps = [
2101 ":grpc++",
2102 ],
2103)
2104
Muxi Yan2a5bbc12017-05-15 12:03:08 -07002105grpc_cc_library(
2106 name = "grpc_server_backward_compatibility",
2107 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07002108 "src/core/ext/filters/workarounds/workaround_utils.cc",
Muxi Yan2a5bbc12017-05-15 12:03:08 -07002109 ],
2110 hdrs = [
2111 "src/core/ext/filters/workarounds/workaround_utils.h",
2112 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07002113 language = "c++",
Muxi Yan2a5bbc12017-05-15 12:03:08 -07002114 deps = [
2115 "grpc_base",
2116 ],
2117)
2118
Craig Tillere1101cf2017-09-06 09:42:20 -07002119grpc_cc_library(
2120 name = "grpc++_core_stats",
2121 srcs = [
2122 "src/cpp/util/core_stats.cc",
2123 ],
2124 hdrs = [
2125 "src/cpp/util/core_stats.h",
2126 ],
2127 language = "c++",
2128 deps = [
2129 ":grpc++",
2130 "//src/proto/grpc/core:stats_proto",
2131 ],
2132)
2133
Vizerai41e4ced2018-04-13 18:19:21 -07002134grpc_cc_library(
2135 name = "grpc_opencensus_plugin",
2136 srcs = [
Vizerai41e4ced2018-04-13 18:19:21 -07002137 "src/cpp/ext/filters/census/channel_filter.cc",
Juanli Shen291bbc72018-06-21 13:02:40 -07002138 "src/cpp/ext/filters/census/client_filter.cc",
Vizerai41e4ced2018-04-13 18:19:21 -07002139 "src/cpp/ext/filters/census/context.cc",
Vijay Paiccc47712018-08-16 16:11:51 -07002140 "src/core/ext/filters/census/grpc_context.cc",
Vizerai41e4ced2018-04-13 18:19:21 -07002141 "src/cpp/ext/filters/census/grpc_plugin.cc",
2142 "src/cpp/ext/filters/census/measures.cc",
2143 "src/cpp/ext/filters/census/rpc_encoding.cc",
Juanli Shen291bbc72018-06-21 13:02:40 -07002144 "src/cpp/ext/filters/census/server_filter.cc",
Vizerai41e4ced2018-04-13 18:19:21 -07002145 "src/cpp/ext/filters/census/views.cc",
2146 ],
2147 hdrs = [
Vizerai60086792018-05-22 16:03:16 -07002148 "include/grpcpp/opencensus.h",
Vizerai41e4ced2018-04-13 18:19:21 -07002149 "src/cpp/ext/filters/census/channel_filter.h",
Juanli Shen291bbc72018-06-21 13:02:40 -07002150 "src/cpp/ext/filters/census/client_filter.h",
Vizerai41e4ced2018-04-13 18:19:21 -07002151 "src/cpp/ext/filters/census/context.h",
2152 "src/cpp/ext/filters/census/grpc_plugin.h",
2153 "src/cpp/ext/filters/census/measures.h",
2154 "src/cpp/ext/filters/census/rpc_encoding.h",
Juanli Shen291bbc72018-06-21 13:02:40 -07002155 "src/cpp/ext/filters/census/server_filter.h",
Vizerai41e4ced2018-04-13 18:19:21 -07002156 ],
Vizerai41e4ced2018-04-13 18:19:21 -07002157 external_deps = [
2158 "absl-base",
2159 "absl-time",
2160 "opencensus-trace",
2161 "opencensus-stats",
2162 ],
Juanli Shen291bbc72018-06-21 13:02:40 -07002163 language = "c++",
Vizerai41e4ced2018-04-13 18:19:21 -07002164 deps = [
2165 ":census",
2166 ":grpc++",
2167 ],
2168)
2169
Muxi Yanb24b2122018-08-14 10:21:27 -07002170grpc_cc_library(
2171 name = "grpc_shadow_boringssl",
2172 hdrs = [
2173 "src/core/tsi/grpc_shadow_boringssl.h",
2174 ],
2175)
2176
Nicolas "Pixel" Noble2b0f0012017-04-24 19:59:19 +02002177grpc_generate_one_off_targets()