blob: 81390dd1aa186d345982fc0e6e706e845941da1f [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 = [
Vizerai41e4ced2018-04-13 18:19:21 -0700488 "src/cpp/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",
563 "src/core/lib/gprpp/thd.h",
Vijay Pai239b7d42018-02-08 11:08:41 -0800564 "src/core/lib/profiling/timers.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200565 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -0700566 language = "c++",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +0200567 public_hdrs = GPR_PUBLIC_HDRS,
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200568 deps = [
569 "gpr_codegen",
570 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200571)
572
573grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200574 name = "gpr_codegen",
Yash Tibrewal2dcbc102017-10-03 16:23:07 -0700575 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200576 public_hdrs = [
577 "include/grpc/impl/codegen/atm.h",
578 "include/grpc/impl/codegen/atm_gcc_atomic.h",
579 "include/grpc/impl/codegen/atm_gcc_sync.h",
580 "include/grpc/impl/codegen/atm_windows.h",
Ken Payson9714e032017-10-10 11:18:49 -0700581 "include/grpc/impl/codegen/fork.h",
Mark D. Roth348fba22017-01-06 11:07:30 -0800582 "include/grpc/impl/codegen/gpr_slice.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200583 "include/grpc/impl/codegen/gpr_types.h",
ncteisen93a90e62018-06-18 18:39:56 -0700584 "include/grpc/impl/codegen/log.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200585 "include/grpc/impl/codegen/port_platform.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200586 "include/grpc/impl/codegen/sync.h",
yang-g9ff60312017-08-24 09:08:21 -0700587 "include/grpc/impl/codegen/sync_custom.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200588 "include/grpc/impl/codegen/sync_generic.h",
589 "include/grpc/impl/codegen/sync_posix.h",
590 "include/grpc/impl/codegen/sync_windows.h",
591 ],
Craig Tillerda179ce2016-02-09 12:01:53 -0800592)
593
Nicolas "Pixel" Noble31d11db2016-10-20 09:29:46 +0200594grpc_cc_library(
Craig Tiller1f477302017-05-05 11:01:25 -0700595 name = "grpc_trace",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700596 srcs = ["src/core/lib/debug/trace.cc"],
Craig Tiller1f477302017-05-05 11:01:25 -0700597 hdrs = ["src/core/lib/debug/trace.h"],
Yash Tibrewala60c7632017-09-28 16:13:32 -0700598 language = "c++",
Yash Tibrewal12587d52017-10-05 08:53:41 -0700599 public_hdrs = GRPC_PUBLIC_HDRS,
Yash Tibrewalf49ab122017-10-03 18:36:05 -0700600 deps = [
601 "grpc_codegen",
602 ":gpr",
603 ],
Craig Tiller1f477302017-05-05 11:01:25 -0700604)
605
606grpc_cc_library(
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800607 name = "atomic",
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800608 hdrs = [
Mark D. Roth4f2b0fd2018-01-19 12:12:23 -0800609 "src/core/lib/gprpp/atomic_with_atm.h",
610 "src/core/lib/gprpp/atomic_with_std.h",
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800611 ],
Vijay Pai239b7d42018-02-08 11:08:41 -0800612 language = "c++",
613 public_hdrs = [
614 "src/core/lib/gprpp/atomic.h",
615 ],
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800616 deps = [
617 "gpr",
618 ],
619)
620
621grpc_cc_library(
622 name = "inlined_vector",
623 language = "c++",
624 public_hdrs = [
Mark D. Roth4f2b0fd2018-01-19 12:12:23 -0800625 "src/core/lib/gprpp/inlined_vector.h",
626 ],
627 deps = [
Vijay Pai756caa72018-03-01 12:38:16 -0800628 "gpr_base",
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800629 ],
630)
631
632grpc_cc_library(
Mark D. Roth70db6632017-11-27 14:53:26 -0800633 name = "debug_location",
Mark D. Roth70db6632017-11-27 14:53:26 -0800634 language = "c++",
Mark D. Roth4f2b0fd2018-01-19 12:12:23 -0800635 public_hdrs = ["src/core/lib/gprpp/debug_location.h"],
Mark D. Roth70db6632017-11-27 14:53:26 -0800636)
637
638grpc_cc_library(
Mark D. Roth324703d2018-01-11 07:41:31 -0800639 name = "orphanable",
Mark D. Roth324703d2018-01-11 07:41:31 -0800640 language = "c++",
Mark D. Roth4f2b0fd2018-01-19 12:12:23 -0800641 public_hdrs = ["src/core/lib/gprpp/orphanable.h"],
Mark D. Roth324703d2018-01-11 07:41:31 -0800642 deps = [
Mark D. Roth324703d2018-01-11 07:41:31 -0800643 "debug_location",
Vijay Pai756caa72018-03-01 12:38:16 -0800644 "gpr_base",
David Garcia Quintas41d27e12018-01-17 10:38:53 -0800645 "grpc_trace",
Vijay Pai239b7d42018-02-08 11:08:41 -0800646 "ref_counted_ptr",
Mark D. Roth324703d2018-01-11 07:41:31 -0800647 ],
Mark D. Roth70db6632017-11-27 14:53:26 -0800648)
649
650grpc_cc_library(
Mark D. Rothbf816d32017-11-29 11:25:34 -0800651 name = "ref_counted",
Mark D. Roth70db6632017-11-27 14:53:26 -0800652 language = "c++",
Mark D. Roth4f2b0fd2018-01-19 12:12:23 -0800653 public_hdrs = ["src/core/lib/gprpp/ref_counted.h"],
Mark D. Roth70db6632017-11-27 14:53:26 -0800654 deps = [
Mark D. Roth70db6632017-11-27 14:53:26 -0800655 "debug_location",
Vijay Pai756caa72018-03-01 12:38:16 -0800656 "gpr_base",
David Garcia Quintas53bfe692018-01-04 16:39:08 -0800657 "grpc_trace",
Vijay Pai239b7d42018-02-08 11:08:41 -0800658 "ref_counted_ptr",
Mark D. Roth70db6632017-11-27 14:53:26 -0800659 ],
660)
661
662grpc_cc_library(
Mark D. Rothbf816d32017-11-29 11:25:34 -0800663 name = "ref_counted_ptr",
Mark D. Rothcf9ca842017-11-28 08:24:35 -0800664 language = "c++",
Mark D. Roth4f2b0fd2018-01-19 12:12:23 -0800665 public_hdrs = ["src/core/lib/gprpp/ref_counted_ptr.h"],
666 deps = [
Vijay Pai756caa72018-03-01 12:38:16 -0800667 "gpr_base",
Mark D. Roth4f2b0fd2018-01-19 12:12:23 -0800668 ],
Mark D. Rothcf9ca842017-11-28 08:24:35 -0800669)
670
671grpc_cc_library(
Craig Tiller832c6072017-05-11 14:38:05 -0700672 name = "grpc_base_c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200673 srcs = [
Vijay Pai8f4fbb12018-02-08 10:04:08 -0800674 "src/core/lib/avl/avl.cc",
Craig Tillere1a2b4a2017-10-05 11:07:14 -0700675 "src/core/lib/backoff/backoff.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700676 "src/core/lib/channel/channel_args.cc",
677 "src/core/lib/channel/channel_stack.cc",
678 "src/core/lib/channel/channel_stack_builder.cc",
ncteisen3b42f832018-03-19 13:22:35 -0700679 "src/core/lib/channel/channel_trace.cc",
ncteisenc3c6e062018-05-09 11:10:21 -0700680 "src/core/lib/channel/channelz.cc",
Juanli Shen291bbc72018-06-21 13:02:40 -0700681 "src/core/lib/channel/channelz_registry.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700682 "src/core/lib/channel/connected_channel.cc",
683 "src/core/lib/channel/handshaker.cc",
684 "src/core/lib/channel/handshaker_factory.cc",
685 "src/core/lib/channel/handshaker_registry.cc",
David Garcia Quintasfa460dc2018-03-23 14:51:41 -0700686 "src/core/lib/channel/status_util.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700687 "src/core/lib/compression/compression.cc",
Muxi Yan03fc8572017-10-06 18:47:09 -0700688 "src/core/lib/compression/compression_internal.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700689 "src/core/lib/compression/message_compress.cc",
690 "src/core/lib/compression/stream_compression.cc",
691 "src/core/lib/compression/stream_compression_gzip.cc",
692 "src/core/lib/compression/stream_compression_identity.cc",
693 "src/core/lib/debug/stats.cc",
694 "src/core/lib/debug/stats_data.cc",
695 "src/core/lib/http/format_request.cc",
696 "src/core/lib/http/httpcli.cc",
697 "src/core/lib/http/parser.cc",
698 "src/core/lib/iomgr/call_combiner.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700699 "src/core/lib/iomgr/combiner.cc",
700 "src/core/lib/iomgr/endpoint.cc",
701 "src/core/lib/iomgr/endpoint_pair_posix.cc",
702 "src/core/lib/iomgr/endpoint_pair_uv.cc",
703 "src/core/lib/iomgr/endpoint_pair_windows.cc",
704 "src/core/lib/iomgr/error.cc",
705 "src/core/lib/iomgr/ev_epoll1_linux.cc",
706 "src/core/lib/iomgr/ev_epollex_linux.cc",
707 "src/core/lib/iomgr/ev_epollsig_linux.cc",
708 "src/core/lib/iomgr/ev_poll_posix.cc",
709 "src/core/lib/iomgr/ev_posix.cc",
710 "src/core/lib/iomgr/ev_windows.cc",
711 "src/core/lib/iomgr/exec_ctx.cc",
712 "src/core/lib/iomgr/executor.cc",
Nicolas "Pixel" Noble18a68372017-11-20 23:33:22 +0100713 "src/core/lib/iomgr/fork_posix.cc",
714 "src/core/lib/iomgr/fork_windows.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700715 "src/core/lib/iomgr/gethostname_fallback.cc",
716 "src/core/lib/iomgr/gethostname_host_name_max.cc",
717 "src/core/lib/iomgr/gethostname_sysconf.cc",
718 "src/core/lib/iomgr/iocp_windows.cc",
719 "src/core/lib/iomgr/iomgr.cc",
kpayson64539f5062018-03-12 19:16:30 -0700720 "src/core/lib/iomgr/iomgr_custom.cc",
721 "src/core/lib/iomgr/iomgr_internal.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700722 "src/core/lib/iomgr/iomgr_posix.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700723 "src/core/lib/iomgr/iomgr_windows.cc",
724 "src/core/lib/iomgr/is_epollexclusive_available.cc",
725 "src/core/lib/iomgr/load_file.cc",
726 "src/core/lib/iomgr/lockfree_event.cc",
727 "src/core/lib/iomgr/network_status_tracker.cc",
728 "src/core/lib/iomgr/polling_entity.cc",
kpayson64539f5062018-03-12 19:16:30 -0700729 "src/core/lib/iomgr/pollset.cc",
730 "src/core/lib/iomgr/pollset_custom.cc",
731 "src/core/lib/iomgr/pollset_set.cc",
732 "src/core/lib/iomgr/pollset_set_custom.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700733 "src/core/lib/iomgr/pollset_set_windows.cc",
734 "src/core/lib/iomgr/pollset_uv.cc",
735 "src/core/lib/iomgr/pollset_windows.cc",
kpayson64539f5062018-03-12 19:16:30 -0700736 "src/core/lib/iomgr/resolve_address.cc",
737 "src/core/lib/iomgr/resolve_address_custom.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700738 "src/core/lib/iomgr/resolve_address_posix.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700739 "src/core/lib/iomgr/resolve_address_windows.cc",
740 "src/core/lib/iomgr/resource_quota.cc",
741 "src/core/lib/iomgr/sockaddr_utils.cc",
742 "src/core/lib/iomgr/socket_factory_posix.cc",
743 "src/core/lib/iomgr/socket_mutator.cc",
744 "src/core/lib/iomgr/socket_utils_common_posix.cc",
745 "src/core/lib/iomgr/socket_utils_linux.cc",
746 "src/core/lib/iomgr/socket_utils_posix.cc",
Yash Tibrewal26c78032017-09-28 14:34:43 -0700747 "src/core/lib/iomgr/socket_utils_windows.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700748 "src/core/lib/iomgr/socket_windows.cc",
kpayson64539f5062018-03-12 19:16:30 -0700749 "src/core/lib/iomgr/tcp_client.cc",
750 "src/core/lib/iomgr/tcp_client_custom.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700751 "src/core/lib/iomgr/tcp_client_posix.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700752 "src/core/lib/iomgr/tcp_client_windows.cc",
kpayson64539f5062018-03-12 19:16:30 -0700753 "src/core/lib/iomgr/tcp_custom.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700754 "src/core/lib/iomgr/tcp_posix.cc",
kpayson64539f5062018-03-12 19:16:30 -0700755 "src/core/lib/iomgr/tcp_server.cc",
756 "src/core/lib/iomgr/tcp_server_custom.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700757 "src/core/lib/iomgr/tcp_server_posix.cc",
758 "src/core/lib/iomgr/tcp_server_utils_posix_common.cc",
759 "src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc",
760 "src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700761 "src/core/lib/iomgr/tcp_server_windows.cc",
762 "src/core/lib/iomgr/tcp_uv.cc",
763 "src/core/lib/iomgr/tcp_windows.cc",
764 "src/core/lib/iomgr/time_averaged_stats.cc",
kpayson64539f5062018-03-12 19:16:30 -0700765 "src/core/lib/iomgr/timer.cc",
766 "src/core/lib/iomgr/timer_custom.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700767 "src/core/lib/iomgr/timer_generic.cc",
768 "src/core/lib/iomgr/timer_heap.cc",
769 "src/core/lib/iomgr/timer_manager.cc",
770 "src/core/lib/iomgr/timer_uv.cc",
771 "src/core/lib/iomgr/udp_server.cc",
772 "src/core/lib/iomgr/unix_sockets_posix.cc",
773 "src/core/lib/iomgr/unix_sockets_posix_noop.cc",
774 "src/core/lib/iomgr/wakeup_fd_cv.cc",
775 "src/core/lib/iomgr/wakeup_fd_eventfd.cc",
776 "src/core/lib/iomgr/wakeup_fd_nospecial.cc",
777 "src/core/lib/iomgr/wakeup_fd_pipe.cc",
778 "src/core/lib/iomgr/wakeup_fd_posix.cc",
779 "src/core/lib/json/json.cc",
780 "src/core/lib/json/json_reader.cc",
781 "src/core/lib/json/json_string.cc",
782 "src/core/lib/json/json_writer.cc",
783 "src/core/lib/slice/b64.cc",
784 "src/core/lib/slice/percent_encoding.cc",
785 "src/core/lib/slice/slice.cc",
786 "src/core/lib/slice/slice_buffer.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700787 "src/core/lib/slice/slice_intern.cc",
788 "src/core/lib/slice/slice_string_helpers.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700789 "src/core/lib/surface/api_trace.cc",
790 "src/core/lib/surface/byte_buffer.cc",
791 "src/core/lib/surface/byte_buffer_reader.cc",
792 "src/core/lib/surface/call.cc",
793 "src/core/lib/surface/call_details.cc",
794 "src/core/lib/surface/call_log_batch.cc",
795 "src/core/lib/surface/channel.cc",
796 "src/core/lib/surface/channel_init.cc",
797 "src/core/lib/surface/channel_ping.cc",
798 "src/core/lib/surface/channel_stack_type.cc",
799 "src/core/lib/surface/completion_queue.cc",
800 "src/core/lib/surface/completion_queue_factory.cc",
801 "src/core/lib/surface/event_string.cc",
802 "src/core/lib/surface/metadata_array.cc",
803 "src/core/lib/surface/server.cc",
804 "src/core/lib/surface/validate_metadata.cc",
805 "src/core/lib/surface/version.cc",
806 "src/core/lib/transport/bdp_estimator.cc",
807 "src/core/lib/transport/byte_stream.cc",
808 "src/core/lib/transport/connectivity_state.cc",
809 "src/core/lib/transport/error_utils.cc",
810 "src/core/lib/transport/metadata.cc",
811 "src/core/lib/transport/metadata_batch.cc",
812 "src/core/lib/transport/pid_controller.cc",
813 "src/core/lib/transport/service_config.cc",
814 "src/core/lib/transport/static_metadata.cc",
815 "src/core/lib/transport/status_conversion.cc",
Mark D. Roth718c8342018-02-28 13:00:04 -0800816 "src/core/lib/transport/status_metadata.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700817 "src/core/lib/transport/timeout_encoding.cc",
818 "src/core/lib/transport/transport.cc",
819 "src/core/lib/transport/transport_op_string.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200820 ],
821 hdrs = [
Vijay Pai8f4fbb12018-02-08 10:04:08 -0800822 "src/core/lib/avl/avl.h",
Vijay Pai89125422017-11-22 10:22:28 -0800823 "src/core/lib/backoff/backoff.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200824 "src/core/lib/channel/channel_args.h",
825 "src/core/lib/channel/channel_stack.h",
826 "src/core/lib/channel/channel_stack_builder.h",
ncteisen3b42f832018-03-19 13:22:35 -0700827 "src/core/lib/channel/channel_trace.h",
ncteisenc3c6e062018-05-09 11:10:21 -0700828 "src/core/lib/channel/channelz.h",
Juanli Shen291bbc72018-06-21 13:02:40 -0700829 "src/core/lib/channel/channelz_registry.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200830 "src/core/lib/channel/connected_channel.h",
831 "src/core/lib/channel/context.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200832 "src/core/lib/channel/handshaker.h",
Mark D. Roth1f0f23c2017-01-06 13:07:19 -0800833 "src/core/lib/channel/handshaker_factory.h",
834 "src/core/lib/channel/handshaker_registry.h",
David Garcia Quintasfa460dc2018-03-23 14:51:41 -0700835 "src/core/lib/channel/status_util.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200836 "src/core/lib/compression/algorithm_metadata.h",
Muxi Yane6d888d2017-09-14 09:42:56 -0700837 "src/core/lib/compression/compression_internal.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200838 "src/core/lib/compression/message_compress.h",
Muxi Yan1e9bdb52017-07-14 10:14:02 -0700839 "src/core/lib/compression/stream_compression.h",
Muxi Yan9cd90f42017-09-07 09:51:13 -0700840 "src/core/lib/compression/stream_compression_gzip.h",
841 "src/core/lib/compression/stream_compression_identity.h",
David Garcia Quintasb352be02017-09-18 11:55:52 -0700842 "src/core/lib/debug/stats.h",
843 "src/core/lib/debug/stats_data.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200844 "src/core/lib/http/format_request.h",
845 "src/core/lib/http/httpcli.h",
846 "src/core/lib/http/parser.h",
Vijay Pai89125422017-11-22 10:22:28 -0800847 "src/core/lib/iomgr/block_annotate.h",
Mark D. Roth764cf042017-09-01 09:00:06 -0700848 "src/core/lib/iomgr/call_combiner.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200849 "src/core/lib/iomgr/closure.h",
850 "src/core/lib/iomgr/combiner.h",
851 "src/core/lib/iomgr/endpoint.h",
852 "src/core/lib/iomgr/endpoint_pair.h",
853 "src/core/lib/iomgr/error.h",
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800854 "src/core/lib/iomgr/error_internal.h",
Craig Tiller18545a32017-05-05 17:33:44 +0000855 "src/core/lib/iomgr/ev_epoll1_linux.h",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700856 "src/core/lib/iomgr/ev_epollex_linux.h",
857 "src/core/lib/iomgr/ev_epollsig_linux.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200858 "src/core/lib/iomgr/ev_poll_posix.h",
859 "src/core/lib/iomgr/ev_posix.h",
860 "src/core/lib/iomgr/exec_ctx.h",
861 "src/core/lib/iomgr/executor.h",
Mark D. Rothf9bf4282017-08-03 14:47:23 -0700862 "src/core/lib/iomgr/gethostname.h",
Naresh74426fd2018-06-22 20:06:39 +0530863 "src/core/lib/iomgr/gevent_util.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200864 "src/core/lib/iomgr/iocp_windows.h",
865 "src/core/lib/iomgr/iomgr.h",
kpayson64539f5062018-03-12 19:16:30 -0700866 "src/core/lib/iomgr/iomgr_custom.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200867 "src/core/lib/iomgr/iomgr_internal.h",
868 "src/core/lib/iomgr/iomgr_posix.h",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700869 "src/core/lib/iomgr/is_epollexclusive_available.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200870 "src/core/lib/iomgr/load_file.h",
Jan Tattermusch43713e62017-04-12 09:20:29 +0200871 "src/core/lib/iomgr/lockfree_event.h",
Yuchen Zeng2d6ce742017-07-28 15:21:01 -0700872 "src/core/lib/iomgr/nameser.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200873 "src/core/lib/iomgr/network_status_tracker.h",
874 "src/core/lib/iomgr/polling_entity.h",
875 "src/core/lib/iomgr/pollset.h",
kpayson64539f5062018-03-12 19:16:30 -0700876 "src/core/lib/iomgr/pollset_custom.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200877 "src/core/lib/iomgr/pollset_set.h",
kpayson64539f5062018-03-12 19:16:30 -0700878 "src/core/lib/iomgr/pollset_set_custom.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200879 "src/core/lib/iomgr/pollset_set_windows.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200880 "src/core/lib/iomgr/pollset_uv.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200881 "src/core/lib/iomgr/pollset_windows.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200882 "src/core/lib/iomgr/port.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200883 "src/core/lib/iomgr/resolve_address.h",
kpayson64539f5062018-03-12 19:16:30 -0700884 "src/core/lib/iomgr/resolve_address_custom.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100885 "src/core/lib/iomgr/resource_quota.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200886 "src/core/lib/iomgr/sockaddr.h",
kpayson64539f5062018-03-12 19:16:30 -0700887 "src/core/lib/iomgr/sockaddr_custom.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200888 "src/core/lib/iomgr/sockaddr_posix.h",
889 "src/core/lib/iomgr/sockaddr_utils.h",
890 "src/core/lib/iomgr/sockaddr_windows.h",
Michael Warresc46b3eb2017-02-22 22:57:04 -0500891 "src/core/lib/iomgr/socket_factory_posix.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100892 "src/core/lib/iomgr/socket_mutator.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200893 "src/core/lib/iomgr/socket_utils.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200894 "src/core/lib/iomgr/socket_utils_posix.h",
895 "src/core/lib/iomgr/socket_windows.h",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700896 "src/core/lib/iomgr/sys_epoll_wrapper.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200897 "src/core/lib/iomgr/tcp_client.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100898 "src/core/lib/iomgr/tcp_client_posix.h",
kpayson64539f5062018-03-12 19:16:30 -0700899 "src/core/lib/iomgr/tcp_custom.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200900 "src/core/lib/iomgr/tcp_posix.h",
901 "src/core/lib/iomgr/tcp_server.h",
Yuchen Zeng47155ed2017-03-13 17:18:07 -0700902 "src/core/lib/iomgr/tcp_server_utils_posix.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200903 "src/core/lib/iomgr/tcp_windows.h",
904 "src/core/lib/iomgr/time_averaged_stats.h",
905 "src/core/lib/iomgr/timer.h",
kpayson64539f5062018-03-12 19:16:30 -0700906 "src/core/lib/iomgr/timer_custom.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200907 "src/core/lib/iomgr/timer_generic.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200908 "src/core/lib/iomgr/timer_heap.h",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700909 "src/core/lib/iomgr/timer_manager.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200910 "src/core/lib/iomgr/udp_server.h",
911 "src/core/lib/iomgr/unix_sockets_posix.h",
912 "src/core/lib/iomgr/wakeup_fd_cv.h",
913 "src/core/lib/iomgr/wakeup_fd_pipe.h",
914 "src/core/lib/iomgr/wakeup_fd_posix.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200915 "src/core/lib/json/json.h",
916 "src/core/lib/json/json_common.h",
917 "src/core/lib/json/json_reader.h",
918 "src/core/lib/json/json_writer.h",
Craig Tiller29b527f2017-03-30 10:27:20 -0700919 "src/core/lib/slice/b64.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100920 "src/core/lib/slice/percent_encoding.h",
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800921 "src/core/lib/slice/slice_hash_table.h",
Craig Tiller3ca60192017-01-04 14:41:29 -0800922 "src/core/lib/slice/slice_internal.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100923 "src/core/lib/slice/slice_string_helpers.h",
David Garcia Quintas396d49d2018-02-28 16:06:30 -0800924 "src/core/lib/slice/slice_weak_hash_table.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200925 "src/core/lib/surface/api_trace.h",
926 "src/core/lib/surface/call.h",
927 "src/core/lib/surface/call_test_only.h",
928 "src/core/lib/surface/channel.h",
929 "src/core/lib/surface/channel_init.h",
930 "src/core/lib/surface/channel_stack_type.h",
931 "src/core/lib/surface/completion_queue.h",
Sree Kuchibhotlaf6c20262017-03-21 18:52:19 -0700932 "src/core/lib/surface/completion_queue_factory.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200933 "src/core/lib/surface/event_string.h",
934 "src/core/lib/surface/init.h",
935 "src/core/lib/surface/lame_client.h",
936 "src/core/lib/surface/server.h",
David Garcia Quintas01291502017-02-07 13:26:41 -0800937 "src/core/lib/surface/validate_metadata.h",
David Garcia Quintas5481a582017-02-14 16:11:42 -0800938 "src/core/lib/transport/bdp_estimator.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200939 "src/core/lib/transport/byte_stream.h",
940 "src/core/lib/transport/connectivity_state.h",
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800941 "src/core/lib/transport/error_utils.h",
942 "src/core/lib/transport/http2_errors.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200943 "src/core/lib/transport/metadata.h",
944 "src/core/lib/transport/metadata_batch.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100945 "src/core/lib/transport/pid_controller.h",
946 "src/core/lib/transport/service_config.h",
947 "src/core/lib/transport/static_metadata.h",
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800948 "src/core/lib/transport/status_conversion.h",
Mark D. Roth718c8342018-02-28 13:00:04 -0800949 "src/core/lib/transport/status_metadata.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200950 "src/core/lib/transport/timeout_encoding.h",
951 "src/core/lib/transport/transport.h",
952 "src/core/lib/transport/transport_impl.h",
953 ],
954 external_deps = [
955 "zlib",
956 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -0700957 language = "c++",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +0200958 public_hdrs = GRPC_PUBLIC_HDRS,
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200959 deps = [
Vijay Pai239b7d42018-02-08 11:08:41 -0800960 "gpr_base",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200961 "grpc_codegen",
Craig Tiller1f477302017-05-05 11:01:25 -0700962 "grpc_trace",
Vijay Pai756caa72018-03-01 12:38:16 -0800963 "inlined_vector",
Mark D. Roth3d8b32d2018-03-09 13:25:40 -0800964 "orphanable",
Mark D. Roth3e7f2df2018-02-26 13:17:06 -0800965 "ref_counted",
966 "ref_counted_ptr",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200967 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200968)
969
970grpc_cc_library(
Craig Tiller832c6072017-05-11 14:38:05 -0700971 name = "grpc_base",
Craig Tiller832c6072017-05-11 14:38:05 -0700972 srcs = [
973 "src/core/lib/surface/lame_client.cc",
974 ],
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700975 language = "c++",
Craig Tiller832c6072017-05-11 14:38:05 -0700976 deps = [
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800977 "atomic",
Craig Tiller832c6072017-05-11 14:38:05 -0700978 "grpc_base_c",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700979 ],
980)
981
982grpc_cc_library(
983 name = "grpc_common",
Yash Tibrewal2dcbc102017-10-03 16:23:07 -0700984 language = "c++",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700985 deps = [
986 "grpc_base",
987 # standard plugins
988 "census",
989 "grpc_deadline_filter",
David Garcia Quintasaa843f22018-03-13 08:36:16 -0700990 "grpc_client_authority_filter",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700991 "grpc_lb_policy_pick_first",
992 "grpc_lb_policy_round_robin",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700993 "grpc_max_age_filter",
994 "grpc_message_size_filter",
Vijay Pai42807252017-07-28 15:08:24 -0700995 "grpc_resolver_dns_ares",
996 "grpc_resolver_fake",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700997 "grpc_resolver_dns_native",
998 "grpc_resolver_sockaddr",
999 "grpc_transport_chttp2_client_insecure",
1000 "grpc_transport_chttp2_server_insecure",
Vijay Pai3d7d5f42017-05-04 10:02:24 -07001001 "grpc_transport_inproc",
Muxi Yan2a5bbc12017-05-15 12:03:08 -07001002 "grpc_workaround_cronet_compression_filter",
1003 "grpc_server_backward_compatibility",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001004 ],
1005)
1006
1007grpc_cc_library(
Muxi Yanc512b4f2018-06-05 09:42:33 -07001008 name = "grpc_cfstream",
1009 srcs = [
1010 "src/core/lib/iomgr/cfstream_handle.cc",
1011 "src/core/lib/iomgr/endpoint_cfstream.cc",
1012 "src/core/lib/iomgr/error_cfstream.cc",
1013 "src/core/lib/iomgr/tcp_client_cfstream.cc",
1014 ],
1015 hdrs = [
1016 "src/core/lib/iomgr/cfstream_handle.h",
1017 "src/core/lib/iomgr/endpoint_cfstream.h",
1018 "src/core/lib/iomgr/error_cfstream.h",
1019 ],
1020 deps = [
1021 ":gpr_base",
1022 ":grpc_base",
1023 ],
1024)
1025
1026grpc_cc_library(
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001027 name = "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001028 srcs = [
Yuchen Zeng0bad30a2017-10-05 21:47:39 -07001029 "src/core/ext/filters/client_channel/backup_poller.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001030 "src/core/ext/filters/client_channel/channel_connectivity.cc",
1031 "src/core/ext/filters/client_channel/client_channel.cc",
ncteisenafb98292018-06-28 18:04:24 -07001032 "src/core/ext/filters/client_channel/client_channel_channelz.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001033 "src/core/ext/filters/client_channel/client_channel_factory.cc",
1034 "src/core/ext/filters/client_channel/client_channel_plugin.cc",
1035 "src/core/ext/filters/client_channel/connector.cc",
1036 "src/core/ext/filters/client_channel/http_connect_handshaker.cc",
1037 "src/core/ext/filters/client_channel/http_proxy.cc",
1038 "src/core/ext/filters/client_channel/lb_policy.cc",
1039 "src/core/ext/filters/client_channel/lb_policy_factory.cc",
1040 "src/core/ext/filters/client_channel/lb_policy_registry.cc",
Mark D. Roth3e7f2df2018-02-26 13:17:06 -08001041 "src/core/ext/filters/client_channel/method_params.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001042 "src/core/ext/filters/client_channel/parse_address.cc",
1043 "src/core/ext/filters/client_channel/proxy_mapper.cc",
1044 "src/core/ext/filters/client_channel/proxy_mapper_registry.cc",
1045 "src/core/ext/filters/client_channel/resolver.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001046 "src/core/ext/filters/client_channel/resolver_registry.cc",
1047 "src/core/ext/filters/client_channel/retry_throttle.cc",
1048 "src/core/ext/filters/client_channel/subchannel.cc",
1049 "src/core/ext/filters/client_channel/subchannel_index.cc",
1050 "src/core/ext/filters/client_channel/uri_parser.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001051 ],
1052 hdrs = [
Yuchen Zeng0bad30a2017-10-05 21:47:39 -07001053 "src/core/ext/filters/client_channel/backup_poller.h",
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001054 "src/core/ext/filters/client_channel/client_channel.h",
ncteisenafb98292018-06-28 18:04:24 -07001055 "src/core/ext/filters/client_channel/client_channel_channelz.h",
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001056 "src/core/ext/filters/client_channel/client_channel_factory.h",
1057 "src/core/ext/filters/client_channel/connector.h",
1058 "src/core/ext/filters/client_channel/http_connect_handshaker.h",
1059 "src/core/ext/filters/client_channel/http_proxy.h",
1060 "src/core/ext/filters/client_channel/lb_policy.h",
1061 "src/core/ext/filters/client_channel/lb_policy_factory.h",
1062 "src/core/ext/filters/client_channel/lb_policy_registry.h",
Mark D. Roth3e7f2df2018-02-26 13:17:06 -08001063 "src/core/ext/filters/client_channel/method_params.h",
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001064 "src/core/ext/filters/client_channel/parse_address.h",
1065 "src/core/ext/filters/client_channel/proxy_mapper.h",
1066 "src/core/ext/filters/client_channel/proxy_mapper_registry.h",
1067 "src/core/ext/filters/client_channel/resolver.h",
1068 "src/core/ext/filters/client_channel/resolver_factory.h",
1069 "src/core/ext/filters/client_channel/resolver_registry.h",
1070 "src/core/ext/filters/client_channel/retry_throttle.h",
1071 "src/core/ext/filters/client_channel/subchannel.h",
1072 "src/core/ext/filters/client_channel/subchannel_index.h",
1073 "src/core/ext/filters/client_channel/uri_parser.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001074 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001075 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001076 deps = [
Vijay Pai0693b722018-02-08 15:18:13 -08001077 "gpr_base",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001078 "grpc_base",
David Garcia Quintasaa843f22018-03-13 08:36:16 -07001079 "grpc_client_authority_filter",
Craig Tillerdcd24e42017-04-06 10:47:46 -07001080 "grpc_deadline_filter",
Mark D. Roth209f6442018-02-08 10:26:46 -08001081 "inlined_vector",
1082 "orphanable",
David Garcia Quintas53bfe692018-01-04 16:39:08 -08001083 "ref_counted",
David Garcia Quintas4adad992018-01-17 13:50:39 -08001084 "ref_counted_ptr",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001085 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001086)
1087
1088grpc_cc_library(
Craig Tiller6b97e532017-04-03 12:56:23 -07001089 name = "grpc_max_age_filter",
1090 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001091 "src/core/ext/filters/max_age/max_age_filter.cc",
Craig Tiller6b97e532017-04-03 12:56:23 -07001092 ],
1093 hdrs = [
1094 "src/core/ext/filters/max_age/max_age_filter.h",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001095 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001096 language = "c++",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001097 deps = [
1098 "grpc_base",
1099 ],
1100)
1101
1102grpc_cc_library(
Craig Tiller3be7dd02017-04-03 14:30:03 -07001103 name = "grpc_deadline_filter",
1104 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001105 "src/core/ext/filters/deadline/deadline_filter.cc",
Craig Tiller3be7dd02017-04-03 14:30:03 -07001106 ],
1107 hdrs = [
1108 "src/core/ext/filters/deadline/deadline_filter.h",
1109 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001110 language = "c++",
Craig Tiller3be7dd02017-04-03 14:30:03 -07001111 deps = [
1112 "grpc_base",
1113 ],
1114)
1115
1116grpc_cc_library(
David Garcia Quintasaa843f22018-03-13 08:36:16 -07001117 name = "grpc_client_authority_filter",
1118 srcs = [
David Garcia Quintas961353a2018-03-15 16:11:05 -07001119 "src/core/ext/filters/http/client_authority_filter.cc",
David Garcia Quintasaa843f22018-03-13 08:36:16 -07001120 ],
1121 hdrs = [
David Garcia Quintas961353a2018-03-15 16:11:05 -07001122 "src/core/ext/filters/http/client_authority_filter.h",
David Garcia Quintasaa843f22018-03-13 08:36:16 -07001123 ],
1124 language = "c++",
1125 deps = [
1126 "grpc_base",
1127 ],
1128)
1129
1130grpc_cc_library(
Craig Tiller6461c342017-04-03 13:00:31 -07001131 name = "grpc_message_size_filter",
1132 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001133 "src/core/ext/filters/message_size/message_size_filter.cc",
Craig Tiller6461c342017-04-03 13:00:31 -07001134 ],
1135 hdrs = [
1136 "src/core/ext/filters/message_size/message_size_filter.h",
1137 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001138 language = "c++",
Craig Tiller6461c342017-04-03 13:00:31 -07001139 deps = [
1140 "grpc_base",
1141 ],
1142)
1143
1144grpc_cc_library(
Craig Tilleraf767432017-04-03 13:54:31 -07001145 name = "grpc_http_filters",
Craig Tilleraf767432017-04-03 13:54:31 -07001146 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001147 "src/core/ext/filters/http/client/http_client_filter.cc",
1148 "src/core/ext/filters/http/http_filters_plugin.cc",
1149 "src/core/ext/filters/http/message_compress/message_compress_filter.cc",
1150 "src/core/ext/filters/http/server/http_server_filter.cc",
Sree Kuchibhotlad4fc32e2017-05-02 14:15:12 -07001151 ],
1152 hdrs = [
1153 "src/core/ext/filters/http/client/http_client_filter.h",
1154 "src/core/ext/filters/http/message_compress/message_compress_filter.h",
1155 "src/core/ext/filters/http/server/http_server_filter.h",
Craig Tilleraf767432017-04-03 13:54:31 -07001156 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001157 language = "c++",
Craig Tilleraf767432017-04-03 13:54:31 -07001158 deps = [
1159 "grpc_base",
1160 ],
1161)
1162
1163grpc_cc_library(
Muxi Yan2a5bbc12017-05-15 12:03:08 -07001164 name = "grpc_workaround_cronet_compression_filter",
1165 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001166 "src/core/ext/filters/workarounds/workaround_cronet_compression_filter.cc",
Muxi Yan2a5bbc12017-05-15 12:03:08 -07001167 ],
1168 hdrs = [
1169 "src/core/ext/filters/workarounds/workaround_cronet_compression_filter.h",
1170 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001171 language = "c++",
Muxi Yan2a5bbc12017-05-15 12:03:08 -07001172 deps = [
1173 "grpc_base",
1174 "grpc_server_backward_compatibility",
1175 ],
1176)
1177
1178grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001179 name = "grpc_codegen",
Yash Tibrewal2dcbc102017-10-03 16:23:07 -07001180 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001181 public_hdrs = [
Vijay Paiefce6e12017-09-14 09:07:50 -07001182 "include/grpc/impl/codegen/byte_buffer.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001183 "include/grpc/impl/codegen/byte_buffer_reader.h",
1184 "include/grpc/impl/codegen/compression_types.h",
1185 "include/grpc/impl/codegen/connectivity_state.h",
1186 "include/grpc/impl/codegen/grpc_types.h",
1187 "include/grpc/impl/codegen/propagation_bits.h",
1188 "include/grpc/impl/codegen/status.h",
Craig Tiller0d32f2f2017-03-30 10:50:29 -07001189 "include/grpc/impl/codegen/slice.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001190 ],
1191 deps = [
1192 "gpr_codegen",
1193 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001194)
1195
1196grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001197 name = "grpc_lb_policy_grpclb",
1198 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001199 "src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc",
1200 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc",
1201 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.cc",
1202 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc",
1203 "src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc",
David Garcia Quintasf3955ba2018-06-21 15:15:10 -07001204 "src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf/duration.pb.c",
1205 "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 -07001206 "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 +02001207 ],
1208 hdrs = [
Mark D. Roth09e458c2017-05-02 08:13:26 -07001209 "src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.h",
Yihua Zhang392dad72018-05-03 20:12:20 -07001210 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.h",
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001211 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.h",
Mark D. Roth09e458c2017-05-02 08:13:26 -07001212 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.h",
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001213 "src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.h",
David Garcia Quintasf3955ba2018-06-21 15:15:10 -07001214 "src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf/duration.pb.h",
1215 "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 -07001216 "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 +02001217 ],
1218 external_deps = [
1219 "nanopb",
1220 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001221 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001222 deps = [
1223 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001224 "grpc_client_channel",
David Garcia Quintas87d5a312017-06-06 19:45:58 -07001225 "grpc_resolver_fake",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001226 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001227)
1228
1229grpc_cc_library(
David Garcia Quintas01291502017-02-07 13:26:41 -08001230 name = "grpc_lb_policy_grpclb_secure",
1231 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001232 "src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc",
1233 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc",
1234 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel_secure.cc",
1235 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc",
1236 "src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc",
David Garcia Quintasf3955ba2018-06-21 15:15:10 -07001237 "src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf/duration.pb.c",
1238 "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 -07001239 "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 -08001240 ],
1241 hdrs = [
Mark D. Roth09e458c2017-05-02 08:13:26 -07001242 "src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.h",
Yihua Zhang392dad72018-05-03 20:12:20 -07001243 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.h",
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001244 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.h",
Mark D. Roth09e458c2017-05-02 08:13:26 -07001245 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.h",
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001246 "src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.h",
David Garcia Quintasf3955ba2018-06-21 15:15:10 -07001247 "src/core/ext/filters/client_channel/lb_policy/grpclb/proto/grpc/lb/v1/google/protobuf/duration.pb.h",
1248 "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 -07001249 "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 -08001250 ],
1251 external_deps = [
1252 "nanopb",
1253 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001254 language = "c++",
David Garcia Quintas01291502017-02-07 13:26:41 -08001255 deps = [
1256 "grpc_base",
1257 "grpc_client_channel",
David Garcia Quintas87d5a312017-06-06 19:45:58 -07001258 "grpc_resolver_fake",
David Garcia Quintas01291502017-02-07 13:26:41 -08001259 "grpc_secure",
1260 ],
1261)
1262
1263grpc_cc_library(
Mark D. Roth5e9848e2017-10-06 13:59:32 -07001264 name = "grpc_lb_subchannel_list",
Mark D. Roth5e9848e2017-10-06 13:59:32 -07001265 hdrs = [
1266 "src/core/ext/filters/client_channel/lb_policy/subchannel_list.h",
1267 ],
1268 language = "c++",
1269 deps = [
1270 "grpc_base",
1271 "grpc_client_channel",
1272 ],
1273)
1274
1275grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001276 name = "grpc_lb_policy_pick_first",
1277 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001278 "src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001279 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001280 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001281 deps = [
1282 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001283 "grpc_client_channel",
Mark D. Roth5e9848e2017-10-06 13:59:32 -07001284 "grpc_lb_subchannel_list",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001285 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001286)
1287
1288grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001289 name = "grpc_lb_policy_round_robin",
1290 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001291 "src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001292 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001293 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001294 deps = [
1295 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001296 "grpc_client_channel",
Mark D. Roth5e9848e2017-10-06 13:59:32 -07001297 "grpc_lb_subchannel_list",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001298 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001299)
1300
1301grpc_cc_library(
Juanli Shenf5f1d572018-06-21 22:44:05 -07001302 name = "lb_server_load_reporting_filter",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001303 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001304 "src/core/ext/filters/load_reporting/server_load_reporting_filter.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001305 ],
1306 hdrs = [
Juanli Shenf5f1d572018-06-21 22:44:05 -07001307 "src/core/ext/filters/load_reporting/registered_opencensus_objects.h",
David Garcia Quintas0822d332017-09-06 17:40:42 -07001308 "src/core/ext/filters/load_reporting/server_load_reporting_filter.h",
Juanli Shenf5f1d572018-06-21 22:44:05 -07001309 "src/cpp/server/load_reporter/constants.h",
1310 ],
1311 external_deps = [
1312 "opencensus-stats",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001313 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001314 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001315 deps = [
Juanli Shenf5f1d572018-06-21 22:44:05 -07001316 "grpc++_base",
1317 "grpc_secure",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001318 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001319)
1320
1321grpc_cc_library(
Juanli Shena0aab7e2018-05-01 10:30:54 -07001322 name = "lb_load_data_store",
1323 srcs = [
1324 "src/cpp/server/load_reporter/load_data_store.cc",
1325 ],
1326 hdrs = [
Juanli Shen291bbc72018-06-21 13:02:40 -07001327 "src/cpp/server/load_reporter/constants.h",
Juanli Shena0aab7e2018-05-01 10:30:54 -07001328 "src/cpp/server/load_reporter/load_data_store.h",
1329 ],
1330 language = "c++",
1331 deps = [
1332 "grpc++",
1333 ],
1334)
1335
1336grpc_cc_library(
Juanli Shenbe40b0d2018-07-13 19:52:59 -07001337 name = "lb_server_load_reporting_service_server_builder_plugin",
1338 srcs = [
1339 "src/cpp/server/load_reporter/load_reporting_service_server_builder_plugin.cc",
1340 ],
1341 hdrs = [
1342 "src/cpp/server/load_reporter/load_reporting_service_server_builder_plugin.h",
1343 ],
1344 language = "c++",
1345 deps = [
1346 "lb_load_reporter_service",
1347 ],
1348)
1349
1350grpc_cc_library(
1351 name = "grpcpp_server_load_reporting",
1352 srcs = [
1353 "src/cpp/server/load_reporter/load_reporting_service_server_builder_option.cc",
1354 "src/cpp/server/load_reporter/util.cc",
1355 ],
1356 language = "c++",
1357 public_hdrs = [
1358 "include/grpcpp/ext/server_load_reporting.h",
1359 ],
1360 deps = [
1361 "lb_server_load_reporting_filter",
1362 "lb_server_load_reporting_service_server_builder_plugin",
1363 ],
1364 alwayslink = 1,
1365)
1366
1367grpc_cc_library(
1368 name = "lb_load_reporter_service",
1369 srcs = [
1370 "src/cpp/server/load_reporter/load_reporter_async_service_impl.cc",
1371 ],
1372 hdrs = [
1373 "src/cpp/server/load_reporter/load_reporter_async_service_impl.h",
1374 ],
1375 language = "c++",
1376 deps = [
1377 "lb_load_reporter",
1378 ],
1379)
1380
1381grpc_cc_library(
Juanli Shen291bbc72018-06-21 13:02:40 -07001382 name = "lb_get_cpu_stats",
1383 srcs = [
1384 "src/cpp/server/load_reporter/get_cpu_stats_linux.cc",
1385 "src/cpp/server/load_reporter/get_cpu_stats_macos.cc",
1386 "src/cpp/server/load_reporter/get_cpu_stats_unsupported.cc",
1387 "src/cpp/server/load_reporter/get_cpu_stats_windows.cc",
1388 ],
1389 hdrs = [
1390 "src/cpp/server/load_reporter/get_cpu_stats.h",
1391 ],
1392 language = "c++",
1393 deps = [
1394 "grpc++",
1395 ],
1396)
1397
1398grpc_cc_library(
1399 name = "lb_load_reporter",
1400 srcs = [
1401 "src/cpp/server/load_reporter/load_reporter.cc",
1402 ],
1403 hdrs = [
1404 "src/cpp/server/load_reporter/constants.h",
1405 "src/cpp/server/load_reporter/load_reporter.h",
1406 ],
1407 external_deps = [
1408 "opencensus-stats",
1409 ],
1410 language = "c++",
1411 deps = [
1412 "lb_get_cpu_stats",
1413 "lb_load_data_store",
1414 "//src/proto/grpc/lb/v1:load_reporter_proto",
1415 ],
1416)
1417
1418grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001419 name = "grpc_resolver_dns_native",
1420 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001421 "src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001422 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001423 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001424 deps = [
1425 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001426 "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001427 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001428)
1429
1430grpc_cc_library(
Yuchen Zeng4c702ed2017-01-23 10:30:10 -08001431 name = "grpc_resolver_dns_ares",
1432 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001433 "src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc",
Alexander Polcyn7eda6192018-06-14 23:07:33 -07001434 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001435 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc",
Alexander Polcyn9896c642018-07-27 01:38:26 -07001436 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_windows.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001437 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc",
Alexander Polcyn9896c642018-07-27 01:38:26 -07001438 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_posix.cc",
1439 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_windows.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001440 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_fallback.cc",
Yuchen Zeng4c702ed2017-01-23 10:30:10 -08001441 ],
1442 hdrs = [
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001443 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.h",
1444 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.h",
Yuchen Zeng4c702ed2017-01-23 10:30:10 -08001445 ],
Jan Tattermusch61f729f2017-04-06 17:11:44 +02001446 external_deps = [
1447 "cares",
Alexander Polcyn690dde62017-10-18 00:20:33 -07001448 "address_sorting",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001449 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001450 language = "c++",
Yuchen Zeng4c702ed2017-01-23 10:30:10 -08001451 deps = [
1452 "grpc_base",
1453 "grpc_client_channel",
1454 ],
Yuchen Zeng4c702ed2017-01-23 10:30:10 -08001455)
1456
1457grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001458 name = "grpc_resolver_sockaddr",
1459 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001460 "src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001461 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001462 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001463 deps = [
1464 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001465 "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001466 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001467)
1468
1469grpc_cc_library(
David Garcia Quintas87d5a312017-06-06 19:45:58 -07001470 name = "grpc_resolver_fake",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001471 srcs = ["src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc"],
David Garcia Quintas87d5a312017-06-06 19:45:58 -07001472 hdrs = ["src/core/ext/filters/client_channel/resolver/fake/fake_resolver.h"],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001473 language = "c++",
murgatroid99d5b04552017-06-15 17:48:42 -07001474 visibility = ["//test:__subpackages__"],
David Garcia Quintas87d5a312017-06-06 19:45:58 -07001475 deps = [
1476 "grpc_base",
1477 "grpc_client_channel",
1478 ],
1479)
1480
1481grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001482 name = "grpc_secure",
1483 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001484 "src/core/lib/http/httpcli_security_connector.cc",
1485 "src/core/lib/security/context/security_context.cc",
David Garcia Quintasc7c0d692018-03-10 17:27:15 -08001486 "src/core/lib/security/credentials/alts/alts_credentials.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001487 "src/core/lib/security/credentials/composite/composite_credentials.cc",
1488 "src/core/lib/security/credentials/credentials.cc",
1489 "src/core/lib/security/credentials/credentials_metadata.cc",
1490 "src/core/lib/security/credentials/fake/fake_credentials.cc",
1491 "src/core/lib/security/credentials/google_default/credentials_generic.cc",
1492 "src/core/lib/security/credentials/google_default/google_default_credentials.cc",
1493 "src/core/lib/security/credentials/iam/iam_credentials.cc",
1494 "src/core/lib/security/credentials/jwt/json_token.cc",
1495 "src/core/lib/security/credentials/jwt/jwt_credentials.cc",
1496 "src/core/lib/security/credentials/jwt/jwt_verifier.cc",
Yihua Zhangc5f1eda2018-07-02 13:29:27 -07001497 "src/core/lib/security/credentials/local/local_credentials.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001498 "src/core/lib/security/credentials/oauth2/oauth2_credentials.cc",
1499 "src/core/lib/security/credentials/plugin/plugin_credentials.cc",
1500 "src/core/lib/security/credentials/ssl/ssl_credentials.cc",
Yihua Zhangeaf64862018-03-06 21:40:45 -08001501 "src/core/lib/security/security_connector/alts_security_connector.cc",
Yihua Zhangc5f1eda2018-07-02 13:29:27 -07001502 "src/core/lib/security/security_connector/local_security_connector.cc",
Yihua Zhang75f0a9f2018-02-20 10:09:47 -08001503 "src/core/lib/security/security_connector/security_connector.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001504 "src/core/lib/security/transport/client_auth_filter.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001505 "src/core/lib/security/transport/secure_endpoint.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001506 "src/core/lib/security/transport/security_handshaker.cc",
1507 "src/core/lib/security/transport/server_auth_filter.cc",
Mark D. Roth3e7f2df2018-02-26 13:17:06 -08001508 "src/core/lib/security/transport/target_authority_table.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001509 "src/core/lib/security/transport/tsi_error.cc",
1510 "src/core/lib/security/util/json_util.cc",
1511 "src/core/lib/surface/init_secure.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001512 ],
1513 hdrs = [
Yihua Zhang392dad72018-05-03 20:12:20 -07001514 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001515 "src/core/lib/security/context/security_context.h",
David Garcia Quintasc7c0d692018-03-10 17:27:15 -08001516 "src/core/lib/security/credentials/alts/alts_credentials.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001517 "src/core/lib/security/credentials/composite/composite_credentials.h",
1518 "src/core/lib/security/credentials/credentials.h",
1519 "src/core/lib/security/credentials/fake/fake_credentials.h",
1520 "src/core/lib/security/credentials/google_default/google_default_credentials.h",
1521 "src/core/lib/security/credentials/iam/iam_credentials.h",
1522 "src/core/lib/security/credentials/jwt/json_token.h",
1523 "src/core/lib/security/credentials/jwt/jwt_credentials.h",
1524 "src/core/lib/security/credentials/jwt/jwt_verifier.h",
Yihua Zhangc5f1eda2018-07-02 13:29:27 -07001525 "src/core/lib/security/credentials/local/local_credentials.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001526 "src/core/lib/security/credentials/oauth2/oauth2_credentials.h",
1527 "src/core/lib/security/credentials/plugin/plugin_credentials.h",
1528 "src/core/lib/security/credentials/ssl/ssl_credentials.h",
Yihua Zhangeaf64862018-03-06 21:40:45 -08001529 "src/core/lib/security/security_connector/alts_security_connector.h",
Yihua Zhangc5f1eda2018-07-02 13:29:27 -07001530 "src/core/lib/security/security_connector/local_security_connector.h",
Yihua Zhang75f0a9f2018-02-20 10:09:47 -08001531 "src/core/lib/security/security_connector/security_connector.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001532 "src/core/lib/security/transport/auth_filters.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001533 "src/core/lib/security/transport/secure_endpoint.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001534 "src/core/lib/security/transport/security_handshaker.h",
Mark D. Roth3e7f2df2018-02-26 13:17:06 -08001535 "src/core/lib/security/transport/target_authority_table.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001536 "src/core/lib/security/transport/tsi_error.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001537 "src/core/lib/security/util/json_util.h",
1538 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001539 language = "c++",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +02001540 public_hdrs = GRPC_SECURE_PUBLIC_HDRS,
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001541 deps = [
Yihua Zhangeaf64862018-03-06 21:40:45 -08001542 "alts_util",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001543 "grpc_base",
1544 "grpc_transport_chttp2_alpn",
1545 "tsi",
1546 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001547)
1548
1549grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001550 name = "grpc_transport_chttp2",
1551 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001552 "src/core/ext/transport/chttp2/transport/bin_decoder.cc",
1553 "src/core/ext/transport/chttp2/transport/bin_encoder.cc",
1554 "src/core/ext/transport/chttp2/transport/chttp2_plugin.cc",
1555 "src/core/ext/transport/chttp2/transport/chttp2_transport.cc",
1556 "src/core/ext/transport/chttp2/transport/flow_control.cc",
1557 "src/core/ext/transport/chttp2/transport/frame_data.cc",
1558 "src/core/ext/transport/chttp2/transport/frame_goaway.cc",
1559 "src/core/ext/transport/chttp2/transport/frame_ping.cc",
1560 "src/core/ext/transport/chttp2/transport/frame_rst_stream.cc",
1561 "src/core/ext/transport/chttp2/transport/frame_settings.cc",
1562 "src/core/ext/transport/chttp2/transport/frame_window_update.cc",
1563 "src/core/ext/transport/chttp2/transport/hpack_encoder.cc",
1564 "src/core/ext/transport/chttp2/transport/hpack_parser.cc",
1565 "src/core/ext/transport/chttp2/transport/hpack_table.cc",
1566 "src/core/ext/transport/chttp2/transport/http2_settings.cc",
1567 "src/core/ext/transport/chttp2/transport/huffsyms.cc",
1568 "src/core/ext/transport/chttp2/transport/incoming_metadata.cc",
1569 "src/core/ext/transport/chttp2/transport/parsing.cc",
1570 "src/core/ext/transport/chttp2/transport/stream_lists.cc",
1571 "src/core/ext/transport/chttp2/transport/stream_map.cc",
1572 "src/core/ext/transport/chttp2/transport/varint.cc",
1573 "src/core/ext/transport/chttp2/transport/writing.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001574 ],
1575 hdrs = [
1576 "src/core/ext/transport/chttp2/transport/bin_decoder.h",
1577 "src/core/ext/transport/chttp2/transport/bin_encoder.h",
1578 "src/core/ext/transport/chttp2/transport/chttp2_transport.h",
Craig Tiller32736482017-10-12 22:02:28 -07001579 "src/core/ext/transport/chttp2/transport/flow_control.h",
Vijay Pai89125422017-11-22 10:22:28 -08001580 "src/core/ext/transport/chttp2/transport/frame.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001581 "src/core/ext/transport/chttp2/transport/frame_data.h",
1582 "src/core/ext/transport/chttp2/transport/frame_goaway.h",
1583 "src/core/ext/transport/chttp2/transport/frame_ping.h",
1584 "src/core/ext/transport/chttp2/transport/frame_rst_stream.h",
1585 "src/core/ext/transport/chttp2/transport/frame_settings.h",
1586 "src/core/ext/transport/chttp2/transport/frame_window_update.h",
1587 "src/core/ext/transport/chttp2/transport/hpack_encoder.h",
1588 "src/core/ext/transport/chttp2/transport/hpack_parser.h",
1589 "src/core/ext/transport/chttp2/transport/hpack_table.h",
murgatroid99a41fd5b2017-04-13 09:56:17 -07001590 "src/core/ext/transport/chttp2/transport/http2_settings.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001591 "src/core/ext/transport/chttp2/transport/huffsyms.h",
1592 "src/core/ext/transport/chttp2/transport/incoming_metadata.h",
1593 "src/core/ext/transport/chttp2/transport/internal.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001594 "src/core/ext/transport/chttp2/transport/stream_map.h",
1595 "src/core/ext/transport/chttp2/transport/varint.h",
1596 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001597 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001598 deps = [
Vijay Pai756caa72018-03-01 12:38:16 -08001599 "gpr_base",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001600 "grpc_base",
Craig Tilleraf767432017-04-03 13:54:31 -07001601 "grpc_http_filters",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001602 "grpc_transport_chttp2_alpn",
1603 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001604)
1605
1606grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001607 name = "grpc_transport_chttp2_alpn",
1608 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001609 "src/core/ext/transport/chttp2/alpn/alpn.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001610 ],
1611 hdrs = [
1612 "src/core/ext/transport/chttp2/alpn/alpn.h",
1613 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001614 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001615 deps = [
1616 "gpr",
1617 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001618)
1619
1620grpc_cc_library(
David Garcia Quintas01291502017-02-07 13:26:41 -08001621 name = "grpc_transport_chttp2_client_connector",
1622 srcs = [
David Garcia Quintas49f625f2018-03-27 11:23:49 -07001623 "src/core/ext/transport/chttp2/client/authority.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001624 "src/core/ext/transport/chttp2/client/chttp2_connector.cc",
David Garcia Quintas01291502017-02-07 13:26:41 -08001625 ],
1626 hdrs = [
David Garcia Quintas49f625f2018-03-27 11:23:49 -07001627 "src/core/ext/transport/chttp2/client/authority.h",
David Garcia Quintas01291502017-02-07 13:26:41 -08001628 "src/core/ext/transport/chttp2/client/chttp2_connector.h",
1629 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001630 language = "c++",
David Garcia Quintas01291502017-02-07 13:26:41 -08001631 deps = [
1632 "grpc_base",
1633 "grpc_client_channel",
1634 "grpc_transport_chttp2",
1635 ],
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +02001636)
1637
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001638grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001639 name = "grpc_transport_chttp2_client_insecure",
1640 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001641 "src/core/ext/transport/chttp2/client/insecure/channel_create.cc",
1642 "src/core/ext/transport/chttp2/client/insecure/channel_create_posix.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001643 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001644 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001645 deps = [
1646 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001647 "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001648 "grpc_transport_chttp2",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001649 "grpc_transport_chttp2_client_connector",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001650 ],
Makarand Dharmapurikar38d80552016-06-01 15:02:04 -07001651)
1652
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001653grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001654 name = "grpc_transport_chttp2_client_secure",
1655 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001656 "src/core/ext/transport/chttp2/client/secure/secure_channel_create.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001657 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001658 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001659 deps = [
1660 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001661 "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001662 "grpc_secure",
1663 "grpc_transport_chttp2",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001664 "grpc_transport_chttp2_client_connector",
1665 ],
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001666)
1667
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001668grpc_cc_library(
1669 name = "grpc_transport_chttp2_server",
1670 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001671 "src/core/ext/transport/chttp2/server/chttp2_server.cc",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001672 ],
1673 hdrs = [
1674 "src/core/ext/transport/chttp2/server/chttp2_server.h",
1675 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001676 language = "c++",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001677 deps = [
1678 "grpc_base",
1679 "grpc_transport_chttp2",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001680 ],
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001681)
1682
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001683grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001684 name = "grpc_transport_chttp2_server_insecure",
1685 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001686 "src/core/ext/transport/chttp2/server/insecure/server_chttp2.cc",
1687 "src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001688 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001689 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001690 deps = [
1691 "grpc_base",
1692 "grpc_transport_chttp2",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001693 "grpc_transport_chttp2_server",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001694 ],
Garrett Casto931a26b2016-10-04 09:18:29 -07001695)
1696
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001697grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001698 name = "grpc_transport_chttp2_server_secure",
1699 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001700 "src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001701 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001702 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001703 deps = [
1704 "grpc_base",
1705 "grpc_secure",
1706 "grpc_transport_chttp2",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001707 "grpc_transport_chttp2_server",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001708 ],
Yuchen Zengc84ed682016-05-04 16:30:11 -07001709)
1710
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001711grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001712 name = "grpc_transport_cronet_client_secure",
1713 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001714 "src/core/ext/transport/cronet/client/secure/cronet_channel_create.cc",
1715 "src/core/ext/transport/cronet/transport/cronet_api_dummy.cc",
1716 "src/core/ext/transport/cronet/transport/cronet_transport.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001717 ],
1718 hdrs = [
Muxi Yan0a2fae92017-02-01 14:49:03 -08001719 "src/core/ext/transport/cronet/transport/cronet_transport.h",
Sree Kuchibhotla43bca1b2017-02-22 16:37:27 -08001720 "third_party/objective_c/Cronet/bidirectional_stream_c.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001721 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001722 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001723 public_hdrs = [
1724 "include/grpc/grpc_cronet.h",
1725 "include/grpc/grpc_security.h",
1726 "include/grpc/grpc_security_constants.h",
1727 ],
1728 deps = [
1729 "grpc_base",
1730 "grpc_transport_chttp2",
1731 ],
Craig Tiller03915e52016-04-07 09:15:10 -07001732)
1733
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001734grpc_cc_library(
Vijay Pai3d7d5f42017-05-04 10:02:24 -07001735 name = "grpc_transport_inproc",
1736 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001737 "src/core/ext/transport/inproc/inproc_plugin.cc",
1738 "src/core/ext/transport/inproc/inproc_transport.cc",
Vijay Pai3d7d5f42017-05-04 10:02:24 -07001739 ],
1740 hdrs = [
1741 "src/core/ext/transport/inproc/inproc_transport.h",
1742 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001743 language = "c++",
Vijay Pai3d7d5f42017-05-04 10:02:24 -07001744 deps = [
1745 "grpc_base",
1746 ],
1747)
1748
1749grpc_cc_library(
jiangtaoli201625d6fd82017-08-09 11:15:04 -07001750 name = "tsi_interface",
1751 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001752 "src/core/tsi/transport_security.cc",
jiangtaoli201625d6fd82017-08-09 11:15:04 -07001753 ],
1754 hdrs = [
1755 "src/core/tsi/transport_security.h",
jiangtaoli201625d6fd82017-08-09 11:15:04 -07001756 "src/core/tsi/transport_security_interface.h",
1757 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001758 language = "c++",
jiangtaoli201625d6fd82017-08-09 11:15:04 -07001759 deps = [
1760 "gpr",
1761 "grpc_trace",
1762 ],
1763)
1764
1765grpc_cc_library(
Yihua Zhangeaf64862018-03-06 21:40:45 -08001766 name = "alts_frame_protector",
1767 srcs = [
1768 "src/core/tsi/alts/crypt/aes_gcm.cc",
1769 "src/core/tsi/alts/crypt/gsec.cc",
1770 "src/core/tsi/alts/frame_protector/alts_counter.cc",
1771 "src/core/tsi/alts/frame_protector/alts_crypter.cc",
1772 "src/core/tsi/alts/frame_protector/alts_frame_protector.cc",
1773 "src/core/tsi/alts/frame_protector/alts_record_protocol_crypter_common.cc",
1774 "src/core/tsi/alts/frame_protector/alts_seal_privacy_integrity_crypter.cc",
1775 "src/core/tsi/alts/frame_protector/alts_unseal_privacy_integrity_crypter.cc",
1776 "src/core/tsi/alts/frame_protector/frame_handler.cc",
1777 "src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_integrity_only_record_protocol.cc",
1778 "src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_privacy_integrity_record_protocol.cc",
1779 "src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_record_protocol_common.cc",
1780 "src/core/tsi/alts/zero_copy_frame_protector/alts_iovec_record_protocol.cc",
1781 "src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.cc",
1782 ],
1783 hdrs = [
1784 "src/core/tsi/alts/crypt/gsec.h",
1785 "src/core/tsi/alts/frame_protector/alts_counter.h",
1786 "src/core/tsi/alts/frame_protector/alts_crypter.h",
1787 "src/core/tsi/alts/frame_protector/alts_frame_protector.h",
1788 "src/core/tsi/alts/frame_protector/alts_record_protocol_crypter_common.h",
1789 "src/core/tsi/alts/frame_protector/frame_handler.h",
1790 "src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_integrity_only_record_protocol.h",
1791 "src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_privacy_integrity_record_protocol.h",
Yihua Zhangeaf64862018-03-06 21:40:45 -08001792 "src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_record_protocol.h",
David Garcia Quintasc7c0d692018-03-10 17:27:15 -08001793 "src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_record_protocol_common.h",
Yihua Zhangeaf64862018-03-06 21:40:45 -08001794 "src/core/tsi/alts/zero_copy_frame_protector/alts_iovec_record_protocol.h",
1795 "src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.h",
1796 "src/core/tsi/transport_security_grpc.h",
1797 ],
1798 external_deps = [
1799 "libssl",
1800 ],
1801 language = "c++",
1802 deps = [
1803 "gpr",
1804 "grpc_base",
1805 "tsi_interface",
1806 ],
1807)
1808
1809grpc_cc_library(
1810 name = "alts_proto",
1811 srcs = [
1812 "src/core/tsi/alts/handshaker/altscontext.pb.c",
1813 "src/core/tsi/alts/handshaker/handshaker.pb.c",
1814 "src/core/tsi/alts/handshaker/transport_security_common.pb.c",
1815 ],
1816 hdrs = [
1817 "src/core/tsi/alts/handshaker/altscontext.pb.h",
1818 "src/core/tsi/alts/handshaker/handshaker.pb.h",
1819 "src/core/tsi/alts/handshaker/transport_security_common.pb.h",
1820 ],
1821 external_deps = [
1822 "nanopb",
1823 ],
1824 language = "c++",
1825)
1826
1827grpc_cc_library(
1828 name = "alts_util",
1829 srcs = [
1830 "src/core/lib/security/credentials/alts/check_gcp_environment.cc",
1831 "src/core/lib/security/credentials/alts/check_gcp_environment_linux.cc",
1832 "src/core/lib/security/credentials/alts/check_gcp_environment_no_op.cc",
1833 "src/core/lib/security/credentials/alts/check_gcp_environment_windows.cc",
1834 "src/core/lib/security/credentials/alts/grpc_alts_credentials_client_options.cc",
1835 "src/core/lib/security/credentials/alts/grpc_alts_credentials_options.cc",
1836 "src/core/lib/security/credentials/alts/grpc_alts_credentials_server_options.cc",
1837 "src/core/tsi/alts/handshaker/alts_handshaker_service_api.cc",
1838 "src/core/tsi/alts/handshaker/alts_handshaker_service_api_util.cc",
1839 "src/core/tsi/alts/handshaker/transport_security_common_api.cc",
1840 ],
1841 hdrs = [
1842 "src/core/lib/security/credentials/alts/check_gcp_environment.h",
1843 "src/core/lib/security/credentials/alts/grpc_alts_credentials_options.h",
1844 "src/core/tsi/alts/handshaker/alts_handshaker_service_api.h",
1845 "src/core/tsi/alts/handshaker/alts_handshaker_service_api_util.h",
1846 "src/core/tsi/alts/handshaker/transport_security_common_api.h",
1847 ],
1848 external_deps = [
1849 "nanopb",
1850 ],
1851 language = "c++",
Juanli Shen291bbc72018-06-21 13:02:40 -07001852 public_hdrs = GRPC_SECURE_PUBLIC_HDRS,
Yihua Zhangeaf64862018-03-06 21:40:45 -08001853 deps = [
David Garcia Quintasc7c0d692018-03-10 17:27:15 -08001854 "alts_proto",
1855 "gpr",
1856 "grpc_base",
Yihua Zhangeaf64862018-03-06 21:40:45 -08001857 ],
1858)
1859
1860grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001861 name = "tsi",
1862 srcs = [
Yihua Zhangeaf64862018-03-06 21:40:45 -08001863 "src/core/tsi/alts/handshaker/alts_handshaker_client.cc",
1864 "src/core/tsi/alts/handshaker/alts_tsi_event.cc",
1865 "src/core/tsi/alts/handshaker/alts_tsi_handshaker.cc",
1866 "src/core/tsi/alts/handshaker/alts_tsi_utils.cc",
David Garcia Quintasc7c0d692018-03-10 17:27:15 -08001867 "src/core/tsi/alts_transport_security.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001868 "src/core/tsi/fake_transport_security.cc",
Yihua Zhangc5f1eda2018-07-02 13:29:27 -07001869 "src/core/tsi/local_transport_security.cc",
Ruslan Nigmatullin7ae37332018-02-21 16:44:35 -08001870 "src/core/tsi/ssl/session_cache/ssl_session_boringssl.cc",
1871 "src/core/tsi/ssl/session_cache/ssl_session_cache.cc",
1872 "src/core/tsi/ssl/session_cache/ssl_session_openssl.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001873 "src/core/tsi/ssl_transport_security.cc",
1874 "src/core/tsi/transport_security_grpc.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001875 ],
1876 hdrs = [
Yihua Zhangeaf64862018-03-06 21:40:45 -08001877 "src/core/tsi/alts/handshaker/alts_handshaker_client.h",
1878 "src/core/tsi/alts/handshaker/alts_tsi_event.h",
1879 "src/core/tsi/alts/handshaker/alts_tsi_handshaker.h",
1880 "src/core/tsi/alts/handshaker/alts_tsi_handshaker_private.h",
1881 "src/core/tsi/alts/handshaker/alts_tsi_utils.h",
David Garcia Quintasc7c0d692018-03-10 17:27:15 -08001882 "src/core/tsi/alts_transport_security.h",
Yihua Zhangc5f1eda2018-07-02 13:29:27 -07001883 "src/core/tsi/local_transport_security.h",
Craig Tiller134fed32017-03-28 14:27:18 -07001884 "src/core/tsi/fake_transport_security.h",
Ruslan Nigmatullin7ae37332018-02-21 16:44:35 -08001885 "src/core/tsi/ssl/session_cache/ssl_session.h",
1886 "src/core/tsi/ssl/session_cache/ssl_session_cache.h",
Craig Tiller134fed32017-03-28 14:27:18 -07001887 "src/core/tsi/ssl_transport_security.h",
1888 "src/core/tsi/ssl_types.h",
Jiangtao Li0211cfb2017-08-07 11:24:07 -07001889 "src/core/tsi/transport_security_grpc.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001890 ],
1891 external_deps = [
1892 "libssl",
1893 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001894 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001895 deps = [
Yihua Zhangeaf64862018-03-06 21:40:45 -08001896 "alts_frame_protector",
1897 "alts_util",
1898 "gpr",
Yihua Zhang1435bfc2017-07-17 11:20:51 -07001899 "grpc_base",
Yihua Zhangeaf64862018-03-06 21:40:45 -08001900 "grpc_transport_chttp2_client_insecure",
jiangtaoli201625d6fd82017-08-09 11:15:04 -07001901 "tsi_interface",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001902 ],
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001903)
1904
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001905grpc_cc_library(
1906 name = "grpc++_base",
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001907 srcs = GRPCXX_SRCS,
Stanley Cheungebeda852017-05-17 19:34:47 -07001908 hdrs = GRPCXX_HDRS,
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001909 language = "c++",
Stanley Cheungebeda852017-05-17 19:34:47 -07001910 public_hdrs = GRPCXX_PUBLIC_HDRS,
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001911 deps = [
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001912 "grpc",
Stanley Cheungebeda852017-05-17 19:34:47 -07001913 "grpc++_codegen_base",
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001914 ],
1915)
1916
1917grpc_cc_library(
1918 name = "grpc++_base_unsecure",
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001919 srcs = GRPCXX_SRCS,
Stanley Cheungebeda852017-05-17 19:34:47 -07001920 hdrs = GRPCXX_HDRS,
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001921 language = "c++",
Stanley Cheungebeda852017-05-17 19:34:47 -07001922 public_hdrs = GRPCXX_PUBLIC_HDRS,
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001923 deps = [
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001924 "grpc++_codegen_base",
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001925 "grpc_unsecure",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001926 ],
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001927)
1928
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001929grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001930 name = "grpc++_codegen_base",
1931 language = "c++",
1932 public_hdrs = [
1933 "include/grpc++/impl/codegen/async_stream.h",
1934 "include/grpc++/impl/codegen/async_unary_call.h",
Vijay Paiefce6e12017-09-14 09:07:50 -07001935 "include/grpc++/impl/codegen/byte_buffer.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001936 "include/grpc++/impl/codegen/call.h",
1937 "include/grpc++/impl/codegen/call_hook.h",
1938 "include/grpc++/impl/codegen/channel_interface.h",
1939 "include/grpc++/impl/codegen/client_context.h",
1940 "include/grpc++/impl/codegen/client_unary_call.h",
1941 "include/grpc++/impl/codegen/completion_queue.h",
1942 "include/grpc++/impl/codegen/completion_queue_tag.h",
1943 "include/grpc++/impl/codegen/config.h",
1944 "include/grpc++/impl/codegen/core_codegen_interface.h",
1945 "include/grpc++/impl/codegen/create_auth_context.h",
1946 "include/grpc++/impl/codegen/grpc_library.h",
yang-g988b47c2017-01-31 09:51:45 -08001947 "include/grpc++/impl/codegen/metadata_map.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001948 "include/grpc++/impl/codegen/method_handler_impl.h",
1949 "include/grpc++/impl/codegen/rpc_method.h",
1950 "include/grpc++/impl/codegen/rpc_service_method.h",
1951 "include/grpc++/impl/codegen/security/auth_context.h",
1952 "include/grpc++/impl/codegen/serialization_traits.h",
1953 "include/grpc++/impl/codegen/server_context.h",
1954 "include/grpc++/impl/codegen/server_interface.h",
1955 "include/grpc++/impl/codegen/service_type.h",
yang-g988b47c2017-01-31 09:51:45 -08001956 "include/grpc++/impl/codegen/slice.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001957 "include/grpc++/impl/codegen/status.h",
1958 "include/grpc++/impl/codegen/status_code_enum.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001959 "include/grpc++/impl/codegen/string_ref.h",
1960 "include/grpc++/impl/codegen/stub_options.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001961 "include/grpc++/impl/codegen/sync_stream.h",
1962 "include/grpc++/impl/codegen/time.h",
ncteisen93a90e62018-06-18 18:39:56 -07001963 "include/grpcpp/impl/codegen/async_generic_service.h",
Muxi Yan0e00c432018-01-26 15:39:32 -08001964 "include/grpcpp/impl/codegen/async_stream.h",
1965 "include/grpcpp/impl/codegen/async_unary_call.h",
1966 "include/grpcpp/impl/codegen/byte_buffer.h",
1967 "include/grpcpp/impl/codegen/call.h",
1968 "include/grpcpp/impl/codegen/call_hook.h",
1969 "include/grpcpp/impl/codegen/channel_interface.h",
1970 "include/grpcpp/impl/codegen/client_context.h",
1971 "include/grpcpp/impl/codegen/client_unary_call.h",
1972 "include/grpcpp/impl/codegen/completion_queue.h",
1973 "include/grpcpp/impl/codegen/completion_queue_tag.h",
1974 "include/grpcpp/impl/codegen/config.h",
1975 "include/grpcpp/impl/codegen/core_codegen_interface.h",
1976 "include/grpcpp/impl/codegen/create_auth_context.h",
1977 "include/grpcpp/impl/codegen/grpc_library.h",
1978 "include/grpcpp/impl/codegen/metadata_map.h",
1979 "include/grpcpp/impl/codegen/method_handler_impl.h",
1980 "include/grpcpp/impl/codegen/rpc_method.h",
1981 "include/grpcpp/impl/codegen/rpc_service_method.h",
1982 "include/grpcpp/impl/codegen/security/auth_context.h",
1983 "include/grpcpp/impl/codegen/serialization_traits.h",
1984 "include/grpcpp/impl/codegen/server_context.h",
1985 "include/grpcpp/impl/codegen/server_interface.h",
1986 "include/grpcpp/impl/codegen/service_type.h",
1987 "include/grpcpp/impl/codegen/slice.h",
1988 "include/grpcpp/impl/codegen/status.h",
1989 "include/grpcpp/impl/codegen/status_code_enum.h",
1990 "include/grpcpp/impl/codegen/string_ref.h",
1991 "include/grpcpp/impl/codegen/stub_options.h",
1992 "include/grpcpp/impl/codegen/sync_stream.h",
1993 "include/grpcpp/impl/codegen/time.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001994 ],
1995 deps = [
1996 "grpc_codegen",
1997 ],
Craig Tillerda179ce2016-02-09 12:01:53 -08001998)
1999
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02002000grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02002001 name = "grpc++_codegen_base_src",
2002 srcs = [
2003 "src/cpp/codegen/codegen_init.cc",
2004 ],
2005 language = "c++",
2006 deps = [
2007 "grpc++_codegen_base",
2008 ],
Jorge Canizales140bca82015-06-20 09:47:00 -07002009)
2010
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02002011grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02002012 name = "grpc++_codegen_proto",
2013 language = "c++",
2014 public_hdrs = [
2015 "include/grpc++/impl/codegen/proto_utils.h",
ncteisencf5b2662018-02-27 11:55:10 -08002016 "include/grpcpp/impl/codegen/proto_buffer_reader.h",
2017 "include/grpcpp/impl/codegen/proto_buffer_writer.h",
Muxi Yan0e00c432018-01-26 15:39:32 -08002018 "include/grpcpp/impl/codegen/proto_utils.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02002019 ],
2020 deps = [
2021 "grpc++_codegen_base",
2022 "grpc++_config_proto",
2023 ],
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07002024)
2025
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02002026grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02002027 name = "grpc++_config_proto",
David Garcia Quintas5481a582017-02-14 16:11:42 -08002028 external_deps = [
Vijay Paidc7c50e2017-11-03 14:46:42 -07002029 "protobuf_headers",
David Garcia Quintas5481a582017-02-14 16:11:42 -08002030 ],
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02002031 language = "c++",
2032 public_hdrs = [
2033 "include/grpc++/impl/codegen/config_protobuf.h",
Muxi Yan0e00c432018-01-26 15:39:32 -08002034 "include/grpcpp/impl/codegen/config_protobuf.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02002035 ],
Jan Tattermusch2d924952015-05-06 10:23:17 -07002036)
2037
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02002038grpc_cc_library(
Sree Kuchibhotla43bca1b2017-02-22 16:37:27 -08002039 name = "grpc++_reflection",
2040 srcs = [
2041 "src/cpp/ext/proto_server_reflection.cc",
2042 "src/cpp/ext/proto_server_reflection_plugin.cc",
2043 ],
2044 hdrs = [
2045 "src/cpp/ext/proto_server_reflection.h",
2046 ],
2047 language = "c++",
2048 public_hdrs = [
2049 "include/grpc++/ext/proto_server_reflection_plugin.h",
Muxi Yan0e00c432018-01-26 15:39:32 -08002050 "include/grpcpp/ext/proto_server_reflection_plugin.h",
Sree Kuchibhotla43bca1b2017-02-22 16:37:27 -08002051 ],
2052 deps = [
2053 ":grpc++",
2054 "//src/proto/grpc/reflection/v1alpha:reflection_proto",
2055 ],
Ian Coolidge13213412017-06-27 21:49:44 -07002056 alwayslink = 1,
Sree Kuchibhotla43bca1b2017-02-22 16:37:27 -08002057)
Nicolas "Pixel" Noble2b0f0012017-04-24 19:59:19 +02002058
Nicolas "Pixel" Noble0885f982017-05-12 21:10:55 +02002059grpc_cc_library(
ncteisenc1945282018-07-16 22:24:53 -07002060 name = "grpcpp_channelz",
2061 srcs = [
2062 "src/cpp/server/channelz/channelz_service.cc",
2063 "src/cpp/server/channelz/channelz_service_plugin.cc",
2064 ],
2065 hdrs = [
2066 "src/cpp/server/channelz/channelz_service.h",
ncteisenc1945282018-07-16 22:24:53 -07002067 ],
2068 language = "c++",
ncteisen18a9d7d2018-07-20 09:29:05 -07002069 public_hdrs = [
2070 "include/grpcpp/ext/channelz_service_plugin.h",
2071 ],
ncteisenc1945282018-07-16 22:24:53 -07002072 deps = [
2073 ":grpc++",
2074 "//src/proto/grpc/channelz:channelz_proto",
2075 ],
2076 alwayslink = 1,
2077)
2078
2079grpc_cc_library(
Nicolas "Pixel" Noble0885f982017-05-12 21:10:55 +02002080 name = "grpc++_test",
2081 public_hdrs = [
2082 "include/grpc++/test/mock_stream.h",
2083 "include/grpc++/test/server_context_test_spouse.h",
Muxi Yan0e00c432018-01-26 15:39:32 -08002084 "include/grpcpp/test/mock_stream.h",
2085 "include/grpcpp/test/server_context_test_spouse.h",
Nicolas "Pixel" Noble0885f982017-05-12 21:10:55 +02002086 ],
2087 deps = [
2088 ":grpc++",
2089 ],
2090)
2091
Muxi Yan2a5bbc12017-05-15 12:03:08 -07002092grpc_cc_library(
2093 name = "grpc_server_backward_compatibility",
2094 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07002095 "src/core/ext/filters/workarounds/workaround_utils.cc",
Muxi Yan2a5bbc12017-05-15 12:03:08 -07002096 ],
2097 hdrs = [
2098 "src/core/ext/filters/workarounds/workaround_utils.h",
2099 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07002100 language = "c++",
Muxi Yan2a5bbc12017-05-15 12:03:08 -07002101 deps = [
2102 "grpc_base",
2103 ],
2104)
2105
Craig Tillere1101cf2017-09-06 09:42:20 -07002106grpc_cc_library(
2107 name = "grpc++_core_stats",
2108 srcs = [
2109 "src/cpp/util/core_stats.cc",
2110 ],
2111 hdrs = [
2112 "src/cpp/util/core_stats.h",
2113 ],
2114 language = "c++",
2115 deps = [
2116 ":grpc++",
2117 "//src/proto/grpc/core:stats_proto",
2118 ],
2119)
2120
Vizerai41e4ced2018-04-13 18:19:21 -07002121grpc_cc_library(
2122 name = "grpc_opencensus_plugin",
2123 srcs = [
Vizerai41e4ced2018-04-13 18:19:21 -07002124 "src/cpp/ext/filters/census/channel_filter.cc",
Juanli Shen291bbc72018-06-21 13:02:40 -07002125 "src/cpp/ext/filters/census/client_filter.cc",
Vizerai41e4ced2018-04-13 18:19:21 -07002126 "src/cpp/ext/filters/census/context.cc",
2127 "src/cpp/ext/filters/census/grpc_context.cc",
2128 "src/cpp/ext/filters/census/grpc_plugin.cc",
2129 "src/cpp/ext/filters/census/measures.cc",
2130 "src/cpp/ext/filters/census/rpc_encoding.cc",
Juanli Shen291bbc72018-06-21 13:02:40 -07002131 "src/cpp/ext/filters/census/server_filter.cc",
Vizerai41e4ced2018-04-13 18:19:21 -07002132 "src/cpp/ext/filters/census/views.cc",
2133 ],
2134 hdrs = [
Vizerai60086792018-05-22 16:03:16 -07002135 "include/grpcpp/opencensus.h",
Vizerai41e4ced2018-04-13 18:19:21 -07002136 "src/cpp/ext/filters/census/channel_filter.h",
Juanli Shen291bbc72018-06-21 13:02:40 -07002137 "src/cpp/ext/filters/census/client_filter.h",
Vizerai41e4ced2018-04-13 18:19:21 -07002138 "src/cpp/ext/filters/census/context.h",
2139 "src/cpp/ext/filters/census/grpc_plugin.h",
2140 "src/cpp/ext/filters/census/measures.h",
2141 "src/cpp/ext/filters/census/rpc_encoding.h",
Juanli Shen291bbc72018-06-21 13:02:40 -07002142 "src/cpp/ext/filters/census/server_filter.h",
Vizerai41e4ced2018-04-13 18:19:21 -07002143 ],
Vizerai41e4ced2018-04-13 18:19:21 -07002144 external_deps = [
2145 "absl-base",
2146 "absl-time",
2147 "opencensus-trace",
2148 "opencensus-stats",
2149 ],
Juanli Shen291bbc72018-06-21 13:02:40 -07002150 language = "c++",
Vizerai41e4ced2018-04-13 18:19:21 -07002151 deps = [
2152 ":census",
2153 ":grpc++",
2154 ],
2155)
2156
Nicolas "Pixel" Noble2b0f0012017-04-24 19:59:19 +02002157grpc_generate_one_off_targets()