blob: 1779575c4293ef63e616ead5a449b79691cd822c [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
murgatroid99a41fd5b2017-04-13 09:56:17 -070056# This should be updated along with build.yaml
Mehrdad Afsharid1915a92018-01-19 14:23:17 -080057g_stands_for = "glamorous"
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +020058
Vijay Pai392e2132018-01-13 23:58:26 -080059core_version = "6.0.0-dev"
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +020060
Mehrdad Afsharid1915a92018-01-19 14:23:17 -080061version = "1.10.0-dev"
Rob Earhartb7b8d052016-03-29 11:35:29 -070062
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +020063GPR_PUBLIC_HDRS = [
64 "include/grpc/support/alloc.h",
65 "include/grpc/support/atm.h",
66 "include/grpc/support/atm_gcc_atomic.h",
67 "include/grpc/support/atm_gcc_sync.h",
68 "include/grpc/support/atm_windows.h",
69 "include/grpc/support/avl.h",
70 "include/grpc/support/cmdline.h",
71 "include/grpc/support/cpu.h",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +020072 "include/grpc/support/host_port.h",
73 "include/grpc/support/log.h",
74 "include/grpc/support/log_windows.h",
75 "include/grpc/support/port_platform.h",
76 "include/grpc/support/string_util.h",
77 "include/grpc/support/subprocess.h",
78 "include/grpc/support/sync.h",
yang-g9ff60312017-08-24 09:08:21 -070079 "include/grpc/support/sync_custom.h",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +020080 "include/grpc/support/sync_generic.h",
81 "include/grpc/support/sync_posix.h",
82 "include/grpc/support/sync_windows.h",
83 "include/grpc/support/thd.h",
84 "include/grpc/support/time.h",
85 "include/grpc/support/tls.h",
86 "include/grpc/support/tls_gcc.h",
87 "include/grpc/support/tls_msvc.h",
88 "include/grpc/support/tls_pthread.h",
89 "include/grpc/support/useful.h",
90]
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +020091
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +020092GRPC_PUBLIC_HDRS = [
93 "include/grpc/byte_buffer.h",
94 "include/grpc/byte_buffer_reader.h",
95 "include/grpc/compression.h",
Muxi Yanf7a97e12017-10-11 16:59:27 -070096 "include/grpc/compression_ruby.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",
144 "src/cpp/util/slice_cc.cc",
145 "src/cpp/util/status.cc",
146 "src/cpp/util/string_ref.cc",
147 "src/cpp/util/time_cc.cc",
148]
149
150GRPCXX_HDRS = [
151 "src/cpp/client/create_channel_internal.h",
152 "src/cpp/common/channel_filter.h",
153 "src/cpp/server/dynamic_thread_pool.h",
154 "src/cpp/server/health/default_health_check_service.h",
155 "src/cpp/server/health/health.pb.h",
156 "src/cpp/server/thread_pool_interface.h",
157 "src/cpp/thread_manager/thread_manager.h",
158]
159
160GRPCXX_PUBLIC_HDRS = [
161 "include/grpc++/alarm.h",
162 "include/grpc++/channel.h",
163 "include/grpc++/client_context.h",
164 "include/grpc++/completion_queue.h",
165 "include/grpc++/create_channel.h",
166 "include/grpc++/create_channel_posix.h",
167 "include/grpc++/ext/health_check_service_server_builder_option.h",
168 "include/grpc++/generic/async_generic_service.h",
169 "include/grpc++/generic/generic_stub.h",
170 "include/grpc++/grpc++.h",
171 "include/grpc++/health_check_service_interface.h",
172 "include/grpc++/impl/call.h",
173 "include/grpc++/impl/channel_argument_option.h",
174 "include/grpc++/impl/client_unary_call.h",
175 "include/grpc++/impl/codegen/core_codegen.h",
176 "include/grpc++/impl/grpc_library.h",
177 "include/grpc++/impl/method_handler_impl.h",
178 "include/grpc++/impl/rpc_method.h",
179 "include/grpc++/impl/rpc_service_method.h",
180 "include/grpc++/impl/serialization_traits.h",
181 "include/grpc++/impl/server_builder_option.h",
182 "include/grpc++/impl/server_builder_plugin.h",
183 "include/grpc++/impl/server_initializer.h",
184 "include/grpc++/impl/service_type.h",
185 "include/grpc++/impl/sync_cxx11.h",
186 "include/grpc++/impl/sync_no_cxx11.h",
187 "include/grpc++/resource_quota.h",
188 "include/grpc++/security/auth_context.h",
189 "include/grpc++/security/auth_metadata_processor.h",
190 "include/grpc++/security/credentials.h",
191 "include/grpc++/security/server_credentials.h",
192 "include/grpc++/server.h",
193 "include/grpc++/server_builder.h",
194 "include/grpc++/server_context.h",
195 "include/grpc++/server_posix.h",
196 "include/grpc++/support/async_stream.h",
197 "include/grpc++/support/async_unary_call.h",
198 "include/grpc++/support/byte_buffer.h",
199 "include/grpc++/support/channel_arguments.h",
200 "include/grpc++/support/config.h",
201 "include/grpc++/support/slice.h",
202 "include/grpc++/support/status.h",
203 "include/grpc++/support/status_code_enum.h",
204 "include/grpc++/support/string_ref.h",
205 "include/grpc++/support/stub_options.h",
206 "include/grpc++/support/sync_stream.h",
207 "include/grpc++/support/time.h",
208]
209
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +0200210grpc_cc_library(
211 name = "gpr",
Yash Tibrewal2dcbc102017-10-03 16:23:07 -0700212 language = "c++",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +0200213 public_hdrs = GPR_PUBLIC_HDRS,
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +0200214 standalone = True,
215 deps = [
216 "gpr_base",
217 ],
218)
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +0200219
220grpc_cc_library(
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +0200221 name = "grpc_unsecure",
222 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -0700223 "src/core/lib/surface/init.cc",
224 "src/core/lib/surface/init_unsecure.cc",
225 "src/core/plugin_registry/grpc_unsecure_plugin_registry.cc",
Nicolas "Pixel" Noble31d11db2016-10-20 09:29:46 +0200226 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -0700227 language = "c++",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +0200228 public_hdrs = GRPC_PUBLIC_HDRS,
Nicolas "Pixel" Noble31d11db2016-10-20 09:29:46 +0200229 standalone = True,
Craig Tillerda179ce2016-02-09 12:01:53 -0800230 deps = [
231 "grpc_common",
Vijay Pai42807252017-07-28 15:08:24 -0700232 "grpc_lb_policy_grpclb",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200233 ],
234)
235
236grpc_cc_library(
237 name = "grpc",
238 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -0700239 "src/core/lib/surface/init.cc",
240 "src/core/plugin_registry/grpc_plugin_registry.cc",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200241 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -0700242 language = "c++",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +0200243 public_hdrs = GRPC_PUBLIC_HDRS + GRPC_SECURE_PUBLIC_HDRS,
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200244 standalone = True,
245 deps = [
246 "grpc_common",
247 "grpc_lb_policy_grpclb_secure",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200248 "grpc_secure",
249 "grpc_transport_chttp2_client_secure",
250 "grpc_transport_chttp2_server_secure",
251 ],
252)
253
254grpc_cc_library(
255 name = "grpc_cronet",
256 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -0700257 "src/core/lib/surface/init.cc",
258 "src/core/plugin_registry/grpc_cronet_plugin_registry.cc",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200259 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -0700260 language = "c++",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200261 deps = [
262 "grpc_base",
263 "grpc_http_filters",
264 "grpc_transport_chttp2_client_secure",
265 "grpc_transport_cronet_client_secure",
266 ],
267)
268
269grpc_cc_library(
makdharma8d6e6f62018-01-23 09:44:25 -0800270 name = "grpc++_public_hdrs",
271 hdrs = GRPCXX_PUBLIC_HDRS,
272)
273
274grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200275 name = "grpc++",
276 srcs = [
277 "src/cpp/client/insecure_credentials.cc",
278 "src/cpp/client/secure_credentials.cc",
279 "src/cpp/common/auth_property_iterator.cc",
280 "src/cpp/common/secure_auth_context.cc",
281 "src/cpp/common/secure_channel_arguments.cc",
282 "src/cpp/common/secure_create_auth_context.cc",
283 "src/cpp/server/insecure_server_credentials.cc",
284 "src/cpp/server/secure_server_credentials.cc",
285 ],
286 hdrs = [
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200287 "src/cpp/client/secure_credentials.h",
288 "src/cpp/common/secure_auth_context.h",
289 "src/cpp/server/secure_server_credentials.h",
290 ],
291 language = "c++",
Nicolas "Pixel" Noble86ac5962017-05-31 20:23:41 +0200292 public_hdrs = GRPCXX_PUBLIC_HDRS,
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200293 standalone = True,
294 deps = [
295 "gpr",
296 "grpc",
297 "grpc++_base",
298 "grpc++_codegen_base",
299 "grpc++_codegen_base_src",
Jan Tattermuschaead5aa2017-02-10 11:00:29 -0800300 "grpc++_codegen_proto",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200301 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200302)
303
304grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200305 name = "grpc++_unsecure",
306 srcs = [
307 "src/cpp/client/insecure_credentials.cc",
308 "src/cpp/common/insecure_create_auth_context.cc",
309 "src/cpp/server/insecure_server_credentials.cc",
310 ],
311 language = "c++",
312 standalone = True,
313 deps = [
314 "gpr",
Vijay Pai576e5462017-04-20 18:40:16 +0000315 "grpc++_base_unsecure",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200316 "grpc++_codegen_base",
317 "grpc++_codegen_base_src",
Vijay Pai42807252017-07-28 15:08:24 -0700318 "grpc++_codegen_proto",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200319 "grpc_unsecure",
320 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200321)
322
323grpc_cc_library(
yang-geceec8e2017-04-10 11:58:44 -0700324 name = "grpc++_error_details",
325 srcs = [
326 "src/cpp/util/error_details.cc",
327 ],
328 hdrs = [
329 "include/grpc++/support/error_details.h",
330 ],
331 language = "c++",
332 standalone = True,
333 deps = [
334 "grpc++",
335 "//src/proto/grpc/status:status_proto",
336 ],
337)
338
339grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200340 name = "grpc_plugin_support",
341 srcs = [
342 "src/compiler/cpp_generator.cc",
343 "src/compiler/csharp_generator.cc",
344 "src/compiler/node_generator.cc",
345 "src/compiler/objective_c_generator.cc",
346 "src/compiler/php_generator.cc",
347 "src/compiler/python_generator.cc",
348 "src/compiler/ruby_generator.cc",
349 ],
350 hdrs = [
351 "src/compiler/config.h",
352 "src/compiler/cpp_generator.h",
353 "src/compiler/cpp_generator_helpers.h",
354 "src/compiler/csharp_generator.h",
355 "src/compiler/csharp_generator_helpers.h",
356 "src/compiler/generator_helpers.h",
357 "src/compiler/node_generator.h",
358 "src/compiler/node_generator_helpers.h",
359 "src/compiler/objective_c_generator.h",
360 "src/compiler/objective_c_generator_helpers.h",
361 "src/compiler/php_generator.h",
362 "src/compiler/php_generator_helpers.h",
Jan Tattermusch61f729f2017-04-06 17:11:44 +0200363 "src/compiler/protobuf_plugin.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200364 "src/compiler/python_generator.h",
Harsh Vardhan3cbc6ad2017-02-07 13:09:16 +0530365 "src/compiler/python_generator_helpers.h",
366 "src/compiler/python_private_generator.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200367 "src/compiler/ruby_generator.h",
368 "src/compiler/ruby_generator_helpers-inl.h",
369 "src/compiler/ruby_generator_map-inl.h",
370 "src/compiler/ruby_generator_string-inl.h",
Jan Tattermusch61f729f2017-04-06 17:11:44 +0200371 "src/compiler/schema_interface.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200372 ],
373 external_deps = [
Nicolas "Pixel" Noble4dc64312016-10-20 23:07:37 +0200374 "protobuf_clib",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200375 ],
376 language = "c++",
377 deps = [
378 "grpc++_config_proto",
379 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200380)
381
Nicolas "Pixel" Noble4dc64312016-10-20 23:07:37 +0200382grpc_proto_plugin(
383 name = "grpc_cpp_plugin",
384 srcs = ["src/compiler/cpp_plugin.cc"],
385 deps = [":grpc_plugin_support"],
386)
387
388grpc_proto_plugin(
389 name = "grpc_csharp_plugin",
390 srcs = ["src/compiler/csharp_plugin.cc"],
391 deps = [":grpc_plugin_support"],
392)
393
394grpc_proto_plugin(
395 name = "grpc_node_plugin",
396 srcs = ["src/compiler/node_plugin.cc"],
397 deps = [":grpc_plugin_support"],
398)
399
400grpc_proto_plugin(
401 name = "grpc_objective_c_plugin",
402 srcs = ["src/compiler/objective_c_plugin.cc"],
403 deps = [":grpc_plugin_support"],
404)
405
406grpc_proto_plugin(
407 name = "grpc_php_plugin",
408 srcs = ["src/compiler/php_plugin.cc"],
409 deps = [":grpc_plugin_support"],
410)
411
412grpc_proto_plugin(
413 name = "grpc_python_plugin",
414 srcs = ["src/compiler/python_plugin.cc"],
415 deps = [":grpc_plugin_support"],
416)
417
418grpc_proto_plugin(
419 name = "grpc_ruby_plugin",
420 srcs = ["src/compiler/ruby_plugin.cc"],
421 deps = [":grpc_plugin_support"],
422)
423
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200424grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200425 name = "grpc_csharp_ext",
426 srcs = [
427 "src/csharp/ext/grpc_csharp_ext.c",
428 ],
429 language = "csharp",
430 deps = [
431 "gpr",
432 "grpc",
433 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200434)
435
436grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200437 name = "census",
438 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -0700439 "src/core/ext/census/grpc_context.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200440 ],
441 external_deps = [
442 "nanopb",
443 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -0700444 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200445 public_hdrs = [
446 "include/grpc/census.h",
447 ],
448 deps = [
449 "grpc_base",
450 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200451)
452
453grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200454 name = "gpr_base",
455 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -0700456 "src/core/lib/profiling/basic_timers.cc",
457 "src/core/lib/profiling/stap_timers.cc",
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800458 "src/core/lib/gpr/alloc.cc",
459 "src/core/lib/gpr/arena.cc",
460 "src/core/lib/gpr/atm.cc",
461 "src/core/lib/gpr/avl.cc",
462 "src/core/lib/gpr/cmdline.cc",
463 "src/core/lib/gpr/cpu_iphone.cc",
464 "src/core/lib/gpr/cpu_linux.cc",
465 "src/core/lib/gpr/cpu_posix.cc",
466 "src/core/lib/gpr/cpu_windows.cc",
467 "src/core/lib/gpr/env_linux.cc",
468 "src/core/lib/gpr/env_posix.cc",
469 "src/core/lib/gpr/env_windows.cc",
470 "src/core/lib/gpr/fork.cc",
471 "src/core/lib/gpr/host_port.cc",
472 "src/core/lib/gpr/log.cc",
473 "src/core/lib/gpr/log_android.cc",
474 "src/core/lib/gpr/log_linux.cc",
475 "src/core/lib/gpr/log_posix.cc",
476 "src/core/lib/gpr/log_windows.cc",
477 "src/core/lib/gpr/mpscq.cc",
478 "src/core/lib/gpr/murmur_hash.cc",
479 "src/core/lib/gpr/string.cc",
480 "src/core/lib/gpr/string_posix.cc",
481 "src/core/lib/gpr/string_util_windows.cc",
482 "src/core/lib/gpr/string_windows.cc",
483 "src/core/lib/gpr/subprocess_posix.cc",
484 "src/core/lib/gpr/subprocess_windows.cc",
485 "src/core/lib/gpr/sync.cc",
486 "src/core/lib/gpr/sync_posix.cc",
487 "src/core/lib/gpr/sync_windows.cc",
488 "src/core/lib/gpr/thd.cc",
489 "src/core/lib/gpr/thd_posix.cc",
490 "src/core/lib/gpr/thd_windows.cc",
491 "src/core/lib/gpr/time.cc",
492 "src/core/lib/gpr/time_posix.cc",
493 "src/core/lib/gpr/time_precise.cc",
494 "src/core/lib/gpr/time_windows.cc",
495 "src/core/lib/gpr/tls_pthread.cc",
496 "src/core/lib/gpr/tmpfile_msys.cc",
497 "src/core/lib/gpr/tmpfile_posix.cc",
498 "src/core/lib/gpr/tmpfile_windows.cc",
499 "src/core/lib/gpr/wrap_memcpy.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200500 ],
501 hdrs = [
502 "src/core/lib/profiling/timers.h",
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800503 "src/core/lib/gpr/arena.h",
504 "src/core/lib/gpr/env.h",
505 "src/core/lib/gpr/fork.h",
506 "src/core/lib/gpr/mpscq.h",
507 "src/core/lib/gpr/murmur_hash.h",
508 "src/core/lib/gpr/spinlock.h",
509 "src/core/lib/gpr/string.h",
510 "src/core/lib/gpr/string_windows.h",
511 "src/core/lib/gpr/thd_internal.h",
512 "src/core/lib/gpr/time_precise.h",
513 "src/core/lib/gpr/tmpfile.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200514 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -0700515 language = "c++",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +0200516 public_hdrs = GPR_PUBLIC_HDRS,
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200517 deps = [
518 "gpr_codegen",
519 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200520)
521
522grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200523 name = "gpr_codegen",
Yash Tibrewal2dcbc102017-10-03 16:23:07 -0700524 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200525 public_hdrs = [
526 "include/grpc/impl/codegen/atm.h",
527 "include/grpc/impl/codegen/atm_gcc_atomic.h",
528 "include/grpc/impl/codegen/atm_gcc_sync.h",
529 "include/grpc/impl/codegen/atm_windows.h",
Ken Payson9714e032017-10-10 11:18:49 -0700530 "include/grpc/impl/codegen/fork.h",
Mark D. Roth348fba22017-01-06 11:07:30 -0800531 "include/grpc/impl/codegen/gpr_slice.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200532 "include/grpc/impl/codegen/gpr_types.h",
533 "include/grpc/impl/codegen/port_platform.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200534 "include/grpc/impl/codegen/sync.h",
yang-g9ff60312017-08-24 09:08:21 -0700535 "include/grpc/impl/codegen/sync_custom.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200536 "include/grpc/impl/codegen/sync_generic.h",
537 "include/grpc/impl/codegen/sync_posix.h",
538 "include/grpc/impl/codegen/sync_windows.h",
539 ],
Craig Tillerda179ce2016-02-09 12:01:53 -0800540)
541
Nicolas "Pixel" Noble31d11db2016-10-20 09:29:46 +0200542grpc_cc_library(
Craig Tiller1f477302017-05-05 11:01:25 -0700543 name = "grpc_trace",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700544 srcs = ["src/core/lib/debug/trace.cc"],
Craig Tiller1f477302017-05-05 11:01:25 -0700545 hdrs = ["src/core/lib/debug/trace.h"],
Yash Tibrewala60c7632017-09-28 16:13:32 -0700546 language = "c++",
Yash Tibrewal12587d52017-10-05 08:53:41 -0700547 public_hdrs = GRPC_PUBLIC_HDRS,
Yash Tibrewalf49ab122017-10-03 18:36:05 -0700548 deps = [
549 "grpc_codegen",
550 ":gpr",
551 ],
Craig Tiller1f477302017-05-05 11:01:25 -0700552)
553
554grpc_cc_library(
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800555 name = "gpr++_base",
Mark D. Roth70db6632017-11-27 14:53:26 -0800556 language = "c++",
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800557 public_hdrs = [
Mark D. Roth4f2b0fd2018-01-19 12:12:23 -0800558 "src/core/lib/gprpp/abstract.h",
559 "src/core/lib/gprpp/manual_constructor.h",
560 "src/core/lib/gprpp/memory.h",
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800561 ],
562)
563
564grpc_cc_library(
565 name = "atomic",
566 language = "c++",
567 public_hdrs = [
Mark D. Roth4f2b0fd2018-01-19 12:12:23 -0800568 "src/core/lib/gprpp/atomic.h",
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800569 ],
570 hdrs = [
Mark D. Roth4f2b0fd2018-01-19 12:12:23 -0800571 "src/core/lib/gprpp/atomic_with_atm.h",
572 "src/core/lib/gprpp/atomic_with_std.h",
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800573 ],
574 deps = [
575 "gpr",
576 ],
577)
578
579grpc_cc_library(
580 name = "inlined_vector",
581 language = "c++",
582 public_hdrs = [
Mark D. Roth4f2b0fd2018-01-19 12:12:23 -0800583 "src/core/lib/gprpp/inlined_vector.h",
584 ],
585 deps = [
586 "gpr++_base",
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800587 ],
588)
589
590grpc_cc_library(
Mark D. Roth70db6632017-11-27 14:53:26 -0800591 name = "debug_location",
Mark D. Roth70db6632017-11-27 14:53:26 -0800592 language = "c++",
Mark D. Roth4f2b0fd2018-01-19 12:12:23 -0800593 public_hdrs = ["src/core/lib/gprpp/debug_location.h"],
Mark D. Roth70db6632017-11-27 14:53:26 -0800594)
595
596grpc_cc_library(
Mark D. Roth324703d2018-01-11 07:41:31 -0800597 name = "orphanable",
Mark D. Roth324703d2018-01-11 07:41:31 -0800598 language = "c++",
Mark D. Roth4f2b0fd2018-01-19 12:12:23 -0800599 public_hdrs = ["src/core/lib/gprpp/orphanable.h"],
Mark D. Roth324703d2018-01-11 07:41:31 -0800600 deps = [
Mark D. Roth324703d2018-01-11 07:41:31 -0800601 "debug_location",
Mark D. Roth4f2b0fd2018-01-19 12:12:23 -0800602 "gpr++_base",
David Garcia Quintas41d27e12018-01-17 10:38:53 -0800603 "grpc_trace",
Mark D. Roth324703d2018-01-11 07:41:31 -0800604 ],
Mark D. Roth70db6632017-11-27 14:53:26 -0800605)
606
607grpc_cc_library(
Mark D. Rothbf816d32017-11-29 11:25:34 -0800608 name = "ref_counted",
Mark D. Roth70db6632017-11-27 14:53:26 -0800609 language = "c++",
Mark D. Roth4f2b0fd2018-01-19 12:12:23 -0800610 public_hdrs = ["src/core/lib/gprpp/ref_counted.h"],
Mark D. Roth70db6632017-11-27 14:53:26 -0800611 deps = [
Mark D. Roth70db6632017-11-27 14:53:26 -0800612 "debug_location",
Mark D. Roth4f2b0fd2018-01-19 12:12:23 -0800613 "gpr++_base",
David Garcia Quintas53bfe692018-01-04 16:39:08 -0800614 "grpc_trace",
Mark D. Roth70db6632017-11-27 14:53:26 -0800615 ],
616)
617
618grpc_cc_library(
Mark D. Rothbf816d32017-11-29 11:25:34 -0800619 name = "ref_counted_ptr",
Mark D. Rothcf9ca842017-11-28 08:24:35 -0800620 language = "c++",
Mark D. Roth4f2b0fd2018-01-19 12:12:23 -0800621 public_hdrs = ["src/core/lib/gprpp/ref_counted_ptr.h"],
622 deps = [
623 "gpr++_base",
624 ],
Mark D. Rothcf9ca842017-11-28 08:24:35 -0800625)
626
627grpc_cc_library(
Craig Tiller832c6072017-05-11 14:38:05 -0700628 name = "grpc_base_c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200629 srcs = [
Craig Tillere1a2b4a2017-10-05 11:07:14 -0700630 "src/core/lib/backoff/backoff.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700631 "src/core/lib/channel/channel_args.cc",
632 "src/core/lib/channel/channel_stack.cc",
633 "src/core/lib/channel/channel_stack_builder.cc",
634 "src/core/lib/channel/connected_channel.cc",
635 "src/core/lib/channel/handshaker.cc",
636 "src/core/lib/channel/handshaker_factory.cc",
637 "src/core/lib/channel/handshaker_registry.cc",
638 "src/core/lib/compression/compression.cc",
Muxi Yan03fc8572017-10-06 18:47:09 -0700639 "src/core/lib/compression/compression_internal.cc",
Muxi Yanf7a97e12017-10-11 16:59:27 -0700640 "src/core/lib/compression/compression_ruby.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700641 "src/core/lib/compression/message_compress.cc",
642 "src/core/lib/compression/stream_compression.cc",
643 "src/core/lib/compression/stream_compression_gzip.cc",
644 "src/core/lib/compression/stream_compression_identity.cc",
645 "src/core/lib/debug/stats.cc",
646 "src/core/lib/debug/stats_data.cc",
647 "src/core/lib/http/format_request.cc",
648 "src/core/lib/http/httpcli.cc",
649 "src/core/lib/http/parser.cc",
650 "src/core/lib/iomgr/call_combiner.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700651 "src/core/lib/iomgr/combiner.cc",
652 "src/core/lib/iomgr/endpoint.cc",
653 "src/core/lib/iomgr/endpoint_pair_posix.cc",
654 "src/core/lib/iomgr/endpoint_pair_uv.cc",
655 "src/core/lib/iomgr/endpoint_pair_windows.cc",
656 "src/core/lib/iomgr/error.cc",
657 "src/core/lib/iomgr/ev_epoll1_linux.cc",
658 "src/core/lib/iomgr/ev_epollex_linux.cc",
659 "src/core/lib/iomgr/ev_epollsig_linux.cc",
660 "src/core/lib/iomgr/ev_poll_posix.cc",
661 "src/core/lib/iomgr/ev_posix.cc",
662 "src/core/lib/iomgr/ev_windows.cc",
663 "src/core/lib/iomgr/exec_ctx.cc",
664 "src/core/lib/iomgr/executor.cc",
Nicolas "Pixel" Noble18a68372017-11-20 23:33:22 +0100665 "src/core/lib/iomgr/fork_posix.cc",
666 "src/core/lib/iomgr/fork_windows.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700667 "src/core/lib/iomgr/gethostname_fallback.cc",
668 "src/core/lib/iomgr/gethostname_host_name_max.cc",
669 "src/core/lib/iomgr/gethostname_sysconf.cc",
670 "src/core/lib/iomgr/iocp_windows.cc",
671 "src/core/lib/iomgr/iomgr.cc",
672 "src/core/lib/iomgr/iomgr_posix.cc",
673 "src/core/lib/iomgr/iomgr_uv.cc",
674 "src/core/lib/iomgr/iomgr_windows.cc",
675 "src/core/lib/iomgr/is_epollexclusive_available.cc",
676 "src/core/lib/iomgr/load_file.cc",
677 "src/core/lib/iomgr/lockfree_event.cc",
678 "src/core/lib/iomgr/network_status_tracker.cc",
679 "src/core/lib/iomgr/polling_entity.cc",
680 "src/core/lib/iomgr/pollset_set_uv.cc",
681 "src/core/lib/iomgr/pollset_set_windows.cc",
682 "src/core/lib/iomgr/pollset_uv.cc",
683 "src/core/lib/iomgr/pollset_windows.cc",
684 "src/core/lib/iomgr/resolve_address_posix.cc",
685 "src/core/lib/iomgr/resolve_address_uv.cc",
686 "src/core/lib/iomgr/resolve_address_windows.cc",
687 "src/core/lib/iomgr/resource_quota.cc",
688 "src/core/lib/iomgr/sockaddr_utils.cc",
689 "src/core/lib/iomgr/socket_factory_posix.cc",
690 "src/core/lib/iomgr/socket_mutator.cc",
691 "src/core/lib/iomgr/socket_utils_common_posix.cc",
692 "src/core/lib/iomgr/socket_utils_linux.cc",
693 "src/core/lib/iomgr/socket_utils_posix.cc",
694 "src/core/lib/iomgr/socket_utils_uv.cc",
Yash Tibrewal26c78032017-09-28 14:34:43 -0700695 "src/core/lib/iomgr/socket_utils_windows.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700696 "src/core/lib/iomgr/socket_windows.cc",
697 "src/core/lib/iomgr/tcp_client_posix.cc",
698 "src/core/lib/iomgr/tcp_client_uv.cc",
699 "src/core/lib/iomgr/tcp_client_windows.cc",
700 "src/core/lib/iomgr/tcp_posix.cc",
701 "src/core/lib/iomgr/tcp_server_posix.cc",
702 "src/core/lib/iomgr/tcp_server_utils_posix_common.cc",
703 "src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc",
704 "src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc",
705 "src/core/lib/iomgr/tcp_server_uv.cc",
706 "src/core/lib/iomgr/tcp_server_windows.cc",
707 "src/core/lib/iomgr/tcp_uv.cc",
708 "src/core/lib/iomgr/tcp_windows.cc",
709 "src/core/lib/iomgr/time_averaged_stats.cc",
710 "src/core/lib/iomgr/timer_generic.cc",
711 "src/core/lib/iomgr/timer_heap.cc",
712 "src/core/lib/iomgr/timer_manager.cc",
713 "src/core/lib/iomgr/timer_uv.cc",
714 "src/core/lib/iomgr/udp_server.cc",
715 "src/core/lib/iomgr/unix_sockets_posix.cc",
716 "src/core/lib/iomgr/unix_sockets_posix_noop.cc",
717 "src/core/lib/iomgr/wakeup_fd_cv.cc",
718 "src/core/lib/iomgr/wakeup_fd_eventfd.cc",
719 "src/core/lib/iomgr/wakeup_fd_nospecial.cc",
720 "src/core/lib/iomgr/wakeup_fd_pipe.cc",
721 "src/core/lib/iomgr/wakeup_fd_posix.cc",
722 "src/core/lib/json/json.cc",
723 "src/core/lib/json/json_reader.cc",
724 "src/core/lib/json/json_string.cc",
725 "src/core/lib/json/json_writer.cc",
726 "src/core/lib/slice/b64.cc",
727 "src/core/lib/slice/percent_encoding.cc",
728 "src/core/lib/slice/slice.cc",
729 "src/core/lib/slice/slice_buffer.cc",
730 "src/core/lib/slice/slice_hash_table.cc",
731 "src/core/lib/slice/slice_intern.cc",
732 "src/core/lib/slice/slice_string_helpers.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700733 "src/core/lib/surface/api_trace.cc",
734 "src/core/lib/surface/byte_buffer.cc",
735 "src/core/lib/surface/byte_buffer_reader.cc",
736 "src/core/lib/surface/call.cc",
737 "src/core/lib/surface/call_details.cc",
738 "src/core/lib/surface/call_log_batch.cc",
739 "src/core/lib/surface/channel.cc",
740 "src/core/lib/surface/channel_init.cc",
741 "src/core/lib/surface/channel_ping.cc",
742 "src/core/lib/surface/channel_stack_type.cc",
743 "src/core/lib/surface/completion_queue.cc",
744 "src/core/lib/surface/completion_queue_factory.cc",
745 "src/core/lib/surface/event_string.cc",
746 "src/core/lib/surface/metadata_array.cc",
747 "src/core/lib/surface/server.cc",
748 "src/core/lib/surface/validate_metadata.cc",
749 "src/core/lib/surface/version.cc",
750 "src/core/lib/transport/bdp_estimator.cc",
751 "src/core/lib/transport/byte_stream.cc",
752 "src/core/lib/transport/connectivity_state.cc",
753 "src/core/lib/transport/error_utils.cc",
754 "src/core/lib/transport/metadata.cc",
755 "src/core/lib/transport/metadata_batch.cc",
756 "src/core/lib/transport/pid_controller.cc",
757 "src/core/lib/transport/service_config.cc",
758 "src/core/lib/transport/static_metadata.cc",
759 "src/core/lib/transport/status_conversion.cc",
760 "src/core/lib/transport/timeout_encoding.cc",
761 "src/core/lib/transport/transport.cc",
762 "src/core/lib/transport/transport_op_string.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200763 ],
764 hdrs = [
Vijay Pai89125422017-11-22 10:22:28 -0800765 "src/core/lib/backoff/backoff.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200766 "src/core/lib/channel/channel_args.h",
767 "src/core/lib/channel/channel_stack.h",
768 "src/core/lib/channel/channel_stack_builder.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200769 "src/core/lib/channel/connected_channel.h",
770 "src/core/lib/channel/context.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200771 "src/core/lib/channel/handshaker.h",
Mark D. Roth1f0f23c2017-01-06 13:07:19 -0800772 "src/core/lib/channel/handshaker_factory.h",
773 "src/core/lib/channel/handshaker_registry.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200774 "src/core/lib/compression/algorithm_metadata.h",
Muxi Yane6d888d2017-09-14 09:42:56 -0700775 "src/core/lib/compression/compression_internal.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200776 "src/core/lib/compression/message_compress.h",
Muxi Yan1e9bdb52017-07-14 10:14:02 -0700777 "src/core/lib/compression/stream_compression.h",
Muxi Yan9cd90f42017-09-07 09:51:13 -0700778 "src/core/lib/compression/stream_compression_gzip.h",
779 "src/core/lib/compression/stream_compression_identity.h",
David Garcia Quintasb352be02017-09-18 11:55:52 -0700780 "src/core/lib/debug/stats.h",
781 "src/core/lib/debug/stats_data.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200782 "src/core/lib/http/format_request.h",
783 "src/core/lib/http/httpcli.h",
784 "src/core/lib/http/parser.h",
Vijay Pai89125422017-11-22 10:22:28 -0800785 "src/core/lib/iomgr/block_annotate.h",
Mark D. Roth764cf042017-09-01 09:00:06 -0700786 "src/core/lib/iomgr/call_combiner.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200787 "src/core/lib/iomgr/closure.h",
788 "src/core/lib/iomgr/combiner.h",
789 "src/core/lib/iomgr/endpoint.h",
790 "src/core/lib/iomgr/endpoint_pair.h",
791 "src/core/lib/iomgr/error.h",
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800792 "src/core/lib/iomgr/error_internal.h",
Craig Tiller18545a32017-05-05 17:33:44 +0000793 "src/core/lib/iomgr/ev_epoll1_linux.h",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700794 "src/core/lib/iomgr/ev_epollex_linux.h",
795 "src/core/lib/iomgr/ev_epollsig_linux.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200796 "src/core/lib/iomgr/ev_poll_posix.h",
797 "src/core/lib/iomgr/ev_posix.h",
798 "src/core/lib/iomgr/exec_ctx.h",
799 "src/core/lib/iomgr/executor.h",
Mark D. Rothf9bf4282017-08-03 14:47:23 -0700800 "src/core/lib/iomgr/gethostname.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200801 "src/core/lib/iomgr/iocp_windows.h",
802 "src/core/lib/iomgr/iomgr.h",
803 "src/core/lib/iomgr/iomgr_internal.h",
804 "src/core/lib/iomgr/iomgr_posix.h",
murgatroid99b8e07ad2017-07-18 13:20:55 -0700805 "src/core/lib/iomgr/iomgr_uv.h",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700806 "src/core/lib/iomgr/is_epollexclusive_available.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200807 "src/core/lib/iomgr/load_file.h",
Jan Tattermusch43713e62017-04-12 09:20:29 +0200808 "src/core/lib/iomgr/lockfree_event.h",
Yuchen Zeng2d6ce742017-07-28 15:21:01 -0700809 "src/core/lib/iomgr/nameser.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200810 "src/core/lib/iomgr/network_status_tracker.h",
811 "src/core/lib/iomgr/polling_entity.h",
812 "src/core/lib/iomgr/pollset.h",
813 "src/core/lib/iomgr/pollset_set.h",
814 "src/core/lib/iomgr/pollset_set_windows.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200815 "src/core/lib/iomgr/pollset_uv.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200816 "src/core/lib/iomgr/pollset_windows.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200817 "src/core/lib/iomgr/port.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200818 "src/core/lib/iomgr/resolve_address.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100819 "src/core/lib/iomgr/resource_quota.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200820 "src/core/lib/iomgr/sockaddr.h",
821 "src/core/lib/iomgr/sockaddr_posix.h",
822 "src/core/lib/iomgr/sockaddr_utils.h",
823 "src/core/lib/iomgr/sockaddr_windows.h",
Michael Warresc46b3eb2017-02-22 22:57:04 -0500824 "src/core/lib/iomgr/socket_factory_posix.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100825 "src/core/lib/iomgr/socket_mutator.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200826 "src/core/lib/iomgr/socket_utils.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200827 "src/core/lib/iomgr/socket_utils_posix.h",
828 "src/core/lib/iomgr/socket_windows.h",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700829 "src/core/lib/iomgr/sys_epoll_wrapper.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200830 "src/core/lib/iomgr/tcp_client.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100831 "src/core/lib/iomgr/tcp_client_posix.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200832 "src/core/lib/iomgr/tcp_posix.h",
833 "src/core/lib/iomgr/tcp_server.h",
Yuchen Zeng47155ed2017-03-13 17:18:07 -0700834 "src/core/lib/iomgr/tcp_server_utils_posix.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200835 "src/core/lib/iomgr/tcp_uv.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200836 "src/core/lib/iomgr/tcp_windows.h",
837 "src/core/lib/iomgr/time_averaged_stats.h",
838 "src/core/lib/iomgr/timer.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200839 "src/core/lib/iomgr/timer_generic.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200840 "src/core/lib/iomgr/timer_heap.h",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700841 "src/core/lib/iomgr/timer_manager.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200842 "src/core/lib/iomgr/timer_uv.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200843 "src/core/lib/iomgr/udp_server.h",
844 "src/core/lib/iomgr/unix_sockets_posix.h",
845 "src/core/lib/iomgr/wakeup_fd_cv.h",
846 "src/core/lib/iomgr/wakeup_fd_pipe.h",
847 "src/core/lib/iomgr/wakeup_fd_posix.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200848 "src/core/lib/json/json.h",
849 "src/core/lib/json/json_common.h",
850 "src/core/lib/json/json_reader.h",
851 "src/core/lib/json/json_writer.h",
Craig Tiller29b527f2017-03-30 10:27:20 -0700852 "src/core/lib/slice/b64.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100853 "src/core/lib/slice/percent_encoding.h",
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800854 "src/core/lib/slice/slice_hash_table.h",
Craig Tiller3ca60192017-01-04 14:41:29 -0800855 "src/core/lib/slice/slice_internal.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100856 "src/core/lib/slice/slice_string_helpers.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200857 "src/core/lib/surface/api_trace.h",
858 "src/core/lib/surface/call.h",
859 "src/core/lib/surface/call_test_only.h",
860 "src/core/lib/surface/channel.h",
861 "src/core/lib/surface/channel_init.h",
862 "src/core/lib/surface/channel_stack_type.h",
863 "src/core/lib/surface/completion_queue.h",
Sree Kuchibhotlaf6c20262017-03-21 18:52:19 -0700864 "src/core/lib/surface/completion_queue_factory.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200865 "src/core/lib/surface/event_string.h",
866 "src/core/lib/surface/init.h",
867 "src/core/lib/surface/lame_client.h",
868 "src/core/lib/surface/server.h",
David Garcia Quintas01291502017-02-07 13:26:41 -0800869 "src/core/lib/surface/validate_metadata.h",
David Garcia Quintas5481a582017-02-14 16:11:42 -0800870 "src/core/lib/transport/bdp_estimator.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200871 "src/core/lib/transport/byte_stream.h",
872 "src/core/lib/transport/connectivity_state.h",
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800873 "src/core/lib/transport/error_utils.h",
874 "src/core/lib/transport/http2_errors.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200875 "src/core/lib/transport/metadata.h",
876 "src/core/lib/transport/metadata_batch.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100877 "src/core/lib/transport/pid_controller.h",
878 "src/core/lib/transport/service_config.h",
879 "src/core/lib/transport/static_metadata.h",
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800880 "src/core/lib/transport/status_conversion.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200881 "src/core/lib/transport/timeout_encoding.h",
882 "src/core/lib/transport/transport.h",
883 "src/core/lib/transport/transport_impl.h",
884 ],
885 external_deps = [
886 "zlib",
887 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -0700888 language = "c++",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +0200889 public_hdrs = GRPC_PUBLIC_HDRS,
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200890 deps = [
891 "gpr_base",
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800892 "gpr++_base",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200893 "grpc_codegen",
Craig Tiller1f477302017-05-05 11:01:25 -0700894 "grpc_trace",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200895 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200896)
897
898grpc_cc_library(
Craig Tiller832c6072017-05-11 14:38:05 -0700899 name = "grpc_base",
Craig Tiller832c6072017-05-11 14:38:05 -0700900 srcs = [
901 "src/core/lib/surface/lame_client.cc",
902 ],
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700903 language = "c++",
Craig Tiller832c6072017-05-11 14:38:05 -0700904 deps = [
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800905 "atomic",
Craig Tiller832c6072017-05-11 14:38:05 -0700906 "grpc_base_c",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700907 ],
908)
909
910grpc_cc_library(
911 name = "grpc_common",
Yash Tibrewal2dcbc102017-10-03 16:23:07 -0700912 language = "c++",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700913 deps = [
914 "grpc_base",
915 # standard plugins
916 "census",
917 "grpc_deadline_filter",
918 "grpc_lb_policy_pick_first",
919 "grpc_lb_policy_round_robin",
David Garcia Quintas0822d332017-09-06 17:40:42 -0700920 "grpc_server_load_reporting",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700921 "grpc_max_age_filter",
922 "grpc_message_size_filter",
Vijay Pai42807252017-07-28 15:08:24 -0700923 "grpc_resolver_dns_ares",
924 "grpc_resolver_fake",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700925 "grpc_resolver_dns_native",
926 "grpc_resolver_sockaddr",
927 "grpc_transport_chttp2_client_insecure",
928 "grpc_transport_chttp2_server_insecure",
Vijay Pai3d7d5f42017-05-04 10:02:24 -0700929 "grpc_transport_inproc",
Muxi Yan2a5bbc12017-05-15 12:03:08 -0700930 "grpc_workaround_cronet_compression_filter",
931 "grpc_server_backward_compatibility",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200932 ],
933)
934
935grpc_cc_library(
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100936 name = "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200937 srcs = [
Yuchen Zeng0bad30a2017-10-05 21:47:39 -0700938 "src/core/ext/filters/client_channel/backup_poller.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700939 "src/core/ext/filters/client_channel/channel_connectivity.cc",
940 "src/core/ext/filters/client_channel/client_channel.cc",
941 "src/core/ext/filters/client_channel/client_channel_factory.cc",
942 "src/core/ext/filters/client_channel/client_channel_plugin.cc",
943 "src/core/ext/filters/client_channel/connector.cc",
944 "src/core/ext/filters/client_channel/http_connect_handshaker.cc",
945 "src/core/ext/filters/client_channel/http_proxy.cc",
946 "src/core/ext/filters/client_channel/lb_policy.cc",
947 "src/core/ext/filters/client_channel/lb_policy_factory.cc",
948 "src/core/ext/filters/client_channel/lb_policy_registry.cc",
949 "src/core/ext/filters/client_channel/parse_address.cc",
950 "src/core/ext/filters/client_channel/proxy_mapper.cc",
951 "src/core/ext/filters/client_channel/proxy_mapper_registry.cc",
952 "src/core/ext/filters/client_channel/resolver.cc",
953 "src/core/ext/filters/client_channel/resolver_factory.cc",
954 "src/core/ext/filters/client_channel/resolver_registry.cc",
955 "src/core/ext/filters/client_channel/retry_throttle.cc",
956 "src/core/ext/filters/client_channel/subchannel.cc",
957 "src/core/ext/filters/client_channel/subchannel_index.cc",
958 "src/core/ext/filters/client_channel/uri_parser.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200959 ],
960 hdrs = [
Yuchen Zeng0bad30a2017-10-05 21:47:39 -0700961 "src/core/ext/filters/client_channel/backup_poller.h",
Craig Tiller9eb0fde2017-03-31 16:59:30 -0700962 "src/core/ext/filters/client_channel/client_channel.h",
963 "src/core/ext/filters/client_channel/client_channel_factory.h",
964 "src/core/ext/filters/client_channel/connector.h",
965 "src/core/ext/filters/client_channel/http_connect_handshaker.h",
966 "src/core/ext/filters/client_channel/http_proxy.h",
967 "src/core/ext/filters/client_channel/lb_policy.h",
968 "src/core/ext/filters/client_channel/lb_policy_factory.h",
969 "src/core/ext/filters/client_channel/lb_policy_registry.h",
970 "src/core/ext/filters/client_channel/parse_address.h",
971 "src/core/ext/filters/client_channel/proxy_mapper.h",
972 "src/core/ext/filters/client_channel/proxy_mapper_registry.h",
973 "src/core/ext/filters/client_channel/resolver.h",
974 "src/core/ext/filters/client_channel/resolver_factory.h",
975 "src/core/ext/filters/client_channel/resolver_registry.h",
976 "src/core/ext/filters/client_channel/retry_throttle.h",
977 "src/core/ext/filters/client_channel/subchannel.h",
978 "src/core/ext/filters/client_channel/subchannel_index.h",
979 "src/core/ext/filters/client_channel/uri_parser.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200980 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -0700981 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200982 deps = [
983 "grpc_base",
Craig Tillerdcd24e42017-04-06 10:47:46 -0700984 "grpc_deadline_filter",
David Garcia Quintas53bfe692018-01-04 16:39:08 -0800985 "ref_counted",
David Garcia Quintas4adad992018-01-17 13:50:39 -0800986 "ref_counted_ptr",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200987 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200988)
989
990grpc_cc_library(
Craig Tiller6b97e532017-04-03 12:56:23 -0700991 name = "grpc_max_age_filter",
992 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -0700993 "src/core/ext/filters/max_age/max_age_filter.cc",
Craig Tiller6b97e532017-04-03 12:56:23 -0700994 ],
995 hdrs = [
996 "src/core/ext/filters/max_age/max_age_filter.h",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200997 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -0700998 language = "c++",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200999 deps = [
1000 "grpc_base",
1001 ],
1002)
1003
1004grpc_cc_library(
Craig Tiller3be7dd02017-04-03 14:30:03 -07001005 name = "grpc_deadline_filter",
1006 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001007 "src/core/ext/filters/deadline/deadline_filter.cc",
Craig Tiller3be7dd02017-04-03 14:30:03 -07001008 ],
1009 hdrs = [
1010 "src/core/ext/filters/deadline/deadline_filter.h",
1011 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001012 language = "c++",
Craig Tiller3be7dd02017-04-03 14:30:03 -07001013 deps = [
1014 "grpc_base",
1015 ],
1016)
1017
1018grpc_cc_library(
Craig Tiller6461c342017-04-03 13:00:31 -07001019 name = "grpc_message_size_filter",
1020 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001021 "src/core/ext/filters/message_size/message_size_filter.cc",
Craig Tiller6461c342017-04-03 13:00:31 -07001022 ],
1023 hdrs = [
1024 "src/core/ext/filters/message_size/message_size_filter.h",
1025 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001026 language = "c++",
Craig Tiller6461c342017-04-03 13:00:31 -07001027 deps = [
1028 "grpc_base",
1029 ],
1030)
1031
1032grpc_cc_library(
Craig Tilleraf767432017-04-03 13:54:31 -07001033 name = "grpc_http_filters",
Craig Tilleraf767432017-04-03 13:54:31 -07001034 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001035 "src/core/ext/filters/http/client/http_client_filter.cc",
1036 "src/core/ext/filters/http/http_filters_plugin.cc",
1037 "src/core/ext/filters/http/message_compress/message_compress_filter.cc",
1038 "src/core/ext/filters/http/server/http_server_filter.cc",
Sree Kuchibhotlad4fc32e2017-05-02 14:15:12 -07001039 ],
1040 hdrs = [
1041 "src/core/ext/filters/http/client/http_client_filter.h",
1042 "src/core/ext/filters/http/message_compress/message_compress_filter.h",
1043 "src/core/ext/filters/http/server/http_server_filter.h",
Craig Tilleraf767432017-04-03 13:54:31 -07001044 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001045 language = "c++",
Craig Tilleraf767432017-04-03 13:54:31 -07001046 deps = [
1047 "grpc_base",
1048 ],
1049)
1050
1051grpc_cc_library(
Muxi Yan2a5bbc12017-05-15 12:03:08 -07001052 name = "grpc_workaround_cronet_compression_filter",
1053 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001054 "src/core/ext/filters/workarounds/workaround_cronet_compression_filter.cc",
Muxi Yan2a5bbc12017-05-15 12:03:08 -07001055 ],
1056 hdrs = [
1057 "src/core/ext/filters/workarounds/workaround_cronet_compression_filter.h",
1058 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001059 language = "c++",
Muxi Yan2a5bbc12017-05-15 12:03:08 -07001060 deps = [
1061 "grpc_base",
1062 "grpc_server_backward_compatibility",
1063 ],
1064)
1065
1066grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001067 name = "grpc_codegen",
Yash Tibrewal2dcbc102017-10-03 16:23:07 -07001068 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001069 public_hdrs = [
Vijay Paiefce6e12017-09-14 09:07:50 -07001070 "include/grpc/impl/codegen/byte_buffer.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001071 "include/grpc/impl/codegen/byte_buffer_reader.h",
1072 "include/grpc/impl/codegen/compression_types.h",
1073 "include/grpc/impl/codegen/connectivity_state.h",
1074 "include/grpc/impl/codegen/grpc_types.h",
1075 "include/grpc/impl/codegen/propagation_bits.h",
1076 "include/grpc/impl/codegen/status.h",
Craig Tiller0d32f2f2017-03-30 10:50:29 -07001077 "include/grpc/impl/codegen/slice.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001078 ],
1079 deps = [
1080 "gpr_codegen",
1081 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001082)
1083
1084grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001085 name = "grpc_lb_policy_grpclb",
1086 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001087 "src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc",
1088 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc",
1089 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.cc",
1090 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc",
1091 "src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc",
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001092 "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 +02001093 ],
1094 hdrs = [
Mark D. Roth09e458c2017-05-02 08:13:26 -07001095 "src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.h",
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001096 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.h",
1097 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.h",
Mark D. Roth09e458c2017-05-02 08:13:26 -07001098 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.h",
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001099 "src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.h",
1100 "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 +02001101 ],
1102 external_deps = [
1103 "nanopb",
1104 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001105 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001106 deps = [
1107 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001108 "grpc_client_channel",
David Garcia Quintas87d5a312017-06-06 19:45:58 -07001109 "grpc_resolver_fake",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001110 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001111)
1112
1113grpc_cc_library(
David Garcia Quintas01291502017-02-07 13:26:41 -08001114 name = "grpc_lb_policy_grpclb_secure",
1115 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001116 "src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc",
1117 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc",
1118 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel_secure.cc",
1119 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc",
1120 "src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc",
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001121 "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 -08001122 ],
1123 hdrs = [
Mark D. Roth09e458c2017-05-02 08:13:26 -07001124 "src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.h",
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001125 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.h",
1126 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.h",
Mark D. Roth09e458c2017-05-02 08:13:26 -07001127 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.h",
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001128 "src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.h",
1129 "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 -08001130 ],
1131 external_deps = [
1132 "nanopb",
1133 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001134 language = "c++",
David Garcia Quintas01291502017-02-07 13:26:41 -08001135 deps = [
1136 "grpc_base",
1137 "grpc_client_channel",
David Garcia Quintas87d5a312017-06-06 19:45:58 -07001138 "grpc_resolver_fake",
David Garcia Quintas01291502017-02-07 13:26:41 -08001139 "grpc_secure",
1140 ],
1141)
1142
1143grpc_cc_library(
Mark D. Roth5e9848e2017-10-06 13:59:32 -07001144 name = "grpc_lb_subchannel_list",
1145 srcs = [
1146 "src/core/ext/filters/client_channel/lb_policy/subchannel_list.cc",
1147 ],
1148 hdrs = [
1149 "src/core/ext/filters/client_channel/lb_policy/subchannel_list.h",
1150 ],
1151 language = "c++",
1152 deps = [
1153 "grpc_base",
1154 "grpc_client_channel",
1155 ],
1156)
1157
1158grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001159 name = "grpc_lb_policy_pick_first",
1160 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001161 "src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001162 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001163 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001164 deps = [
1165 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001166 "grpc_client_channel",
Mark D. Roth5e9848e2017-10-06 13:59:32 -07001167 "grpc_lb_subchannel_list",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001168 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001169)
1170
1171grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001172 name = "grpc_lb_policy_round_robin",
1173 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001174 "src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001175 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001176 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001177 deps = [
1178 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001179 "grpc_client_channel",
Mark D. Roth5e9848e2017-10-06 13:59:32 -07001180 "grpc_lb_subchannel_list",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001181 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001182)
1183
1184grpc_cc_library(
David Garcia Quintas0822d332017-09-06 17:40:42 -07001185 name = "grpc_server_load_reporting",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001186 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001187 "src/core/ext/filters/load_reporting/server_load_reporting_filter.cc",
1188 "src/core/ext/filters/load_reporting/server_load_reporting_plugin.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001189 ],
1190 hdrs = [
David Garcia Quintas0822d332017-09-06 17:40:42 -07001191 "src/core/ext/filters/load_reporting/server_load_reporting_filter.h",
1192 "src/core/ext/filters/load_reporting/server_load_reporting_plugin.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001193 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001194 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001195 deps = [
1196 "grpc_base",
1197 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001198)
1199
1200grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001201 name = "grpc_resolver_dns_native",
1202 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001203 "src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001204 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001205 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001206 deps = [
1207 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001208 "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001209 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001210)
1211
1212grpc_cc_library(
Yuchen Zeng4c702ed2017-01-23 10:30:10 -08001213 name = "grpc_resolver_dns_ares",
1214 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001215 "src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc",
1216 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc",
1217 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc",
1218 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_fallback.cc",
Yuchen Zeng4c702ed2017-01-23 10:30:10 -08001219 ],
1220 hdrs = [
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001221 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.h",
1222 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.h",
Yuchen Zeng4c702ed2017-01-23 10:30:10 -08001223 ],
Jan Tattermusch61f729f2017-04-06 17:11:44 +02001224 external_deps = [
1225 "cares",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001226 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001227 language = "c++",
Yuchen Zeng4c702ed2017-01-23 10:30:10 -08001228 deps = [
1229 "grpc_base",
1230 "grpc_client_channel",
1231 ],
Yuchen Zeng4c702ed2017-01-23 10:30:10 -08001232)
1233
1234grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001235 name = "grpc_resolver_sockaddr",
1236 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001237 "src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001238 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001239 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001240 deps = [
1241 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001242 "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001243 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001244)
1245
1246grpc_cc_library(
David Garcia Quintas87d5a312017-06-06 19:45:58 -07001247 name = "grpc_resolver_fake",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001248 srcs = ["src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc"],
David Garcia Quintas87d5a312017-06-06 19:45:58 -07001249 hdrs = ["src/core/ext/filters/client_channel/resolver/fake/fake_resolver.h"],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001250 language = "c++",
murgatroid99d5b04552017-06-15 17:48:42 -07001251 visibility = ["//test:__subpackages__"],
David Garcia Quintas87d5a312017-06-06 19:45:58 -07001252 deps = [
1253 "grpc_base",
1254 "grpc_client_channel",
1255 ],
1256)
1257
1258grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001259 name = "grpc_secure",
1260 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001261 "src/core/lib/http/httpcli_security_connector.cc",
1262 "src/core/lib/security/context/security_context.cc",
1263 "src/core/lib/security/credentials/composite/composite_credentials.cc",
1264 "src/core/lib/security/credentials/credentials.cc",
1265 "src/core/lib/security/credentials/credentials_metadata.cc",
1266 "src/core/lib/security/credentials/fake/fake_credentials.cc",
1267 "src/core/lib/security/credentials/google_default/credentials_generic.cc",
1268 "src/core/lib/security/credentials/google_default/google_default_credentials.cc",
1269 "src/core/lib/security/credentials/iam/iam_credentials.cc",
1270 "src/core/lib/security/credentials/jwt/json_token.cc",
1271 "src/core/lib/security/credentials/jwt/jwt_credentials.cc",
1272 "src/core/lib/security/credentials/jwt/jwt_verifier.cc",
1273 "src/core/lib/security/credentials/oauth2/oauth2_credentials.cc",
1274 "src/core/lib/security/credentials/plugin/plugin_credentials.cc",
1275 "src/core/lib/security/credentials/ssl/ssl_credentials.cc",
1276 "src/core/lib/security/transport/client_auth_filter.cc",
1277 "src/core/lib/security/transport/lb_targets_info.cc",
1278 "src/core/lib/security/transport/secure_endpoint.cc",
1279 "src/core/lib/security/transport/security_connector.cc",
1280 "src/core/lib/security/transport/security_handshaker.cc",
1281 "src/core/lib/security/transport/server_auth_filter.cc",
1282 "src/core/lib/security/transport/tsi_error.cc",
1283 "src/core/lib/security/util/json_util.cc",
1284 "src/core/lib/surface/init_secure.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001285 ],
1286 hdrs = [
1287 "src/core/lib/security/context/security_context.h",
1288 "src/core/lib/security/credentials/composite/composite_credentials.h",
1289 "src/core/lib/security/credentials/credentials.h",
1290 "src/core/lib/security/credentials/fake/fake_credentials.h",
1291 "src/core/lib/security/credentials/google_default/google_default_credentials.h",
1292 "src/core/lib/security/credentials/iam/iam_credentials.h",
1293 "src/core/lib/security/credentials/jwt/json_token.h",
1294 "src/core/lib/security/credentials/jwt/jwt_credentials.h",
1295 "src/core/lib/security/credentials/jwt/jwt_verifier.h",
1296 "src/core/lib/security/credentials/oauth2/oauth2_credentials.h",
1297 "src/core/lib/security/credentials/plugin/plugin_credentials.h",
1298 "src/core/lib/security/credentials/ssl/ssl_credentials.h",
1299 "src/core/lib/security/transport/auth_filters.h",
David Garcia Quintas01291502017-02-07 13:26:41 -08001300 "src/core/lib/security/transport/lb_targets_info.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001301 "src/core/lib/security/transport/secure_endpoint.h",
1302 "src/core/lib/security/transport/security_connector.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001303 "src/core/lib/security/transport/security_handshaker.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001304 "src/core/lib/security/transport/tsi_error.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001305 "src/core/lib/security/util/json_util.h",
1306 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001307 language = "c++",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +02001308 public_hdrs = GRPC_SECURE_PUBLIC_HDRS,
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001309 deps = [
1310 "grpc_base",
1311 "grpc_transport_chttp2_alpn",
1312 "tsi",
1313 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001314)
1315
1316grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001317 name = "grpc_transport_chttp2",
1318 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001319 "src/core/ext/transport/chttp2/transport/bin_decoder.cc",
1320 "src/core/ext/transport/chttp2/transport/bin_encoder.cc",
1321 "src/core/ext/transport/chttp2/transport/chttp2_plugin.cc",
1322 "src/core/ext/transport/chttp2/transport/chttp2_transport.cc",
1323 "src/core/ext/transport/chttp2/transport/flow_control.cc",
1324 "src/core/ext/transport/chttp2/transport/frame_data.cc",
1325 "src/core/ext/transport/chttp2/transport/frame_goaway.cc",
1326 "src/core/ext/transport/chttp2/transport/frame_ping.cc",
1327 "src/core/ext/transport/chttp2/transport/frame_rst_stream.cc",
1328 "src/core/ext/transport/chttp2/transport/frame_settings.cc",
1329 "src/core/ext/transport/chttp2/transport/frame_window_update.cc",
1330 "src/core/ext/transport/chttp2/transport/hpack_encoder.cc",
1331 "src/core/ext/transport/chttp2/transport/hpack_parser.cc",
1332 "src/core/ext/transport/chttp2/transport/hpack_table.cc",
1333 "src/core/ext/transport/chttp2/transport/http2_settings.cc",
1334 "src/core/ext/transport/chttp2/transport/huffsyms.cc",
1335 "src/core/ext/transport/chttp2/transport/incoming_metadata.cc",
1336 "src/core/ext/transport/chttp2/transport/parsing.cc",
1337 "src/core/ext/transport/chttp2/transport/stream_lists.cc",
1338 "src/core/ext/transport/chttp2/transport/stream_map.cc",
1339 "src/core/ext/transport/chttp2/transport/varint.cc",
1340 "src/core/ext/transport/chttp2/transport/writing.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001341 ],
1342 hdrs = [
1343 "src/core/ext/transport/chttp2/transport/bin_decoder.h",
1344 "src/core/ext/transport/chttp2/transport/bin_encoder.h",
1345 "src/core/ext/transport/chttp2/transport/chttp2_transport.h",
Craig Tiller32736482017-10-12 22:02:28 -07001346 "src/core/ext/transport/chttp2/transport/flow_control.h",
Vijay Pai89125422017-11-22 10:22:28 -08001347 "src/core/ext/transport/chttp2/transport/frame.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001348 "src/core/ext/transport/chttp2/transport/frame_data.h",
1349 "src/core/ext/transport/chttp2/transport/frame_goaway.h",
1350 "src/core/ext/transport/chttp2/transport/frame_ping.h",
1351 "src/core/ext/transport/chttp2/transport/frame_rst_stream.h",
1352 "src/core/ext/transport/chttp2/transport/frame_settings.h",
1353 "src/core/ext/transport/chttp2/transport/frame_window_update.h",
1354 "src/core/ext/transport/chttp2/transport/hpack_encoder.h",
1355 "src/core/ext/transport/chttp2/transport/hpack_parser.h",
1356 "src/core/ext/transport/chttp2/transport/hpack_table.h",
murgatroid99a41fd5b2017-04-13 09:56:17 -07001357 "src/core/ext/transport/chttp2/transport/http2_settings.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001358 "src/core/ext/transport/chttp2/transport/huffsyms.h",
1359 "src/core/ext/transport/chttp2/transport/incoming_metadata.h",
1360 "src/core/ext/transport/chttp2/transport/internal.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001361 "src/core/ext/transport/chttp2/transport/stream_map.h",
1362 "src/core/ext/transport/chttp2/transport/varint.h",
1363 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001364 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001365 deps = [
Mark D. Rothdbdf4952018-01-18 11:21:12 -08001366 "gpr++_base",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001367 "grpc_base",
Craig Tilleraf767432017-04-03 13:54:31 -07001368 "grpc_http_filters",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001369 "grpc_transport_chttp2_alpn",
1370 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001371)
1372
1373grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001374 name = "grpc_transport_chttp2_alpn",
1375 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001376 "src/core/ext/transport/chttp2/alpn/alpn.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001377 ],
1378 hdrs = [
1379 "src/core/ext/transport/chttp2/alpn/alpn.h",
1380 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001381 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001382 deps = [
1383 "gpr",
1384 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001385)
1386
1387grpc_cc_library(
David Garcia Quintas01291502017-02-07 13:26:41 -08001388 name = "grpc_transport_chttp2_client_connector",
1389 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001390 "src/core/ext/transport/chttp2/client/chttp2_connector.cc",
David Garcia Quintas01291502017-02-07 13:26:41 -08001391 ],
1392 hdrs = [
1393 "src/core/ext/transport/chttp2/client/chttp2_connector.h",
1394 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001395 language = "c++",
David Garcia Quintas01291502017-02-07 13:26:41 -08001396 deps = [
1397 "grpc_base",
1398 "grpc_client_channel",
1399 "grpc_transport_chttp2",
1400 ],
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +02001401)
1402
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001403grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001404 name = "grpc_transport_chttp2_client_insecure",
1405 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001406 "src/core/ext/transport/chttp2/client/insecure/channel_create.cc",
1407 "src/core/ext/transport/chttp2/client/insecure/channel_create_posix.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001408 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001409 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001410 deps = [
1411 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001412 "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001413 "grpc_transport_chttp2",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001414 "grpc_transport_chttp2_client_connector",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001415 ],
Makarand Dharmapurikar38d80552016-06-01 15:02:04 -07001416)
1417
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001418grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001419 name = "grpc_transport_chttp2_client_secure",
1420 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001421 "src/core/ext/transport/chttp2/client/secure/secure_channel_create.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001422 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001423 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001424 deps = [
1425 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001426 "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001427 "grpc_secure",
1428 "grpc_transport_chttp2",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001429 "grpc_transport_chttp2_client_connector",
1430 ],
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001431)
1432
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001433grpc_cc_library(
1434 name = "grpc_transport_chttp2_server",
1435 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001436 "src/core/ext/transport/chttp2/server/chttp2_server.cc",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001437 ],
1438 hdrs = [
1439 "src/core/ext/transport/chttp2/server/chttp2_server.h",
1440 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001441 language = "c++",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001442 deps = [
1443 "grpc_base",
1444 "grpc_transport_chttp2",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001445 ],
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001446)
1447
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001448grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001449 name = "grpc_transport_chttp2_server_insecure",
1450 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001451 "src/core/ext/transport/chttp2/server/insecure/server_chttp2.cc",
1452 "src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001453 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001454 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001455 deps = [
1456 "grpc_base",
1457 "grpc_transport_chttp2",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001458 "grpc_transport_chttp2_server",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001459 ],
Garrett Casto931a26b2016-10-04 09:18:29 -07001460)
1461
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001462grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001463 name = "grpc_transport_chttp2_server_secure",
1464 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001465 "src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001466 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001467 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001468 deps = [
1469 "grpc_base",
1470 "grpc_secure",
1471 "grpc_transport_chttp2",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001472 "grpc_transport_chttp2_server",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001473 ],
Yuchen Zengc84ed682016-05-04 16:30:11 -07001474)
1475
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001476grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001477 name = "grpc_transport_cronet_client_secure",
1478 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001479 "src/core/ext/transport/cronet/client/secure/cronet_channel_create.cc",
1480 "src/core/ext/transport/cronet/transport/cronet_api_dummy.cc",
1481 "src/core/ext/transport/cronet/transport/cronet_transport.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001482 ],
1483 hdrs = [
Muxi Yan0a2fae92017-02-01 14:49:03 -08001484 "src/core/ext/transport/cronet/transport/cronet_transport.h",
Sree Kuchibhotla43bca1b2017-02-22 16:37:27 -08001485 "third_party/objective_c/Cronet/bidirectional_stream_c.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001486 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001487 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001488 public_hdrs = [
1489 "include/grpc/grpc_cronet.h",
1490 "include/grpc/grpc_security.h",
1491 "include/grpc/grpc_security_constants.h",
1492 ],
1493 deps = [
1494 "grpc_base",
1495 "grpc_transport_chttp2",
1496 ],
Craig Tiller03915e52016-04-07 09:15:10 -07001497)
1498
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001499grpc_cc_library(
Vijay Pai3d7d5f42017-05-04 10:02:24 -07001500 name = "grpc_transport_inproc",
1501 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001502 "src/core/ext/transport/inproc/inproc_plugin.cc",
1503 "src/core/ext/transport/inproc/inproc_transport.cc",
Vijay Pai3d7d5f42017-05-04 10:02:24 -07001504 ],
1505 hdrs = [
1506 "src/core/ext/transport/inproc/inproc_transport.h",
1507 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001508 language = "c++",
Vijay Pai3d7d5f42017-05-04 10:02:24 -07001509 deps = [
1510 "grpc_base",
1511 ],
1512)
1513
1514grpc_cc_library(
jiangtaoli201625d6fd82017-08-09 11:15:04 -07001515 name = "tsi_interface",
1516 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001517 "src/core/tsi/transport_security.cc",
1518 "src/core/tsi/transport_security_adapter.cc",
jiangtaoli201625d6fd82017-08-09 11:15:04 -07001519 ],
1520 hdrs = [
1521 "src/core/tsi/transport_security.h",
1522 "src/core/tsi/transport_security_adapter.h",
1523 "src/core/tsi/transport_security_interface.h",
1524 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001525 language = "c++",
jiangtaoli201625d6fd82017-08-09 11:15:04 -07001526 deps = [
1527 "gpr",
1528 "grpc_trace",
1529 ],
1530)
1531
1532grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001533 name = "tsi",
1534 srcs = [
Yihua Zhangd36fe072018-01-23 10:40:45 -08001535 "src/core/tsi/alts_transport_security.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001536 "src/core/tsi/fake_transport_security.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001537 "src/core/tsi/ssl_transport_security.cc",
1538 "src/core/tsi/transport_security_grpc.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001539 ],
1540 hdrs = [
Yihua Zhangd36fe072018-01-23 10:40:45 -08001541 "src/core/tsi/alts_transport_security.h",
Craig Tiller134fed32017-03-28 14:27:18 -07001542 "src/core/tsi/fake_transport_security.h",
1543 "src/core/tsi/ssl_transport_security.h",
1544 "src/core/tsi/ssl_types.h",
Jiangtao Li0211cfb2017-08-07 11:24:07 -07001545 "src/core/tsi/transport_security_grpc.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001546 ],
1547 external_deps = [
1548 "libssl",
1549 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001550 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001551 deps = [
Yihua Zhang1435bfc2017-07-17 11:20:51 -07001552 "grpc_base",
jiangtaoli201625d6fd82017-08-09 11:15:04 -07001553 "tsi_interface",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001554 ],
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001555)
1556
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001557grpc_cc_library(
1558 name = "grpc++_base",
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001559 srcs = GRPCXX_SRCS,
Stanley Cheungebeda852017-05-17 19:34:47 -07001560 hdrs = GRPCXX_HDRS,
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001561 language = "c++",
Stanley Cheungebeda852017-05-17 19:34:47 -07001562 public_hdrs = GRPCXX_PUBLIC_HDRS,
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001563 deps = [
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001564 "grpc",
Stanley Cheungebeda852017-05-17 19:34:47 -07001565 "grpc++_codegen_base",
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001566 ],
1567)
1568
1569grpc_cc_library(
1570 name = "grpc++_base_unsecure",
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001571 srcs = GRPCXX_SRCS,
Stanley Cheungebeda852017-05-17 19:34:47 -07001572 hdrs = GRPCXX_HDRS,
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001573 language = "c++",
Stanley Cheungebeda852017-05-17 19:34:47 -07001574 public_hdrs = GRPCXX_PUBLIC_HDRS,
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001575 deps = [
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001576 "grpc++_codegen_base",
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001577 "grpc_unsecure",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001578 ],
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001579)
1580
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001581grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001582 name = "grpc++_codegen_base",
1583 language = "c++",
1584 public_hdrs = [
1585 "include/grpc++/impl/codegen/async_stream.h",
1586 "include/grpc++/impl/codegen/async_unary_call.h",
Vijay Paiefce6e12017-09-14 09:07:50 -07001587 "include/grpc++/impl/codegen/byte_buffer.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001588 "include/grpc++/impl/codegen/call.h",
1589 "include/grpc++/impl/codegen/call_hook.h",
1590 "include/grpc++/impl/codegen/channel_interface.h",
1591 "include/grpc++/impl/codegen/client_context.h",
1592 "include/grpc++/impl/codegen/client_unary_call.h",
1593 "include/grpc++/impl/codegen/completion_queue.h",
1594 "include/grpc++/impl/codegen/completion_queue_tag.h",
1595 "include/grpc++/impl/codegen/config.h",
1596 "include/grpc++/impl/codegen/core_codegen_interface.h",
1597 "include/grpc++/impl/codegen/create_auth_context.h",
1598 "include/grpc++/impl/codegen/grpc_library.h",
yang-g988b47c2017-01-31 09:51:45 -08001599 "include/grpc++/impl/codegen/metadata_map.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001600 "include/grpc++/impl/codegen/method_handler_impl.h",
1601 "include/grpc++/impl/codegen/rpc_method.h",
1602 "include/grpc++/impl/codegen/rpc_service_method.h",
1603 "include/grpc++/impl/codegen/security/auth_context.h",
1604 "include/grpc++/impl/codegen/serialization_traits.h",
1605 "include/grpc++/impl/codegen/server_context.h",
1606 "include/grpc++/impl/codegen/server_interface.h",
1607 "include/grpc++/impl/codegen/service_type.h",
yang-g988b47c2017-01-31 09:51:45 -08001608 "include/grpc++/impl/codegen/slice.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001609 "include/grpc++/impl/codegen/status.h",
1610 "include/grpc++/impl/codegen/status_code_enum.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001611 "include/grpc++/impl/codegen/string_ref.h",
1612 "include/grpc++/impl/codegen/stub_options.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001613 "include/grpc++/impl/codegen/sync_stream.h",
1614 "include/grpc++/impl/codegen/time.h",
1615 ],
1616 deps = [
1617 "grpc_codegen",
1618 ],
Craig Tillerda179ce2016-02-09 12:01:53 -08001619)
1620
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001621grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001622 name = "grpc++_codegen_base_src",
1623 srcs = [
1624 "src/cpp/codegen/codegen_init.cc",
1625 ],
1626 language = "c++",
1627 deps = [
1628 "grpc++_codegen_base",
1629 ],
Jorge Canizales140bca82015-06-20 09:47:00 -07001630)
1631
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001632grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001633 name = "grpc++_codegen_proto",
1634 language = "c++",
1635 public_hdrs = [
1636 "include/grpc++/impl/codegen/proto_utils.h",
1637 ],
1638 deps = [
1639 "grpc++_codegen_base",
1640 "grpc++_config_proto",
1641 ],
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001642)
1643
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001644grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001645 name = "grpc++_config_proto",
David Garcia Quintas5481a582017-02-14 16:11:42 -08001646 external_deps = [
Vijay Paidc7c50e2017-11-03 14:46:42 -07001647 "protobuf_headers",
David Garcia Quintas5481a582017-02-14 16:11:42 -08001648 ],
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001649 language = "c++",
1650 public_hdrs = [
1651 "include/grpc++/impl/codegen/config_protobuf.h",
1652 ],
Jan Tattermusch2d924952015-05-06 10:23:17 -07001653)
1654
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001655grpc_cc_library(
Sree Kuchibhotla43bca1b2017-02-22 16:37:27 -08001656 name = "grpc++_reflection",
1657 srcs = [
1658 "src/cpp/ext/proto_server_reflection.cc",
1659 "src/cpp/ext/proto_server_reflection_plugin.cc",
1660 ],
1661 hdrs = [
1662 "src/cpp/ext/proto_server_reflection.h",
1663 ],
1664 language = "c++",
1665 public_hdrs = [
1666 "include/grpc++/ext/proto_server_reflection_plugin.h",
1667 ],
1668 deps = [
1669 ":grpc++",
1670 "//src/proto/grpc/reflection/v1alpha:reflection_proto",
1671 ],
Ian Coolidge13213412017-06-27 21:49:44 -07001672 alwayslink = 1,
Sree Kuchibhotla43bca1b2017-02-22 16:37:27 -08001673)
Nicolas "Pixel" Noble2b0f0012017-04-24 19:59:19 +02001674
Nicolas "Pixel" Noble0885f982017-05-12 21:10:55 +02001675grpc_cc_library(
1676 name = "grpc++_test",
1677 public_hdrs = [
1678 "include/grpc++/test/mock_stream.h",
1679 "include/grpc++/test/server_context_test_spouse.h",
1680 ],
1681 deps = [
1682 ":grpc++",
1683 ],
1684)
1685
Muxi Yan2a5bbc12017-05-15 12:03:08 -07001686grpc_cc_library(
1687 name = "grpc_server_backward_compatibility",
1688 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001689 "src/core/ext/filters/workarounds/workaround_utils.cc",
Muxi Yan2a5bbc12017-05-15 12:03:08 -07001690 ],
1691 hdrs = [
1692 "src/core/ext/filters/workarounds/workaround_utils.h",
1693 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001694 language = "c++",
Muxi Yan2a5bbc12017-05-15 12:03:08 -07001695 deps = [
1696 "grpc_base",
1697 ],
1698)
1699
Craig Tillere1101cf2017-09-06 09:42:20 -07001700grpc_cc_library(
1701 name = "grpc++_core_stats",
1702 srcs = [
1703 "src/cpp/util/core_stats.cc",
1704 ],
1705 hdrs = [
1706 "src/cpp/util/core_stats.h",
1707 ],
1708 language = "c++",
1709 deps = [
1710 ":grpc++",
1711 "//src/proto/grpc/core:stats_proto",
1712 ],
1713)
1714
Nicolas "Pixel" Noble2b0f0012017-04-24 19:59:19 +02001715grpc_generate_one_off_targets()