blob: 2839195cc2f5bb4dd2a2857320a3b52fd931589c [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",
58 values = { "cpu": "x64_windows" },
59)
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 Afsharid1915a92018-01-19 14:23:17 -080067g_stands_for = "glamorous"
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 Afsharid1915a92018-01-19 14:23:17 -080071version = "1.10.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",
79 "include/grpc/support/avl.h",
80 "include/grpc/support/cmdline.h",
81 "include/grpc/support/cpu.h",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +020082 "include/grpc/support/host_port.h",
83 "include/grpc/support/log.h",
84 "include/grpc/support/log_windows.h",
85 "include/grpc/support/port_platform.h",
86 "include/grpc/support/string_util.h",
87 "include/grpc/support/subprocess.h",
88 "include/grpc/support/sync.h",
yang-g9ff60312017-08-24 09:08:21 -070089 "include/grpc/support/sync_custom.h",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +020090 "include/grpc/support/sync_generic.h",
91 "include/grpc/support/sync_posix.h",
92 "include/grpc/support/sync_windows.h",
93 "include/grpc/support/thd.h",
94 "include/grpc/support/time.h",
95 "include/grpc/support/tls.h",
96 "include/grpc/support/tls_gcc.h",
97 "include/grpc/support/tls_msvc.h",
98 "include/grpc/support/tls_pthread.h",
99 "include/grpc/support/useful.h",
100]
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200101
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +0200102GRPC_PUBLIC_HDRS = [
103 "include/grpc/byte_buffer.h",
104 "include/grpc/byte_buffer_reader.h",
105 "include/grpc/compression.h",
Muxi Yanf7a97e12017-10-11 16:59:27 -0700106 "include/grpc/compression_ruby.h",
Vijay Pai195cf1e2017-11-30 10:56:06 -0800107 "include/grpc/fork.h",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +0200108 "include/grpc/grpc.h",
109 "include/grpc/grpc_posix.h",
110 "include/grpc/grpc_security_constants.h",
Vijay Pai195cf1e2017-11-30 10:56:06 -0800111 "include/grpc/load_reporting.h",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +0200112 "include/grpc/slice.h",
113 "include/grpc/slice_buffer.h",
114 "include/grpc/status.h",
115 "include/grpc/support/workaround_list.h",
116]
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700117
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +0200118GRPC_SECURE_PUBLIC_HDRS = [
119 "include/grpc/grpc_security.h",
120]
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200121
Nicolas "Pixel" Noble86ac5962017-05-31 20:23:41 +0200122# TODO(ctiller): layer grpc atop grpc_unsecure, layer grpc++ atop grpc++_unsecure
123GRPCXX_SRCS = [
124 "src/cpp/client/channel_cc.cc",
125 "src/cpp/client/client_context.cc",
126 "src/cpp/client/create_channel.cc",
127 "src/cpp/client/create_channel_internal.cc",
128 "src/cpp/client/create_channel_posix.cc",
129 "src/cpp/client/credentials_cc.cc",
130 "src/cpp/client/generic_stub.cc",
Vijay Pai2b226ad2018-01-11 16:11:35 -0800131 "src/cpp/common/alarm.cc",
Nicolas "Pixel" Noble86ac5962017-05-31 20:23:41 +0200132 "src/cpp/common/channel_arguments.cc",
133 "src/cpp/common/channel_filter.cc",
134 "src/cpp/common/completion_queue_cc.cc",
135 "src/cpp/common/core_codegen.cc",
136 "src/cpp/common/resource_quota_cc.cc",
137 "src/cpp/common/rpc_method.cc",
138 "src/cpp/common/version_cc.cc",
139 "src/cpp/server/async_generic_service.cc",
140 "src/cpp/server/channel_argument_option.cc",
141 "src/cpp/server/create_default_thread_pool.cc",
142 "src/cpp/server/dynamic_thread_pool.cc",
143 "src/cpp/server/health/default_health_check_service.cc",
144 "src/cpp/server/health/health.pb.c",
145 "src/cpp/server/health/health_check_service.cc",
146 "src/cpp/server/health/health_check_service_server_builder_option.cc",
147 "src/cpp/server/server_builder.cc",
148 "src/cpp/server/server_cc.cc",
149 "src/cpp/server/server_context.cc",
150 "src/cpp/server/server_credentials.cc",
151 "src/cpp/server/server_posix.cc",
152 "src/cpp/thread_manager/thread_manager.cc",
153 "src/cpp/util/byte_buffer_cc.cc",
154 "src/cpp/util/slice_cc.cc",
155 "src/cpp/util/status.cc",
156 "src/cpp/util/string_ref.cc",
157 "src/cpp/util/time_cc.cc",
158]
159
160GRPCXX_HDRS = [
161 "src/cpp/client/create_channel_internal.h",
162 "src/cpp/common/channel_filter.h",
163 "src/cpp/server/dynamic_thread_pool.h",
164 "src/cpp/server/health/default_health_check_service.h",
165 "src/cpp/server/health/health.pb.h",
166 "src/cpp/server/thread_pool_interface.h",
167 "src/cpp/thread_manager/thread_manager.h",
168]
169
170GRPCXX_PUBLIC_HDRS = [
171 "include/grpc++/alarm.h",
172 "include/grpc++/channel.h",
173 "include/grpc++/client_context.h",
174 "include/grpc++/completion_queue.h",
175 "include/grpc++/create_channel.h",
176 "include/grpc++/create_channel_posix.h",
177 "include/grpc++/ext/health_check_service_server_builder_option.h",
178 "include/grpc++/generic/async_generic_service.h",
179 "include/grpc++/generic/generic_stub.h",
180 "include/grpc++/grpc++.h",
181 "include/grpc++/health_check_service_interface.h",
182 "include/grpc++/impl/call.h",
183 "include/grpc++/impl/channel_argument_option.h",
184 "include/grpc++/impl/client_unary_call.h",
185 "include/grpc++/impl/codegen/core_codegen.h",
186 "include/grpc++/impl/grpc_library.h",
187 "include/grpc++/impl/method_handler_impl.h",
188 "include/grpc++/impl/rpc_method.h",
189 "include/grpc++/impl/rpc_service_method.h",
190 "include/grpc++/impl/serialization_traits.h",
191 "include/grpc++/impl/server_builder_option.h",
192 "include/grpc++/impl/server_builder_plugin.h",
193 "include/grpc++/impl/server_initializer.h",
194 "include/grpc++/impl/service_type.h",
195 "include/grpc++/impl/sync_cxx11.h",
196 "include/grpc++/impl/sync_no_cxx11.h",
197 "include/grpc++/resource_quota.h",
198 "include/grpc++/security/auth_context.h",
199 "include/grpc++/security/auth_metadata_processor.h",
200 "include/grpc++/security/credentials.h",
201 "include/grpc++/security/server_credentials.h",
202 "include/grpc++/server.h",
203 "include/grpc++/server_builder.h",
204 "include/grpc++/server_context.h",
205 "include/grpc++/server_posix.h",
206 "include/grpc++/support/async_stream.h",
207 "include/grpc++/support/async_unary_call.h",
208 "include/grpc++/support/byte_buffer.h",
209 "include/grpc++/support/channel_arguments.h",
210 "include/grpc++/support/config.h",
211 "include/grpc++/support/slice.h",
212 "include/grpc++/support/status.h",
213 "include/grpc++/support/status_code_enum.h",
214 "include/grpc++/support/string_ref.h",
215 "include/grpc++/support/stub_options.h",
216 "include/grpc++/support/sync_stream.h",
217 "include/grpc++/support/time.h",
218]
219
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +0200220grpc_cc_library(
221 name = "gpr",
Yash Tibrewal2dcbc102017-10-03 16:23:07 -0700222 language = "c++",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +0200223 public_hdrs = GPR_PUBLIC_HDRS,
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +0200224 standalone = True,
225 deps = [
226 "gpr_base",
227 ],
228)
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +0200229
230grpc_cc_library(
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +0200231 name = "grpc_unsecure",
232 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -0700233 "src/core/lib/surface/init.cc",
234 "src/core/lib/surface/init_unsecure.cc",
235 "src/core/plugin_registry/grpc_unsecure_plugin_registry.cc",
Nicolas "Pixel" Noble31d11db2016-10-20 09:29:46 +0200236 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -0700237 language = "c++",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +0200238 public_hdrs = GRPC_PUBLIC_HDRS,
Nicolas "Pixel" Noble31d11db2016-10-20 09:29:46 +0200239 standalone = True,
Craig Tillerda179ce2016-02-09 12:01:53 -0800240 deps = [
241 "grpc_common",
Vijay Pai42807252017-07-28 15:08:24 -0700242 "grpc_lb_policy_grpclb",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200243 ],
244)
245
246grpc_cc_library(
247 name = "grpc",
248 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -0700249 "src/core/lib/surface/init.cc",
250 "src/core/plugin_registry/grpc_plugin_registry.cc",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200251 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -0700252 language = "c++",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +0200253 public_hdrs = GRPC_PUBLIC_HDRS + GRPC_SECURE_PUBLIC_HDRS,
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200254 standalone = True,
255 deps = [
256 "grpc_common",
257 "grpc_lb_policy_grpclb_secure",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200258 "grpc_secure",
259 "grpc_transport_chttp2_client_secure",
260 "grpc_transport_chttp2_server_secure",
261 ],
262)
263
264grpc_cc_library(
265 name = "grpc_cronet",
266 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -0700267 "src/core/lib/surface/init.cc",
268 "src/core/plugin_registry/grpc_cronet_plugin_registry.cc",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200269 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -0700270 language = "c++",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200271 deps = [
272 "grpc_base",
273 "grpc_http_filters",
274 "grpc_transport_chttp2_client_secure",
275 "grpc_transport_cronet_client_secure",
276 ],
277)
278
279grpc_cc_library(
makdharma8d6e6f62018-01-23 09:44:25 -0800280 name = "grpc++_public_hdrs",
281 hdrs = GRPCXX_PUBLIC_HDRS,
282)
283
284grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200285 name = "grpc++",
286 srcs = [
287 "src/cpp/client/insecure_credentials.cc",
288 "src/cpp/client/secure_credentials.cc",
289 "src/cpp/common/auth_property_iterator.cc",
290 "src/cpp/common/secure_auth_context.cc",
291 "src/cpp/common/secure_channel_arguments.cc",
292 "src/cpp/common/secure_create_auth_context.cc",
293 "src/cpp/server/insecure_server_credentials.cc",
294 "src/cpp/server/secure_server_credentials.cc",
295 ],
296 hdrs = [
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200297 "src/cpp/client/secure_credentials.h",
298 "src/cpp/common/secure_auth_context.h",
299 "src/cpp/server/secure_server_credentials.h",
300 ],
301 language = "c++",
Nicolas "Pixel" Noble86ac5962017-05-31 20:23:41 +0200302 public_hdrs = GRPCXX_PUBLIC_HDRS,
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200303 standalone = True,
304 deps = [
305 "gpr",
306 "grpc",
307 "grpc++_base",
308 "grpc++_codegen_base",
309 "grpc++_codegen_base_src",
Jan Tattermuschaead5aa2017-02-10 11:00:29 -0800310 "grpc++_codegen_proto",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200311 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200312)
313
314grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200315 name = "grpc++_unsecure",
316 srcs = [
317 "src/cpp/client/insecure_credentials.cc",
318 "src/cpp/common/insecure_create_auth_context.cc",
319 "src/cpp/server/insecure_server_credentials.cc",
320 ],
321 language = "c++",
322 standalone = True,
323 deps = [
324 "gpr",
Vijay Pai576e5462017-04-20 18:40:16 +0000325 "grpc++_base_unsecure",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200326 "grpc++_codegen_base",
327 "grpc++_codegen_base_src",
Vijay Pai42807252017-07-28 15:08:24 -0700328 "grpc++_codegen_proto",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200329 "grpc_unsecure",
330 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200331)
332
333grpc_cc_library(
yang-geceec8e2017-04-10 11:58:44 -0700334 name = "grpc++_error_details",
335 srcs = [
336 "src/cpp/util/error_details.cc",
337 ],
338 hdrs = [
339 "include/grpc++/support/error_details.h",
340 ],
341 language = "c++",
342 standalone = True,
343 deps = [
344 "grpc++",
345 "//src/proto/grpc/status:status_proto",
346 ],
347)
348
349grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200350 name = "grpc_plugin_support",
351 srcs = [
352 "src/compiler/cpp_generator.cc",
353 "src/compiler/csharp_generator.cc",
354 "src/compiler/node_generator.cc",
355 "src/compiler/objective_c_generator.cc",
356 "src/compiler/php_generator.cc",
357 "src/compiler/python_generator.cc",
358 "src/compiler/ruby_generator.cc",
359 ],
360 hdrs = [
361 "src/compiler/config.h",
362 "src/compiler/cpp_generator.h",
363 "src/compiler/cpp_generator_helpers.h",
364 "src/compiler/csharp_generator.h",
365 "src/compiler/csharp_generator_helpers.h",
366 "src/compiler/generator_helpers.h",
367 "src/compiler/node_generator.h",
368 "src/compiler/node_generator_helpers.h",
369 "src/compiler/objective_c_generator.h",
370 "src/compiler/objective_c_generator_helpers.h",
371 "src/compiler/php_generator.h",
372 "src/compiler/php_generator_helpers.h",
Jan Tattermusch61f729f2017-04-06 17:11:44 +0200373 "src/compiler/protobuf_plugin.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200374 "src/compiler/python_generator.h",
Harsh Vardhan3cbc6ad2017-02-07 13:09:16 +0530375 "src/compiler/python_generator_helpers.h",
376 "src/compiler/python_private_generator.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200377 "src/compiler/ruby_generator.h",
378 "src/compiler/ruby_generator_helpers-inl.h",
379 "src/compiler/ruby_generator_map-inl.h",
380 "src/compiler/ruby_generator_string-inl.h",
Jan Tattermusch61f729f2017-04-06 17:11:44 +0200381 "src/compiler/schema_interface.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200382 ],
383 external_deps = [
Nicolas "Pixel" Noble4dc64312016-10-20 23:07:37 +0200384 "protobuf_clib",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200385 ],
386 language = "c++",
387 deps = [
388 "grpc++_config_proto",
389 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200390)
391
Nicolas "Pixel" Noble4dc64312016-10-20 23:07:37 +0200392grpc_proto_plugin(
393 name = "grpc_cpp_plugin",
394 srcs = ["src/compiler/cpp_plugin.cc"],
395 deps = [":grpc_plugin_support"],
396)
397
398grpc_proto_plugin(
399 name = "grpc_csharp_plugin",
400 srcs = ["src/compiler/csharp_plugin.cc"],
401 deps = [":grpc_plugin_support"],
402)
403
404grpc_proto_plugin(
405 name = "grpc_node_plugin",
406 srcs = ["src/compiler/node_plugin.cc"],
407 deps = [":grpc_plugin_support"],
408)
409
410grpc_proto_plugin(
411 name = "grpc_objective_c_plugin",
412 srcs = ["src/compiler/objective_c_plugin.cc"],
413 deps = [":grpc_plugin_support"],
414)
415
416grpc_proto_plugin(
417 name = "grpc_php_plugin",
418 srcs = ["src/compiler/php_plugin.cc"],
419 deps = [":grpc_plugin_support"],
420)
421
422grpc_proto_plugin(
423 name = "grpc_python_plugin",
424 srcs = ["src/compiler/python_plugin.cc"],
425 deps = [":grpc_plugin_support"],
426)
427
428grpc_proto_plugin(
429 name = "grpc_ruby_plugin",
430 srcs = ["src/compiler/ruby_plugin.cc"],
431 deps = [":grpc_plugin_support"],
432)
433
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200434grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200435 name = "grpc_csharp_ext",
436 srcs = [
437 "src/csharp/ext/grpc_csharp_ext.c",
438 ],
439 language = "csharp",
440 deps = [
441 "gpr",
442 "grpc",
443 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200444)
445
446grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200447 name = "census",
448 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -0700449 "src/core/ext/census/grpc_context.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200450 ],
451 external_deps = [
452 "nanopb",
453 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -0700454 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200455 public_hdrs = [
456 "include/grpc/census.h",
457 ],
458 deps = [
459 "grpc_base",
460 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200461)
462
463grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200464 name = "gpr_base",
465 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -0700466 "src/core/lib/profiling/basic_timers.cc",
467 "src/core/lib/profiling/stap_timers.cc",
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800468 "src/core/lib/gpr/alloc.cc",
469 "src/core/lib/gpr/arena.cc",
470 "src/core/lib/gpr/atm.cc",
471 "src/core/lib/gpr/avl.cc",
472 "src/core/lib/gpr/cmdline.cc",
473 "src/core/lib/gpr/cpu_iphone.cc",
474 "src/core/lib/gpr/cpu_linux.cc",
475 "src/core/lib/gpr/cpu_posix.cc",
476 "src/core/lib/gpr/cpu_windows.cc",
477 "src/core/lib/gpr/env_linux.cc",
478 "src/core/lib/gpr/env_posix.cc",
479 "src/core/lib/gpr/env_windows.cc",
480 "src/core/lib/gpr/fork.cc",
481 "src/core/lib/gpr/host_port.cc",
482 "src/core/lib/gpr/log.cc",
483 "src/core/lib/gpr/log_android.cc",
484 "src/core/lib/gpr/log_linux.cc",
485 "src/core/lib/gpr/log_posix.cc",
486 "src/core/lib/gpr/log_windows.cc",
487 "src/core/lib/gpr/mpscq.cc",
488 "src/core/lib/gpr/murmur_hash.cc",
489 "src/core/lib/gpr/string.cc",
490 "src/core/lib/gpr/string_posix.cc",
491 "src/core/lib/gpr/string_util_windows.cc",
492 "src/core/lib/gpr/string_windows.cc",
493 "src/core/lib/gpr/subprocess_posix.cc",
494 "src/core/lib/gpr/subprocess_windows.cc",
495 "src/core/lib/gpr/sync.cc",
496 "src/core/lib/gpr/sync_posix.cc",
497 "src/core/lib/gpr/sync_windows.cc",
498 "src/core/lib/gpr/thd.cc",
499 "src/core/lib/gpr/thd_posix.cc",
500 "src/core/lib/gpr/thd_windows.cc",
501 "src/core/lib/gpr/time.cc",
502 "src/core/lib/gpr/time_posix.cc",
503 "src/core/lib/gpr/time_precise.cc",
504 "src/core/lib/gpr/time_windows.cc",
505 "src/core/lib/gpr/tls_pthread.cc",
506 "src/core/lib/gpr/tmpfile_msys.cc",
507 "src/core/lib/gpr/tmpfile_posix.cc",
508 "src/core/lib/gpr/tmpfile_windows.cc",
509 "src/core/lib/gpr/wrap_memcpy.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200510 ],
511 hdrs = [
512 "src/core/lib/profiling/timers.h",
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800513 "src/core/lib/gpr/arena.h",
514 "src/core/lib/gpr/env.h",
515 "src/core/lib/gpr/fork.h",
516 "src/core/lib/gpr/mpscq.h",
517 "src/core/lib/gpr/murmur_hash.h",
518 "src/core/lib/gpr/spinlock.h",
519 "src/core/lib/gpr/string.h",
520 "src/core/lib/gpr/string_windows.h",
521 "src/core/lib/gpr/thd_internal.h",
522 "src/core/lib/gpr/time_precise.h",
523 "src/core/lib/gpr/tmpfile.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200524 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -0700525 language = "c++",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +0200526 public_hdrs = GPR_PUBLIC_HDRS,
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200527 deps = [
528 "gpr_codegen",
529 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200530)
531
532grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200533 name = "gpr_codegen",
Yash Tibrewal2dcbc102017-10-03 16:23:07 -0700534 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200535 public_hdrs = [
536 "include/grpc/impl/codegen/atm.h",
537 "include/grpc/impl/codegen/atm_gcc_atomic.h",
538 "include/grpc/impl/codegen/atm_gcc_sync.h",
539 "include/grpc/impl/codegen/atm_windows.h",
Ken Payson9714e032017-10-10 11:18:49 -0700540 "include/grpc/impl/codegen/fork.h",
Mark D. Roth348fba22017-01-06 11:07:30 -0800541 "include/grpc/impl/codegen/gpr_slice.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200542 "include/grpc/impl/codegen/gpr_types.h",
543 "include/grpc/impl/codegen/port_platform.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200544 "include/grpc/impl/codegen/sync.h",
yang-g9ff60312017-08-24 09:08:21 -0700545 "include/grpc/impl/codegen/sync_custom.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200546 "include/grpc/impl/codegen/sync_generic.h",
547 "include/grpc/impl/codegen/sync_posix.h",
548 "include/grpc/impl/codegen/sync_windows.h",
549 ],
Craig Tillerda179ce2016-02-09 12:01:53 -0800550)
551
Nicolas "Pixel" Noble31d11db2016-10-20 09:29:46 +0200552grpc_cc_library(
Craig Tiller1f477302017-05-05 11:01:25 -0700553 name = "grpc_trace",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700554 srcs = ["src/core/lib/debug/trace.cc"],
Craig Tiller1f477302017-05-05 11:01:25 -0700555 hdrs = ["src/core/lib/debug/trace.h"],
Yash Tibrewala60c7632017-09-28 16:13:32 -0700556 language = "c++",
Yash Tibrewal12587d52017-10-05 08:53:41 -0700557 public_hdrs = GRPC_PUBLIC_HDRS,
Yash Tibrewalf49ab122017-10-03 18:36:05 -0700558 deps = [
559 "grpc_codegen",
560 ":gpr",
561 ],
Craig Tiller1f477302017-05-05 11:01:25 -0700562)
563
564grpc_cc_library(
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800565 name = "gpr++_base",
Mark D. Roth70db6632017-11-27 14:53:26 -0800566 language = "c++",
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800567 public_hdrs = [
Mark D. Roth4f2b0fd2018-01-19 12:12:23 -0800568 "src/core/lib/gprpp/abstract.h",
569 "src/core/lib/gprpp/manual_constructor.h",
570 "src/core/lib/gprpp/memory.h",
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800571 ],
572)
573
574grpc_cc_library(
575 name = "atomic",
576 language = "c++",
577 public_hdrs = [
Mark D. Roth4f2b0fd2018-01-19 12:12:23 -0800578 "src/core/lib/gprpp/atomic.h",
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800579 ],
580 hdrs = [
Mark D. Roth4f2b0fd2018-01-19 12:12:23 -0800581 "src/core/lib/gprpp/atomic_with_atm.h",
582 "src/core/lib/gprpp/atomic_with_std.h",
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800583 ],
584 deps = [
585 "gpr",
586 ],
587)
588
589grpc_cc_library(
590 name = "inlined_vector",
591 language = "c++",
592 public_hdrs = [
Mark D. Roth4f2b0fd2018-01-19 12:12:23 -0800593 "src/core/lib/gprpp/inlined_vector.h",
594 ],
595 deps = [
596 "gpr++_base",
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800597 ],
598)
599
600grpc_cc_library(
Mark D. Roth70db6632017-11-27 14:53:26 -0800601 name = "debug_location",
Mark D. Roth70db6632017-11-27 14:53:26 -0800602 language = "c++",
Mark D. Roth4f2b0fd2018-01-19 12:12:23 -0800603 public_hdrs = ["src/core/lib/gprpp/debug_location.h"],
Mark D. Roth70db6632017-11-27 14:53:26 -0800604)
605
606grpc_cc_library(
Mark D. Roth324703d2018-01-11 07:41:31 -0800607 name = "orphanable",
Mark D. Roth324703d2018-01-11 07:41:31 -0800608 language = "c++",
Mark D. Roth4f2b0fd2018-01-19 12:12:23 -0800609 public_hdrs = ["src/core/lib/gprpp/orphanable.h"],
Mark D. Roth324703d2018-01-11 07:41:31 -0800610 deps = [
Mark D. Roth324703d2018-01-11 07:41:31 -0800611 "debug_location",
Mark D. Roth4f2b0fd2018-01-19 12:12:23 -0800612 "gpr++_base",
David Garcia Quintas41d27e12018-01-17 10:38:53 -0800613 "grpc_trace",
Mark D. Roth324703d2018-01-11 07:41:31 -0800614 ],
Mark D. Roth70db6632017-11-27 14:53:26 -0800615)
616
617grpc_cc_library(
Mark D. Rothbf816d32017-11-29 11:25:34 -0800618 name = "ref_counted",
Mark D. Roth70db6632017-11-27 14:53:26 -0800619 language = "c++",
Mark D. Roth4f2b0fd2018-01-19 12:12:23 -0800620 public_hdrs = ["src/core/lib/gprpp/ref_counted.h"],
Mark D. Roth70db6632017-11-27 14:53:26 -0800621 deps = [
Mark D. Roth70db6632017-11-27 14:53:26 -0800622 "debug_location",
Mark D. Roth4f2b0fd2018-01-19 12:12:23 -0800623 "gpr++_base",
David Garcia Quintas53bfe692018-01-04 16:39:08 -0800624 "grpc_trace",
Mark D. Roth70db6632017-11-27 14:53:26 -0800625 ],
626)
627
628grpc_cc_library(
Mark D. Rothbf816d32017-11-29 11:25:34 -0800629 name = "ref_counted_ptr",
Mark D. Rothcf9ca842017-11-28 08:24:35 -0800630 language = "c++",
Mark D. Roth4f2b0fd2018-01-19 12:12:23 -0800631 public_hdrs = ["src/core/lib/gprpp/ref_counted_ptr.h"],
632 deps = [
633 "gpr++_base",
634 ],
Mark D. Rothcf9ca842017-11-28 08:24:35 -0800635)
636
637grpc_cc_library(
Craig Tiller832c6072017-05-11 14:38:05 -0700638 name = "grpc_base_c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200639 srcs = [
Craig Tillere1a2b4a2017-10-05 11:07:14 -0700640 "src/core/lib/backoff/backoff.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700641 "src/core/lib/channel/channel_args.cc",
642 "src/core/lib/channel/channel_stack.cc",
643 "src/core/lib/channel/channel_stack_builder.cc",
644 "src/core/lib/channel/connected_channel.cc",
645 "src/core/lib/channel/handshaker.cc",
646 "src/core/lib/channel/handshaker_factory.cc",
647 "src/core/lib/channel/handshaker_registry.cc",
648 "src/core/lib/compression/compression.cc",
Muxi Yan03fc8572017-10-06 18:47:09 -0700649 "src/core/lib/compression/compression_internal.cc",
Muxi Yanf7a97e12017-10-11 16:59:27 -0700650 "src/core/lib/compression/compression_ruby.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700651 "src/core/lib/compression/message_compress.cc",
652 "src/core/lib/compression/stream_compression.cc",
653 "src/core/lib/compression/stream_compression_gzip.cc",
654 "src/core/lib/compression/stream_compression_identity.cc",
655 "src/core/lib/debug/stats.cc",
656 "src/core/lib/debug/stats_data.cc",
657 "src/core/lib/http/format_request.cc",
658 "src/core/lib/http/httpcli.cc",
659 "src/core/lib/http/parser.cc",
660 "src/core/lib/iomgr/call_combiner.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700661 "src/core/lib/iomgr/combiner.cc",
662 "src/core/lib/iomgr/endpoint.cc",
663 "src/core/lib/iomgr/endpoint_pair_posix.cc",
664 "src/core/lib/iomgr/endpoint_pair_uv.cc",
665 "src/core/lib/iomgr/endpoint_pair_windows.cc",
666 "src/core/lib/iomgr/error.cc",
667 "src/core/lib/iomgr/ev_epoll1_linux.cc",
668 "src/core/lib/iomgr/ev_epollex_linux.cc",
669 "src/core/lib/iomgr/ev_epollsig_linux.cc",
670 "src/core/lib/iomgr/ev_poll_posix.cc",
671 "src/core/lib/iomgr/ev_posix.cc",
672 "src/core/lib/iomgr/ev_windows.cc",
673 "src/core/lib/iomgr/exec_ctx.cc",
674 "src/core/lib/iomgr/executor.cc",
Nicolas "Pixel" Noble18a68372017-11-20 23:33:22 +0100675 "src/core/lib/iomgr/fork_posix.cc",
676 "src/core/lib/iomgr/fork_windows.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700677 "src/core/lib/iomgr/gethostname_fallback.cc",
678 "src/core/lib/iomgr/gethostname_host_name_max.cc",
679 "src/core/lib/iomgr/gethostname_sysconf.cc",
680 "src/core/lib/iomgr/iocp_windows.cc",
681 "src/core/lib/iomgr/iomgr.cc",
682 "src/core/lib/iomgr/iomgr_posix.cc",
683 "src/core/lib/iomgr/iomgr_uv.cc",
684 "src/core/lib/iomgr/iomgr_windows.cc",
685 "src/core/lib/iomgr/is_epollexclusive_available.cc",
686 "src/core/lib/iomgr/load_file.cc",
687 "src/core/lib/iomgr/lockfree_event.cc",
688 "src/core/lib/iomgr/network_status_tracker.cc",
689 "src/core/lib/iomgr/polling_entity.cc",
690 "src/core/lib/iomgr/pollset_set_uv.cc",
691 "src/core/lib/iomgr/pollset_set_windows.cc",
692 "src/core/lib/iomgr/pollset_uv.cc",
693 "src/core/lib/iomgr/pollset_windows.cc",
694 "src/core/lib/iomgr/resolve_address_posix.cc",
695 "src/core/lib/iomgr/resolve_address_uv.cc",
696 "src/core/lib/iomgr/resolve_address_windows.cc",
697 "src/core/lib/iomgr/resource_quota.cc",
698 "src/core/lib/iomgr/sockaddr_utils.cc",
699 "src/core/lib/iomgr/socket_factory_posix.cc",
700 "src/core/lib/iomgr/socket_mutator.cc",
701 "src/core/lib/iomgr/socket_utils_common_posix.cc",
702 "src/core/lib/iomgr/socket_utils_linux.cc",
703 "src/core/lib/iomgr/socket_utils_posix.cc",
704 "src/core/lib/iomgr/socket_utils_uv.cc",
Yash Tibrewal26c78032017-09-28 14:34:43 -0700705 "src/core/lib/iomgr/socket_utils_windows.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700706 "src/core/lib/iomgr/socket_windows.cc",
707 "src/core/lib/iomgr/tcp_client_posix.cc",
708 "src/core/lib/iomgr/tcp_client_uv.cc",
709 "src/core/lib/iomgr/tcp_client_windows.cc",
710 "src/core/lib/iomgr/tcp_posix.cc",
711 "src/core/lib/iomgr/tcp_server_posix.cc",
712 "src/core/lib/iomgr/tcp_server_utils_posix_common.cc",
713 "src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc",
714 "src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc",
715 "src/core/lib/iomgr/tcp_server_uv.cc",
716 "src/core/lib/iomgr/tcp_server_windows.cc",
717 "src/core/lib/iomgr/tcp_uv.cc",
718 "src/core/lib/iomgr/tcp_windows.cc",
719 "src/core/lib/iomgr/time_averaged_stats.cc",
720 "src/core/lib/iomgr/timer_generic.cc",
721 "src/core/lib/iomgr/timer_heap.cc",
722 "src/core/lib/iomgr/timer_manager.cc",
723 "src/core/lib/iomgr/timer_uv.cc",
724 "src/core/lib/iomgr/udp_server.cc",
725 "src/core/lib/iomgr/unix_sockets_posix.cc",
726 "src/core/lib/iomgr/unix_sockets_posix_noop.cc",
727 "src/core/lib/iomgr/wakeup_fd_cv.cc",
728 "src/core/lib/iomgr/wakeup_fd_eventfd.cc",
729 "src/core/lib/iomgr/wakeup_fd_nospecial.cc",
730 "src/core/lib/iomgr/wakeup_fd_pipe.cc",
731 "src/core/lib/iomgr/wakeup_fd_posix.cc",
732 "src/core/lib/json/json.cc",
733 "src/core/lib/json/json_reader.cc",
734 "src/core/lib/json/json_string.cc",
735 "src/core/lib/json/json_writer.cc",
736 "src/core/lib/slice/b64.cc",
737 "src/core/lib/slice/percent_encoding.cc",
738 "src/core/lib/slice/slice.cc",
739 "src/core/lib/slice/slice_buffer.cc",
740 "src/core/lib/slice/slice_hash_table.cc",
741 "src/core/lib/slice/slice_intern.cc",
742 "src/core/lib/slice/slice_string_helpers.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700743 "src/core/lib/surface/api_trace.cc",
744 "src/core/lib/surface/byte_buffer.cc",
745 "src/core/lib/surface/byte_buffer_reader.cc",
746 "src/core/lib/surface/call.cc",
747 "src/core/lib/surface/call_details.cc",
748 "src/core/lib/surface/call_log_batch.cc",
749 "src/core/lib/surface/channel.cc",
750 "src/core/lib/surface/channel_init.cc",
751 "src/core/lib/surface/channel_ping.cc",
752 "src/core/lib/surface/channel_stack_type.cc",
753 "src/core/lib/surface/completion_queue.cc",
754 "src/core/lib/surface/completion_queue_factory.cc",
755 "src/core/lib/surface/event_string.cc",
756 "src/core/lib/surface/metadata_array.cc",
757 "src/core/lib/surface/server.cc",
758 "src/core/lib/surface/validate_metadata.cc",
759 "src/core/lib/surface/version.cc",
760 "src/core/lib/transport/bdp_estimator.cc",
761 "src/core/lib/transport/byte_stream.cc",
762 "src/core/lib/transport/connectivity_state.cc",
763 "src/core/lib/transport/error_utils.cc",
764 "src/core/lib/transport/metadata.cc",
765 "src/core/lib/transport/metadata_batch.cc",
766 "src/core/lib/transport/pid_controller.cc",
767 "src/core/lib/transport/service_config.cc",
768 "src/core/lib/transport/static_metadata.cc",
769 "src/core/lib/transport/status_conversion.cc",
770 "src/core/lib/transport/timeout_encoding.cc",
771 "src/core/lib/transport/transport.cc",
772 "src/core/lib/transport/transport_op_string.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200773 ],
774 hdrs = [
Vijay Pai89125422017-11-22 10:22:28 -0800775 "src/core/lib/backoff/backoff.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200776 "src/core/lib/channel/channel_args.h",
777 "src/core/lib/channel/channel_stack.h",
778 "src/core/lib/channel/channel_stack_builder.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200779 "src/core/lib/channel/connected_channel.h",
780 "src/core/lib/channel/context.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200781 "src/core/lib/channel/handshaker.h",
Mark D. Roth1f0f23c2017-01-06 13:07:19 -0800782 "src/core/lib/channel/handshaker_factory.h",
783 "src/core/lib/channel/handshaker_registry.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200784 "src/core/lib/compression/algorithm_metadata.h",
Muxi Yane6d888d2017-09-14 09:42:56 -0700785 "src/core/lib/compression/compression_internal.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200786 "src/core/lib/compression/message_compress.h",
Muxi Yan1e9bdb52017-07-14 10:14:02 -0700787 "src/core/lib/compression/stream_compression.h",
Muxi Yan9cd90f42017-09-07 09:51:13 -0700788 "src/core/lib/compression/stream_compression_gzip.h",
789 "src/core/lib/compression/stream_compression_identity.h",
David Garcia Quintasb352be02017-09-18 11:55:52 -0700790 "src/core/lib/debug/stats.h",
791 "src/core/lib/debug/stats_data.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200792 "src/core/lib/http/format_request.h",
793 "src/core/lib/http/httpcli.h",
794 "src/core/lib/http/parser.h",
Vijay Pai89125422017-11-22 10:22:28 -0800795 "src/core/lib/iomgr/block_annotate.h",
Mark D. Roth764cf042017-09-01 09:00:06 -0700796 "src/core/lib/iomgr/call_combiner.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200797 "src/core/lib/iomgr/closure.h",
798 "src/core/lib/iomgr/combiner.h",
799 "src/core/lib/iomgr/endpoint.h",
800 "src/core/lib/iomgr/endpoint_pair.h",
801 "src/core/lib/iomgr/error.h",
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800802 "src/core/lib/iomgr/error_internal.h",
Craig Tiller18545a32017-05-05 17:33:44 +0000803 "src/core/lib/iomgr/ev_epoll1_linux.h",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700804 "src/core/lib/iomgr/ev_epollex_linux.h",
805 "src/core/lib/iomgr/ev_epollsig_linux.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200806 "src/core/lib/iomgr/ev_poll_posix.h",
807 "src/core/lib/iomgr/ev_posix.h",
808 "src/core/lib/iomgr/exec_ctx.h",
809 "src/core/lib/iomgr/executor.h",
Mark D. Rothf9bf4282017-08-03 14:47:23 -0700810 "src/core/lib/iomgr/gethostname.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200811 "src/core/lib/iomgr/iocp_windows.h",
812 "src/core/lib/iomgr/iomgr.h",
813 "src/core/lib/iomgr/iomgr_internal.h",
814 "src/core/lib/iomgr/iomgr_posix.h",
murgatroid99b8e07ad2017-07-18 13:20:55 -0700815 "src/core/lib/iomgr/iomgr_uv.h",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700816 "src/core/lib/iomgr/is_epollexclusive_available.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200817 "src/core/lib/iomgr/load_file.h",
Jan Tattermusch43713e62017-04-12 09:20:29 +0200818 "src/core/lib/iomgr/lockfree_event.h",
Yuchen Zeng2d6ce742017-07-28 15:21:01 -0700819 "src/core/lib/iomgr/nameser.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200820 "src/core/lib/iomgr/network_status_tracker.h",
821 "src/core/lib/iomgr/polling_entity.h",
822 "src/core/lib/iomgr/pollset.h",
823 "src/core/lib/iomgr/pollset_set.h",
824 "src/core/lib/iomgr/pollset_set_windows.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200825 "src/core/lib/iomgr/pollset_uv.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200826 "src/core/lib/iomgr/pollset_windows.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200827 "src/core/lib/iomgr/port.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200828 "src/core/lib/iomgr/resolve_address.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100829 "src/core/lib/iomgr/resource_quota.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200830 "src/core/lib/iomgr/sockaddr.h",
831 "src/core/lib/iomgr/sockaddr_posix.h",
832 "src/core/lib/iomgr/sockaddr_utils.h",
833 "src/core/lib/iomgr/sockaddr_windows.h",
Michael Warresc46b3eb2017-02-22 22:57:04 -0500834 "src/core/lib/iomgr/socket_factory_posix.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100835 "src/core/lib/iomgr/socket_mutator.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200836 "src/core/lib/iomgr/socket_utils.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200837 "src/core/lib/iomgr/socket_utils_posix.h",
838 "src/core/lib/iomgr/socket_windows.h",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700839 "src/core/lib/iomgr/sys_epoll_wrapper.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200840 "src/core/lib/iomgr/tcp_client.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100841 "src/core/lib/iomgr/tcp_client_posix.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200842 "src/core/lib/iomgr/tcp_posix.h",
843 "src/core/lib/iomgr/tcp_server.h",
Yuchen Zeng47155ed2017-03-13 17:18:07 -0700844 "src/core/lib/iomgr/tcp_server_utils_posix.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200845 "src/core/lib/iomgr/tcp_uv.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200846 "src/core/lib/iomgr/tcp_windows.h",
847 "src/core/lib/iomgr/time_averaged_stats.h",
848 "src/core/lib/iomgr/timer.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200849 "src/core/lib/iomgr/timer_generic.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200850 "src/core/lib/iomgr/timer_heap.h",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700851 "src/core/lib/iomgr/timer_manager.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200852 "src/core/lib/iomgr/timer_uv.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200853 "src/core/lib/iomgr/udp_server.h",
854 "src/core/lib/iomgr/unix_sockets_posix.h",
855 "src/core/lib/iomgr/wakeup_fd_cv.h",
856 "src/core/lib/iomgr/wakeup_fd_pipe.h",
857 "src/core/lib/iomgr/wakeup_fd_posix.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200858 "src/core/lib/json/json.h",
859 "src/core/lib/json/json_common.h",
860 "src/core/lib/json/json_reader.h",
861 "src/core/lib/json/json_writer.h",
Craig Tiller29b527f2017-03-30 10:27:20 -0700862 "src/core/lib/slice/b64.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100863 "src/core/lib/slice/percent_encoding.h",
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800864 "src/core/lib/slice/slice_hash_table.h",
Craig Tiller3ca60192017-01-04 14:41:29 -0800865 "src/core/lib/slice/slice_internal.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100866 "src/core/lib/slice/slice_string_helpers.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200867 "src/core/lib/surface/api_trace.h",
868 "src/core/lib/surface/call.h",
869 "src/core/lib/surface/call_test_only.h",
870 "src/core/lib/surface/channel.h",
871 "src/core/lib/surface/channel_init.h",
872 "src/core/lib/surface/channel_stack_type.h",
873 "src/core/lib/surface/completion_queue.h",
Sree Kuchibhotlaf6c20262017-03-21 18:52:19 -0700874 "src/core/lib/surface/completion_queue_factory.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200875 "src/core/lib/surface/event_string.h",
876 "src/core/lib/surface/init.h",
877 "src/core/lib/surface/lame_client.h",
878 "src/core/lib/surface/server.h",
David Garcia Quintas01291502017-02-07 13:26:41 -0800879 "src/core/lib/surface/validate_metadata.h",
David Garcia Quintas5481a582017-02-14 16:11:42 -0800880 "src/core/lib/transport/bdp_estimator.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200881 "src/core/lib/transport/byte_stream.h",
882 "src/core/lib/transport/connectivity_state.h",
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800883 "src/core/lib/transport/error_utils.h",
884 "src/core/lib/transport/http2_errors.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200885 "src/core/lib/transport/metadata.h",
886 "src/core/lib/transport/metadata_batch.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100887 "src/core/lib/transport/pid_controller.h",
888 "src/core/lib/transport/service_config.h",
889 "src/core/lib/transport/static_metadata.h",
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800890 "src/core/lib/transport/status_conversion.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200891 "src/core/lib/transport/timeout_encoding.h",
892 "src/core/lib/transport/transport.h",
893 "src/core/lib/transport/transport_impl.h",
894 ],
895 external_deps = [
896 "zlib",
897 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -0700898 language = "c++",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +0200899 public_hdrs = GRPC_PUBLIC_HDRS,
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200900 deps = [
901 "gpr_base",
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800902 "gpr++_base",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200903 "grpc_codegen",
Craig Tiller1f477302017-05-05 11:01:25 -0700904 "grpc_trace",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200905 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200906)
907
908grpc_cc_library(
Craig Tiller832c6072017-05-11 14:38:05 -0700909 name = "grpc_base",
Craig Tiller832c6072017-05-11 14:38:05 -0700910 srcs = [
911 "src/core/lib/surface/lame_client.cc",
912 ],
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700913 language = "c++",
Craig Tiller832c6072017-05-11 14:38:05 -0700914 deps = [
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800915 "atomic",
Craig Tiller832c6072017-05-11 14:38:05 -0700916 "grpc_base_c",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700917 ],
918)
919
920grpc_cc_library(
921 name = "grpc_common",
Yash Tibrewal2dcbc102017-10-03 16:23:07 -0700922 language = "c++",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700923 deps = [
924 "grpc_base",
925 # standard plugins
926 "census",
927 "grpc_deadline_filter",
928 "grpc_lb_policy_pick_first",
929 "grpc_lb_policy_round_robin",
David Garcia Quintas0822d332017-09-06 17:40:42 -0700930 "grpc_server_load_reporting",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700931 "grpc_max_age_filter",
932 "grpc_message_size_filter",
Vijay Pai42807252017-07-28 15:08:24 -0700933 "grpc_resolver_dns_ares",
934 "grpc_resolver_fake",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700935 "grpc_resolver_dns_native",
936 "grpc_resolver_sockaddr",
937 "grpc_transport_chttp2_client_insecure",
938 "grpc_transport_chttp2_server_insecure",
Vijay Pai3d7d5f42017-05-04 10:02:24 -0700939 "grpc_transport_inproc",
Muxi Yan2a5bbc12017-05-15 12:03:08 -0700940 "grpc_workaround_cronet_compression_filter",
941 "grpc_server_backward_compatibility",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200942 ],
943)
944
945grpc_cc_library(
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100946 name = "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200947 srcs = [
Yuchen Zeng0bad30a2017-10-05 21:47:39 -0700948 "src/core/ext/filters/client_channel/backup_poller.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700949 "src/core/ext/filters/client_channel/channel_connectivity.cc",
950 "src/core/ext/filters/client_channel/client_channel.cc",
951 "src/core/ext/filters/client_channel/client_channel_factory.cc",
952 "src/core/ext/filters/client_channel/client_channel_plugin.cc",
953 "src/core/ext/filters/client_channel/connector.cc",
954 "src/core/ext/filters/client_channel/http_connect_handshaker.cc",
955 "src/core/ext/filters/client_channel/http_proxy.cc",
956 "src/core/ext/filters/client_channel/lb_policy.cc",
957 "src/core/ext/filters/client_channel/lb_policy_factory.cc",
958 "src/core/ext/filters/client_channel/lb_policy_registry.cc",
959 "src/core/ext/filters/client_channel/parse_address.cc",
960 "src/core/ext/filters/client_channel/proxy_mapper.cc",
961 "src/core/ext/filters/client_channel/proxy_mapper_registry.cc",
962 "src/core/ext/filters/client_channel/resolver.cc",
963 "src/core/ext/filters/client_channel/resolver_factory.cc",
964 "src/core/ext/filters/client_channel/resolver_registry.cc",
965 "src/core/ext/filters/client_channel/retry_throttle.cc",
966 "src/core/ext/filters/client_channel/subchannel.cc",
967 "src/core/ext/filters/client_channel/subchannel_index.cc",
968 "src/core/ext/filters/client_channel/uri_parser.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200969 ],
970 hdrs = [
Yuchen Zeng0bad30a2017-10-05 21:47:39 -0700971 "src/core/ext/filters/client_channel/backup_poller.h",
Craig Tiller9eb0fde2017-03-31 16:59:30 -0700972 "src/core/ext/filters/client_channel/client_channel.h",
973 "src/core/ext/filters/client_channel/client_channel_factory.h",
974 "src/core/ext/filters/client_channel/connector.h",
975 "src/core/ext/filters/client_channel/http_connect_handshaker.h",
976 "src/core/ext/filters/client_channel/http_proxy.h",
977 "src/core/ext/filters/client_channel/lb_policy.h",
978 "src/core/ext/filters/client_channel/lb_policy_factory.h",
979 "src/core/ext/filters/client_channel/lb_policy_registry.h",
980 "src/core/ext/filters/client_channel/parse_address.h",
981 "src/core/ext/filters/client_channel/proxy_mapper.h",
982 "src/core/ext/filters/client_channel/proxy_mapper_registry.h",
983 "src/core/ext/filters/client_channel/resolver.h",
984 "src/core/ext/filters/client_channel/resolver_factory.h",
985 "src/core/ext/filters/client_channel/resolver_registry.h",
986 "src/core/ext/filters/client_channel/retry_throttle.h",
987 "src/core/ext/filters/client_channel/subchannel.h",
988 "src/core/ext/filters/client_channel/subchannel_index.h",
989 "src/core/ext/filters/client_channel/uri_parser.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200990 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -0700991 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200992 deps = [
993 "grpc_base",
Craig Tillerdcd24e42017-04-06 10:47:46 -0700994 "grpc_deadline_filter",
David Garcia Quintas53bfe692018-01-04 16:39:08 -0800995 "ref_counted",
David Garcia Quintas4adad992018-01-17 13:50:39 -0800996 "ref_counted_ptr",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200997 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200998)
999
1000grpc_cc_library(
Craig Tiller6b97e532017-04-03 12:56:23 -07001001 name = "grpc_max_age_filter",
1002 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001003 "src/core/ext/filters/max_age/max_age_filter.cc",
Craig Tiller6b97e532017-04-03 12:56:23 -07001004 ],
1005 hdrs = [
1006 "src/core/ext/filters/max_age/max_age_filter.h",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001007 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001008 language = "c++",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001009 deps = [
1010 "grpc_base",
1011 ],
1012)
1013
1014grpc_cc_library(
Craig Tiller3be7dd02017-04-03 14:30:03 -07001015 name = "grpc_deadline_filter",
1016 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001017 "src/core/ext/filters/deadline/deadline_filter.cc",
Craig Tiller3be7dd02017-04-03 14:30:03 -07001018 ],
1019 hdrs = [
1020 "src/core/ext/filters/deadline/deadline_filter.h",
1021 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001022 language = "c++",
Craig Tiller3be7dd02017-04-03 14:30:03 -07001023 deps = [
1024 "grpc_base",
1025 ],
1026)
1027
1028grpc_cc_library(
Craig Tiller6461c342017-04-03 13:00:31 -07001029 name = "grpc_message_size_filter",
1030 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001031 "src/core/ext/filters/message_size/message_size_filter.cc",
Craig Tiller6461c342017-04-03 13:00:31 -07001032 ],
1033 hdrs = [
1034 "src/core/ext/filters/message_size/message_size_filter.h",
1035 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001036 language = "c++",
Craig Tiller6461c342017-04-03 13:00:31 -07001037 deps = [
1038 "grpc_base",
1039 ],
1040)
1041
1042grpc_cc_library(
Craig Tilleraf767432017-04-03 13:54:31 -07001043 name = "grpc_http_filters",
Craig Tilleraf767432017-04-03 13:54:31 -07001044 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001045 "src/core/ext/filters/http/client/http_client_filter.cc",
1046 "src/core/ext/filters/http/http_filters_plugin.cc",
1047 "src/core/ext/filters/http/message_compress/message_compress_filter.cc",
1048 "src/core/ext/filters/http/server/http_server_filter.cc",
Sree Kuchibhotlad4fc32e2017-05-02 14:15:12 -07001049 ],
1050 hdrs = [
1051 "src/core/ext/filters/http/client/http_client_filter.h",
1052 "src/core/ext/filters/http/message_compress/message_compress_filter.h",
1053 "src/core/ext/filters/http/server/http_server_filter.h",
Craig Tilleraf767432017-04-03 13:54:31 -07001054 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001055 language = "c++",
Craig Tilleraf767432017-04-03 13:54:31 -07001056 deps = [
1057 "grpc_base",
1058 ],
1059)
1060
1061grpc_cc_library(
Muxi Yan2a5bbc12017-05-15 12:03:08 -07001062 name = "grpc_workaround_cronet_compression_filter",
1063 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001064 "src/core/ext/filters/workarounds/workaround_cronet_compression_filter.cc",
Muxi Yan2a5bbc12017-05-15 12:03:08 -07001065 ],
1066 hdrs = [
1067 "src/core/ext/filters/workarounds/workaround_cronet_compression_filter.h",
1068 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001069 language = "c++",
Muxi Yan2a5bbc12017-05-15 12:03:08 -07001070 deps = [
1071 "grpc_base",
1072 "grpc_server_backward_compatibility",
1073 ],
1074)
1075
1076grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001077 name = "grpc_codegen",
Yash Tibrewal2dcbc102017-10-03 16:23:07 -07001078 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001079 public_hdrs = [
Vijay Paiefce6e12017-09-14 09:07:50 -07001080 "include/grpc/impl/codegen/byte_buffer.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001081 "include/grpc/impl/codegen/byte_buffer_reader.h",
1082 "include/grpc/impl/codegen/compression_types.h",
1083 "include/grpc/impl/codegen/connectivity_state.h",
1084 "include/grpc/impl/codegen/grpc_types.h",
1085 "include/grpc/impl/codegen/propagation_bits.h",
1086 "include/grpc/impl/codegen/status.h",
Craig Tiller0d32f2f2017-03-30 10:50:29 -07001087 "include/grpc/impl/codegen/slice.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001088 ],
1089 deps = [
1090 "gpr_codegen",
1091 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001092)
1093
1094grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001095 name = "grpc_lb_policy_grpclb",
1096 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001097 "src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc",
1098 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc",
1099 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.cc",
1100 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc",
1101 "src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc",
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001102 "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 +02001103 ],
1104 hdrs = [
Mark D. Roth09e458c2017-05-02 08:13:26 -07001105 "src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.h",
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001106 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.h",
1107 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.h",
Mark D. Roth09e458c2017-05-02 08:13:26 -07001108 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.h",
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001109 "src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.h",
1110 "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 +02001111 ],
1112 external_deps = [
1113 "nanopb",
1114 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001115 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001116 deps = [
1117 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001118 "grpc_client_channel",
David Garcia Quintas87d5a312017-06-06 19:45:58 -07001119 "grpc_resolver_fake",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001120 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001121)
1122
1123grpc_cc_library(
David Garcia Quintas01291502017-02-07 13:26:41 -08001124 name = "grpc_lb_policy_grpclb_secure",
1125 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001126 "src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc",
1127 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc",
1128 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel_secure.cc",
1129 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc",
1130 "src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc",
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001131 "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 -08001132 ],
1133 hdrs = [
Mark D. Roth09e458c2017-05-02 08:13:26 -07001134 "src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.h",
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001135 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.h",
1136 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.h",
Mark D. Roth09e458c2017-05-02 08:13:26 -07001137 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.h",
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001138 "src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.h",
1139 "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 -08001140 ],
1141 external_deps = [
1142 "nanopb",
1143 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001144 language = "c++",
David Garcia Quintas01291502017-02-07 13:26:41 -08001145 deps = [
1146 "grpc_base",
1147 "grpc_client_channel",
David Garcia Quintas87d5a312017-06-06 19:45:58 -07001148 "grpc_resolver_fake",
David Garcia Quintas01291502017-02-07 13:26:41 -08001149 "grpc_secure",
1150 ],
1151)
1152
1153grpc_cc_library(
Mark D. Roth5e9848e2017-10-06 13:59:32 -07001154 name = "grpc_lb_subchannel_list",
1155 srcs = [
1156 "src/core/ext/filters/client_channel/lb_policy/subchannel_list.cc",
1157 ],
1158 hdrs = [
1159 "src/core/ext/filters/client_channel/lb_policy/subchannel_list.h",
1160 ],
1161 language = "c++",
1162 deps = [
1163 "grpc_base",
1164 "grpc_client_channel",
1165 ],
1166)
1167
1168grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001169 name = "grpc_lb_policy_pick_first",
1170 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001171 "src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001172 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001173 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001174 deps = [
1175 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001176 "grpc_client_channel",
Mark D. Roth5e9848e2017-10-06 13:59:32 -07001177 "grpc_lb_subchannel_list",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001178 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001179)
1180
1181grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001182 name = "grpc_lb_policy_round_robin",
1183 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001184 "src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001185 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001186 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001187 deps = [
1188 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001189 "grpc_client_channel",
Mark D. Roth5e9848e2017-10-06 13:59:32 -07001190 "grpc_lb_subchannel_list",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001191 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001192)
1193
1194grpc_cc_library(
David Garcia Quintas0822d332017-09-06 17:40:42 -07001195 name = "grpc_server_load_reporting",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001196 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001197 "src/core/ext/filters/load_reporting/server_load_reporting_filter.cc",
1198 "src/core/ext/filters/load_reporting/server_load_reporting_plugin.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001199 ],
1200 hdrs = [
David Garcia Quintas0822d332017-09-06 17:40:42 -07001201 "src/core/ext/filters/load_reporting/server_load_reporting_filter.h",
1202 "src/core/ext/filters/load_reporting/server_load_reporting_plugin.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001203 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001204 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001205 deps = [
1206 "grpc_base",
1207 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001208)
1209
1210grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001211 name = "grpc_resolver_dns_native",
1212 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001213 "src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001214 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001215 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001216 deps = [
1217 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001218 "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001219 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001220)
1221
1222grpc_cc_library(
Yuchen Zeng4c702ed2017-01-23 10:30:10 -08001223 name = "grpc_resolver_dns_ares",
1224 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001225 "src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc",
1226 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc",
1227 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc",
1228 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_fallback.cc",
Yuchen Zeng4c702ed2017-01-23 10:30:10 -08001229 ],
1230 hdrs = [
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001231 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.h",
1232 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.h",
Yuchen Zeng4c702ed2017-01-23 10:30:10 -08001233 ],
Jan Tattermusch61f729f2017-04-06 17:11:44 +02001234 external_deps = [
1235 "cares",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001236 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001237 language = "c++",
Yuchen Zeng4c702ed2017-01-23 10:30:10 -08001238 deps = [
1239 "grpc_base",
1240 "grpc_client_channel",
1241 ],
Yuchen Zeng4c702ed2017-01-23 10:30:10 -08001242)
1243
1244grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001245 name = "grpc_resolver_sockaddr",
1246 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001247 "src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001248 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001249 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001250 deps = [
1251 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001252 "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001253 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001254)
1255
1256grpc_cc_library(
David Garcia Quintas87d5a312017-06-06 19:45:58 -07001257 name = "grpc_resolver_fake",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001258 srcs = ["src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc"],
David Garcia Quintas87d5a312017-06-06 19:45:58 -07001259 hdrs = ["src/core/ext/filters/client_channel/resolver/fake/fake_resolver.h"],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001260 language = "c++",
murgatroid99d5b04552017-06-15 17:48:42 -07001261 visibility = ["//test:__subpackages__"],
David Garcia Quintas87d5a312017-06-06 19:45:58 -07001262 deps = [
1263 "grpc_base",
1264 "grpc_client_channel",
1265 ],
1266)
1267
1268grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001269 name = "grpc_secure",
1270 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001271 "src/core/lib/http/httpcli_security_connector.cc",
1272 "src/core/lib/security/context/security_context.cc",
1273 "src/core/lib/security/credentials/composite/composite_credentials.cc",
1274 "src/core/lib/security/credentials/credentials.cc",
1275 "src/core/lib/security/credentials/credentials_metadata.cc",
1276 "src/core/lib/security/credentials/fake/fake_credentials.cc",
1277 "src/core/lib/security/credentials/google_default/credentials_generic.cc",
1278 "src/core/lib/security/credentials/google_default/google_default_credentials.cc",
1279 "src/core/lib/security/credentials/iam/iam_credentials.cc",
1280 "src/core/lib/security/credentials/jwt/json_token.cc",
1281 "src/core/lib/security/credentials/jwt/jwt_credentials.cc",
1282 "src/core/lib/security/credentials/jwt/jwt_verifier.cc",
1283 "src/core/lib/security/credentials/oauth2/oauth2_credentials.cc",
1284 "src/core/lib/security/credentials/plugin/plugin_credentials.cc",
1285 "src/core/lib/security/credentials/ssl/ssl_credentials.cc",
1286 "src/core/lib/security/transport/client_auth_filter.cc",
1287 "src/core/lib/security/transport/lb_targets_info.cc",
1288 "src/core/lib/security/transport/secure_endpoint.cc",
1289 "src/core/lib/security/transport/security_connector.cc",
1290 "src/core/lib/security/transport/security_handshaker.cc",
1291 "src/core/lib/security/transport/server_auth_filter.cc",
1292 "src/core/lib/security/transport/tsi_error.cc",
1293 "src/core/lib/security/util/json_util.cc",
1294 "src/core/lib/surface/init_secure.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001295 ],
1296 hdrs = [
1297 "src/core/lib/security/context/security_context.h",
1298 "src/core/lib/security/credentials/composite/composite_credentials.h",
1299 "src/core/lib/security/credentials/credentials.h",
1300 "src/core/lib/security/credentials/fake/fake_credentials.h",
1301 "src/core/lib/security/credentials/google_default/google_default_credentials.h",
1302 "src/core/lib/security/credentials/iam/iam_credentials.h",
1303 "src/core/lib/security/credentials/jwt/json_token.h",
1304 "src/core/lib/security/credentials/jwt/jwt_credentials.h",
1305 "src/core/lib/security/credentials/jwt/jwt_verifier.h",
1306 "src/core/lib/security/credentials/oauth2/oauth2_credentials.h",
1307 "src/core/lib/security/credentials/plugin/plugin_credentials.h",
1308 "src/core/lib/security/credentials/ssl/ssl_credentials.h",
1309 "src/core/lib/security/transport/auth_filters.h",
David Garcia Quintas01291502017-02-07 13:26:41 -08001310 "src/core/lib/security/transport/lb_targets_info.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001311 "src/core/lib/security/transport/secure_endpoint.h",
1312 "src/core/lib/security/transport/security_connector.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001313 "src/core/lib/security/transport/security_handshaker.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001314 "src/core/lib/security/transport/tsi_error.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001315 "src/core/lib/security/util/json_util.h",
1316 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001317 language = "c++",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +02001318 public_hdrs = GRPC_SECURE_PUBLIC_HDRS,
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001319 deps = [
1320 "grpc_base",
1321 "grpc_transport_chttp2_alpn",
1322 "tsi",
1323 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001324)
1325
1326grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001327 name = "grpc_transport_chttp2",
1328 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001329 "src/core/ext/transport/chttp2/transport/bin_decoder.cc",
1330 "src/core/ext/transport/chttp2/transport/bin_encoder.cc",
1331 "src/core/ext/transport/chttp2/transport/chttp2_plugin.cc",
1332 "src/core/ext/transport/chttp2/transport/chttp2_transport.cc",
1333 "src/core/ext/transport/chttp2/transport/flow_control.cc",
1334 "src/core/ext/transport/chttp2/transport/frame_data.cc",
1335 "src/core/ext/transport/chttp2/transport/frame_goaway.cc",
1336 "src/core/ext/transport/chttp2/transport/frame_ping.cc",
1337 "src/core/ext/transport/chttp2/transport/frame_rst_stream.cc",
1338 "src/core/ext/transport/chttp2/transport/frame_settings.cc",
1339 "src/core/ext/transport/chttp2/transport/frame_window_update.cc",
1340 "src/core/ext/transport/chttp2/transport/hpack_encoder.cc",
1341 "src/core/ext/transport/chttp2/transport/hpack_parser.cc",
1342 "src/core/ext/transport/chttp2/transport/hpack_table.cc",
1343 "src/core/ext/transport/chttp2/transport/http2_settings.cc",
1344 "src/core/ext/transport/chttp2/transport/huffsyms.cc",
1345 "src/core/ext/transport/chttp2/transport/incoming_metadata.cc",
1346 "src/core/ext/transport/chttp2/transport/parsing.cc",
1347 "src/core/ext/transport/chttp2/transport/stream_lists.cc",
1348 "src/core/ext/transport/chttp2/transport/stream_map.cc",
1349 "src/core/ext/transport/chttp2/transport/varint.cc",
1350 "src/core/ext/transport/chttp2/transport/writing.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001351 ],
1352 hdrs = [
1353 "src/core/ext/transport/chttp2/transport/bin_decoder.h",
1354 "src/core/ext/transport/chttp2/transport/bin_encoder.h",
1355 "src/core/ext/transport/chttp2/transport/chttp2_transport.h",
Craig Tiller32736482017-10-12 22:02:28 -07001356 "src/core/ext/transport/chttp2/transport/flow_control.h",
Vijay Pai89125422017-11-22 10:22:28 -08001357 "src/core/ext/transport/chttp2/transport/frame.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001358 "src/core/ext/transport/chttp2/transport/frame_data.h",
1359 "src/core/ext/transport/chttp2/transport/frame_goaway.h",
1360 "src/core/ext/transport/chttp2/transport/frame_ping.h",
1361 "src/core/ext/transport/chttp2/transport/frame_rst_stream.h",
1362 "src/core/ext/transport/chttp2/transport/frame_settings.h",
1363 "src/core/ext/transport/chttp2/transport/frame_window_update.h",
1364 "src/core/ext/transport/chttp2/transport/hpack_encoder.h",
1365 "src/core/ext/transport/chttp2/transport/hpack_parser.h",
1366 "src/core/ext/transport/chttp2/transport/hpack_table.h",
murgatroid99a41fd5b2017-04-13 09:56:17 -07001367 "src/core/ext/transport/chttp2/transport/http2_settings.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001368 "src/core/ext/transport/chttp2/transport/huffsyms.h",
1369 "src/core/ext/transport/chttp2/transport/incoming_metadata.h",
1370 "src/core/ext/transport/chttp2/transport/internal.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001371 "src/core/ext/transport/chttp2/transport/stream_map.h",
1372 "src/core/ext/transport/chttp2/transport/varint.h",
1373 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001374 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001375 deps = [
Mark D. Rothdbdf4952018-01-18 11:21:12 -08001376 "gpr++_base",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001377 "grpc_base",
Craig Tilleraf767432017-04-03 13:54:31 -07001378 "grpc_http_filters",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001379 "grpc_transport_chttp2_alpn",
1380 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001381)
1382
1383grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001384 name = "grpc_transport_chttp2_alpn",
1385 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001386 "src/core/ext/transport/chttp2/alpn/alpn.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001387 ],
1388 hdrs = [
1389 "src/core/ext/transport/chttp2/alpn/alpn.h",
1390 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001391 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001392 deps = [
1393 "gpr",
1394 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001395)
1396
1397grpc_cc_library(
David Garcia Quintas01291502017-02-07 13:26:41 -08001398 name = "grpc_transport_chttp2_client_connector",
1399 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001400 "src/core/ext/transport/chttp2/client/chttp2_connector.cc",
David Garcia Quintas01291502017-02-07 13:26:41 -08001401 ],
1402 hdrs = [
1403 "src/core/ext/transport/chttp2/client/chttp2_connector.h",
1404 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001405 language = "c++",
David Garcia Quintas01291502017-02-07 13:26:41 -08001406 deps = [
1407 "grpc_base",
1408 "grpc_client_channel",
1409 "grpc_transport_chttp2",
1410 ],
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +02001411)
1412
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001413grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001414 name = "grpc_transport_chttp2_client_insecure",
1415 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001416 "src/core/ext/transport/chttp2/client/insecure/channel_create.cc",
1417 "src/core/ext/transport/chttp2/client/insecure/channel_create_posix.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001418 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001419 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001420 deps = [
1421 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001422 "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001423 "grpc_transport_chttp2",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001424 "grpc_transport_chttp2_client_connector",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001425 ],
Makarand Dharmapurikar38d80552016-06-01 15:02:04 -07001426)
1427
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001428grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001429 name = "grpc_transport_chttp2_client_secure",
1430 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001431 "src/core/ext/transport/chttp2/client/secure/secure_channel_create.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001432 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001433 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001434 deps = [
1435 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001436 "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001437 "grpc_secure",
1438 "grpc_transport_chttp2",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001439 "grpc_transport_chttp2_client_connector",
1440 ],
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001441)
1442
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001443grpc_cc_library(
1444 name = "grpc_transport_chttp2_server",
1445 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001446 "src/core/ext/transport/chttp2/server/chttp2_server.cc",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001447 ],
1448 hdrs = [
1449 "src/core/ext/transport/chttp2/server/chttp2_server.h",
1450 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001451 language = "c++",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001452 deps = [
1453 "grpc_base",
1454 "grpc_transport_chttp2",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001455 ],
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001456)
1457
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001458grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001459 name = "grpc_transport_chttp2_server_insecure",
1460 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001461 "src/core/ext/transport/chttp2/server/insecure/server_chttp2.cc",
1462 "src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001463 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001464 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001465 deps = [
1466 "grpc_base",
1467 "grpc_transport_chttp2",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001468 "grpc_transport_chttp2_server",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001469 ],
Garrett Casto931a26b2016-10-04 09:18:29 -07001470)
1471
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001472grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001473 name = "grpc_transport_chttp2_server_secure",
1474 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001475 "src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001476 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001477 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001478 deps = [
1479 "grpc_base",
1480 "grpc_secure",
1481 "grpc_transport_chttp2",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001482 "grpc_transport_chttp2_server",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001483 ],
Yuchen Zengc84ed682016-05-04 16:30:11 -07001484)
1485
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001486grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001487 name = "grpc_transport_cronet_client_secure",
1488 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001489 "src/core/ext/transport/cronet/client/secure/cronet_channel_create.cc",
1490 "src/core/ext/transport/cronet/transport/cronet_api_dummy.cc",
1491 "src/core/ext/transport/cronet/transport/cronet_transport.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001492 ],
1493 hdrs = [
Muxi Yan0a2fae92017-02-01 14:49:03 -08001494 "src/core/ext/transport/cronet/transport/cronet_transport.h",
Sree Kuchibhotla43bca1b2017-02-22 16:37:27 -08001495 "third_party/objective_c/Cronet/bidirectional_stream_c.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001496 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001497 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001498 public_hdrs = [
1499 "include/grpc/grpc_cronet.h",
1500 "include/grpc/grpc_security.h",
1501 "include/grpc/grpc_security_constants.h",
1502 ],
1503 deps = [
1504 "grpc_base",
1505 "grpc_transport_chttp2",
1506 ],
Craig Tiller03915e52016-04-07 09:15:10 -07001507)
1508
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001509grpc_cc_library(
Vijay Pai3d7d5f42017-05-04 10:02:24 -07001510 name = "grpc_transport_inproc",
1511 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001512 "src/core/ext/transport/inproc/inproc_plugin.cc",
1513 "src/core/ext/transport/inproc/inproc_transport.cc",
Vijay Pai3d7d5f42017-05-04 10:02:24 -07001514 ],
1515 hdrs = [
1516 "src/core/ext/transport/inproc/inproc_transport.h",
1517 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001518 language = "c++",
Vijay Pai3d7d5f42017-05-04 10:02:24 -07001519 deps = [
1520 "grpc_base",
1521 ],
1522)
1523
1524grpc_cc_library(
jiangtaoli201625d6fd82017-08-09 11:15:04 -07001525 name = "tsi_interface",
1526 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001527 "src/core/tsi/transport_security.cc",
1528 "src/core/tsi/transport_security_adapter.cc",
jiangtaoli201625d6fd82017-08-09 11:15:04 -07001529 ],
1530 hdrs = [
1531 "src/core/tsi/transport_security.h",
1532 "src/core/tsi/transport_security_adapter.h",
1533 "src/core/tsi/transport_security_interface.h",
1534 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001535 language = "c++",
jiangtaoli201625d6fd82017-08-09 11:15:04 -07001536 deps = [
1537 "gpr",
1538 "grpc_trace",
1539 ],
1540)
1541
1542grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001543 name = "tsi",
1544 srcs = [
Yihua Zhangd36fe072018-01-23 10:40:45 -08001545 "src/core/tsi/alts_transport_security.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001546 "src/core/tsi/fake_transport_security.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001547 "src/core/tsi/ssl_transport_security.cc",
1548 "src/core/tsi/transport_security_grpc.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001549 ],
1550 hdrs = [
Yihua Zhangd36fe072018-01-23 10:40:45 -08001551 "src/core/tsi/alts_transport_security.h",
Craig Tiller134fed32017-03-28 14:27:18 -07001552 "src/core/tsi/fake_transport_security.h",
1553 "src/core/tsi/ssl_transport_security.h",
1554 "src/core/tsi/ssl_types.h",
Jiangtao Li0211cfb2017-08-07 11:24:07 -07001555 "src/core/tsi/transport_security_grpc.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001556 ],
1557 external_deps = [
1558 "libssl",
1559 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001560 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001561 deps = [
Yihua Zhang1435bfc2017-07-17 11:20:51 -07001562 "grpc_base",
jiangtaoli201625d6fd82017-08-09 11:15:04 -07001563 "tsi_interface",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001564 ],
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001565)
1566
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001567grpc_cc_library(
1568 name = "grpc++_base",
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001569 srcs = GRPCXX_SRCS,
Stanley Cheungebeda852017-05-17 19:34:47 -07001570 hdrs = GRPCXX_HDRS,
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001571 language = "c++",
Stanley Cheungebeda852017-05-17 19:34:47 -07001572 public_hdrs = GRPCXX_PUBLIC_HDRS,
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001573 deps = [
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001574 "grpc",
Stanley Cheungebeda852017-05-17 19:34:47 -07001575 "grpc++_codegen_base",
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001576 ],
1577)
1578
1579grpc_cc_library(
1580 name = "grpc++_base_unsecure",
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001581 srcs = GRPCXX_SRCS,
Stanley Cheungebeda852017-05-17 19:34:47 -07001582 hdrs = GRPCXX_HDRS,
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001583 language = "c++",
Stanley Cheungebeda852017-05-17 19:34:47 -07001584 public_hdrs = GRPCXX_PUBLIC_HDRS,
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001585 deps = [
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001586 "grpc++_codegen_base",
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001587 "grpc_unsecure",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001588 ],
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001589)
1590
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001591grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001592 name = "grpc++_codegen_base",
1593 language = "c++",
1594 public_hdrs = [
1595 "include/grpc++/impl/codegen/async_stream.h",
1596 "include/grpc++/impl/codegen/async_unary_call.h",
Vijay Paiefce6e12017-09-14 09:07:50 -07001597 "include/grpc++/impl/codegen/byte_buffer.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001598 "include/grpc++/impl/codegen/call.h",
1599 "include/grpc++/impl/codegen/call_hook.h",
1600 "include/grpc++/impl/codegen/channel_interface.h",
1601 "include/grpc++/impl/codegen/client_context.h",
1602 "include/grpc++/impl/codegen/client_unary_call.h",
1603 "include/grpc++/impl/codegen/completion_queue.h",
1604 "include/grpc++/impl/codegen/completion_queue_tag.h",
1605 "include/grpc++/impl/codegen/config.h",
1606 "include/grpc++/impl/codegen/core_codegen_interface.h",
1607 "include/grpc++/impl/codegen/create_auth_context.h",
1608 "include/grpc++/impl/codegen/grpc_library.h",
yang-g988b47c2017-01-31 09:51:45 -08001609 "include/grpc++/impl/codegen/metadata_map.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001610 "include/grpc++/impl/codegen/method_handler_impl.h",
1611 "include/grpc++/impl/codegen/rpc_method.h",
1612 "include/grpc++/impl/codegen/rpc_service_method.h",
1613 "include/grpc++/impl/codegen/security/auth_context.h",
1614 "include/grpc++/impl/codegen/serialization_traits.h",
1615 "include/grpc++/impl/codegen/server_context.h",
1616 "include/grpc++/impl/codegen/server_interface.h",
1617 "include/grpc++/impl/codegen/service_type.h",
yang-g988b47c2017-01-31 09:51:45 -08001618 "include/grpc++/impl/codegen/slice.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001619 "include/grpc++/impl/codegen/status.h",
1620 "include/grpc++/impl/codegen/status_code_enum.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001621 "include/grpc++/impl/codegen/string_ref.h",
1622 "include/grpc++/impl/codegen/stub_options.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001623 "include/grpc++/impl/codegen/sync_stream.h",
1624 "include/grpc++/impl/codegen/time.h",
1625 ],
1626 deps = [
1627 "grpc_codegen",
1628 ],
Craig Tillerda179ce2016-02-09 12:01:53 -08001629)
1630
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001631grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001632 name = "grpc++_codegen_base_src",
1633 srcs = [
1634 "src/cpp/codegen/codegen_init.cc",
1635 ],
1636 language = "c++",
1637 deps = [
1638 "grpc++_codegen_base",
1639 ],
Jorge Canizales140bca82015-06-20 09:47:00 -07001640)
1641
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001642grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001643 name = "grpc++_codegen_proto",
1644 language = "c++",
1645 public_hdrs = [
1646 "include/grpc++/impl/codegen/proto_utils.h",
1647 ],
1648 deps = [
1649 "grpc++_codegen_base",
1650 "grpc++_config_proto",
1651 ],
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001652)
1653
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001654grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001655 name = "grpc++_config_proto",
David Garcia Quintas5481a582017-02-14 16:11:42 -08001656 external_deps = [
Vijay Paidc7c50e2017-11-03 14:46:42 -07001657 "protobuf_headers",
David Garcia Quintas5481a582017-02-14 16:11:42 -08001658 ],
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001659 language = "c++",
1660 public_hdrs = [
1661 "include/grpc++/impl/codegen/config_protobuf.h",
1662 ],
Jan Tattermusch2d924952015-05-06 10:23:17 -07001663)
1664
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001665grpc_cc_library(
Sree Kuchibhotla43bca1b2017-02-22 16:37:27 -08001666 name = "grpc++_reflection",
1667 srcs = [
1668 "src/cpp/ext/proto_server_reflection.cc",
1669 "src/cpp/ext/proto_server_reflection_plugin.cc",
1670 ],
1671 hdrs = [
1672 "src/cpp/ext/proto_server_reflection.h",
1673 ],
1674 language = "c++",
1675 public_hdrs = [
1676 "include/grpc++/ext/proto_server_reflection_plugin.h",
1677 ],
1678 deps = [
1679 ":grpc++",
1680 "//src/proto/grpc/reflection/v1alpha:reflection_proto",
1681 ],
Ian Coolidge13213412017-06-27 21:49:44 -07001682 alwayslink = 1,
Sree Kuchibhotla43bca1b2017-02-22 16:37:27 -08001683)
Nicolas "Pixel" Noble2b0f0012017-04-24 19:59:19 +02001684
Nicolas "Pixel" Noble0885f982017-05-12 21:10:55 +02001685grpc_cc_library(
1686 name = "grpc++_test",
1687 public_hdrs = [
1688 "include/grpc++/test/mock_stream.h",
1689 "include/grpc++/test/server_context_test_spouse.h",
1690 ],
1691 deps = [
1692 ":grpc++",
1693 ],
1694)
1695
Muxi Yan2a5bbc12017-05-15 12:03:08 -07001696grpc_cc_library(
1697 name = "grpc_server_backward_compatibility",
1698 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001699 "src/core/ext/filters/workarounds/workaround_utils.cc",
Muxi Yan2a5bbc12017-05-15 12:03:08 -07001700 ],
1701 hdrs = [
1702 "src/core/ext/filters/workarounds/workaround_utils.h",
1703 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001704 language = "c++",
Muxi Yan2a5bbc12017-05-15 12:03:08 -07001705 deps = [
1706 "grpc_base",
1707 ],
1708)
1709
Craig Tillere1101cf2017-09-06 09:42:20 -07001710grpc_cc_library(
1711 name = "grpc++_core_stats",
1712 srcs = [
1713 "src/cpp/util/core_stats.cc",
1714 ],
1715 hdrs = [
1716 "src/cpp/util/core_stats.h",
1717 ],
1718 language = "c++",
1719 deps = [
1720 ":grpc++",
1721 "//src/proto/grpc/core:stats_proto",
1722 ],
1723)
1724
Nicolas "Pixel" Noble2b0f0012017-04-24 19:59:19 +02001725grpc_generate_one_off_targets()