blob: db1bdaa9947609a1110dcbbd056250db70ad602a [file] [log] [blame]
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001# gRPC Bazel BUILD file.
Nicolas "Pixel" Noble31d11db2016-10-20 09:29:46 +02002#
Jan Tattermusch7897ae92017-06-07 22:57:36 +02003# Copyright 2016 gRPC authors.
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +02004#
Jan Tattermusch7897ae92017-06-07 22:57:36 +02005# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +02008#
Jan Tattermusch7897ae92017-06-07 22:57:36 +02009# http://www.apache.org/licenses/LICENSE-2.0
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +020010#
Jan Tattermusch7897ae92017-06-07 22:57:36 +020011# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +020016
Jan Tattermusch4d5c3102017-06-07 10:23:56 +020017licenses(["notice"]) # Apache v2
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +020018
Piotr Sikora12e26a72016-08-04 15:32:10 -070019exports_files(["LICENSE"])
20
Nicolas "Pixel" Noble2b0f0012017-04-24 19:59:19 +020021package(
22 default_visibility = ["//visibility:public"],
23 features = [
24 "-layering_check",
25 "-parse_headers",
26 ],
27)
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +020028
Sree Kuchibhotlad4fc32e2017-05-02 14:15:12 -070029load(
30 "//bazel:grpc_build_system.bzl",
31 "grpc_cc_library",
32 "grpc_proto_plugin",
Nicolas "Pixel" Noble057b5382017-05-12 17:02:01 +020033 "grpc_generate_one_off_targets",
Sree Kuchibhotlad4fc32e2017-05-02 14:15:12 -070034)
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +020035
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
Mehrdad Afshari7af3e812018-05-02 22:49:04 -070067g_stands_for = "gloriosa"
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
Mehrdad Afshari7af3e812018-05-02 22:49:04 -070071version = "1.13.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",
Vijay Pai195cf1e2017-11-30 10:56:06 -0800101 "include/grpc/load_reporting.h",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +0200102 "include/grpc/slice.h",
103 "include/grpc/slice_buffer.h",
104 "include/grpc/status.h",
105 "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 = [
Yash Tibrewal139869d2017-09-28 11:28:55 -0700488 "src/core/ext/census/grpc_context.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200489 ],
490 external_deps = [
491 "nanopb",
492 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -0700493 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200494 public_hdrs = [
495 "include/grpc/census.h",
496 ],
497 deps = [
498 "grpc_base",
499 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200500)
501
502grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200503 name = "gpr_base",
504 srcs = [
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800505 "src/core/lib/gpr/alloc.cc",
506 "src/core/lib/gpr/arena.cc",
507 "src/core/lib/gpr/atm.cc",
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800508 "src/core/lib/gpr/cpu_iphone.cc",
509 "src/core/lib/gpr/cpu_linux.cc",
510 "src/core/lib/gpr/cpu_posix.cc",
511 "src/core/lib/gpr/cpu_windows.cc",
512 "src/core/lib/gpr/env_linux.cc",
513 "src/core/lib/gpr/env_posix.cc",
514 "src/core/lib/gpr/env_windows.cc",
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800515 "src/core/lib/gpr/host_port.cc",
516 "src/core/lib/gpr/log.cc",
517 "src/core/lib/gpr/log_android.cc",
518 "src/core/lib/gpr/log_linux.cc",
519 "src/core/lib/gpr/log_posix.cc",
520 "src/core/lib/gpr/log_windows.cc",
521 "src/core/lib/gpr/mpscq.cc",
522 "src/core/lib/gpr/murmur_hash.cc",
523 "src/core/lib/gpr/string.cc",
524 "src/core/lib/gpr/string_posix.cc",
525 "src/core/lib/gpr/string_util_windows.cc",
526 "src/core/lib/gpr/string_windows.cc",
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800527 "src/core/lib/gpr/sync.cc",
528 "src/core/lib/gpr/sync_posix.cc",
529 "src/core/lib/gpr/sync_windows.cc",
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800530 "src/core/lib/gpr/time.cc",
531 "src/core/lib/gpr/time_posix.cc",
532 "src/core/lib/gpr/time_precise.cc",
533 "src/core/lib/gpr/time_windows.cc",
534 "src/core/lib/gpr/tls_pthread.cc",
535 "src/core/lib/gpr/tmpfile_msys.cc",
536 "src/core/lib/gpr/tmpfile_posix.cc",
537 "src/core/lib/gpr/tmpfile_windows.cc",
538 "src/core/lib/gpr/wrap_memcpy.cc",
kpayson64701e70d2018-04-30 17:40:00 -0700539 "src/core/lib/gprpp/fork.cc",
Vijay Pai756caa72018-03-01 12:38:16 -0800540 "src/core/lib/gprpp/thd_posix.cc",
541 "src/core/lib/gprpp/thd_windows.cc",
Vijay Pai239b7d42018-02-08 11:08:41 -0800542 "src/core/lib/profiling/basic_timers.cc",
543 "src/core/lib/profiling/stap_timers.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200544 ],
545 hdrs = [
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800546 "src/core/lib/gpr/arena.h",
547 "src/core/lib/gpr/env.h",
Vijay Paiae376bf2018-01-25 22:54:02 -0800548 "src/core/lib/gpr/host_port.h",
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800549 "src/core/lib/gpr/mpscq.h",
550 "src/core/lib/gpr/murmur_hash.h",
551 "src/core/lib/gpr/spinlock.h",
552 "src/core/lib/gpr/string.h",
553 "src/core/lib/gpr/string_windows.h",
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800554 "src/core/lib/gpr/time_precise.h",
Vijay Paib6cf1232018-01-25 21:02:26 -0800555 "src/core/lib/gpr/tls.h",
556 "src/core/lib/gpr/tls_gcc.h",
557 "src/core/lib/gpr/tls_msvc.h",
558 "src/core/lib/gpr/tls_pthread.h",
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800559 "src/core/lib/gpr/tmpfile.h",
Vijay Pai239b7d42018-02-08 11:08:41 -0800560 "src/core/lib/gpr/useful.h",
Vijay Pai756caa72018-03-01 12:38:16 -0800561 "src/core/lib/gprpp/abstract.h",
kpayson64701e70d2018-04-30 17:40:00 -0700562 "src/core/lib/gprpp/fork.h",
Vijay Pai756caa72018-03-01 12:38:16 -0800563 "src/core/lib/gprpp/manual_constructor.h",
564 "src/core/lib/gprpp/memory.h",
565 "src/core/lib/gprpp/thd.h",
Vijay Pai239b7d42018-02-08 11:08:41 -0800566 "src/core/lib/profiling/timers.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200567 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -0700568 language = "c++",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +0200569 public_hdrs = GPR_PUBLIC_HDRS,
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200570 deps = [
571 "gpr_codegen",
572 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200573)
574
575grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200576 name = "gpr_codegen",
Yash Tibrewal2dcbc102017-10-03 16:23:07 -0700577 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200578 public_hdrs = [
579 "include/grpc/impl/codegen/atm.h",
580 "include/grpc/impl/codegen/atm_gcc_atomic.h",
581 "include/grpc/impl/codegen/atm_gcc_sync.h",
582 "include/grpc/impl/codegen/atm_windows.h",
Ken Payson9714e032017-10-10 11:18:49 -0700583 "include/grpc/impl/codegen/fork.h",
Mark D. Roth348fba22017-01-06 11:07:30 -0800584 "include/grpc/impl/codegen/gpr_slice.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200585 "include/grpc/impl/codegen/gpr_types.h",
586 "include/grpc/impl/codegen/port_platform.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200587 "include/grpc/impl/codegen/sync.h",
yang-g9ff60312017-08-24 09:08:21 -0700588 "include/grpc/impl/codegen/sync_custom.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200589 "include/grpc/impl/codegen/sync_generic.h",
590 "include/grpc/impl/codegen/sync_posix.h",
591 "include/grpc/impl/codegen/sync_windows.h",
592 ],
Craig Tillerda179ce2016-02-09 12:01:53 -0800593)
594
Nicolas "Pixel" Noble31d11db2016-10-20 09:29:46 +0200595grpc_cc_library(
Craig Tiller1f477302017-05-05 11:01:25 -0700596 name = "grpc_trace",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700597 srcs = ["src/core/lib/debug/trace.cc"],
Craig Tiller1f477302017-05-05 11:01:25 -0700598 hdrs = ["src/core/lib/debug/trace.h"],
Yash Tibrewala60c7632017-09-28 16:13:32 -0700599 language = "c++",
Yash Tibrewal12587d52017-10-05 08:53:41 -0700600 public_hdrs = GRPC_PUBLIC_HDRS,
Yash Tibrewalf49ab122017-10-03 18:36:05 -0700601 deps = [
602 "grpc_codegen",
603 ":gpr",
604 ],
Craig Tiller1f477302017-05-05 11:01:25 -0700605)
606
607grpc_cc_library(
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800608 name = "atomic",
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800609 hdrs = [
Mark D. Roth4f2b0fd2018-01-19 12:12:23 -0800610 "src/core/lib/gprpp/atomic_with_atm.h",
611 "src/core/lib/gprpp/atomic_with_std.h",
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800612 ],
Vijay Pai239b7d42018-02-08 11:08:41 -0800613 language = "c++",
614 public_hdrs = [
615 "src/core/lib/gprpp/atomic.h",
616 ],
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800617 deps = [
618 "gpr",
619 ],
620)
621
622grpc_cc_library(
623 name = "inlined_vector",
624 language = "c++",
625 public_hdrs = [
Mark D. Roth4f2b0fd2018-01-19 12:12:23 -0800626 "src/core/lib/gprpp/inlined_vector.h",
627 ],
628 deps = [
Vijay Pai756caa72018-03-01 12:38:16 -0800629 "gpr_base",
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800630 ],
631)
632
633grpc_cc_library(
Mark D. Roth70db6632017-11-27 14:53:26 -0800634 name = "debug_location",
Mark D. Roth70db6632017-11-27 14:53:26 -0800635 language = "c++",
Mark D. Roth4f2b0fd2018-01-19 12:12:23 -0800636 public_hdrs = ["src/core/lib/gprpp/debug_location.h"],
Mark D. Roth70db6632017-11-27 14:53:26 -0800637)
638
639grpc_cc_library(
Mark D. Roth324703d2018-01-11 07:41:31 -0800640 name = "orphanable",
Mark D. Roth324703d2018-01-11 07:41:31 -0800641 language = "c++",
Mark D. Roth4f2b0fd2018-01-19 12:12:23 -0800642 public_hdrs = ["src/core/lib/gprpp/orphanable.h"],
Mark D. Roth324703d2018-01-11 07:41:31 -0800643 deps = [
Mark D. Roth324703d2018-01-11 07:41:31 -0800644 "debug_location",
Vijay Pai756caa72018-03-01 12:38:16 -0800645 "gpr_base",
David Garcia Quintas41d27e12018-01-17 10:38:53 -0800646 "grpc_trace",
Vijay Pai239b7d42018-02-08 11:08:41 -0800647 "ref_counted_ptr",
Mark D. Roth324703d2018-01-11 07:41:31 -0800648 ],
Mark D. Roth70db6632017-11-27 14:53:26 -0800649)
650
651grpc_cc_library(
Mark D. Rothbf816d32017-11-29 11:25:34 -0800652 name = "ref_counted",
Mark D. Roth70db6632017-11-27 14:53:26 -0800653 language = "c++",
Mark D. Roth4f2b0fd2018-01-19 12:12:23 -0800654 public_hdrs = ["src/core/lib/gprpp/ref_counted.h"],
Mark D. Roth70db6632017-11-27 14:53:26 -0800655 deps = [
Mark D. Roth70db6632017-11-27 14:53:26 -0800656 "debug_location",
Vijay Pai756caa72018-03-01 12:38:16 -0800657 "gpr_base",
David Garcia Quintas53bfe692018-01-04 16:39:08 -0800658 "grpc_trace",
Vijay Pai239b7d42018-02-08 11:08:41 -0800659 "ref_counted_ptr",
Mark D. Roth70db6632017-11-27 14:53:26 -0800660 ],
661)
662
663grpc_cc_library(
Mark D. Rothbf816d32017-11-29 11:25:34 -0800664 name = "ref_counted_ptr",
Mark D. Rothcf9ca842017-11-28 08:24:35 -0800665 language = "c++",
Mark D. Roth4f2b0fd2018-01-19 12:12:23 -0800666 public_hdrs = ["src/core/lib/gprpp/ref_counted_ptr.h"],
667 deps = [
Vijay Pai756caa72018-03-01 12:38:16 -0800668 "gpr_base",
Mark D. Roth4f2b0fd2018-01-19 12:12:23 -0800669 ],
Mark D. Rothcf9ca842017-11-28 08:24:35 -0800670)
671
672grpc_cc_library(
Craig Tiller832c6072017-05-11 14:38:05 -0700673 name = "grpc_base_c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200674 srcs = [
Vijay Pai8f4fbb12018-02-08 10:04:08 -0800675 "src/core/lib/avl/avl.cc",
Craig Tillere1a2b4a2017-10-05 11:07:14 -0700676 "src/core/lib/backoff/backoff.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700677 "src/core/lib/channel/channel_args.cc",
678 "src/core/lib/channel/channel_stack.cc",
679 "src/core/lib/channel/channel_stack_builder.cc",
ncteisen3b42f832018-03-19 13:22:35 -0700680 "src/core/lib/channel/channel_trace.cc",
ncteisenbba88402018-05-11 11:54:41 -0400681 "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",
ncteisenbba88402018-05-11 11:54:41 -0400828 "src/core/lib/channel/channelz_registry.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200829 "src/core/lib/channel/connected_channel.h",
830 "src/core/lib/channel/context.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200831 "src/core/lib/channel/handshaker.h",
Mark D. Roth1f0f23c2017-01-06 13:07:19 -0800832 "src/core/lib/channel/handshaker_factory.h",
833 "src/core/lib/channel/handshaker_registry.h",
David Garcia Quintasfa460dc2018-03-23 14:51:41 -0700834 "src/core/lib/channel/status_util.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200835 "src/core/lib/compression/algorithm_metadata.h",
Muxi Yane6d888d2017-09-14 09:42:56 -0700836 "src/core/lib/compression/compression_internal.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200837 "src/core/lib/compression/message_compress.h",
Muxi Yan1e9bdb52017-07-14 10:14:02 -0700838 "src/core/lib/compression/stream_compression.h",
Muxi Yan9cd90f42017-09-07 09:51:13 -0700839 "src/core/lib/compression/stream_compression_gzip.h",
840 "src/core/lib/compression/stream_compression_identity.h",
David Garcia Quintasb352be02017-09-18 11:55:52 -0700841 "src/core/lib/debug/stats.h",
842 "src/core/lib/debug/stats_data.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200843 "src/core/lib/http/format_request.h",
844 "src/core/lib/http/httpcli.h",
845 "src/core/lib/http/parser.h",
Vijay Pai89125422017-11-22 10:22:28 -0800846 "src/core/lib/iomgr/block_annotate.h",
Mark D. Roth764cf042017-09-01 09:00:06 -0700847 "src/core/lib/iomgr/call_combiner.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200848 "src/core/lib/iomgr/closure.h",
849 "src/core/lib/iomgr/combiner.h",
850 "src/core/lib/iomgr/endpoint.h",
851 "src/core/lib/iomgr/endpoint_pair.h",
852 "src/core/lib/iomgr/error.h",
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800853 "src/core/lib/iomgr/error_internal.h",
Craig Tiller18545a32017-05-05 17:33:44 +0000854 "src/core/lib/iomgr/ev_epoll1_linux.h",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700855 "src/core/lib/iomgr/ev_epollex_linux.h",
856 "src/core/lib/iomgr/ev_epollsig_linux.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200857 "src/core/lib/iomgr/ev_poll_posix.h",
858 "src/core/lib/iomgr/ev_posix.h",
859 "src/core/lib/iomgr/exec_ctx.h",
860 "src/core/lib/iomgr/executor.h",
Mark D. Rothf9bf4282017-08-03 14:47:23 -0700861 "src/core/lib/iomgr/gethostname.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200862 "src/core/lib/iomgr/iocp_windows.h",
863 "src/core/lib/iomgr/iomgr.h",
kpayson64539f5062018-03-12 19:16:30 -0700864 "src/core/lib/iomgr/iomgr_custom.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200865 "src/core/lib/iomgr/iomgr_internal.h",
866 "src/core/lib/iomgr/iomgr_posix.h",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700867 "src/core/lib/iomgr/is_epollexclusive_available.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200868 "src/core/lib/iomgr/load_file.h",
Jan Tattermusch43713e62017-04-12 09:20:29 +0200869 "src/core/lib/iomgr/lockfree_event.h",
Yuchen Zeng2d6ce742017-07-28 15:21:01 -0700870 "src/core/lib/iomgr/nameser.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200871 "src/core/lib/iomgr/network_status_tracker.h",
872 "src/core/lib/iomgr/polling_entity.h",
873 "src/core/lib/iomgr/pollset.h",
kpayson64539f5062018-03-12 19:16:30 -0700874 "src/core/lib/iomgr/pollset_custom.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200875 "src/core/lib/iomgr/pollset_set.h",
kpayson64539f5062018-03-12 19:16:30 -0700876 "src/core/lib/iomgr/pollset_set_custom.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200877 "src/core/lib/iomgr/pollset_set_windows.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200878 "src/core/lib/iomgr/pollset_uv.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200879 "src/core/lib/iomgr/pollset_windows.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200880 "src/core/lib/iomgr/port.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200881 "src/core/lib/iomgr/resolve_address.h",
kpayson64539f5062018-03-12 19:16:30 -0700882 "src/core/lib/iomgr/resolve_address_custom.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100883 "src/core/lib/iomgr/resource_quota.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200884 "src/core/lib/iomgr/sockaddr.h",
kpayson64539f5062018-03-12 19:16:30 -0700885 "src/core/lib/iomgr/sockaddr_custom.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200886 "src/core/lib/iomgr/sockaddr_posix.h",
887 "src/core/lib/iomgr/sockaddr_utils.h",
888 "src/core/lib/iomgr/sockaddr_windows.h",
Michael Warresc46b3eb2017-02-22 22:57:04 -0500889 "src/core/lib/iomgr/socket_factory_posix.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100890 "src/core/lib/iomgr/socket_mutator.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200891 "src/core/lib/iomgr/socket_utils.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200892 "src/core/lib/iomgr/socket_utils_posix.h",
893 "src/core/lib/iomgr/socket_windows.h",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700894 "src/core/lib/iomgr/sys_epoll_wrapper.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200895 "src/core/lib/iomgr/tcp_client.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100896 "src/core/lib/iomgr/tcp_client_posix.h",
kpayson64539f5062018-03-12 19:16:30 -0700897 "src/core/lib/iomgr/tcp_custom.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200898 "src/core/lib/iomgr/tcp_posix.h",
899 "src/core/lib/iomgr/tcp_server.h",
Yuchen Zeng47155ed2017-03-13 17:18:07 -0700900 "src/core/lib/iomgr/tcp_server_utils_posix.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200901 "src/core/lib/iomgr/tcp_windows.h",
902 "src/core/lib/iomgr/time_averaged_stats.h",
903 "src/core/lib/iomgr/timer.h",
kpayson64539f5062018-03-12 19:16:30 -0700904 "src/core/lib/iomgr/timer_custom.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200905 "src/core/lib/iomgr/timer_generic.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200906 "src/core/lib/iomgr/timer_heap.h",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700907 "src/core/lib/iomgr/timer_manager.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200908 "src/core/lib/iomgr/udp_server.h",
909 "src/core/lib/iomgr/unix_sockets_posix.h",
910 "src/core/lib/iomgr/wakeup_fd_cv.h",
911 "src/core/lib/iomgr/wakeup_fd_pipe.h",
912 "src/core/lib/iomgr/wakeup_fd_posix.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200913 "src/core/lib/json/json.h",
914 "src/core/lib/json/json_common.h",
915 "src/core/lib/json/json_reader.h",
916 "src/core/lib/json/json_writer.h",
Craig Tiller29b527f2017-03-30 10:27:20 -0700917 "src/core/lib/slice/b64.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100918 "src/core/lib/slice/percent_encoding.h",
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800919 "src/core/lib/slice/slice_hash_table.h",
Craig Tiller3ca60192017-01-04 14:41:29 -0800920 "src/core/lib/slice/slice_internal.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100921 "src/core/lib/slice/slice_string_helpers.h",
David Garcia Quintas396d49d2018-02-28 16:06:30 -0800922 "src/core/lib/slice/slice_weak_hash_table.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200923 "src/core/lib/surface/api_trace.h",
924 "src/core/lib/surface/call.h",
925 "src/core/lib/surface/call_test_only.h",
926 "src/core/lib/surface/channel.h",
927 "src/core/lib/surface/channel_init.h",
928 "src/core/lib/surface/channel_stack_type.h",
929 "src/core/lib/surface/completion_queue.h",
Sree Kuchibhotlaf6c20262017-03-21 18:52:19 -0700930 "src/core/lib/surface/completion_queue_factory.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200931 "src/core/lib/surface/event_string.h",
932 "src/core/lib/surface/init.h",
933 "src/core/lib/surface/lame_client.h",
934 "src/core/lib/surface/server.h",
David Garcia Quintas01291502017-02-07 13:26:41 -0800935 "src/core/lib/surface/validate_metadata.h",
David Garcia Quintas5481a582017-02-14 16:11:42 -0800936 "src/core/lib/transport/bdp_estimator.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200937 "src/core/lib/transport/byte_stream.h",
938 "src/core/lib/transport/connectivity_state.h",
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800939 "src/core/lib/transport/error_utils.h",
940 "src/core/lib/transport/http2_errors.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200941 "src/core/lib/transport/metadata.h",
942 "src/core/lib/transport/metadata_batch.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100943 "src/core/lib/transport/pid_controller.h",
944 "src/core/lib/transport/service_config.h",
945 "src/core/lib/transport/static_metadata.h",
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800946 "src/core/lib/transport/status_conversion.h",
Mark D. Roth718c8342018-02-28 13:00:04 -0800947 "src/core/lib/transport/status_metadata.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200948 "src/core/lib/transport/timeout_encoding.h",
949 "src/core/lib/transport/transport.h",
950 "src/core/lib/transport/transport_impl.h",
951 ],
952 external_deps = [
953 "zlib",
954 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -0700955 language = "c++",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +0200956 public_hdrs = GRPC_PUBLIC_HDRS,
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200957 deps = [
Vijay Pai239b7d42018-02-08 11:08:41 -0800958 "gpr_base",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200959 "grpc_codegen",
Craig Tiller1f477302017-05-05 11:01:25 -0700960 "grpc_trace",
Vijay Pai756caa72018-03-01 12:38:16 -0800961 "inlined_vector",
Mark D. Roth3d8b32d2018-03-09 13:25:40 -0800962 "orphanable",
Mark D. Roth3e7f2df2018-02-26 13:17:06 -0800963 "ref_counted",
964 "ref_counted_ptr",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200965 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200966)
967
968grpc_cc_library(
Craig Tiller832c6072017-05-11 14:38:05 -0700969 name = "grpc_base",
Craig Tiller832c6072017-05-11 14:38:05 -0700970 srcs = [
971 "src/core/lib/surface/lame_client.cc",
972 ],
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700973 language = "c++",
Craig Tiller832c6072017-05-11 14:38:05 -0700974 deps = [
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800975 "atomic",
Craig Tiller832c6072017-05-11 14:38:05 -0700976 "grpc_base_c",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700977 ],
978)
979
980grpc_cc_library(
981 name = "grpc_common",
Yash Tibrewal2dcbc102017-10-03 16:23:07 -0700982 language = "c++",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700983 deps = [
984 "grpc_base",
985 # standard plugins
986 "census",
987 "grpc_deadline_filter",
David Garcia Quintasaa843f22018-03-13 08:36:16 -0700988 "grpc_client_authority_filter",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700989 "grpc_lb_policy_pick_first",
990 "grpc_lb_policy_round_robin",
David Garcia Quintas0822d332017-09-06 17:40:42 -0700991 "grpc_server_load_reporting",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700992 "grpc_max_age_filter",
993 "grpc_message_size_filter",
Vijay Pai42807252017-07-28 15:08:24 -0700994 "grpc_resolver_dns_ares",
995 "grpc_resolver_fake",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700996 "grpc_resolver_dns_native",
997 "grpc_resolver_sockaddr",
998 "grpc_transport_chttp2_client_insecure",
999 "grpc_transport_chttp2_server_insecure",
Vijay Pai3d7d5f42017-05-04 10:02:24 -07001000 "grpc_transport_inproc",
Muxi Yan2a5bbc12017-05-15 12:03:08 -07001001 "grpc_workaround_cronet_compression_filter",
1002 "grpc_server_backward_compatibility",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001003 ],
1004)
1005
1006grpc_cc_library(
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001007 name = "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001008 srcs = [
Yuchen Zeng0bad30a2017-10-05 21:47:39 -07001009 "src/core/ext/filters/client_channel/backup_poller.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001010 "src/core/ext/filters/client_channel/channel_connectivity.cc",
1011 "src/core/ext/filters/client_channel/client_channel.cc",
1012 "src/core/ext/filters/client_channel/client_channel_factory.cc",
1013 "src/core/ext/filters/client_channel/client_channel_plugin.cc",
1014 "src/core/ext/filters/client_channel/connector.cc",
1015 "src/core/ext/filters/client_channel/http_connect_handshaker.cc",
1016 "src/core/ext/filters/client_channel/http_proxy.cc",
1017 "src/core/ext/filters/client_channel/lb_policy.cc",
1018 "src/core/ext/filters/client_channel/lb_policy_factory.cc",
1019 "src/core/ext/filters/client_channel/lb_policy_registry.cc",
Mark D. Roth3e7f2df2018-02-26 13:17:06 -08001020 "src/core/ext/filters/client_channel/method_params.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001021 "src/core/ext/filters/client_channel/parse_address.cc",
1022 "src/core/ext/filters/client_channel/proxy_mapper.cc",
1023 "src/core/ext/filters/client_channel/proxy_mapper_registry.cc",
1024 "src/core/ext/filters/client_channel/resolver.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001025 "src/core/ext/filters/client_channel/resolver_registry.cc",
1026 "src/core/ext/filters/client_channel/retry_throttle.cc",
1027 "src/core/ext/filters/client_channel/subchannel.cc",
1028 "src/core/ext/filters/client_channel/subchannel_index.cc",
1029 "src/core/ext/filters/client_channel/uri_parser.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001030 ],
1031 hdrs = [
Yuchen Zeng0bad30a2017-10-05 21:47:39 -07001032 "src/core/ext/filters/client_channel/backup_poller.h",
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001033 "src/core/ext/filters/client_channel/client_channel.h",
1034 "src/core/ext/filters/client_channel/client_channel_factory.h",
1035 "src/core/ext/filters/client_channel/connector.h",
1036 "src/core/ext/filters/client_channel/http_connect_handshaker.h",
1037 "src/core/ext/filters/client_channel/http_proxy.h",
1038 "src/core/ext/filters/client_channel/lb_policy.h",
1039 "src/core/ext/filters/client_channel/lb_policy_factory.h",
1040 "src/core/ext/filters/client_channel/lb_policy_registry.h",
Mark D. Roth3e7f2df2018-02-26 13:17:06 -08001041 "src/core/ext/filters/client_channel/method_params.h",
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001042 "src/core/ext/filters/client_channel/parse_address.h",
1043 "src/core/ext/filters/client_channel/proxy_mapper.h",
1044 "src/core/ext/filters/client_channel/proxy_mapper_registry.h",
1045 "src/core/ext/filters/client_channel/resolver.h",
1046 "src/core/ext/filters/client_channel/resolver_factory.h",
1047 "src/core/ext/filters/client_channel/resolver_registry.h",
1048 "src/core/ext/filters/client_channel/retry_throttle.h",
1049 "src/core/ext/filters/client_channel/subchannel.h",
1050 "src/core/ext/filters/client_channel/subchannel_index.h",
1051 "src/core/ext/filters/client_channel/uri_parser.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001052 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001053 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001054 deps = [
Vijay Pai0693b722018-02-08 15:18:13 -08001055 "gpr_base",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001056 "grpc_base",
David Garcia Quintasaa843f22018-03-13 08:36:16 -07001057 "grpc_client_authority_filter",
Craig Tillerdcd24e42017-04-06 10:47:46 -07001058 "grpc_deadline_filter",
Mark D. Roth209f6442018-02-08 10:26:46 -08001059 "inlined_vector",
1060 "orphanable",
David Garcia Quintas53bfe692018-01-04 16:39:08 -08001061 "ref_counted",
David Garcia Quintas4adad992018-01-17 13:50:39 -08001062 "ref_counted_ptr",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001063 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001064)
1065
1066grpc_cc_library(
Craig Tiller6b97e532017-04-03 12:56:23 -07001067 name = "grpc_max_age_filter",
1068 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001069 "src/core/ext/filters/max_age/max_age_filter.cc",
Craig Tiller6b97e532017-04-03 12:56:23 -07001070 ],
1071 hdrs = [
1072 "src/core/ext/filters/max_age/max_age_filter.h",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001073 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001074 language = "c++",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001075 deps = [
1076 "grpc_base",
1077 ],
1078)
1079
1080grpc_cc_library(
Craig Tiller3be7dd02017-04-03 14:30:03 -07001081 name = "grpc_deadline_filter",
1082 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001083 "src/core/ext/filters/deadline/deadline_filter.cc",
Craig Tiller3be7dd02017-04-03 14:30:03 -07001084 ],
1085 hdrs = [
1086 "src/core/ext/filters/deadline/deadline_filter.h",
1087 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001088 language = "c++",
Craig Tiller3be7dd02017-04-03 14:30:03 -07001089 deps = [
1090 "grpc_base",
1091 ],
1092)
1093
1094grpc_cc_library(
David Garcia Quintasaa843f22018-03-13 08:36:16 -07001095 name = "grpc_client_authority_filter",
1096 srcs = [
David Garcia Quintas961353a2018-03-15 16:11:05 -07001097 "src/core/ext/filters/http/client_authority_filter.cc",
David Garcia Quintasaa843f22018-03-13 08:36:16 -07001098 ],
1099 hdrs = [
David Garcia Quintas961353a2018-03-15 16:11:05 -07001100 "src/core/ext/filters/http/client_authority_filter.h",
David Garcia Quintasaa843f22018-03-13 08:36:16 -07001101 ],
1102 language = "c++",
1103 deps = [
1104 "grpc_base",
1105 ],
1106)
1107
1108grpc_cc_library(
Craig Tiller6461c342017-04-03 13:00:31 -07001109 name = "grpc_message_size_filter",
1110 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001111 "src/core/ext/filters/message_size/message_size_filter.cc",
Craig Tiller6461c342017-04-03 13:00:31 -07001112 ],
1113 hdrs = [
1114 "src/core/ext/filters/message_size/message_size_filter.h",
1115 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001116 language = "c++",
Craig Tiller6461c342017-04-03 13:00:31 -07001117 deps = [
1118 "grpc_base",
1119 ],
1120)
1121
1122grpc_cc_library(
Craig Tilleraf767432017-04-03 13:54:31 -07001123 name = "grpc_http_filters",
Craig Tilleraf767432017-04-03 13:54:31 -07001124 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001125 "src/core/ext/filters/http/client/http_client_filter.cc",
1126 "src/core/ext/filters/http/http_filters_plugin.cc",
1127 "src/core/ext/filters/http/message_compress/message_compress_filter.cc",
1128 "src/core/ext/filters/http/server/http_server_filter.cc",
Sree Kuchibhotlad4fc32e2017-05-02 14:15:12 -07001129 ],
1130 hdrs = [
1131 "src/core/ext/filters/http/client/http_client_filter.h",
1132 "src/core/ext/filters/http/message_compress/message_compress_filter.h",
1133 "src/core/ext/filters/http/server/http_server_filter.h",
Craig Tilleraf767432017-04-03 13:54:31 -07001134 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001135 language = "c++",
Craig Tilleraf767432017-04-03 13:54:31 -07001136 deps = [
1137 "grpc_base",
1138 ],
1139)
1140
1141grpc_cc_library(
Muxi Yan2a5bbc12017-05-15 12:03:08 -07001142 name = "grpc_workaround_cronet_compression_filter",
1143 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001144 "src/core/ext/filters/workarounds/workaround_cronet_compression_filter.cc",
Muxi Yan2a5bbc12017-05-15 12:03:08 -07001145 ],
1146 hdrs = [
1147 "src/core/ext/filters/workarounds/workaround_cronet_compression_filter.h",
1148 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001149 language = "c++",
Muxi Yan2a5bbc12017-05-15 12:03:08 -07001150 deps = [
1151 "grpc_base",
1152 "grpc_server_backward_compatibility",
1153 ],
1154)
1155
1156grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001157 name = "grpc_codegen",
Yash Tibrewal2dcbc102017-10-03 16:23:07 -07001158 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001159 public_hdrs = [
Vijay Paiefce6e12017-09-14 09:07:50 -07001160 "include/grpc/impl/codegen/byte_buffer.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001161 "include/grpc/impl/codegen/byte_buffer_reader.h",
1162 "include/grpc/impl/codegen/compression_types.h",
1163 "include/grpc/impl/codegen/connectivity_state.h",
1164 "include/grpc/impl/codegen/grpc_types.h",
1165 "include/grpc/impl/codegen/propagation_bits.h",
1166 "include/grpc/impl/codegen/status.h",
Craig Tiller0d32f2f2017-03-30 10:50:29 -07001167 "include/grpc/impl/codegen/slice.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001168 ],
1169 deps = [
1170 "gpr_codegen",
1171 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001172)
1173
1174grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001175 name = "grpc_lb_policy_grpclb",
1176 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001177 "src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc",
1178 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc",
1179 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.cc",
1180 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc",
1181 "src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc",
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001182 "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 +02001183 ],
1184 hdrs = [
Mark D. Roth09e458c2017-05-02 08:13:26 -07001185 "src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.h",
Yihua Zhang392dad72018-05-03 20:12:20 -07001186 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.h",
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001187 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.h",
Mark D. Roth09e458c2017-05-02 08:13:26 -07001188 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.h",
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001189 "src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.h",
1190 "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 +02001191 ],
1192 external_deps = [
1193 "nanopb",
1194 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001195 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001196 deps = [
1197 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001198 "grpc_client_channel",
David Garcia Quintas87d5a312017-06-06 19:45:58 -07001199 "grpc_resolver_fake",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001200 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001201)
1202
1203grpc_cc_library(
David Garcia Quintas01291502017-02-07 13:26:41 -08001204 name = "grpc_lb_policy_grpclb_secure",
1205 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001206 "src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc",
1207 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc",
1208 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel_secure.cc",
1209 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc",
1210 "src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc",
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001211 "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 -08001212 ],
1213 hdrs = [
Mark D. Roth09e458c2017-05-02 08:13:26 -07001214 "src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.h",
Yihua Zhang392dad72018-05-03 20:12:20 -07001215 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.h",
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001216 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.h",
Mark D. Roth09e458c2017-05-02 08:13:26 -07001217 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.h",
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001218 "src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.h",
1219 "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 -08001220 ],
1221 external_deps = [
1222 "nanopb",
1223 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001224 language = "c++",
David Garcia Quintas01291502017-02-07 13:26:41 -08001225 deps = [
1226 "grpc_base",
1227 "grpc_client_channel",
David Garcia Quintas87d5a312017-06-06 19:45:58 -07001228 "grpc_resolver_fake",
David Garcia Quintas01291502017-02-07 13:26:41 -08001229 "grpc_secure",
1230 ],
1231)
1232
1233grpc_cc_library(
Mark D. Roth5e9848e2017-10-06 13:59:32 -07001234 name = "grpc_lb_subchannel_list",
Mark D. Roth5e9848e2017-10-06 13:59:32 -07001235 hdrs = [
1236 "src/core/ext/filters/client_channel/lb_policy/subchannel_list.h",
1237 ],
1238 language = "c++",
1239 deps = [
1240 "grpc_base",
1241 "grpc_client_channel",
1242 ],
1243)
1244
1245grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001246 name = "grpc_lb_policy_pick_first",
1247 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001248 "src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001249 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001250 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001251 deps = [
1252 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001253 "grpc_client_channel",
Mark D. Roth5e9848e2017-10-06 13:59:32 -07001254 "grpc_lb_subchannel_list",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001255 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001256)
1257
1258grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001259 name = "grpc_lb_policy_round_robin",
1260 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001261 "src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001262 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001263 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001264 deps = [
1265 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001266 "grpc_client_channel",
Mark D. Roth5e9848e2017-10-06 13:59:32 -07001267 "grpc_lb_subchannel_list",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001268 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001269)
1270
1271grpc_cc_library(
David Garcia Quintas0822d332017-09-06 17:40:42 -07001272 name = "grpc_server_load_reporting",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001273 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001274 "src/core/ext/filters/load_reporting/server_load_reporting_filter.cc",
1275 "src/core/ext/filters/load_reporting/server_load_reporting_plugin.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001276 ],
1277 hdrs = [
David Garcia Quintas0822d332017-09-06 17:40:42 -07001278 "src/core/ext/filters/load_reporting/server_load_reporting_filter.h",
1279 "src/core/ext/filters/load_reporting/server_load_reporting_plugin.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001280 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001281 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001282 deps = [
1283 "grpc_base",
1284 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001285)
1286
1287grpc_cc_library(
Juanli Shena0aab7e2018-05-01 10:30:54 -07001288 name = "lb_load_data_store",
1289 srcs = [
1290 "src/cpp/server/load_reporter/load_data_store.cc",
1291 ],
1292 hdrs = [
1293 "src/cpp/server/load_reporter/load_data_store.h",
1294 ],
1295 language = "c++",
1296 deps = [
1297 "grpc++",
1298 ],
1299)
1300
1301grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001302 name = "grpc_resolver_dns_native",
1303 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001304 "src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001305 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001306 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001307 deps = [
1308 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001309 "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001310 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001311)
1312
1313grpc_cc_library(
Yuchen Zeng4c702ed2017-01-23 10:30:10 -08001314 name = "grpc_resolver_dns_ares",
1315 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001316 "src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc",
1317 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc",
1318 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc",
1319 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_fallback.cc",
Yuchen Zeng4c702ed2017-01-23 10:30:10 -08001320 ],
1321 hdrs = [
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001322 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.h",
1323 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.h",
Yuchen Zeng4c702ed2017-01-23 10:30:10 -08001324 ],
Jan Tattermusch61f729f2017-04-06 17:11:44 +02001325 external_deps = [
1326 "cares",
Alexander Polcyn690dde62017-10-18 00:20:33 -07001327 "address_sorting",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001328 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001329 language = "c++",
Yuchen Zeng4c702ed2017-01-23 10:30:10 -08001330 deps = [
1331 "grpc_base",
1332 "grpc_client_channel",
1333 ],
Yuchen Zeng4c702ed2017-01-23 10:30:10 -08001334)
1335
1336grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001337 name = "grpc_resolver_sockaddr",
1338 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001339 "src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001340 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001341 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001342 deps = [
1343 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001344 "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001345 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001346)
1347
1348grpc_cc_library(
David Garcia Quintas87d5a312017-06-06 19:45:58 -07001349 name = "grpc_resolver_fake",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001350 srcs = ["src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc"],
David Garcia Quintas87d5a312017-06-06 19:45:58 -07001351 hdrs = ["src/core/ext/filters/client_channel/resolver/fake/fake_resolver.h"],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001352 language = "c++",
murgatroid99d5b04552017-06-15 17:48:42 -07001353 visibility = ["//test:__subpackages__"],
David Garcia Quintas87d5a312017-06-06 19:45:58 -07001354 deps = [
1355 "grpc_base",
1356 "grpc_client_channel",
1357 ],
1358)
1359
1360grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001361 name = "grpc_secure",
1362 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001363 "src/core/lib/http/httpcli_security_connector.cc",
1364 "src/core/lib/security/context/security_context.cc",
David Garcia Quintasc7c0d692018-03-10 17:27:15 -08001365 "src/core/lib/security/credentials/alts/alts_credentials.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001366 "src/core/lib/security/credentials/composite/composite_credentials.cc",
1367 "src/core/lib/security/credentials/credentials.cc",
1368 "src/core/lib/security/credentials/credentials_metadata.cc",
1369 "src/core/lib/security/credentials/fake/fake_credentials.cc",
1370 "src/core/lib/security/credentials/google_default/credentials_generic.cc",
1371 "src/core/lib/security/credentials/google_default/google_default_credentials.cc",
1372 "src/core/lib/security/credentials/iam/iam_credentials.cc",
1373 "src/core/lib/security/credentials/jwt/json_token.cc",
1374 "src/core/lib/security/credentials/jwt/jwt_credentials.cc",
1375 "src/core/lib/security/credentials/jwt/jwt_verifier.cc",
1376 "src/core/lib/security/credentials/oauth2/oauth2_credentials.cc",
1377 "src/core/lib/security/credentials/plugin/plugin_credentials.cc",
1378 "src/core/lib/security/credentials/ssl/ssl_credentials.cc",
Yihua Zhangeaf64862018-03-06 21:40:45 -08001379 "src/core/lib/security/security_connector/alts_security_connector.cc",
Yihua Zhang75f0a9f2018-02-20 10:09:47 -08001380 "src/core/lib/security/security_connector/security_connector.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001381 "src/core/lib/security/transport/client_auth_filter.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001382 "src/core/lib/security/transport/secure_endpoint.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001383 "src/core/lib/security/transport/security_handshaker.cc",
1384 "src/core/lib/security/transport/server_auth_filter.cc",
Mark D. Roth3e7f2df2018-02-26 13:17:06 -08001385 "src/core/lib/security/transport/target_authority_table.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001386 "src/core/lib/security/transport/tsi_error.cc",
1387 "src/core/lib/security/util/json_util.cc",
1388 "src/core/lib/surface/init_secure.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001389 ],
1390 hdrs = [
Yihua Zhang392dad72018-05-03 20:12:20 -07001391 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001392 "src/core/lib/security/context/security_context.h",
David Garcia Quintasc7c0d692018-03-10 17:27:15 -08001393 "src/core/lib/security/credentials/alts/alts_credentials.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001394 "src/core/lib/security/credentials/composite/composite_credentials.h",
1395 "src/core/lib/security/credentials/credentials.h",
1396 "src/core/lib/security/credentials/fake/fake_credentials.h",
1397 "src/core/lib/security/credentials/google_default/google_default_credentials.h",
1398 "src/core/lib/security/credentials/iam/iam_credentials.h",
1399 "src/core/lib/security/credentials/jwt/json_token.h",
1400 "src/core/lib/security/credentials/jwt/jwt_credentials.h",
1401 "src/core/lib/security/credentials/jwt/jwt_verifier.h",
1402 "src/core/lib/security/credentials/oauth2/oauth2_credentials.h",
1403 "src/core/lib/security/credentials/plugin/plugin_credentials.h",
1404 "src/core/lib/security/credentials/ssl/ssl_credentials.h",
Yihua Zhangeaf64862018-03-06 21:40:45 -08001405 "src/core/lib/security/security_connector/alts_security_connector.h",
Yihua Zhang75f0a9f2018-02-20 10:09:47 -08001406 "src/core/lib/security/security_connector/security_connector.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001407 "src/core/lib/security/transport/auth_filters.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001408 "src/core/lib/security/transport/secure_endpoint.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001409 "src/core/lib/security/transport/security_handshaker.h",
Mark D. Roth3e7f2df2018-02-26 13:17:06 -08001410 "src/core/lib/security/transport/target_authority_table.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001411 "src/core/lib/security/transport/tsi_error.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001412 "src/core/lib/security/util/json_util.h",
1413 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001414 language = "c++",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +02001415 public_hdrs = GRPC_SECURE_PUBLIC_HDRS,
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001416 deps = [
Yihua Zhangeaf64862018-03-06 21:40:45 -08001417 "alts_util",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001418 "grpc_base",
1419 "grpc_transport_chttp2_alpn",
1420 "tsi",
1421 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001422)
1423
1424grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001425 name = "grpc_transport_chttp2",
1426 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001427 "src/core/ext/transport/chttp2/transport/bin_decoder.cc",
1428 "src/core/ext/transport/chttp2/transport/bin_encoder.cc",
1429 "src/core/ext/transport/chttp2/transport/chttp2_plugin.cc",
1430 "src/core/ext/transport/chttp2/transport/chttp2_transport.cc",
1431 "src/core/ext/transport/chttp2/transport/flow_control.cc",
1432 "src/core/ext/transport/chttp2/transport/frame_data.cc",
1433 "src/core/ext/transport/chttp2/transport/frame_goaway.cc",
1434 "src/core/ext/transport/chttp2/transport/frame_ping.cc",
1435 "src/core/ext/transport/chttp2/transport/frame_rst_stream.cc",
1436 "src/core/ext/transport/chttp2/transport/frame_settings.cc",
1437 "src/core/ext/transport/chttp2/transport/frame_window_update.cc",
1438 "src/core/ext/transport/chttp2/transport/hpack_encoder.cc",
1439 "src/core/ext/transport/chttp2/transport/hpack_parser.cc",
1440 "src/core/ext/transport/chttp2/transport/hpack_table.cc",
1441 "src/core/ext/transport/chttp2/transport/http2_settings.cc",
1442 "src/core/ext/transport/chttp2/transport/huffsyms.cc",
1443 "src/core/ext/transport/chttp2/transport/incoming_metadata.cc",
1444 "src/core/ext/transport/chttp2/transport/parsing.cc",
1445 "src/core/ext/transport/chttp2/transport/stream_lists.cc",
1446 "src/core/ext/transport/chttp2/transport/stream_map.cc",
1447 "src/core/ext/transport/chttp2/transport/varint.cc",
1448 "src/core/ext/transport/chttp2/transport/writing.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001449 ],
1450 hdrs = [
1451 "src/core/ext/transport/chttp2/transport/bin_decoder.h",
1452 "src/core/ext/transport/chttp2/transport/bin_encoder.h",
1453 "src/core/ext/transport/chttp2/transport/chttp2_transport.h",
Craig Tiller32736482017-10-12 22:02:28 -07001454 "src/core/ext/transport/chttp2/transport/flow_control.h",
Vijay Pai89125422017-11-22 10:22:28 -08001455 "src/core/ext/transport/chttp2/transport/frame.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001456 "src/core/ext/transport/chttp2/transport/frame_data.h",
1457 "src/core/ext/transport/chttp2/transport/frame_goaway.h",
1458 "src/core/ext/transport/chttp2/transport/frame_ping.h",
1459 "src/core/ext/transport/chttp2/transport/frame_rst_stream.h",
1460 "src/core/ext/transport/chttp2/transport/frame_settings.h",
1461 "src/core/ext/transport/chttp2/transport/frame_window_update.h",
1462 "src/core/ext/transport/chttp2/transport/hpack_encoder.h",
1463 "src/core/ext/transport/chttp2/transport/hpack_parser.h",
1464 "src/core/ext/transport/chttp2/transport/hpack_table.h",
murgatroid99a41fd5b2017-04-13 09:56:17 -07001465 "src/core/ext/transport/chttp2/transport/http2_settings.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001466 "src/core/ext/transport/chttp2/transport/huffsyms.h",
1467 "src/core/ext/transport/chttp2/transport/incoming_metadata.h",
1468 "src/core/ext/transport/chttp2/transport/internal.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001469 "src/core/ext/transport/chttp2/transport/stream_map.h",
1470 "src/core/ext/transport/chttp2/transport/varint.h",
1471 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001472 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001473 deps = [
Vijay Pai756caa72018-03-01 12:38:16 -08001474 "gpr_base",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001475 "grpc_base",
Craig Tilleraf767432017-04-03 13:54:31 -07001476 "grpc_http_filters",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001477 "grpc_transport_chttp2_alpn",
1478 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001479)
1480
1481grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001482 name = "grpc_transport_chttp2_alpn",
1483 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001484 "src/core/ext/transport/chttp2/alpn/alpn.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001485 ],
1486 hdrs = [
1487 "src/core/ext/transport/chttp2/alpn/alpn.h",
1488 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001489 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001490 deps = [
1491 "gpr",
1492 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001493)
1494
1495grpc_cc_library(
David Garcia Quintas01291502017-02-07 13:26:41 -08001496 name = "grpc_transport_chttp2_client_connector",
1497 srcs = [
David Garcia Quintas49f625f2018-03-27 11:23:49 -07001498 "src/core/ext/transport/chttp2/client/authority.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001499 "src/core/ext/transport/chttp2/client/chttp2_connector.cc",
David Garcia Quintas01291502017-02-07 13:26:41 -08001500 ],
1501 hdrs = [
David Garcia Quintas49f625f2018-03-27 11:23:49 -07001502 "src/core/ext/transport/chttp2/client/authority.h",
David Garcia Quintas01291502017-02-07 13:26:41 -08001503 "src/core/ext/transport/chttp2/client/chttp2_connector.h",
1504 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001505 language = "c++",
David Garcia Quintas01291502017-02-07 13:26:41 -08001506 deps = [
1507 "grpc_base",
1508 "grpc_client_channel",
1509 "grpc_transport_chttp2",
1510 ],
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +02001511)
1512
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001513grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001514 name = "grpc_transport_chttp2_client_insecure",
1515 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001516 "src/core/ext/transport/chttp2/client/insecure/channel_create.cc",
1517 "src/core/ext/transport/chttp2/client/insecure/channel_create_posix.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001518 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001519 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001520 deps = [
1521 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001522 "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001523 "grpc_transport_chttp2",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001524 "grpc_transport_chttp2_client_connector",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001525 ],
Makarand Dharmapurikar38d80552016-06-01 15:02:04 -07001526)
1527
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001528grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001529 name = "grpc_transport_chttp2_client_secure",
1530 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001531 "src/core/ext/transport/chttp2/client/secure/secure_channel_create.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001532 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001533 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001534 deps = [
1535 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001536 "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001537 "grpc_secure",
1538 "grpc_transport_chttp2",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001539 "grpc_transport_chttp2_client_connector",
1540 ],
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001541)
1542
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001543grpc_cc_library(
1544 name = "grpc_transport_chttp2_server",
1545 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001546 "src/core/ext/transport/chttp2/server/chttp2_server.cc",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001547 ],
1548 hdrs = [
1549 "src/core/ext/transport/chttp2/server/chttp2_server.h",
1550 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001551 language = "c++",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001552 deps = [
1553 "grpc_base",
1554 "grpc_transport_chttp2",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001555 ],
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001556)
1557
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001558grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001559 name = "grpc_transport_chttp2_server_insecure",
1560 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001561 "src/core/ext/transport/chttp2/server/insecure/server_chttp2.cc",
1562 "src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001563 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001564 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001565 deps = [
1566 "grpc_base",
1567 "grpc_transport_chttp2",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001568 "grpc_transport_chttp2_server",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001569 ],
Garrett Casto931a26b2016-10-04 09:18:29 -07001570)
1571
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001572grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001573 name = "grpc_transport_chttp2_server_secure",
1574 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001575 "src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001576 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001577 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001578 deps = [
1579 "grpc_base",
1580 "grpc_secure",
1581 "grpc_transport_chttp2",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001582 "grpc_transport_chttp2_server",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001583 ],
Yuchen Zengc84ed682016-05-04 16:30:11 -07001584)
1585
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001586grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001587 name = "grpc_transport_cronet_client_secure",
1588 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001589 "src/core/ext/transport/cronet/client/secure/cronet_channel_create.cc",
1590 "src/core/ext/transport/cronet/transport/cronet_api_dummy.cc",
1591 "src/core/ext/transport/cronet/transport/cronet_transport.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001592 ],
1593 hdrs = [
Muxi Yan0a2fae92017-02-01 14:49:03 -08001594 "src/core/ext/transport/cronet/transport/cronet_transport.h",
Sree Kuchibhotla43bca1b2017-02-22 16:37:27 -08001595 "third_party/objective_c/Cronet/bidirectional_stream_c.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001596 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001597 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001598 public_hdrs = [
1599 "include/grpc/grpc_cronet.h",
1600 "include/grpc/grpc_security.h",
1601 "include/grpc/grpc_security_constants.h",
1602 ],
1603 deps = [
1604 "grpc_base",
1605 "grpc_transport_chttp2",
1606 ],
Craig Tiller03915e52016-04-07 09:15:10 -07001607)
1608
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001609grpc_cc_library(
Vijay Pai3d7d5f42017-05-04 10:02:24 -07001610 name = "grpc_transport_inproc",
1611 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001612 "src/core/ext/transport/inproc/inproc_plugin.cc",
1613 "src/core/ext/transport/inproc/inproc_transport.cc",
Vijay Pai3d7d5f42017-05-04 10:02:24 -07001614 ],
1615 hdrs = [
1616 "src/core/ext/transport/inproc/inproc_transport.h",
1617 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001618 language = "c++",
Vijay Pai3d7d5f42017-05-04 10:02:24 -07001619 deps = [
1620 "grpc_base",
1621 ],
1622)
1623
1624grpc_cc_library(
jiangtaoli201625d6fd82017-08-09 11:15:04 -07001625 name = "tsi_interface",
1626 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001627 "src/core/tsi/transport_security.cc",
jiangtaoli201625d6fd82017-08-09 11:15:04 -07001628 ],
1629 hdrs = [
1630 "src/core/tsi/transport_security.h",
jiangtaoli201625d6fd82017-08-09 11:15:04 -07001631 "src/core/tsi/transport_security_interface.h",
1632 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001633 language = "c++",
jiangtaoli201625d6fd82017-08-09 11:15:04 -07001634 deps = [
1635 "gpr",
1636 "grpc_trace",
1637 ],
1638)
1639
1640grpc_cc_library(
Yihua Zhangeaf64862018-03-06 21:40:45 -08001641 name = "alts_frame_protector",
1642 srcs = [
1643 "src/core/tsi/alts/crypt/aes_gcm.cc",
1644 "src/core/tsi/alts/crypt/gsec.cc",
1645 "src/core/tsi/alts/frame_protector/alts_counter.cc",
1646 "src/core/tsi/alts/frame_protector/alts_crypter.cc",
1647 "src/core/tsi/alts/frame_protector/alts_frame_protector.cc",
1648 "src/core/tsi/alts/frame_protector/alts_record_protocol_crypter_common.cc",
1649 "src/core/tsi/alts/frame_protector/alts_seal_privacy_integrity_crypter.cc",
1650 "src/core/tsi/alts/frame_protector/alts_unseal_privacy_integrity_crypter.cc",
1651 "src/core/tsi/alts/frame_protector/frame_handler.cc",
1652 "src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_integrity_only_record_protocol.cc",
1653 "src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_privacy_integrity_record_protocol.cc",
1654 "src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_record_protocol_common.cc",
1655 "src/core/tsi/alts/zero_copy_frame_protector/alts_iovec_record_protocol.cc",
1656 "src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.cc",
1657 ],
1658 hdrs = [
1659 "src/core/tsi/alts/crypt/gsec.h",
1660 "src/core/tsi/alts/frame_protector/alts_counter.h",
1661 "src/core/tsi/alts/frame_protector/alts_crypter.h",
1662 "src/core/tsi/alts/frame_protector/alts_frame_protector.h",
1663 "src/core/tsi/alts/frame_protector/alts_record_protocol_crypter_common.h",
1664 "src/core/tsi/alts/frame_protector/frame_handler.h",
1665 "src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_integrity_only_record_protocol.h",
1666 "src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_privacy_integrity_record_protocol.h",
Yihua Zhangeaf64862018-03-06 21:40:45 -08001667 "src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_record_protocol.h",
David Garcia Quintasc7c0d692018-03-10 17:27:15 -08001668 "src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_record_protocol_common.h",
Yihua Zhangeaf64862018-03-06 21:40:45 -08001669 "src/core/tsi/alts/zero_copy_frame_protector/alts_iovec_record_protocol.h",
1670 "src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.h",
1671 "src/core/tsi/transport_security_grpc.h",
1672 ],
1673 external_deps = [
1674 "libssl",
1675 ],
1676 language = "c++",
1677 deps = [
1678 "gpr",
1679 "grpc_base",
1680 "tsi_interface",
1681 ],
1682)
1683
1684grpc_cc_library(
1685 name = "alts_proto",
1686 srcs = [
1687 "src/core/tsi/alts/handshaker/altscontext.pb.c",
1688 "src/core/tsi/alts/handshaker/handshaker.pb.c",
1689 "src/core/tsi/alts/handshaker/transport_security_common.pb.c",
1690 ],
1691 hdrs = [
1692 "src/core/tsi/alts/handshaker/altscontext.pb.h",
1693 "src/core/tsi/alts/handshaker/handshaker.pb.h",
1694 "src/core/tsi/alts/handshaker/transport_security_common.pb.h",
1695 ],
1696 external_deps = [
1697 "nanopb",
1698 ],
1699 language = "c++",
1700)
1701
1702grpc_cc_library(
1703 name = "alts_util",
1704 srcs = [
1705 "src/core/lib/security/credentials/alts/check_gcp_environment.cc",
1706 "src/core/lib/security/credentials/alts/check_gcp_environment_linux.cc",
1707 "src/core/lib/security/credentials/alts/check_gcp_environment_no_op.cc",
1708 "src/core/lib/security/credentials/alts/check_gcp_environment_windows.cc",
1709 "src/core/lib/security/credentials/alts/grpc_alts_credentials_client_options.cc",
1710 "src/core/lib/security/credentials/alts/grpc_alts_credentials_options.cc",
1711 "src/core/lib/security/credentials/alts/grpc_alts_credentials_server_options.cc",
1712 "src/core/tsi/alts/handshaker/alts_handshaker_service_api.cc",
1713 "src/core/tsi/alts/handshaker/alts_handshaker_service_api_util.cc",
1714 "src/core/tsi/alts/handshaker/transport_security_common_api.cc",
1715 ],
1716 hdrs = [
1717 "src/core/lib/security/credentials/alts/check_gcp_environment.h",
1718 "src/core/lib/security/credentials/alts/grpc_alts_credentials_options.h",
1719 "src/core/tsi/alts/handshaker/alts_handshaker_service_api.h",
1720 "src/core/tsi/alts/handshaker/alts_handshaker_service_api_util.h",
1721 "src/core/tsi/alts/handshaker/transport_security_common_api.h",
1722 ],
Yihua Zhangfe2fa0c2018-04-16 15:11:32 -07001723 public_hdrs = GRPC_SECURE_PUBLIC_HDRS,
Yihua Zhangeaf64862018-03-06 21:40:45 -08001724 external_deps = [
1725 "nanopb",
1726 ],
1727 language = "c++",
1728 deps = [
David Garcia Quintasc7c0d692018-03-10 17:27:15 -08001729 "alts_proto",
1730 "gpr",
1731 "grpc_base",
Yihua Zhangeaf64862018-03-06 21:40:45 -08001732 ],
1733)
1734
1735grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001736 name = "tsi",
1737 srcs = [
Yihua Zhangeaf64862018-03-06 21:40:45 -08001738 "src/core/tsi/alts/handshaker/alts_handshaker_client.cc",
1739 "src/core/tsi/alts/handshaker/alts_tsi_event.cc",
1740 "src/core/tsi/alts/handshaker/alts_tsi_handshaker.cc",
1741 "src/core/tsi/alts/handshaker/alts_tsi_utils.cc",
David Garcia Quintasc7c0d692018-03-10 17:27:15 -08001742 "src/core/tsi/alts_transport_security.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001743 "src/core/tsi/fake_transport_security.cc",
Ruslan Nigmatullin7ae37332018-02-21 16:44:35 -08001744 "src/core/tsi/ssl/session_cache/ssl_session_boringssl.cc",
1745 "src/core/tsi/ssl/session_cache/ssl_session_cache.cc",
1746 "src/core/tsi/ssl/session_cache/ssl_session_openssl.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001747 "src/core/tsi/ssl_transport_security.cc",
1748 "src/core/tsi/transport_security_grpc.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001749 ],
1750 hdrs = [
Yihua Zhangeaf64862018-03-06 21:40:45 -08001751 "src/core/tsi/alts/handshaker/alts_handshaker_client.h",
1752 "src/core/tsi/alts/handshaker/alts_tsi_event.h",
1753 "src/core/tsi/alts/handshaker/alts_tsi_handshaker.h",
1754 "src/core/tsi/alts/handshaker/alts_tsi_handshaker_private.h",
1755 "src/core/tsi/alts/handshaker/alts_tsi_utils.h",
David Garcia Quintasc7c0d692018-03-10 17:27:15 -08001756 "src/core/tsi/alts_transport_security.h",
Craig Tiller134fed32017-03-28 14:27:18 -07001757 "src/core/tsi/fake_transport_security.h",
Ruslan Nigmatullin7ae37332018-02-21 16:44:35 -08001758 "src/core/tsi/ssl/session_cache/ssl_session.h",
1759 "src/core/tsi/ssl/session_cache/ssl_session_cache.h",
Craig Tiller134fed32017-03-28 14:27:18 -07001760 "src/core/tsi/ssl_transport_security.h",
1761 "src/core/tsi/ssl_types.h",
Jiangtao Li0211cfb2017-08-07 11:24:07 -07001762 "src/core/tsi/transport_security_grpc.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001763 ],
1764 external_deps = [
1765 "libssl",
1766 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001767 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001768 deps = [
Yihua Zhangeaf64862018-03-06 21:40:45 -08001769 "alts_frame_protector",
1770 "alts_util",
1771 "gpr",
Yihua Zhang1435bfc2017-07-17 11:20:51 -07001772 "grpc_base",
Yihua Zhangeaf64862018-03-06 21:40:45 -08001773 "grpc_transport_chttp2_client_insecure",
jiangtaoli201625d6fd82017-08-09 11:15:04 -07001774 "tsi_interface",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001775 ],
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001776)
1777
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001778grpc_cc_library(
1779 name = "grpc++_base",
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001780 srcs = GRPCXX_SRCS,
Stanley Cheungebeda852017-05-17 19:34:47 -07001781 hdrs = GRPCXX_HDRS,
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001782 language = "c++",
Stanley Cheungebeda852017-05-17 19:34:47 -07001783 public_hdrs = GRPCXX_PUBLIC_HDRS,
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001784 deps = [
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001785 "grpc",
Stanley Cheungebeda852017-05-17 19:34:47 -07001786 "grpc++_codegen_base",
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001787 ],
1788)
1789
1790grpc_cc_library(
1791 name = "grpc++_base_unsecure",
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001792 srcs = GRPCXX_SRCS,
Stanley Cheungebeda852017-05-17 19:34:47 -07001793 hdrs = GRPCXX_HDRS,
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001794 language = "c++",
Stanley Cheungebeda852017-05-17 19:34:47 -07001795 public_hdrs = GRPCXX_PUBLIC_HDRS,
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001796 deps = [
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001797 "grpc++_codegen_base",
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001798 "grpc_unsecure",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001799 ],
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001800)
1801
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001802grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001803 name = "grpc++_codegen_base",
1804 language = "c++",
1805 public_hdrs = [
1806 "include/grpc++/impl/codegen/async_stream.h",
1807 "include/grpc++/impl/codegen/async_unary_call.h",
Vijay Paiefce6e12017-09-14 09:07:50 -07001808 "include/grpc++/impl/codegen/byte_buffer.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001809 "include/grpc++/impl/codegen/call.h",
1810 "include/grpc++/impl/codegen/call_hook.h",
1811 "include/grpc++/impl/codegen/channel_interface.h",
1812 "include/grpc++/impl/codegen/client_context.h",
1813 "include/grpc++/impl/codegen/client_unary_call.h",
1814 "include/grpc++/impl/codegen/completion_queue.h",
1815 "include/grpc++/impl/codegen/completion_queue_tag.h",
1816 "include/grpc++/impl/codegen/config.h",
1817 "include/grpc++/impl/codegen/core_codegen_interface.h",
1818 "include/grpc++/impl/codegen/create_auth_context.h",
1819 "include/grpc++/impl/codegen/grpc_library.h",
yang-g988b47c2017-01-31 09:51:45 -08001820 "include/grpc++/impl/codegen/metadata_map.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001821 "include/grpc++/impl/codegen/method_handler_impl.h",
1822 "include/grpc++/impl/codegen/rpc_method.h",
1823 "include/grpc++/impl/codegen/rpc_service_method.h",
1824 "include/grpc++/impl/codegen/security/auth_context.h",
1825 "include/grpc++/impl/codegen/serialization_traits.h",
1826 "include/grpc++/impl/codegen/server_context.h",
1827 "include/grpc++/impl/codegen/server_interface.h",
1828 "include/grpc++/impl/codegen/service_type.h",
yang-g988b47c2017-01-31 09:51:45 -08001829 "include/grpc++/impl/codegen/slice.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001830 "include/grpc++/impl/codegen/status.h",
1831 "include/grpc++/impl/codegen/status_code_enum.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001832 "include/grpc++/impl/codegen/string_ref.h",
1833 "include/grpc++/impl/codegen/stub_options.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001834 "include/grpc++/impl/codegen/sync_stream.h",
1835 "include/grpc++/impl/codegen/time.h",
Muxi Yan0e00c432018-01-26 15:39:32 -08001836 "include/grpcpp/impl/codegen/async_stream.h",
1837 "include/grpcpp/impl/codegen/async_unary_call.h",
1838 "include/grpcpp/impl/codegen/byte_buffer.h",
1839 "include/grpcpp/impl/codegen/call.h",
1840 "include/grpcpp/impl/codegen/call_hook.h",
1841 "include/grpcpp/impl/codegen/channel_interface.h",
1842 "include/grpcpp/impl/codegen/client_context.h",
1843 "include/grpcpp/impl/codegen/client_unary_call.h",
1844 "include/grpcpp/impl/codegen/completion_queue.h",
1845 "include/grpcpp/impl/codegen/completion_queue_tag.h",
1846 "include/grpcpp/impl/codegen/config.h",
1847 "include/grpcpp/impl/codegen/core_codegen_interface.h",
1848 "include/grpcpp/impl/codegen/create_auth_context.h",
1849 "include/grpcpp/impl/codegen/grpc_library.h",
1850 "include/grpcpp/impl/codegen/metadata_map.h",
1851 "include/grpcpp/impl/codegen/method_handler_impl.h",
1852 "include/grpcpp/impl/codegen/rpc_method.h",
1853 "include/grpcpp/impl/codegen/rpc_service_method.h",
1854 "include/grpcpp/impl/codegen/security/auth_context.h",
1855 "include/grpcpp/impl/codegen/serialization_traits.h",
1856 "include/grpcpp/impl/codegen/server_context.h",
1857 "include/grpcpp/impl/codegen/server_interface.h",
1858 "include/grpcpp/impl/codegen/service_type.h",
1859 "include/grpcpp/impl/codegen/slice.h",
1860 "include/grpcpp/impl/codegen/status.h",
1861 "include/grpcpp/impl/codegen/status_code_enum.h",
1862 "include/grpcpp/impl/codegen/string_ref.h",
1863 "include/grpcpp/impl/codegen/stub_options.h",
1864 "include/grpcpp/impl/codegen/sync_stream.h",
1865 "include/grpcpp/impl/codegen/time.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001866 ],
1867 deps = [
1868 "grpc_codegen",
1869 ],
Craig Tillerda179ce2016-02-09 12:01:53 -08001870)
1871
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001872grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001873 name = "grpc++_codegen_base_src",
1874 srcs = [
1875 "src/cpp/codegen/codegen_init.cc",
1876 ],
1877 language = "c++",
1878 deps = [
1879 "grpc++_codegen_base",
1880 ],
Jorge Canizales140bca82015-06-20 09:47:00 -07001881)
1882
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001883grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001884 name = "grpc++_codegen_proto",
1885 language = "c++",
1886 public_hdrs = [
1887 "include/grpc++/impl/codegen/proto_utils.h",
ncteisencf5b2662018-02-27 11:55:10 -08001888 "include/grpcpp/impl/codegen/proto_buffer_reader.h",
1889 "include/grpcpp/impl/codegen/proto_buffer_writer.h",
Muxi Yan0e00c432018-01-26 15:39:32 -08001890 "include/grpcpp/impl/codegen/proto_utils.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001891 ],
1892 deps = [
1893 "grpc++_codegen_base",
1894 "grpc++_config_proto",
1895 ],
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001896)
1897
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001898grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001899 name = "grpc++_config_proto",
David Garcia Quintas5481a582017-02-14 16:11:42 -08001900 external_deps = [
Vijay Paidc7c50e2017-11-03 14:46:42 -07001901 "protobuf_headers",
David Garcia Quintas5481a582017-02-14 16:11:42 -08001902 ],
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001903 language = "c++",
1904 public_hdrs = [
1905 "include/grpc++/impl/codegen/config_protobuf.h",
Muxi Yan0e00c432018-01-26 15:39:32 -08001906 "include/grpcpp/impl/codegen/config_protobuf.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001907 ],
Jan Tattermusch2d924952015-05-06 10:23:17 -07001908)
1909
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001910grpc_cc_library(
Sree Kuchibhotla43bca1b2017-02-22 16:37:27 -08001911 name = "grpc++_reflection",
1912 srcs = [
1913 "src/cpp/ext/proto_server_reflection.cc",
1914 "src/cpp/ext/proto_server_reflection_plugin.cc",
1915 ],
1916 hdrs = [
1917 "src/cpp/ext/proto_server_reflection.h",
1918 ],
1919 language = "c++",
1920 public_hdrs = [
1921 "include/grpc++/ext/proto_server_reflection_plugin.h",
Muxi Yan0e00c432018-01-26 15:39:32 -08001922 "include/grpcpp/ext/proto_server_reflection_plugin.h",
Sree Kuchibhotla43bca1b2017-02-22 16:37:27 -08001923 ],
1924 deps = [
1925 ":grpc++",
1926 "//src/proto/grpc/reflection/v1alpha:reflection_proto",
1927 ],
Ian Coolidge13213412017-06-27 21:49:44 -07001928 alwayslink = 1,
Sree Kuchibhotla43bca1b2017-02-22 16:37:27 -08001929)
Nicolas "Pixel" Noble2b0f0012017-04-24 19:59:19 +02001930
Nicolas "Pixel" Noble0885f982017-05-12 21:10:55 +02001931grpc_cc_library(
1932 name = "grpc++_test",
1933 public_hdrs = [
1934 "include/grpc++/test/mock_stream.h",
1935 "include/grpc++/test/server_context_test_spouse.h",
Muxi Yan0e00c432018-01-26 15:39:32 -08001936 "include/grpcpp/test/mock_stream.h",
1937 "include/grpcpp/test/server_context_test_spouse.h",
Nicolas "Pixel" Noble0885f982017-05-12 21:10:55 +02001938 ],
1939 deps = [
1940 ":grpc++",
1941 ],
1942)
1943
Muxi Yan2a5bbc12017-05-15 12:03:08 -07001944grpc_cc_library(
1945 name = "grpc_server_backward_compatibility",
1946 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001947 "src/core/ext/filters/workarounds/workaround_utils.cc",
Muxi Yan2a5bbc12017-05-15 12:03:08 -07001948 ],
1949 hdrs = [
1950 "src/core/ext/filters/workarounds/workaround_utils.h",
1951 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001952 language = "c++",
Muxi Yan2a5bbc12017-05-15 12:03:08 -07001953 deps = [
1954 "grpc_base",
1955 ],
1956)
1957
Craig Tillere1101cf2017-09-06 09:42:20 -07001958grpc_cc_library(
1959 name = "grpc++_core_stats",
1960 srcs = [
1961 "src/cpp/util/core_stats.cc",
1962 ],
1963 hdrs = [
1964 "src/cpp/util/core_stats.h",
1965 ],
1966 language = "c++",
1967 deps = [
1968 ":grpc++",
1969 "//src/proto/grpc/core:stats_proto",
1970 ],
1971)
1972
Nicolas "Pixel" Noble2b0f0012017-04-24 19:59:19 +02001973grpc_generate_one_off_targets()