blob: 54215fe2754d64b412f2af22391db1cf86c5d35a [file] [log] [blame]
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001# gRPC Bazel BUILD file.
Nicolas "Pixel" Noble31d11db2016-10-20 09:29:46 +02002#
Jan Tattermusch7897ae92017-06-07 22:57:36 +02003# Copyright 2016 gRPC authors.
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +02004#
Jan Tattermusch7897ae92017-06-07 22:57:36 +02005# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +02008#
Jan Tattermusch7897ae92017-06-07 22:57:36 +02009# http://www.apache.org/licenses/LICENSE-2.0
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +020010#
Jan Tattermusch7897ae92017-06-07 22:57:36 +020011# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +020016
Jan Tattermusch4d5c3102017-06-07 10:23:56 +020017licenses(["notice"]) # Apache v2
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +020018
Piotr Sikora12e26a72016-08-04 15:32:10 -070019exports_files(["LICENSE"])
20
Nicolas "Pixel" Noble2b0f0012017-04-24 19:59:19 +020021package(
22 default_visibility = ["//visibility:public"],
23 features = [
24 "-layering_check",
25 "-parse_headers",
26 ],
27)
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +020028
Sree Kuchibhotlad4fc32e2017-05-02 14:15:12 -070029load(
30 "//bazel:grpc_build_system.bzl",
31 "grpc_cc_library",
32 "grpc_proto_plugin",
Nicolas "Pixel" Noble057b5382017-05-12 17:02:01 +020033 "grpc_generate_one_off_targets",
Sree Kuchibhotlad4fc32e2017-05-02 14:15:12 -070034)
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +020035
Vijay Pai60409752017-11-10 13:44:26 -080036config_setting(
37 name = "grpc_no_ares",
38 values = {"define": "grpc_no_ares=true"},
39)
40
Adele Zhoue5df91f2017-11-29 14:37:18 -080041config_setting(
Vijay Pai9809ce32017-12-19 09:09:52 -080042 name = "grpc_allow_exceptions",
43 values = {"define": "GRPC_ALLOW_EXCEPTIONS=1"},
44)
45
46config_setting(
47 name = "grpc_disallow_exceptions",
48 values = {"define": "GRPC_ALLOW_EXCEPTIONS=0"},
49)
50
51config_setting(
Adele Zhoue5df91f2017-11-29 14:37:18 -080052 name = "remote_execution",
Adele Zhou5b7cdef2017-11-29 16:25:17 -080053 values = {"define": "GRPC_PORT_ISOLATED_RUNTIME=1"},
Adele Zhoue5df91f2017-11-29 14:37:18 -080054)
55
Loo Rong Jiee97c2302018-01-10 17:35:34 +080056config_setting(
57 name = "windows",
David Garcia Quintas396d49d2018-02-28 16:06:30 -080058 values = {"cpu": "x64_windows"},
Loo Rong Jiee97c2302018-01-10 17:35:34 +080059)
60
61config_setting(
62 name = "windows_msvc",
63 values = {"cpu": "x64_windows_msvc"},
64)
65
murgatroid99a41fd5b2017-04-13 09:56:17 -070066# This should be updated along with build.yaml
Mehrdad Afshari7d82f792018-02-22 22:20:36 -080067g_stands_for = "gorgeous"
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 Afshari7d82f792018-02-22 22:20:36 -080071version = "1.11.0-dev"
Rob Earhartb7b8d052016-03-29 11:35:29 -070072
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +020073GPR_PUBLIC_HDRS = [
74 "include/grpc/support/alloc.h",
75 "include/grpc/support/atm.h",
76 "include/grpc/support/atm_gcc_atomic.h",
77 "include/grpc/support/atm_gcc_sync.h",
78 "include/grpc/support/atm_windows.h",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +020079 "include/grpc/support/cpu.h",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +020080 "include/grpc/support/log.h",
81 "include/grpc/support/log_windows.h",
82 "include/grpc/support/port_platform.h",
83 "include/grpc/support/string_util.h",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +020084 "include/grpc/support/sync.h",
yang-g9ff60312017-08-24 09:08:21 -070085 "include/grpc/support/sync_custom.h",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +020086 "include/grpc/support/sync_generic.h",
87 "include/grpc/support/sync_posix.h",
88 "include/grpc/support/sync_windows.h",
Vijay Paic7456902018-02-12 10:28:24 -080089 "include/grpc/support/thd_id.h",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +020090 "include/grpc/support/time.h",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +020091]
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +020092
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +020093GRPC_PUBLIC_HDRS = [
94 "include/grpc/byte_buffer.h",
95 "include/grpc/byte_buffer_reader.h",
96 "include/grpc/compression.h",
Vijay Pai195cf1e2017-11-30 10:56:06 -080097 "include/grpc/fork.h",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +020098 "include/grpc/grpc.h",
99 "include/grpc/grpc_posix.h",
100 "include/grpc/grpc_security_constants.h",
Vijay Pai195cf1e2017-11-30 10:56:06 -0800101 "include/grpc/load_reporting.h",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +0200102 "include/grpc/slice.h",
103 "include/grpc/slice_buffer.h",
104 "include/grpc/status.h",
105 "include/grpc/support/workaround_list.h",
106]
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700107
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +0200108GRPC_SECURE_PUBLIC_HDRS = [
109 "include/grpc/grpc_security.h",
110]
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200111
Nicolas "Pixel" Noble86ac5962017-05-31 20:23:41 +0200112# TODO(ctiller): layer grpc atop grpc_unsecure, layer grpc++ atop grpc++_unsecure
113GRPCXX_SRCS = [
114 "src/cpp/client/channel_cc.cc",
115 "src/cpp/client/client_context.cc",
116 "src/cpp/client/create_channel.cc",
117 "src/cpp/client/create_channel_internal.cc",
118 "src/cpp/client/create_channel_posix.cc",
119 "src/cpp/client/credentials_cc.cc",
120 "src/cpp/client/generic_stub.cc",
Vijay Pai2b226ad2018-01-11 16:11:35 -0800121 "src/cpp/common/alarm.cc",
Nicolas "Pixel" Noble86ac5962017-05-31 20:23:41 +0200122 "src/cpp/common/channel_arguments.cc",
123 "src/cpp/common/channel_filter.cc",
124 "src/cpp/common/completion_queue_cc.cc",
125 "src/cpp/common/core_codegen.cc",
126 "src/cpp/common/resource_quota_cc.cc",
127 "src/cpp/common/rpc_method.cc",
128 "src/cpp/common/version_cc.cc",
129 "src/cpp/server/async_generic_service.cc",
130 "src/cpp/server/channel_argument_option.cc",
131 "src/cpp/server/create_default_thread_pool.cc",
132 "src/cpp/server/dynamic_thread_pool.cc",
133 "src/cpp/server/health/default_health_check_service.cc",
134 "src/cpp/server/health/health.pb.c",
135 "src/cpp/server/health/health_check_service.cc",
136 "src/cpp/server/health/health_check_service_server_builder_option.cc",
137 "src/cpp/server/server_builder.cc",
138 "src/cpp/server/server_cc.cc",
139 "src/cpp/server/server_context.cc",
140 "src/cpp/server/server_credentials.cc",
141 "src/cpp/server/server_posix.cc",
142 "src/cpp/thread_manager/thread_manager.cc",
143 "src/cpp/util/byte_buffer_cc.cc",
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",
Muxi Yan0e00c432018-01-26 15:39:32 -0800208 "include/grpcpp/alarm.h",
209 "include/grpcpp/channel.h",
210 "include/grpcpp/client_context.h",
211 "include/grpcpp/completion_queue.h",
212 "include/grpcpp/create_channel.h",
213 "include/grpcpp/create_channel_posix.h",
214 "include/grpcpp/ext/health_check_service_server_builder_option.h",
215 "include/grpcpp/generic/async_generic_service.h",
216 "include/grpcpp/generic/generic_stub.h",
217 "include/grpcpp/grpcpp.h",
218 "include/grpcpp/health_check_service_interface.h",
219 "include/grpcpp/impl/call.h",
220 "include/grpcpp/impl/channel_argument_option.h",
221 "include/grpcpp/impl/client_unary_call.h",
222 "include/grpcpp/impl/codegen/core_codegen.h",
223 "include/grpcpp/impl/grpc_library.h",
224 "include/grpcpp/impl/method_handler_impl.h",
225 "include/grpcpp/impl/rpc_method.h",
226 "include/grpcpp/impl/rpc_service_method.h",
227 "include/grpcpp/impl/serialization_traits.h",
228 "include/grpcpp/impl/server_builder_option.h",
229 "include/grpcpp/impl/server_builder_plugin.h",
230 "include/grpcpp/impl/server_initializer.h",
231 "include/grpcpp/impl/service_type.h",
232 "include/grpcpp/impl/sync_cxx11.h",
233 "include/grpcpp/impl/sync_no_cxx11.h",
234 "include/grpcpp/resource_quota.h",
235 "include/grpcpp/security/auth_context.h",
236 "include/grpcpp/security/auth_metadata_processor.h",
237 "include/grpcpp/security/credentials.h",
238 "include/grpcpp/security/server_credentials.h",
239 "include/grpcpp/server.h",
240 "include/grpcpp/server_builder.h",
241 "include/grpcpp/server_context.h",
242 "include/grpcpp/server_posix.h",
243 "include/grpcpp/support/async_stream.h",
244 "include/grpcpp/support/async_unary_call.h",
245 "include/grpcpp/support/byte_buffer.h",
246 "include/grpcpp/support/channel_arguments.h",
247 "include/grpcpp/support/config.h",
248 "include/grpcpp/support/slice.h",
249 "include/grpcpp/support/status.h",
250 "include/grpcpp/support/status_code_enum.h",
251 "include/grpcpp/support/string_ref.h",
252 "include/grpcpp/support/stub_options.h",
253 "include/grpcpp/support/sync_stream.h",
254 "include/grpcpp/support/time.h",
Nicolas "Pixel" Noble86ac5962017-05-31 20:23:41 +0200255]
256
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +0200257grpc_cc_library(
258 name = "gpr",
Yash Tibrewal2dcbc102017-10-03 16:23:07 -0700259 language = "c++",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +0200260 public_hdrs = GPR_PUBLIC_HDRS,
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +0200261 standalone = True,
262 deps = [
263 "gpr_base",
264 ],
265)
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +0200266
267grpc_cc_library(
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +0200268 name = "grpc_unsecure",
269 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -0700270 "src/core/lib/surface/init.cc",
271 "src/core/lib/surface/init_unsecure.cc",
272 "src/core/plugin_registry/grpc_unsecure_plugin_registry.cc",
Nicolas "Pixel" Noble31d11db2016-10-20 09:29:46 +0200273 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -0700274 language = "c++",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +0200275 public_hdrs = GRPC_PUBLIC_HDRS,
Nicolas "Pixel" Noble31d11db2016-10-20 09:29:46 +0200276 standalone = True,
Craig Tillerda179ce2016-02-09 12:01:53 -0800277 deps = [
278 "grpc_common",
Vijay Pai42807252017-07-28 15:08:24 -0700279 "grpc_lb_policy_grpclb",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200280 ],
281)
282
283grpc_cc_library(
284 name = "grpc",
285 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -0700286 "src/core/lib/surface/init.cc",
287 "src/core/plugin_registry/grpc_plugin_registry.cc",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200288 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -0700289 language = "c++",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +0200290 public_hdrs = GRPC_PUBLIC_HDRS + GRPC_SECURE_PUBLIC_HDRS,
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200291 standalone = True,
292 deps = [
293 "grpc_common",
294 "grpc_lb_policy_grpclb_secure",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200295 "grpc_secure",
296 "grpc_transport_chttp2_client_secure",
297 "grpc_transport_chttp2_server_secure",
298 ],
299)
300
301grpc_cc_library(
302 name = "grpc_cronet",
303 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -0700304 "src/core/lib/surface/init.cc",
305 "src/core/plugin_registry/grpc_cronet_plugin_registry.cc",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200306 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -0700307 language = "c++",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200308 deps = [
309 "grpc_base",
Muxi Yanb94d6812018-03-20 14:17:47 -0700310 "grpc_deadline_filter",
Muxi Yan93e2d922018-03-23 16:28:50 -0700311 "grpc_lb_policy_pick_first",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200312 "grpc_http_filters",
Muxi Yan93e2d922018-03-23 16:28:50 -0700313 "grpc_max_age_filter",
Muxi Yanb94d6812018-03-20 14:17:47 -0700314 "grpc_message_size_filter",
Muxi Yan93e2d922018-03-23 16:28:50 -0700315 "grpc_resolver_dns_native",
316 "grpc_resolver_sockaddr",
Muxi Yan7cc4bd82018-03-19 18:34:58 -0700317 "grpc_server_load_reporting",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200318 "grpc_transport_chttp2_client_secure",
Muxi Yan7cc4bd82018-03-19 18:34:58 -0700319 "grpc_transport_chttp2_server_secure",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200320 "grpc_transport_cronet_client_secure",
321 ],
322)
323
324grpc_cc_library(
makdharma8d6e6f62018-01-23 09:44:25 -0800325 name = "grpc++_public_hdrs",
326 hdrs = GRPCXX_PUBLIC_HDRS,
327)
328
329grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200330 name = "grpc++",
331 srcs = [
332 "src/cpp/client/insecure_credentials.cc",
333 "src/cpp/client/secure_credentials.cc",
334 "src/cpp/common/auth_property_iterator.cc",
335 "src/cpp/common/secure_auth_context.cc",
336 "src/cpp/common/secure_channel_arguments.cc",
337 "src/cpp/common/secure_create_auth_context.cc",
338 "src/cpp/server/insecure_server_credentials.cc",
339 "src/cpp/server/secure_server_credentials.cc",
340 ],
341 hdrs = [
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200342 "src/cpp/client/secure_credentials.h",
343 "src/cpp/common/secure_auth_context.h",
344 "src/cpp/server/secure_server_credentials.h",
345 ],
346 language = "c++",
Nicolas "Pixel" Noble86ac5962017-05-31 20:23:41 +0200347 public_hdrs = GRPCXX_PUBLIC_HDRS,
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200348 standalone = True,
349 deps = [
350 "gpr",
351 "grpc",
352 "grpc++_base",
353 "grpc++_codegen_base",
354 "grpc++_codegen_base_src",
Jan Tattermuschaead5aa2017-02-10 11:00:29 -0800355 "grpc++_codegen_proto",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200356 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200357)
358
359grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200360 name = "grpc++_unsecure",
361 srcs = [
362 "src/cpp/client/insecure_credentials.cc",
363 "src/cpp/common/insecure_create_auth_context.cc",
364 "src/cpp/server/insecure_server_credentials.cc",
365 ],
366 language = "c++",
367 standalone = True,
368 deps = [
369 "gpr",
Vijay Pai576e5462017-04-20 18:40:16 +0000370 "grpc++_base_unsecure",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200371 "grpc++_codegen_base",
372 "grpc++_codegen_base_src",
Vijay Pai42807252017-07-28 15:08:24 -0700373 "grpc++_codegen_proto",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200374 "grpc_unsecure",
375 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200376)
377
378grpc_cc_library(
yang-geceec8e2017-04-10 11:58:44 -0700379 name = "grpc++_error_details",
380 srcs = [
381 "src/cpp/util/error_details.cc",
382 ],
383 hdrs = [
384 "include/grpc++/support/error_details.h",
Muxi Yan0e00c432018-01-26 15:39:32 -0800385 "include/grpcpp/support/error_details.h",
yang-geceec8e2017-04-10 11:58:44 -0700386 ],
387 language = "c++",
388 standalone = True,
389 deps = [
390 "grpc++",
391 "//src/proto/grpc/status:status_proto",
392 ],
393)
394
395grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200396 name = "grpc_plugin_support",
397 srcs = [
398 "src/compiler/cpp_generator.cc",
399 "src/compiler/csharp_generator.cc",
400 "src/compiler/node_generator.cc",
401 "src/compiler/objective_c_generator.cc",
402 "src/compiler/php_generator.cc",
403 "src/compiler/python_generator.cc",
404 "src/compiler/ruby_generator.cc",
405 ],
406 hdrs = [
407 "src/compiler/config.h",
408 "src/compiler/cpp_generator.h",
409 "src/compiler/cpp_generator_helpers.h",
410 "src/compiler/csharp_generator.h",
411 "src/compiler/csharp_generator_helpers.h",
412 "src/compiler/generator_helpers.h",
413 "src/compiler/node_generator.h",
414 "src/compiler/node_generator_helpers.h",
415 "src/compiler/objective_c_generator.h",
416 "src/compiler/objective_c_generator_helpers.h",
417 "src/compiler/php_generator.h",
418 "src/compiler/php_generator_helpers.h",
Jan Tattermusch61f729f2017-04-06 17:11:44 +0200419 "src/compiler/protobuf_plugin.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200420 "src/compiler/python_generator.h",
Harsh Vardhan3cbc6ad2017-02-07 13:09:16 +0530421 "src/compiler/python_generator_helpers.h",
422 "src/compiler/python_private_generator.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200423 "src/compiler/ruby_generator.h",
424 "src/compiler/ruby_generator_helpers-inl.h",
425 "src/compiler/ruby_generator_map-inl.h",
426 "src/compiler/ruby_generator_string-inl.h",
Jan Tattermusch61f729f2017-04-06 17:11:44 +0200427 "src/compiler/schema_interface.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200428 ],
429 external_deps = [
Nicolas "Pixel" Noble4dc64312016-10-20 23:07:37 +0200430 "protobuf_clib",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200431 ],
432 language = "c++",
433 deps = [
434 "grpc++_config_proto",
435 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200436)
437
Nicolas "Pixel" Noble4dc64312016-10-20 23:07:37 +0200438grpc_proto_plugin(
439 name = "grpc_cpp_plugin",
440 srcs = ["src/compiler/cpp_plugin.cc"],
441 deps = [":grpc_plugin_support"],
442)
443
444grpc_proto_plugin(
445 name = "grpc_csharp_plugin",
446 srcs = ["src/compiler/csharp_plugin.cc"],
447 deps = [":grpc_plugin_support"],
448)
449
450grpc_proto_plugin(
451 name = "grpc_node_plugin",
452 srcs = ["src/compiler/node_plugin.cc"],
453 deps = [":grpc_plugin_support"],
454)
455
456grpc_proto_plugin(
457 name = "grpc_objective_c_plugin",
458 srcs = ["src/compiler/objective_c_plugin.cc"],
459 deps = [":grpc_plugin_support"],
460)
461
462grpc_proto_plugin(
463 name = "grpc_php_plugin",
464 srcs = ["src/compiler/php_plugin.cc"],
465 deps = [":grpc_plugin_support"],
466)
467
468grpc_proto_plugin(
469 name = "grpc_python_plugin",
470 srcs = ["src/compiler/python_plugin.cc"],
471 deps = [":grpc_plugin_support"],
472)
473
474grpc_proto_plugin(
475 name = "grpc_ruby_plugin",
476 srcs = ["src/compiler/ruby_plugin.cc"],
477 deps = [":grpc_plugin_support"],
478)
479
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200480grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200481 name = "grpc_csharp_ext",
482 srcs = [
483 "src/csharp/ext/grpc_csharp_ext.c",
484 ],
485 language = "csharp",
486 deps = [
487 "gpr",
488 "grpc",
489 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200490)
491
492grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200493 name = "census",
494 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -0700495 "src/core/ext/census/grpc_context.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200496 ],
497 external_deps = [
498 "nanopb",
499 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -0700500 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200501 public_hdrs = [
502 "include/grpc/census.h",
503 ],
504 deps = [
505 "grpc_base",
506 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200507)
508
509grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200510 name = "gpr_base",
511 srcs = [
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800512 "src/core/lib/gpr/alloc.cc",
513 "src/core/lib/gpr/arena.cc",
514 "src/core/lib/gpr/atm.cc",
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800515 "src/core/lib/gpr/cpu_iphone.cc",
516 "src/core/lib/gpr/cpu_linux.cc",
517 "src/core/lib/gpr/cpu_posix.cc",
518 "src/core/lib/gpr/cpu_windows.cc",
519 "src/core/lib/gpr/env_linux.cc",
520 "src/core/lib/gpr/env_posix.cc",
521 "src/core/lib/gpr/env_windows.cc",
522 "src/core/lib/gpr/fork.cc",
523 "src/core/lib/gpr/host_port.cc",
524 "src/core/lib/gpr/log.cc",
525 "src/core/lib/gpr/log_android.cc",
526 "src/core/lib/gpr/log_linux.cc",
527 "src/core/lib/gpr/log_posix.cc",
528 "src/core/lib/gpr/log_windows.cc",
529 "src/core/lib/gpr/mpscq.cc",
530 "src/core/lib/gpr/murmur_hash.cc",
531 "src/core/lib/gpr/string.cc",
532 "src/core/lib/gpr/string_posix.cc",
533 "src/core/lib/gpr/string_util_windows.cc",
534 "src/core/lib/gpr/string_windows.cc",
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800535 "src/core/lib/gpr/sync.cc",
536 "src/core/lib/gpr/sync_posix.cc",
537 "src/core/lib/gpr/sync_windows.cc",
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800538 "src/core/lib/gpr/time.cc",
539 "src/core/lib/gpr/time_posix.cc",
540 "src/core/lib/gpr/time_precise.cc",
541 "src/core/lib/gpr/time_windows.cc",
542 "src/core/lib/gpr/tls_pthread.cc",
543 "src/core/lib/gpr/tmpfile_msys.cc",
544 "src/core/lib/gpr/tmpfile_posix.cc",
545 "src/core/lib/gpr/tmpfile_windows.cc",
546 "src/core/lib/gpr/wrap_memcpy.cc",
Vijay Pai756caa72018-03-01 12:38:16 -0800547 "src/core/lib/gprpp/thd_posix.cc",
548 "src/core/lib/gprpp/thd_windows.cc",
Vijay Pai239b7d42018-02-08 11:08:41 -0800549 "src/core/lib/profiling/basic_timers.cc",
550 "src/core/lib/profiling/stap_timers.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200551 ],
552 hdrs = [
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800553 "src/core/lib/gpr/arena.h",
554 "src/core/lib/gpr/env.h",
555 "src/core/lib/gpr/fork.h",
Vijay Paiae376bf2018-01-25 22:54:02 -0800556 "src/core/lib/gpr/host_port.h",
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800557 "src/core/lib/gpr/mpscq.h",
558 "src/core/lib/gpr/murmur_hash.h",
559 "src/core/lib/gpr/spinlock.h",
560 "src/core/lib/gpr/string.h",
561 "src/core/lib/gpr/string_windows.h",
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800562 "src/core/lib/gpr/time_precise.h",
Vijay Paib6cf1232018-01-25 21:02:26 -0800563 "src/core/lib/gpr/tls.h",
564 "src/core/lib/gpr/tls_gcc.h",
565 "src/core/lib/gpr/tls_msvc.h",
566 "src/core/lib/gpr/tls_pthread.h",
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800567 "src/core/lib/gpr/tmpfile.h",
Vijay Pai239b7d42018-02-08 11:08:41 -0800568 "src/core/lib/gpr/useful.h",
Vijay Pai756caa72018-03-01 12:38:16 -0800569 "src/core/lib/gprpp/abstract.h",
570 "src/core/lib/gprpp/manual_constructor.h",
571 "src/core/lib/gprpp/memory.h",
572 "src/core/lib/gprpp/thd.h",
Vijay Pai239b7d42018-02-08 11:08:41 -0800573 "src/core/lib/profiling/timers.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200574 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -0700575 language = "c++",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +0200576 public_hdrs = GPR_PUBLIC_HDRS,
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200577 deps = [
578 "gpr_codegen",
579 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200580)
581
582grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200583 name = "gpr_codegen",
Yash Tibrewal2dcbc102017-10-03 16:23:07 -0700584 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200585 public_hdrs = [
586 "include/grpc/impl/codegen/atm.h",
587 "include/grpc/impl/codegen/atm_gcc_atomic.h",
588 "include/grpc/impl/codegen/atm_gcc_sync.h",
589 "include/grpc/impl/codegen/atm_windows.h",
Ken Payson9714e032017-10-10 11:18:49 -0700590 "include/grpc/impl/codegen/fork.h",
Mark D. Roth348fba22017-01-06 11:07:30 -0800591 "include/grpc/impl/codegen/gpr_slice.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200592 "include/grpc/impl/codegen/gpr_types.h",
593 "include/grpc/impl/codegen/port_platform.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200594 "include/grpc/impl/codegen/sync.h",
yang-g9ff60312017-08-24 09:08:21 -0700595 "include/grpc/impl/codegen/sync_custom.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200596 "include/grpc/impl/codegen/sync_generic.h",
597 "include/grpc/impl/codegen/sync_posix.h",
598 "include/grpc/impl/codegen/sync_windows.h",
599 ],
Craig Tillerda179ce2016-02-09 12:01:53 -0800600)
601
Nicolas "Pixel" Noble31d11db2016-10-20 09:29:46 +0200602grpc_cc_library(
Craig Tiller1f477302017-05-05 11:01:25 -0700603 name = "grpc_trace",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700604 srcs = ["src/core/lib/debug/trace.cc"],
Craig Tiller1f477302017-05-05 11:01:25 -0700605 hdrs = ["src/core/lib/debug/trace.h"],
Yash Tibrewala60c7632017-09-28 16:13:32 -0700606 language = "c++",
Yash Tibrewal12587d52017-10-05 08:53:41 -0700607 public_hdrs = GRPC_PUBLIC_HDRS,
Yash Tibrewalf49ab122017-10-03 18:36:05 -0700608 deps = [
609 "grpc_codegen",
610 ":gpr",
611 ],
Craig Tiller1f477302017-05-05 11:01:25 -0700612)
613
614grpc_cc_library(
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800615 name = "atomic",
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800616 hdrs = [
Mark D. Roth4f2b0fd2018-01-19 12:12:23 -0800617 "src/core/lib/gprpp/atomic_with_atm.h",
618 "src/core/lib/gprpp/atomic_with_std.h",
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800619 ],
Vijay Pai239b7d42018-02-08 11:08:41 -0800620 language = "c++",
621 public_hdrs = [
622 "src/core/lib/gprpp/atomic.h",
623 ],
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800624 deps = [
625 "gpr",
626 ],
627)
628
629grpc_cc_library(
630 name = "inlined_vector",
631 language = "c++",
632 public_hdrs = [
Mark D. Roth4f2b0fd2018-01-19 12:12:23 -0800633 "src/core/lib/gprpp/inlined_vector.h",
634 ],
635 deps = [
Vijay Pai756caa72018-03-01 12:38:16 -0800636 "gpr_base",
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800637 ],
638)
639
640grpc_cc_library(
Mark D. Roth70db6632017-11-27 14:53:26 -0800641 name = "debug_location",
Mark D. Roth70db6632017-11-27 14:53:26 -0800642 language = "c++",
Mark D. Roth4f2b0fd2018-01-19 12:12:23 -0800643 public_hdrs = ["src/core/lib/gprpp/debug_location.h"],
Mark D. Roth70db6632017-11-27 14:53:26 -0800644)
645
646grpc_cc_library(
Mark D. Roth324703d2018-01-11 07:41:31 -0800647 name = "orphanable",
Mark D. Roth324703d2018-01-11 07:41:31 -0800648 language = "c++",
Mark D. Roth4f2b0fd2018-01-19 12:12:23 -0800649 public_hdrs = ["src/core/lib/gprpp/orphanable.h"],
Mark D. Roth324703d2018-01-11 07:41:31 -0800650 deps = [
Mark D. Roth324703d2018-01-11 07:41:31 -0800651 "debug_location",
Vijay Pai756caa72018-03-01 12:38:16 -0800652 "gpr_base",
David Garcia Quintas41d27e12018-01-17 10:38:53 -0800653 "grpc_trace",
Vijay Pai239b7d42018-02-08 11:08:41 -0800654 "ref_counted_ptr",
Mark D. Roth324703d2018-01-11 07:41:31 -0800655 ],
Mark D. Roth70db6632017-11-27 14:53:26 -0800656)
657
658grpc_cc_library(
Mark D. Rothbf816d32017-11-29 11:25:34 -0800659 name = "ref_counted",
Mark D. Roth70db6632017-11-27 14:53:26 -0800660 language = "c++",
Mark D. Roth4f2b0fd2018-01-19 12:12:23 -0800661 public_hdrs = ["src/core/lib/gprpp/ref_counted.h"],
Mark D. Roth70db6632017-11-27 14:53:26 -0800662 deps = [
Mark D. Roth70db6632017-11-27 14:53:26 -0800663 "debug_location",
Vijay Pai756caa72018-03-01 12:38:16 -0800664 "gpr_base",
David Garcia Quintas53bfe692018-01-04 16:39:08 -0800665 "grpc_trace",
Vijay Pai239b7d42018-02-08 11:08:41 -0800666 "ref_counted_ptr",
Mark D. Roth70db6632017-11-27 14:53:26 -0800667 ],
668)
669
670grpc_cc_library(
Mark D. Rothbf816d32017-11-29 11:25:34 -0800671 name = "ref_counted_ptr",
Mark D. Rothcf9ca842017-11-28 08:24:35 -0800672 language = "c++",
Mark D. Roth4f2b0fd2018-01-19 12:12:23 -0800673 public_hdrs = ["src/core/lib/gprpp/ref_counted_ptr.h"],
674 deps = [
Vijay Pai756caa72018-03-01 12:38:16 -0800675 "gpr_base",
Mark D. Roth4f2b0fd2018-01-19 12:12:23 -0800676 ],
Mark D. Rothcf9ca842017-11-28 08:24:35 -0800677)
678
679grpc_cc_library(
Craig Tiller832c6072017-05-11 14:38:05 -0700680 name = "grpc_base_c",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200681 srcs = [
Vijay Pai8f4fbb12018-02-08 10:04:08 -0800682 "src/core/lib/avl/avl.cc",
Craig Tillere1a2b4a2017-10-05 11:07:14 -0700683 "src/core/lib/backoff/backoff.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700684 "src/core/lib/channel/channel_args.cc",
685 "src/core/lib/channel/channel_stack.cc",
686 "src/core/lib/channel/channel_stack_builder.cc",
ncteisen3b42f832018-03-19 13:22:35 -0700687 "src/core/lib/channel/channel_trace.cc",
688 "src/core/lib/channel/channel_trace_registry.cc",
689 "src/core/lib/channel/status_util.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700690 "src/core/lib/channel/connected_channel.cc",
691 "src/core/lib/channel/handshaker.cc",
692 "src/core/lib/channel/handshaker_factory.cc",
693 "src/core/lib/channel/handshaker_registry.cc",
694 "src/core/lib/compression/compression.cc",
Muxi Yan03fc8572017-10-06 18:47:09 -0700695 "src/core/lib/compression/compression_internal.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700696 "src/core/lib/compression/message_compress.cc",
697 "src/core/lib/compression/stream_compression.cc",
698 "src/core/lib/compression/stream_compression_gzip.cc",
699 "src/core/lib/compression/stream_compression_identity.cc",
700 "src/core/lib/debug/stats.cc",
701 "src/core/lib/debug/stats_data.cc",
702 "src/core/lib/http/format_request.cc",
703 "src/core/lib/http/httpcli.cc",
704 "src/core/lib/http/parser.cc",
705 "src/core/lib/iomgr/call_combiner.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700706 "src/core/lib/iomgr/combiner.cc",
707 "src/core/lib/iomgr/endpoint.cc",
708 "src/core/lib/iomgr/endpoint_pair_posix.cc",
709 "src/core/lib/iomgr/endpoint_pair_uv.cc",
710 "src/core/lib/iomgr/endpoint_pair_windows.cc",
711 "src/core/lib/iomgr/error.cc",
712 "src/core/lib/iomgr/ev_epoll1_linux.cc",
713 "src/core/lib/iomgr/ev_epollex_linux.cc",
714 "src/core/lib/iomgr/ev_epollsig_linux.cc",
715 "src/core/lib/iomgr/ev_poll_posix.cc",
716 "src/core/lib/iomgr/ev_posix.cc",
717 "src/core/lib/iomgr/ev_windows.cc",
718 "src/core/lib/iomgr/exec_ctx.cc",
719 "src/core/lib/iomgr/executor.cc",
Nicolas "Pixel" Noble18a68372017-11-20 23:33:22 +0100720 "src/core/lib/iomgr/fork_posix.cc",
721 "src/core/lib/iomgr/fork_windows.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700722 "src/core/lib/iomgr/gethostname_fallback.cc",
723 "src/core/lib/iomgr/gethostname_host_name_max.cc",
724 "src/core/lib/iomgr/gethostname_sysconf.cc",
725 "src/core/lib/iomgr/iocp_windows.cc",
726 "src/core/lib/iomgr/iomgr.cc",
kpayson64539f5062018-03-12 19:16:30 -0700727 "src/core/lib/iomgr/iomgr_custom.cc",
728 "src/core/lib/iomgr/iomgr_internal.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700729 "src/core/lib/iomgr/iomgr_posix.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700730 "src/core/lib/iomgr/iomgr_windows.cc",
731 "src/core/lib/iomgr/is_epollexclusive_available.cc",
732 "src/core/lib/iomgr/load_file.cc",
733 "src/core/lib/iomgr/lockfree_event.cc",
734 "src/core/lib/iomgr/network_status_tracker.cc",
735 "src/core/lib/iomgr/polling_entity.cc",
kpayson64539f5062018-03-12 19:16:30 -0700736 "src/core/lib/iomgr/pollset.cc",
737 "src/core/lib/iomgr/pollset_custom.cc",
738 "src/core/lib/iomgr/pollset_set.cc",
739 "src/core/lib/iomgr/pollset_set_custom.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700740 "src/core/lib/iomgr/pollset_set_windows.cc",
741 "src/core/lib/iomgr/pollset_uv.cc",
742 "src/core/lib/iomgr/pollset_windows.cc",
kpayson64539f5062018-03-12 19:16:30 -0700743 "src/core/lib/iomgr/resolve_address.cc",
744 "src/core/lib/iomgr/resolve_address_custom.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700745 "src/core/lib/iomgr/resolve_address_posix.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700746 "src/core/lib/iomgr/resolve_address_windows.cc",
747 "src/core/lib/iomgr/resource_quota.cc",
748 "src/core/lib/iomgr/sockaddr_utils.cc",
749 "src/core/lib/iomgr/socket_factory_posix.cc",
750 "src/core/lib/iomgr/socket_mutator.cc",
751 "src/core/lib/iomgr/socket_utils_common_posix.cc",
752 "src/core/lib/iomgr/socket_utils_linux.cc",
753 "src/core/lib/iomgr/socket_utils_posix.cc",
Yash Tibrewal26c78032017-09-28 14:34:43 -0700754 "src/core/lib/iomgr/socket_utils_windows.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700755 "src/core/lib/iomgr/socket_windows.cc",
kpayson64539f5062018-03-12 19:16:30 -0700756 "src/core/lib/iomgr/tcp_client.cc",
757 "src/core/lib/iomgr/tcp_client_custom.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700758 "src/core/lib/iomgr/tcp_client_posix.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700759 "src/core/lib/iomgr/tcp_client_windows.cc",
kpayson64539f5062018-03-12 19:16:30 -0700760 "src/core/lib/iomgr/tcp_custom.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700761 "src/core/lib/iomgr/tcp_posix.cc",
kpayson64539f5062018-03-12 19:16:30 -0700762 "src/core/lib/iomgr/tcp_server.cc",
763 "src/core/lib/iomgr/tcp_server_custom.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700764 "src/core/lib/iomgr/tcp_server_posix.cc",
765 "src/core/lib/iomgr/tcp_server_utils_posix_common.cc",
766 "src/core/lib/iomgr/tcp_server_utils_posix_ifaddrs.cc",
767 "src/core/lib/iomgr/tcp_server_utils_posix_noifaddrs.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700768 "src/core/lib/iomgr/tcp_server_windows.cc",
769 "src/core/lib/iomgr/tcp_uv.cc",
770 "src/core/lib/iomgr/tcp_windows.cc",
771 "src/core/lib/iomgr/time_averaged_stats.cc",
kpayson64539f5062018-03-12 19:16:30 -0700772 "src/core/lib/iomgr/timer.cc",
773 "src/core/lib/iomgr/timer_custom.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700774 "src/core/lib/iomgr/timer_generic.cc",
775 "src/core/lib/iomgr/timer_heap.cc",
776 "src/core/lib/iomgr/timer_manager.cc",
777 "src/core/lib/iomgr/timer_uv.cc",
778 "src/core/lib/iomgr/udp_server.cc",
779 "src/core/lib/iomgr/unix_sockets_posix.cc",
780 "src/core/lib/iomgr/unix_sockets_posix_noop.cc",
781 "src/core/lib/iomgr/wakeup_fd_cv.cc",
782 "src/core/lib/iomgr/wakeup_fd_eventfd.cc",
783 "src/core/lib/iomgr/wakeup_fd_nospecial.cc",
784 "src/core/lib/iomgr/wakeup_fd_pipe.cc",
785 "src/core/lib/iomgr/wakeup_fd_posix.cc",
786 "src/core/lib/json/json.cc",
787 "src/core/lib/json/json_reader.cc",
788 "src/core/lib/json/json_string.cc",
789 "src/core/lib/json/json_writer.cc",
790 "src/core/lib/slice/b64.cc",
791 "src/core/lib/slice/percent_encoding.cc",
792 "src/core/lib/slice/slice.cc",
793 "src/core/lib/slice/slice_buffer.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700794 "src/core/lib/slice/slice_intern.cc",
795 "src/core/lib/slice/slice_string_helpers.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700796 "src/core/lib/surface/api_trace.cc",
797 "src/core/lib/surface/byte_buffer.cc",
798 "src/core/lib/surface/byte_buffer_reader.cc",
799 "src/core/lib/surface/call.cc",
800 "src/core/lib/surface/call_details.cc",
801 "src/core/lib/surface/call_log_batch.cc",
802 "src/core/lib/surface/channel.cc",
803 "src/core/lib/surface/channel_init.cc",
804 "src/core/lib/surface/channel_ping.cc",
805 "src/core/lib/surface/channel_stack_type.cc",
806 "src/core/lib/surface/completion_queue.cc",
807 "src/core/lib/surface/completion_queue_factory.cc",
808 "src/core/lib/surface/event_string.cc",
809 "src/core/lib/surface/metadata_array.cc",
810 "src/core/lib/surface/server.cc",
811 "src/core/lib/surface/validate_metadata.cc",
812 "src/core/lib/surface/version.cc",
813 "src/core/lib/transport/bdp_estimator.cc",
814 "src/core/lib/transport/byte_stream.cc",
815 "src/core/lib/transport/connectivity_state.cc",
816 "src/core/lib/transport/error_utils.cc",
817 "src/core/lib/transport/metadata.cc",
818 "src/core/lib/transport/metadata_batch.cc",
819 "src/core/lib/transport/pid_controller.cc",
820 "src/core/lib/transport/service_config.cc",
821 "src/core/lib/transport/static_metadata.cc",
822 "src/core/lib/transport/status_conversion.cc",
Mark D. Roth718c8342018-02-28 13:00:04 -0800823 "src/core/lib/transport/status_metadata.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -0700824 "src/core/lib/transport/timeout_encoding.cc",
825 "src/core/lib/transport/transport.cc",
826 "src/core/lib/transport/transport_op_string.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200827 ],
828 hdrs = [
Vijay Pai8f4fbb12018-02-08 10:04:08 -0800829 "src/core/lib/avl/avl.h",
Vijay Pai89125422017-11-22 10:22:28 -0800830 "src/core/lib/backoff/backoff.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200831 "src/core/lib/channel/channel_args.h",
832 "src/core/lib/channel/channel_stack.h",
833 "src/core/lib/channel/channel_stack_builder.h",
ncteisen3b42f832018-03-19 13:22:35 -0700834 "src/core/lib/channel/channel_trace.h",
835 "src/core/lib/channel/channel_trace_registry.h",
836 "src/core/lib/channel/status_util.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200837 "src/core/lib/channel/connected_channel.h",
838 "src/core/lib/channel/context.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200839 "src/core/lib/channel/handshaker.h",
Mark D. Roth1f0f23c2017-01-06 13:07:19 -0800840 "src/core/lib/channel/handshaker_factory.h",
841 "src/core/lib/channel/handshaker_registry.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200842 "src/core/lib/compression/algorithm_metadata.h",
Muxi Yane6d888d2017-09-14 09:42:56 -0700843 "src/core/lib/compression/compression_internal.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200844 "src/core/lib/compression/message_compress.h",
Muxi Yan1e9bdb52017-07-14 10:14:02 -0700845 "src/core/lib/compression/stream_compression.h",
Muxi Yan9cd90f42017-09-07 09:51:13 -0700846 "src/core/lib/compression/stream_compression_gzip.h",
847 "src/core/lib/compression/stream_compression_identity.h",
David Garcia Quintasb352be02017-09-18 11:55:52 -0700848 "src/core/lib/debug/stats.h",
849 "src/core/lib/debug/stats_data.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200850 "src/core/lib/http/format_request.h",
851 "src/core/lib/http/httpcli.h",
852 "src/core/lib/http/parser.h",
Vijay Pai89125422017-11-22 10:22:28 -0800853 "src/core/lib/iomgr/block_annotate.h",
Mark D. Roth764cf042017-09-01 09:00:06 -0700854 "src/core/lib/iomgr/call_combiner.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200855 "src/core/lib/iomgr/closure.h",
856 "src/core/lib/iomgr/combiner.h",
857 "src/core/lib/iomgr/endpoint.h",
858 "src/core/lib/iomgr/endpoint_pair.h",
859 "src/core/lib/iomgr/error.h",
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800860 "src/core/lib/iomgr/error_internal.h",
Craig Tiller18545a32017-05-05 17:33:44 +0000861 "src/core/lib/iomgr/ev_epoll1_linux.h",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700862 "src/core/lib/iomgr/ev_epollex_linux.h",
863 "src/core/lib/iomgr/ev_epollsig_linux.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200864 "src/core/lib/iomgr/ev_poll_posix.h",
865 "src/core/lib/iomgr/ev_posix.h",
866 "src/core/lib/iomgr/exec_ctx.h",
867 "src/core/lib/iomgr/executor.h",
Mark D. Rothf9bf4282017-08-03 14:47:23 -0700868 "src/core/lib/iomgr/gethostname.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200869 "src/core/lib/iomgr/iocp_windows.h",
870 "src/core/lib/iomgr/iomgr.h",
kpayson64539f5062018-03-12 19:16:30 -0700871 "src/core/lib/iomgr/iomgr_custom.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200872 "src/core/lib/iomgr/iomgr_internal.h",
873 "src/core/lib/iomgr/iomgr_posix.h",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700874 "src/core/lib/iomgr/is_epollexclusive_available.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200875 "src/core/lib/iomgr/load_file.h",
Jan Tattermusch43713e62017-04-12 09:20:29 +0200876 "src/core/lib/iomgr/lockfree_event.h",
Yuchen Zeng2d6ce742017-07-28 15:21:01 -0700877 "src/core/lib/iomgr/nameser.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200878 "src/core/lib/iomgr/network_status_tracker.h",
879 "src/core/lib/iomgr/polling_entity.h",
880 "src/core/lib/iomgr/pollset.h",
kpayson64539f5062018-03-12 19:16:30 -0700881 "src/core/lib/iomgr/pollset_custom.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200882 "src/core/lib/iomgr/pollset_set.h",
kpayson64539f5062018-03-12 19:16:30 -0700883 "src/core/lib/iomgr/pollset_set_custom.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200884 "src/core/lib/iomgr/pollset_set_windows.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200885 "src/core/lib/iomgr/pollset_uv.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200886 "src/core/lib/iomgr/pollset_windows.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200887 "src/core/lib/iomgr/port.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200888 "src/core/lib/iomgr/resolve_address.h",
kpayson64539f5062018-03-12 19:16:30 -0700889 "src/core/lib/iomgr/resolve_address_custom.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100890 "src/core/lib/iomgr/resource_quota.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200891 "src/core/lib/iomgr/sockaddr.h",
kpayson64539f5062018-03-12 19:16:30 -0700892 "src/core/lib/iomgr/sockaddr_custom.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200893 "src/core/lib/iomgr/sockaddr_posix.h",
894 "src/core/lib/iomgr/sockaddr_utils.h",
895 "src/core/lib/iomgr/sockaddr_windows.h",
Michael Warresc46b3eb2017-02-22 22:57:04 -0500896 "src/core/lib/iomgr/socket_factory_posix.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100897 "src/core/lib/iomgr/socket_mutator.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200898 "src/core/lib/iomgr/socket_utils.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200899 "src/core/lib/iomgr/socket_utils_posix.h",
900 "src/core/lib/iomgr/socket_windows.h",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700901 "src/core/lib/iomgr/sys_epoll_wrapper.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200902 "src/core/lib/iomgr/tcp_client.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100903 "src/core/lib/iomgr/tcp_client_posix.h",
kpayson64539f5062018-03-12 19:16:30 -0700904 "src/core/lib/iomgr/tcp_custom.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200905 "src/core/lib/iomgr/tcp_posix.h",
906 "src/core/lib/iomgr/tcp_server.h",
Yuchen Zeng47155ed2017-03-13 17:18:07 -0700907 "src/core/lib/iomgr/tcp_server_utils_posix.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200908 "src/core/lib/iomgr/tcp_windows.h",
909 "src/core/lib/iomgr/time_averaged_stats.h",
910 "src/core/lib/iomgr/timer.h",
kpayson64539f5062018-03-12 19:16:30 -0700911 "src/core/lib/iomgr/timer_custom.h",
Nicolas "Pixel" Noble19014de2016-10-27 00:33:07 +0200912 "src/core/lib/iomgr/timer_generic.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200913 "src/core/lib/iomgr/timer_heap.h",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700914 "src/core/lib/iomgr/timer_manager.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200915 "src/core/lib/iomgr/udp_server.h",
916 "src/core/lib/iomgr/unix_sockets_posix.h",
917 "src/core/lib/iomgr/wakeup_fd_cv.h",
918 "src/core/lib/iomgr/wakeup_fd_pipe.h",
919 "src/core/lib/iomgr/wakeup_fd_posix.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200920 "src/core/lib/json/json.h",
921 "src/core/lib/json/json_common.h",
922 "src/core/lib/json/json_reader.h",
923 "src/core/lib/json/json_writer.h",
Craig Tiller29b527f2017-03-30 10:27:20 -0700924 "src/core/lib/slice/b64.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100925 "src/core/lib/slice/percent_encoding.h",
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800926 "src/core/lib/slice/slice_hash_table.h",
Craig Tiller3ca60192017-01-04 14:41:29 -0800927 "src/core/lib/slice/slice_internal.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100928 "src/core/lib/slice/slice_string_helpers.h",
David Garcia Quintas396d49d2018-02-28 16:06:30 -0800929 "src/core/lib/slice/slice_weak_hash_table.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200930 "src/core/lib/surface/api_trace.h",
931 "src/core/lib/surface/call.h",
932 "src/core/lib/surface/call_test_only.h",
933 "src/core/lib/surface/channel.h",
934 "src/core/lib/surface/channel_init.h",
935 "src/core/lib/surface/channel_stack_type.h",
936 "src/core/lib/surface/completion_queue.h",
Sree Kuchibhotlaf6c20262017-03-21 18:52:19 -0700937 "src/core/lib/surface/completion_queue_factory.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200938 "src/core/lib/surface/event_string.h",
939 "src/core/lib/surface/init.h",
940 "src/core/lib/surface/lame_client.h",
941 "src/core/lib/surface/server.h",
David Garcia Quintas01291502017-02-07 13:26:41 -0800942 "src/core/lib/surface/validate_metadata.h",
David Garcia Quintas5481a582017-02-14 16:11:42 -0800943 "src/core/lib/transport/bdp_estimator.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200944 "src/core/lib/transport/byte_stream.h",
945 "src/core/lib/transport/connectivity_state.h",
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800946 "src/core/lib/transport/error_utils.h",
947 "src/core/lib/transport/http2_errors.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200948 "src/core/lib/transport/metadata.h",
949 "src/core/lib/transport/metadata_batch.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +0100950 "src/core/lib/transport/pid_controller.h",
951 "src/core/lib/transport/service_config.h",
952 "src/core/lib/transport/static_metadata.h",
Craig Tiller7c70b6c2017-01-23 07:48:42 -0800953 "src/core/lib/transport/status_conversion.h",
Mark D. Roth718c8342018-02-28 13:00:04 -0800954 "src/core/lib/transport/status_metadata.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200955 "src/core/lib/transport/timeout_encoding.h",
956 "src/core/lib/transport/transport.h",
957 "src/core/lib/transport/transport_impl.h",
958 ],
959 external_deps = [
960 "zlib",
961 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -0700962 language = "c++",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +0200963 public_hdrs = GRPC_PUBLIC_HDRS,
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200964 deps = [
Vijay Pai239b7d42018-02-08 11:08:41 -0800965 "gpr_base",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200966 "grpc_codegen",
Craig Tiller1f477302017-05-05 11:01:25 -0700967 "grpc_trace",
Vijay Pai756caa72018-03-01 12:38:16 -0800968 "inlined_vector",
Mark D. Roth3d8b32d2018-03-09 13:25:40 -0800969 "orphanable",
Mark D. Roth3e7f2df2018-02-26 13:17:06 -0800970 "ref_counted",
971 "ref_counted_ptr",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +0200972 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +0200973)
974
975grpc_cc_library(
Craig Tiller832c6072017-05-11 14:38:05 -0700976 name = "grpc_base",
Craig Tiller832c6072017-05-11 14:38:05 -0700977 srcs = [
978 "src/core/lib/surface/lame_client.cc",
979 ],
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700980 language = "c++",
Craig Tiller832c6072017-05-11 14:38:05 -0700981 deps = [
Mark D. Rothdbdf4952018-01-18 11:21:12 -0800982 "atomic",
Craig Tiller832c6072017-05-11 14:38:05 -0700983 "grpc_base_c",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700984 ],
985)
986
987grpc_cc_library(
988 name = "grpc_common",
Yash Tibrewal2dcbc102017-10-03 16:23:07 -0700989 language = "c++",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700990 deps = [
991 "grpc_base",
992 # standard plugins
993 "census",
994 "grpc_deadline_filter",
995 "grpc_lb_policy_pick_first",
996 "grpc_lb_policy_round_robin",
David Garcia Quintas0822d332017-09-06 17:40:42 -0700997 "grpc_server_load_reporting",
Craig Tillereb2c1bc2017-05-15 08:18:25 -0700998 "grpc_max_age_filter",
999 "grpc_message_size_filter",
Vijay Pai42807252017-07-28 15:08:24 -07001000 "grpc_resolver_dns_ares",
1001 "grpc_resolver_fake",
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001002 "grpc_resolver_dns_native",
1003 "grpc_resolver_sockaddr",
1004 "grpc_transport_chttp2_client_insecure",
1005 "grpc_transport_chttp2_server_insecure",
Vijay Pai3d7d5f42017-05-04 10:02:24 -07001006 "grpc_transport_inproc",
Muxi Yan2a5bbc12017-05-15 12:03:08 -07001007 "grpc_workaround_cronet_compression_filter",
1008 "grpc_server_backward_compatibility",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001009 ],
1010)
1011
1012grpc_cc_library(
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001013 name = "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001014 srcs = [
Yuchen Zeng0bad30a2017-10-05 21:47:39 -07001015 "src/core/ext/filters/client_channel/backup_poller.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001016 "src/core/ext/filters/client_channel/channel_connectivity.cc",
1017 "src/core/ext/filters/client_channel/client_channel.cc",
1018 "src/core/ext/filters/client_channel/client_channel_factory.cc",
1019 "src/core/ext/filters/client_channel/client_channel_plugin.cc",
1020 "src/core/ext/filters/client_channel/connector.cc",
1021 "src/core/ext/filters/client_channel/http_connect_handshaker.cc",
1022 "src/core/ext/filters/client_channel/http_proxy.cc",
1023 "src/core/ext/filters/client_channel/lb_policy.cc",
1024 "src/core/ext/filters/client_channel/lb_policy_factory.cc",
1025 "src/core/ext/filters/client_channel/lb_policy_registry.cc",
Mark D. Roth3e7f2df2018-02-26 13:17:06 -08001026 "src/core/ext/filters/client_channel/method_params.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001027 "src/core/ext/filters/client_channel/parse_address.cc",
1028 "src/core/ext/filters/client_channel/proxy_mapper.cc",
1029 "src/core/ext/filters/client_channel/proxy_mapper_registry.cc",
1030 "src/core/ext/filters/client_channel/resolver.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001031 "src/core/ext/filters/client_channel/resolver_registry.cc",
1032 "src/core/ext/filters/client_channel/retry_throttle.cc",
1033 "src/core/ext/filters/client_channel/subchannel.cc",
1034 "src/core/ext/filters/client_channel/subchannel_index.cc",
1035 "src/core/ext/filters/client_channel/uri_parser.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001036 ],
1037 hdrs = [
Yuchen Zeng0bad30a2017-10-05 21:47:39 -07001038 "src/core/ext/filters/client_channel/backup_poller.h",
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001039 "src/core/ext/filters/client_channel/client_channel.h",
1040 "src/core/ext/filters/client_channel/client_channel_factory.h",
1041 "src/core/ext/filters/client_channel/connector.h",
1042 "src/core/ext/filters/client_channel/http_connect_handshaker.h",
1043 "src/core/ext/filters/client_channel/http_proxy.h",
1044 "src/core/ext/filters/client_channel/lb_policy.h",
1045 "src/core/ext/filters/client_channel/lb_policy_factory.h",
1046 "src/core/ext/filters/client_channel/lb_policy_registry.h",
Mark D. Roth3e7f2df2018-02-26 13:17:06 -08001047 "src/core/ext/filters/client_channel/method_params.h",
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001048 "src/core/ext/filters/client_channel/parse_address.h",
1049 "src/core/ext/filters/client_channel/proxy_mapper.h",
1050 "src/core/ext/filters/client_channel/proxy_mapper_registry.h",
1051 "src/core/ext/filters/client_channel/resolver.h",
1052 "src/core/ext/filters/client_channel/resolver_factory.h",
1053 "src/core/ext/filters/client_channel/resolver_registry.h",
1054 "src/core/ext/filters/client_channel/retry_throttle.h",
1055 "src/core/ext/filters/client_channel/subchannel.h",
1056 "src/core/ext/filters/client_channel/subchannel_index.h",
1057 "src/core/ext/filters/client_channel/uri_parser.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001058 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001059 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001060 deps = [
Vijay Pai0693b722018-02-08 15:18:13 -08001061 "gpr_base",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001062 "grpc_base",
Craig Tillerdcd24e42017-04-06 10:47:46 -07001063 "grpc_deadline_filter",
Mark D. Roth209f6442018-02-08 10:26:46 -08001064 "inlined_vector",
1065 "orphanable",
David Garcia Quintas53bfe692018-01-04 16:39:08 -08001066 "ref_counted",
David Garcia Quintas4adad992018-01-17 13:50:39 -08001067 "ref_counted_ptr",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001068 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001069)
1070
1071grpc_cc_library(
Craig Tiller6b97e532017-04-03 12:56:23 -07001072 name = "grpc_max_age_filter",
1073 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001074 "src/core/ext/filters/max_age/max_age_filter.cc",
Craig Tiller6b97e532017-04-03 12:56:23 -07001075 ],
1076 hdrs = [
1077 "src/core/ext/filters/max_age/max_age_filter.h",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001078 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001079 language = "c++",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001080 deps = [
1081 "grpc_base",
1082 ],
1083)
1084
1085grpc_cc_library(
Craig Tiller3be7dd02017-04-03 14:30:03 -07001086 name = "grpc_deadline_filter",
1087 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001088 "src/core/ext/filters/deadline/deadline_filter.cc",
Craig Tiller3be7dd02017-04-03 14:30:03 -07001089 ],
1090 hdrs = [
1091 "src/core/ext/filters/deadline/deadline_filter.h",
1092 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001093 language = "c++",
Craig Tiller3be7dd02017-04-03 14:30:03 -07001094 deps = [
1095 "grpc_base",
1096 ],
1097)
1098
1099grpc_cc_library(
Craig Tiller6461c342017-04-03 13:00:31 -07001100 name = "grpc_message_size_filter",
1101 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001102 "src/core/ext/filters/message_size/message_size_filter.cc",
Craig Tiller6461c342017-04-03 13:00:31 -07001103 ],
1104 hdrs = [
1105 "src/core/ext/filters/message_size/message_size_filter.h",
1106 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001107 language = "c++",
Craig Tiller6461c342017-04-03 13:00:31 -07001108 deps = [
1109 "grpc_base",
1110 ],
1111)
1112
1113grpc_cc_library(
Craig Tilleraf767432017-04-03 13:54:31 -07001114 name = "grpc_http_filters",
Craig Tilleraf767432017-04-03 13:54:31 -07001115 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001116 "src/core/ext/filters/http/client/http_client_filter.cc",
1117 "src/core/ext/filters/http/http_filters_plugin.cc",
1118 "src/core/ext/filters/http/message_compress/message_compress_filter.cc",
1119 "src/core/ext/filters/http/server/http_server_filter.cc",
Sree Kuchibhotlad4fc32e2017-05-02 14:15:12 -07001120 ],
1121 hdrs = [
1122 "src/core/ext/filters/http/client/http_client_filter.h",
1123 "src/core/ext/filters/http/message_compress/message_compress_filter.h",
1124 "src/core/ext/filters/http/server/http_server_filter.h",
Craig Tilleraf767432017-04-03 13:54:31 -07001125 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001126 language = "c++",
Craig Tilleraf767432017-04-03 13:54:31 -07001127 deps = [
1128 "grpc_base",
1129 ],
1130)
1131
1132grpc_cc_library(
Muxi Yan2a5bbc12017-05-15 12:03:08 -07001133 name = "grpc_workaround_cronet_compression_filter",
1134 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001135 "src/core/ext/filters/workarounds/workaround_cronet_compression_filter.cc",
Muxi Yan2a5bbc12017-05-15 12:03:08 -07001136 ],
1137 hdrs = [
1138 "src/core/ext/filters/workarounds/workaround_cronet_compression_filter.h",
1139 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001140 language = "c++",
Muxi Yan2a5bbc12017-05-15 12:03:08 -07001141 deps = [
1142 "grpc_base",
1143 "grpc_server_backward_compatibility",
1144 ],
1145)
1146
1147grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001148 name = "grpc_codegen",
Yash Tibrewal2dcbc102017-10-03 16:23:07 -07001149 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001150 public_hdrs = [
Vijay Paiefce6e12017-09-14 09:07:50 -07001151 "include/grpc/impl/codegen/byte_buffer.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001152 "include/grpc/impl/codegen/byte_buffer_reader.h",
1153 "include/grpc/impl/codegen/compression_types.h",
1154 "include/grpc/impl/codegen/connectivity_state.h",
1155 "include/grpc/impl/codegen/grpc_types.h",
1156 "include/grpc/impl/codegen/propagation_bits.h",
1157 "include/grpc/impl/codegen/status.h",
Craig Tiller0d32f2f2017-03-30 10:50:29 -07001158 "include/grpc/impl/codegen/slice.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001159 ],
1160 deps = [
1161 "gpr_codegen",
1162 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001163)
1164
1165grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001166 name = "grpc_lb_policy_grpclb",
1167 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001168 "src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc",
1169 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc",
1170 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.cc",
1171 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc",
1172 "src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc",
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001173 "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 +02001174 ],
1175 hdrs = [
Mark D. Roth09e458c2017-05-02 08:13:26 -07001176 "src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.h",
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001177 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.h",
Mark D. Roth09e458c2017-05-02 08:13:26 -07001178 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.h",
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001179 "src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.h",
1180 "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 +02001181 ],
1182 external_deps = [
1183 "nanopb",
1184 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001185 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001186 deps = [
1187 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001188 "grpc_client_channel",
David Garcia Quintas87d5a312017-06-06 19:45:58 -07001189 "grpc_resolver_fake",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001190 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001191)
1192
1193grpc_cc_library(
David Garcia Quintas01291502017-02-07 13:26:41 -08001194 name = "grpc_lb_policy_grpclb_secure",
1195 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001196 "src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.cc",
1197 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc",
1198 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel_secure.cc",
1199 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.cc",
1200 "src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.cc",
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001201 "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 -08001202 ],
1203 hdrs = [
Mark D. Roth09e458c2017-05-02 08:13:26 -07001204 "src/core/ext/filters/client_channel/lb_policy/grpclb/client_load_reporting_filter.h",
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001205 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_channel.h",
Mark D. Roth09e458c2017-05-02 08:13:26 -07001206 "src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb_client_stats.h",
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001207 "src/core/ext/filters/client_channel/lb_policy/grpclb/load_balancer_api.h",
1208 "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 -08001209 ],
1210 external_deps = [
1211 "nanopb",
1212 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001213 language = "c++",
David Garcia Quintas01291502017-02-07 13:26:41 -08001214 deps = [
1215 "grpc_base",
1216 "grpc_client_channel",
David Garcia Quintas87d5a312017-06-06 19:45:58 -07001217 "grpc_resolver_fake",
David Garcia Quintas01291502017-02-07 13:26:41 -08001218 "grpc_secure",
1219 ],
1220)
1221
1222grpc_cc_library(
Mark D. Roth5e9848e2017-10-06 13:59:32 -07001223 name = "grpc_lb_subchannel_list",
1224 srcs = [
1225 "src/core/ext/filters/client_channel/lb_policy/subchannel_list.cc",
1226 ],
1227 hdrs = [
1228 "src/core/ext/filters/client_channel/lb_policy/subchannel_list.h",
1229 ],
1230 language = "c++",
1231 deps = [
1232 "grpc_base",
1233 "grpc_client_channel",
1234 ],
1235)
1236
1237grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001238 name = "grpc_lb_policy_pick_first",
1239 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001240 "src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001241 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001242 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001243 deps = [
1244 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001245 "grpc_client_channel",
Mark D. Roth5e9848e2017-10-06 13:59:32 -07001246 "grpc_lb_subchannel_list",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001247 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001248)
1249
1250grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001251 name = "grpc_lb_policy_round_robin",
1252 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001253 "src/core/ext/filters/client_channel/lb_policy/round_robin/round_robin.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001254 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001255 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001256 deps = [
1257 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001258 "grpc_client_channel",
Mark D. Roth5e9848e2017-10-06 13:59:32 -07001259 "grpc_lb_subchannel_list",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001260 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001261)
1262
1263grpc_cc_library(
David Garcia Quintas0822d332017-09-06 17:40:42 -07001264 name = "grpc_server_load_reporting",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001265 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001266 "src/core/ext/filters/load_reporting/server_load_reporting_filter.cc",
1267 "src/core/ext/filters/load_reporting/server_load_reporting_plugin.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001268 ],
1269 hdrs = [
David Garcia Quintas0822d332017-09-06 17:40:42 -07001270 "src/core/ext/filters/load_reporting/server_load_reporting_filter.h",
1271 "src/core/ext/filters/load_reporting/server_load_reporting_plugin.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001272 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001273 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001274 deps = [
1275 "grpc_base",
1276 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001277)
1278
1279grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001280 name = "grpc_resolver_dns_native",
1281 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001282 "src/core/ext/filters/client_channel/resolver/dns/native/dns_resolver.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001283 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001284 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001285 deps = [
1286 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001287 "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001288 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001289)
1290
1291grpc_cc_library(
Yuchen Zeng4c702ed2017-01-23 10:30:10 -08001292 name = "grpc_resolver_dns_ares",
1293 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001294 "src/core/ext/filters/client_channel/resolver/dns/c_ares/dns_resolver_ares.cc",
1295 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver_posix.cc",
1296 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.cc",
1297 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper_fallback.cc",
Yuchen Zeng4c702ed2017-01-23 10:30:10 -08001298 ],
1299 hdrs = [
Craig Tiller9eb0fde2017-03-31 16:59:30 -07001300 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_ev_driver.h",
1301 "src/core/ext/filters/client_channel/resolver/dns/c_ares/grpc_ares_wrapper.h",
Yuchen Zeng4c702ed2017-01-23 10:30:10 -08001302 ],
Jan Tattermusch61f729f2017-04-06 17:11:44 +02001303 external_deps = [
1304 "cares",
Alexander Polcyn690dde62017-10-18 00:20:33 -07001305 "address_sorting",
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001306 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001307 language = "c++",
Yuchen Zeng4c702ed2017-01-23 10:30:10 -08001308 deps = [
1309 "grpc_base",
1310 "grpc_client_channel",
1311 ],
Yuchen Zeng4c702ed2017-01-23 10:30:10 -08001312)
1313
1314grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001315 name = "grpc_resolver_sockaddr",
1316 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001317 "src/core/ext/filters/client_channel/resolver/sockaddr/sockaddr_resolver.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001318 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001319 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001320 deps = [
1321 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001322 "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001323 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001324)
1325
1326grpc_cc_library(
David Garcia Quintas87d5a312017-06-06 19:45:58 -07001327 name = "grpc_resolver_fake",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001328 srcs = ["src/core/ext/filters/client_channel/resolver/fake/fake_resolver.cc"],
David Garcia Quintas87d5a312017-06-06 19:45:58 -07001329 hdrs = ["src/core/ext/filters/client_channel/resolver/fake/fake_resolver.h"],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001330 language = "c++",
murgatroid99d5b04552017-06-15 17:48:42 -07001331 visibility = ["//test:__subpackages__"],
David Garcia Quintas87d5a312017-06-06 19:45:58 -07001332 deps = [
1333 "grpc_base",
1334 "grpc_client_channel",
1335 ],
1336)
1337
1338grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001339 name = "grpc_secure",
1340 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001341 "src/core/lib/http/httpcli_security_connector.cc",
1342 "src/core/lib/security/context/security_context.cc",
1343 "src/core/lib/security/credentials/composite/composite_credentials.cc",
1344 "src/core/lib/security/credentials/credentials.cc",
1345 "src/core/lib/security/credentials/credentials_metadata.cc",
1346 "src/core/lib/security/credentials/fake/fake_credentials.cc",
1347 "src/core/lib/security/credentials/google_default/credentials_generic.cc",
1348 "src/core/lib/security/credentials/google_default/google_default_credentials.cc",
1349 "src/core/lib/security/credentials/iam/iam_credentials.cc",
1350 "src/core/lib/security/credentials/jwt/json_token.cc",
1351 "src/core/lib/security/credentials/jwt/jwt_credentials.cc",
1352 "src/core/lib/security/credentials/jwt/jwt_verifier.cc",
1353 "src/core/lib/security/credentials/oauth2/oauth2_credentials.cc",
1354 "src/core/lib/security/credentials/plugin/plugin_credentials.cc",
1355 "src/core/lib/security/credentials/ssl/ssl_credentials.cc",
Yihua Zhangeaf64862018-03-06 21:40:45 -08001356 "src/core/lib/security/credentials/alts/alts_credentials.cc",
1357 "src/core/lib/security/security_connector/alts_security_connector.cc",
Yihua Zhang75f0a9f2018-02-20 10:09:47 -08001358 "src/core/lib/security/security_connector/security_connector.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001359 "src/core/lib/security/transport/client_auth_filter.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001360 "src/core/lib/security/transport/secure_endpoint.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001361 "src/core/lib/security/transport/security_handshaker.cc",
1362 "src/core/lib/security/transport/server_auth_filter.cc",
Mark D. Roth3e7f2df2018-02-26 13:17:06 -08001363 "src/core/lib/security/transport/target_authority_table.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001364 "src/core/lib/security/transport/tsi_error.cc",
1365 "src/core/lib/security/util/json_util.cc",
1366 "src/core/lib/surface/init_secure.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001367 ],
1368 hdrs = [
1369 "src/core/lib/security/context/security_context.h",
1370 "src/core/lib/security/credentials/composite/composite_credentials.h",
1371 "src/core/lib/security/credentials/credentials.h",
1372 "src/core/lib/security/credentials/fake/fake_credentials.h",
1373 "src/core/lib/security/credentials/google_default/google_default_credentials.h",
1374 "src/core/lib/security/credentials/iam/iam_credentials.h",
1375 "src/core/lib/security/credentials/jwt/json_token.h",
1376 "src/core/lib/security/credentials/jwt/jwt_credentials.h",
1377 "src/core/lib/security/credentials/jwt/jwt_verifier.h",
1378 "src/core/lib/security/credentials/oauth2/oauth2_credentials.h",
1379 "src/core/lib/security/credentials/plugin/plugin_credentials.h",
1380 "src/core/lib/security/credentials/ssl/ssl_credentials.h",
Yihua Zhangeaf64862018-03-06 21:40:45 -08001381 "src/core/lib/security/credentials/alts/alts_credentials.h",
1382 "src/core/lib/security/security_connector/alts_security_connector.h",
Yihua Zhang75f0a9f2018-02-20 10:09:47 -08001383 "src/core/lib/security/security_connector/security_connector.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001384 "src/core/lib/security/transport/auth_filters.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001385 "src/core/lib/security/transport/secure_endpoint.h",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001386 "src/core/lib/security/transport/security_handshaker.h",
Mark D. Roth3e7f2df2018-02-26 13:17:06 -08001387 "src/core/lib/security/transport/target_authority_table.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001388 "src/core/lib/security/transport/tsi_error.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001389 "src/core/lib/security/util/json_util.h",
1390 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001391 language = "c++",
Nicolas "Pixel" Noblee7c24582017-06-02 20:29:36 +02001392 public_hdrs = GRPC_SECURE_PUBLIC_HDRS,
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001393 deps = [
Yihua Zhangeaf64862018-03-06 21:40:45 -08001394 "alts_util",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001395 "grpc_base",
1396 "grpc_transport_chttp2_alpn",
1397 "tsi",
1398 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001399)
1400
1401grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001402 name = "grpc_transport_chttp2",
1403 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001404 "src/core/ext/transport/chttp2/transport/bin_decoder.cc",
1405 "src/core/ext/transport/chttp2/transport/bin_encoder.cc",
1406 "src/core/ext/transport/chttp2/transport/chttp2_plugin.cc",
1407 "src/core/ext/transport/chttp2/transport/chttp2_transport.cc",
1408 "src/core/ext/transport/chttp2/transport/flow_control.cc",
1409 "src/core/ext/transport/chttp2/transport/frame_data.cc",
1410 "src/core/ext/transport/chttp2/transport/frame_goaway.cc",
1411 "src/core/ext/transport/chttp2/transport/frame_ping.cc",
1412 "src/core/ext/transport/chttp2/transport/frame_rst_stream.cc",
1413 "src/core/ext/transport/chttp2/transport/frame_settings.cc",
1414 "src/core/ext/transport/chttp2/transport/frame_window_update.cc",
1415 "src/core/ext/transport/chttp2/transport/hpack_encoder.cc",
1416 "src/core/ext/transport/chttp2/transport/hpack_parser.cc",
1417 "src/core/ext/transport/chttp2/transport/hpack_table.cc",
1418 "src/core/ext/transport/chttp2/transport/http2_settings.cc",
1419 "src/core/ext/transport/chttp2/transport/huffsyms.cc",
1420 "src/core/ext/transport/chttp2/transport/incoming_metadata.cc",
1421 "src/core/ext/transport/chttp2/transport/parsing.cc",
1422 "src/core/ext/transport/chttp2/transport/stream_lists.cc",
1423 "src/core/ext/transport/chttp2/transport/stream_map.cc",
1424 "src/core/ext/transport/chttp2/transport/varint.cc",
1425 "src/core/ext/transport/chttp2/transport/writing.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001426 ],
1427 hdrs = [
1428 "src/core/ext/transport/chttp2/transport/bin_decoder.h",
1429 "src/core/ext/transport/chttp2/transport/bin_encoder.h",
1430 "src/core/ext/transport/chttp2/transport/chttp2_transport.h",
Craig Tiller32736482017-10-12 22:02:28 -07001431 "src/core/ext/transport/chttp2/transport/flow_control.h",
Vijay Pai89125422017-11-22 10:22:28 -08001432 "src/core/ext/transport/chttp2/transport/frame.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001433 "src/core/ext/transport/chttp2/transport/frame_data.h",
1434 "src/core/ext/transport/chttp2/transport/frame_goaway.h",
1435 "src/core/ext/transport/chttp2/transport/frame_ping.h",
1436 "src/core/ext/transport/chttp2/transport/frame_rst_stream.h",
1437 "src/core/ext/transport/chttp2/transport/frame_settings.h",
1438 "src/core/ext/transport/chttp2/transport/frame_window_update.h",
1439 "src/core/ext/transport/chttp2/transport/hpack_encoder.h",
1440 "src/core/ext/transport/chttp2/transport/hpack_parser.h",
1441 "src/core/ext/transport/chttp2/transport/hpack_table.h",
murgatroid99a41fd5b2017-04-13 09:56:17 -07001442 "src/core/ext/transport/chttp2/transport/http2_settings.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001443 "src/core/ext/transport/chttp2/transport/huffsyms.h",
1444 "src/core/ext/transport/chttp2/transport/incoming_metadata.h",
1445 "src/core/ext/transport/chttp2/transport/internal.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001446 "src/core/ext/transport/chttp2/transport/stream_map.h",
1447 "src/core/ext/transport/chttp2/transport/varint.h",
1448 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001449 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001450 deps = [
Vijay Pai756caa72018-03-01 12:38:16 -08001451 "gpr_base",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001452 "grpc_base",
Craig Tilleraf767432017-04-03 13:54:31 -07001453 "grpc_http_filters",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001454 "grpc_transport_chttp2_alpn",
1455 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001456)
1457
1458grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001459 name = "grpc_transport_chttp2_alpn",
1460 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001461 "src/core/ext/transport/chttp2/alpn/alpn.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001462 ],
1463 hdrs = [
1464 "src/core/ext/transport/chttp2/alpn/alpn.h",
1465 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001466 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001467 deps = [
1468 "gpr",
1469 ],
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001470)
1471
1472grpc_cc_library(
David Garcia Quintas01291502017-02-07 13:26:41 -08001473 name = "grpc_transport_chttp2_client_connector",
1474 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001475 "src/core/ext/transport/chttp2/client/chttp2_connector.cc",
David Garcia Quintas01291502017-02-07 13:26:41 -08001476 ],
1477 hdrs = [
1478 "src/core/ext/transport/chttp2/client/chttp2_connector.h",
1479 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001480 language = "c++",
David Garcia Quintas01291502017-02-07 13:26:41 -08001481 deps = [
1482 "grpc_base",
1483 "grpc_client_channel",
1484 "grpc_transport_chttp2",
1485 ],
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +02001486)
1487
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001488grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001489 name = "grpc_transport_chttp2_client_insecure",
1490 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001491 "src/core/ext/transport/chttp2/client/insecure/channel_create.cc",
1492 "src/core/ext/transport/chttp2/client/insecure/channel_create_posix.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001493 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001494 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001495 deps = [
1496 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001497 "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001498 "grpc_transport_chttp2",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001499 "grpc_transport_chttp2_client_connector",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001500 ],
Makarand Dharmapurikar38d80552016-06-01 15:02:04 -07001501)
1502
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001503grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001504 name = "grpc_transport_chttp2_client_secure",
1505 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001506 "src/core/ext/transport/chttp2/client/secure/secure_channel_create.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001507 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001508 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001509 deps = [
1510 "grpc_base",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001511 "grpc_client_channel",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001512 "grpc_secure",
1513 "grpc_transport_chttp2",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001514 "grpc_transport_chttp2_client_connector",
1515 ],
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001516)
1517
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001518grpc_cc_library(
1519 name = "grpc_transport_chttp2_server",
1520 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001521 "src/core/ext/transport/chttp2/server/chttp2_server.cc",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001522 ],
1523 hdrs = [
1524 "src/core/ext/transport/chttp2/server/chttp2_server.h",
1525 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001526 language = "c++",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001527 deps = [
1528 "grpc_base",
1529 "grpc_transport_chttp2",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001530 ],
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001531)
1532
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001533grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001534 name = "grpc_transport_chttp2_server_insecure",
1535 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001536 "src/core/ext/transport/chttp2/server/insecure/server_chttp2.cc",
1537 "src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001538 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001539 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001540 deps = [
1541 "grpc_base",
1542 "grpc_transport_chttp2",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001543 "grpc_transport_chttp2_server",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001544 ],
Garrett Casto931a26b2016-10-04 09:18:29 -07001545)
1546
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001547grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001548 name = "grpc_transport_chttp2_server_secure",
1549 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001550 "src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001551 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001552 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001553 deps = [
1554 "grpc_base",
1555 "grpc_secure",
1556 "grpc_transport_chttp2",
Nicolas "Pixel" Noble203860a2016-12-29 01:38:26 +01001557 "grpc_transport_chttp2_server",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001558 ],
Yuchen Zengc84ed682016-05-04 16:30:11 -07001559)
1560
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001561grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001562 name = "grpc_transport_cronet_client_secure",
1563 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001564 "src/core/ext/transport/cronet/client/secure/cronet_channel_create.cc",
1565 "src/core/ext/transport/cronet/transport/cronet_api_dummy.cc",
1566 "src/core/ext/transport/cronet/transport/cronet_transport.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001567 ],
1568 hdrs = [
Muxi Yan0a2fae92017-02-01 14:49:03 -08001569 "src/core/ext/transport/cronet/transport/cronet_transport.h",
Sree Kuchibhotla43bca1b2017-02-22 16:37:27 -08001570 "third_party/objective_c/Cronet/bidirectional_stream_c.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001571 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001572 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001573 public_hdrs = [
1574 "include/grpc/grpc_cronet.h",
1575 "include/grpc/grpc_security.h",
1576 "include/grpc/grpc_security_constants.h",
1577 ],
1578 deps = [
1579 "grpc_base",
1580 "grpc_transport_chttp2",
1581 ],
Craig Tiller03915e52016-04-07 09:15:10 -07001582)
1583
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001584grpc_cc_library(
Vijay Pai3d7d5f42017-05-04 10:02:24 -07001585 name = "grpc_transport_inproc",
1586 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001587 "src/core/ext/transport/inproc/inproc_plugin.cc",
1588 "src/core/ext/transport/inproc/inproc_transport.cc",
Vijay Pai3d7d5f42017-05-04 10:02:24 -07001589 ],
1590 hdrs = [
1591 "src/core/ext/transport/inproc/inproc_transport.h",
1592 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001593 language = "c++",
Vijay Pai3d7d5f42017-05-04 10:02:24 -07001594 deps = [
1595 "grpc_base",
1596 ],
1597)
1598
1599grpc_cc_library(
jiangtaoli201625d6fd82017-08-09 11:15:04 -07001600 name = "tsi_interface",
1601 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001602 "src/core/tsi/transport_security.cc",
1603 "src/core/tsi/transport_security_adapter.cc",
jiangtaoli201625d6fd82017-08-09 11:15:04 -07001604 ],
1605 hdrs = [
1606 "src/core/tsi/transport_security.h",
1607 "src/core/tsi/transport_security_adapter.h",
1608 "src/core/tsi/transport_security_interface.h",
1609 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001610 language = "c++",
jiangtaoli201625d6fd82017-08-09 11:15:04 -07001611 deps = [
1612 "gpr",
1613 "grpc_trace",
1614 ],
1615)
1616
1617grpc_cc_library(
Yihua Zhangeaf64862018-03-06 21:40:45 -08001618 name = "alts_frame_protector",
1619 srcs = [
1620 "src/core/tsi/alts/crypt/aes_gcm.cc",
1621 "src/core/tsi/alts/crypt/gsec.cc",
1622 "src/core/tsi/alts/frame_protector/alts_counter.cc",
1623 "src/core/tsi/alts/frame_protector/alts_crypter.cc",
1624 "src/core/tsi/alts/frame_protector/alts_frame_protector.cc",
1625 "src/core/tsi/alts/frame_protector/alts_record_protocol_crypter_common.cc",
1626 "src/core/tsi/alts/frame_protector/alts_seal_privacy_integrity_crypter.cc",
1627 "src/core/tsi/alts/frame_protector/alts_unseal_privacy_integrity_crypter.cc",
1628 "src/core/tsi/alts/frame_protector/frame_handler.cc",
1629 "src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_integrity_only_record_protocol.cc",
1630 "src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_privacy_integrity_record_protocol.cc",
1631 "src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_record_protocol_common.cc",
1632 "src/core/tsi/alts/zero_copy_frame_protector/alts_iovec_record_protocol.cc",
1633 "src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.cc",
1634 ],
1635 hdrs = [
1636 "src/core/tsi/alts/crypt/gsec.h",
1637 "src/core/tsi/alts/frame_protector/alts_counter.h",
1638 "src/core/tsi/alts/frame_protector/alts_crypter.h",
1639 "src/core/tsi/alts/frame_protector/alts_frame_protector.h",
1640 "src/core/tsi/alts/frame_protector/alts_record_protocol_crypter_common.h",
1641 "src/core/tsi/alts/frame_protector/frame_handler.h",
1642 "src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_integrity_only_record_protocol.h",
1643 "src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_privacy_integrity_record_protocol.h",
1644 "src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_record_protocol_common.h",
1645 "src/core/tsi/alts/zero_copy_frame_protector/alts_grpc_record_protocol.h",
1646 "src/core/tsi/alts/zero_copy_frame_protector/alts_iovec_record_protocol.h",
1647 "src/core/tsi/alts/zero_copy_frame_protector/alts_zero_copy_grpc_protector.h",
1648 "src/core/tsi/transport_security_grpc.h",
1649 ],
1650 external_deps = [
1651 "libssl",
1652 ],
1653 language = "c++",
1654 deps = [
1655 "gpr",
1656 "grpc_base",
1657 "tsi_interface",
1658 ],
1659)
1660
1661grpc_cc_library(
1662 name = "alts_proto",
1663 srcs = [
1664 "src/core/tsi/alts/handshaker/altscontext.pb.c",
1665 "src/core/tsi/alts/handshaker/handshaker.pb.c",
1666 "src/core/tsi/alts/handshaker/transport_security_common.pb.c",
1667 ],
1668 hdrs = [
1669 "src/core/tsi/alts/handshaker/altscontext.pb.h",
1670 "src/core/tsi/alts/handshaker/handshaker.pb.h",
1671 "src/core/tsi/alts/handshaker/transport_security_common.pb.h",
1672 ],
1673 external_deps = [
1674 "nanopb",
1675 ],
1676 language = "c++",
1677)
1678
1679grpc_cc_library(
1680 name = "alts_util",
1681 srcs = [
1682 "src/core/lib/security/credentials/alts/check_gcp_environment.cc",
1683 "src/core/lib/security/credentials/alts/check_gcp_environment_linux.cc",
1684 "src/core/lib/security/credentials/alts/check_gcp_environment_no_op.cc",
1685 "src/core/lib/security/credentials/alts/check_gcp_environment_windows.cc",
1686 "src/core/lib/security/credentials/alts/grpc_alts_credentials_client_options.cc",
1687 "src/core/lib/security/credentials/alts/grpc_alts_credentials_options.cc",
1688 "src/core/lib/security/credentials/alts/grpc_alts_credentials_server_options.cc",
1689 "src/core/tsi/alts/handshaker/alts_handshaker_service_api.cc",
1690 "src/core/tsi/alts/handshaker/alts_handshaker_service_api_util.cc",
1691 "src/core/tsi/alts/handshaker/transport_security_common_api.cc",
1692 ],
1693 hdrs = [
1694 "src/core/lib/security/credentials/alts/check_gcp_environment.h",
1695 "src/core/lib/security/credentials/alts/grpc_alts_credentials_options.h",
1696 "src/core/tsi/alts/handshaker/alts_handshaker_service_api.h",
1697 "src/core/tsi/alts/handshaker/alts_handshaker_service_api_util.h",
1698 "src/core/tsi/alts/handshaker/transport_security_common_api.h",
1699 ],
1700 external_deps = [
1701 "nanopb",
1702 ],
1703 language = "c++",
1704 deps = [
1705 "alts_proto",
1706 "gpr",
1707 "grpc_base",
1708 ],
1709)
1710
1711grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001712 name = "tsi",
1713 srcs = [
Yihua Zhangd36fe072018-01-23 10:40:45 -08001714 "src/core/tsi/alts_transport_security.cc",
Yihua Zhangeaf64862018-03-06 21:40:45 -08001715 "src/core/tsi/alts/handshaker/alts_handshaker_client.cc",
1716 "src/core/tsi/alts/handshaker/alts_tsi_event.cc",
1717 "src/core/tsi/alts/handshaker/alts_tsi_handshaker.cc",
1718 "src/core/tsi/alts/handshaker/alts_tsi_utils.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001719 "src/core/tsi/fake_transport_security.cc",
Ruslan Nigmatullin7ae37332018-02-21 16:44:35 -08001720 "src/core/tsi/ssl/session_cache/ssl_session_boringssl.cc",
1721 "src/core/tsi/ssl/session_cache/ssl_session_cache.cc",
1722 "src/core/tsi/ssl/session_cache/ssl_session_openssl.cc",
Yash Tibrewal139869d2017-09-28 11:28:55 -07001723 "src/core/tsi/ssl_transport_security.cc",
1724 "src/core/tsi/transport_security_grpc.cc",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001725 ],
1726 hdrs = [
Yihua Zhangd36fe072018-01-23 10:40:45 -08001727 "src/core/tsi/alts_transport_security.h",
Yihua Zhangeaf64862018-03-06 21:40:45 -08001728 "src/core/tsi/alts/handshaker/alts_handshaker_client.h",
1729 "src/core/tsi/alts/handshaker/alts_tsi_event.h",
1730 "src/core/tsi/alts/handshaker/alts_tsi_handshaker.h",
1731 "src/core/tsi/alts/handshaker/alts_tsi_handshaker_private.h",
1732 "src/core/tsi/alts/handshaker/alts_tsi_utils.h",
Craig Tiller134fed32017-03-28 14:27:18 -07001733 "src/core/tsi/fake_transport_security.h",
Ruslan Nigmatullin7ae37332018-02-21 16:44:35 -08001734 "src/core/tsi/ssl/session_cache/ssl_session.h",
1735 "src/core/tsi/ssl/session_cache/ssl_session_cache.h",
Craig Tiller134fed32017-03-28 14:27:18 -07001736 "src/core/tsi/ssl_transport_security.h",
1737 "src/core/tsi/ssl_types.h",
Jiangtao Li0211cfb2017-08-07 11:24:07 -07001738 "src/core/tsi/transport_security_grpc.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001739 ],
1740 external_deps = [
1741 "libssl",
1742 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001743 language = "c++",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001744 deps = [
Yihua Zhangeaf64862018-03-06 21:40:45 -08001745 "alts_frame_protector",
1746 "alts_util",
1747 "gpr",
Yihua Zhang1435bfc2017-07-17 11:20:51 -07001748 "grpc_base",
Yihua Zhangeaf64862018-03-06 21:40:45 -08001749 "grpc_transport_chttp2_client_insecure",
jiangtaoli201625d6fd82017-08-09 11:15:04 -07001750 "tsi_interface",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001751 ],
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001752)
1753
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001754grpc_cc_library(
1755 name = "grpc++_base",
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001756 srcs = GRPCXX_SRCS,
Stanley Cheungebeda852017-05-17 19:34:47 -07001757 hdrs = GRPCXX_HDRS,
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001758 language = "c++",
Stanley Cheungebeda852017-05-17 19:34:47 -07001759 public_hdrs = GRPCXX_PUBLIC_HDRS,
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001760 deps = [
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001761 "grpc",
Stanley Cheungebeda852017-05-17 19:34:47 -07001762 "grpc++_codegen_base",
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001763 ],
1764)
1765
1766grpc_cc_library(
1767 name = "grpc++_base_unsecure",
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001768 srcs = GRPCXX_SRCS,
Stanley Cheungebeda852017-05-17 19:34:47 -07001769 hdrs = GRPCXX_HDRS,
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001770 language = "c++",
Stanley Cheungebeda852017-05-17 19:34:47 -07001771 public_hdrs = GRPCXX_PUBLIC_HDRS,
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001772 deps = [
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001773 "grpc++_codegen_base",
Craig Tillereb2c1bc2017-05-15 08:18:25 -07001774 "grpc_unsecure",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001775 ],
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001776)
1777
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001778grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001779 name = "grpc++_codegen_base",
1780 language = "c++",
1781 public_hdrs = [
1782 "include/grpc++/impl/codegen/async_stream.h",
1783 "include/grpc++/impl/codegen/async_unary_call.h",
Vijay Paiefce6e12017-09-14 09:07:50 -07001784 "include/grpc++/impl/codegen/byte_buffer.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001785 "include/grpc++/impl/codegen/call.h",
1786 "include/grpc++/impl/codegen/call_hook.h",
1787 "include/grpc++/impl/codegen/channel_interface.h",
1788 "include/grpc++/impl/codegen/client_context.h",
1789 "include/grpc++/impl/codegen/client_unary_call.h",
1790 "include/grpc++/impl/codegen/completion_queue.h",
1791 "include/grpc++/impl/codegen/completion_queue_tag.h",
1792 "include/grpc++/impl/codegen/config.h",
1793 "include/grpc++/impl/codegen/core_codegen_interface.h",
1794 "include/grpc++/impl/codegen/create_auth_context.h",
1795 "include/grpc++/impl/codegen/grpc_library.h",
yang-g988b47c2017-01-31 09:51:45 -08001796 "include/grpc++/impl/codegen/metadata_map.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001797 "include/grpc++/impl/codegen/method_handler_impl.h",
1798 "include/grpc++/impl/codegen/rpc_method.h",
1799 "include/grpc++/impl/codegen/rpc_service_method.h",
1800 "include/grpc++/impl/codegen/security/auth_context.h",
1801 "include/grpc++/impl/codegen/serialization_traits.h",
1802 "include/grpc++/impl/codegen/server_context.h",
1803 "include/grpc++/impl/codegen/server_interface.h",
1804 "include/grpc++/impl/codegen/service_type.h",
yang-g988b47c2017-01-31 09:51:45 -08001805 "include/grpc++/impl/codegen/slice.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001806 "include/grpc++/impl/codegen/status.h",
1807 "include/grpc++/impl/codegen/status_code_enum.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001808 "include/grpc++/impl/codegen/string_ref.h",
1809 "include/grpc++/impl/codegen/stub_options.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001810 "include/grpc++/impl/codegen/sync_stream.h",
1811 "include/grpc++/impl/codegen/time.h",
Muxi Yan0e00c432018-01-26 15:39:32 -08001812 "include/grpcpp/impl/codegen/async_stream.h",
1813 "include/grpcpp/impl/codegen/async_unary_call.h",
1814 "include/grpcpp/impl/codegen/byte_buffer.h",
1815 "include/grpcpp/impl/codegen/call.h",
1816 "include/grpcpp/impl/codegen/call_hook.h",
1817 "include/grpcpp/impl/codegen/channel_interface.h",
1818 "include/grpcpp/impl/codegen/client_context.h",
1819 "include/grpcpp/impl/codegen/client_unary_call.h",
1820 "include/grpcpp/impl/codegen/completion_queue.h",
1821 "include/grpcpp/impl/codegen/completion_queue_tag.h",
1822 "include/grpcpp/impl/codegen/config.h",
1823 "include/grpcpp/impl/codegen/core_codegen_interface.h",
1824 "include/grpcpp/impl/codegen/create_auth_context.h",
1825 "include/grpcpp/impl/codegen/grpc_library.h",
1826 "include/grpcpp/impl/codegen/metadata_map.h",
1827 "include/grpcpp/impl/codegen/method_handler_impl.h",
1828 "include/grpcpp/impl/codegen/rpc_method.h",
1829 "include/grpcpp/impl/codegen/rpc_service_method.h",
1830 "include/grpcpp/impl/codegen/security/auth_context.h",
1831 "include/grpcpp/impl/codegen/serialization_traits.h",
1832 "include/grpcpp/impl/codegen/server_context.h",
1833 "include/grpcpp/impl/codegen/server_interface.h",
1834 "include/grpcpp/impl/codegen/service_type.h",
1835 "include/grpcpp/impl/codegen/slice.h",
1836 "include/grpcpp/impl/codegen/status.h",
1837 "include/grpcpp/impl/codegen/status_code_enum.h",
1838 "include/grpcpp/impl/codegen/string_ref.h",
1839 "include/grpcpp/impl/codegen/stub_options.h",
1840 "include/grpcpp/impl/codegen/sync_stream.h",
1841 "include/grpcpp/impl/codegen/time.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001842 ],
1843 deps = [
1844 "grpc_codegen",
1845 ],
Craig Tillerda179ce2016-02-09 12:01:53 -08001846)
1847
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001848grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001849 name = "grpc++_codegen_base_src",
1850 srcs = [
1851 "src/cpp/codegen/codegen_init.cc",
1852 ],
1853 language = "c++",
1854 deps = [
1855 "grpc++_codegen_base",
1856 ],
Jorge Canizales140bca82015-06-20 09:47:00 -07001857)
1858
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001859grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001860 name = "grpc++_codegen_proto",
1861 language = "c++",
1862 public_hdrs = [
1863 "include/grpc++/impl/codegen/proto_utils.h",
Muxi Yan0e00c432018-01-26 15:39:32 -08001864 "include/grpcpp/impl/codegen/proto_utils.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001865 ],
1866 deps = [
1867 "grpc++_codegen_base",
1868 "grpc++_config_proto",
1869 ],
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001870)
1871
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001872grpc_cc_library(
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001873 name = "grpc++_config_proto",
David Garcia Quintas5481a582017-02-14 16:11:42 -08001874 external_deps = [
Vijay Paidc7c50e2017-11-03 14:46:42 -07001875 "protobuf_headers",
David Garcia Quintas5481a582017-02-14 16:11:42 -08001876 ],
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001877 language = "c++",
1878 public_hdrs = [
1879 "include/grpc++/impl/codegen/config_protobuf.h",
Muxi Yan0e00c432018-01-26 15:39:32 -08001880 "include/grpcpp/impl/codegen/config_protobuf.h",
Nicolas "Pixel" Nobled58c3752016-10-20 22:30:16 +02001881 ],
Jan Tattermusch2d924952015-05-06 10:23:17 -07001882)
1883
Nicolas "Pixel" Noble7e7fd962016-10-20 22:00:08 +02001884grpc_cc_library(
Sree Kuchibhotla43bca1b2017-02-22 16:37:27 -08001885 name = "grpc++_reflection",
1886 srcs = [
1887 "src/cpp/ext/proto_server_reflection.cc",
1888 "src/cpp/ext/proto_server_reflection_plugin.cc",
1889 ],
1890 hdrs = [
1891 "src/cpp/ext/proto_server_reflection.h",
1892 ],
1893 language = "c++",
1894 public_hdrs = [
1895 "include/grpc++/ext/proto_server_reflection_plugin.h",
Muxi Yan0e00c432018-01-26 15:39:32 -08001896 "include/grpcpp/ext/proto_server_reflection_plugin.h",
Sree Kuchibhotla43bca1b2017-02-22 16:37:27 -08001897 ],
1898 deps = [
1899 ":grpc++",
1900 "//src/proto/grpc/reflection/v1alpha:reflection_proto",
1901 ],
Ian Coolidge13213412017-06-27 21:49:44 -07001902 alwayslink = 1,
Sree Kuchibhotla43bca1b2017-02-22 16:37:27 -08001903)
Nicolas "Pixel" Noble2b0f0012017-04-24 19:59:19 +02001904
Nicolas "Pixel" Noble0885f982017-05-12 21:10:55 +02001905grpc_cc_library(
1906 name = "grpc++_test",
1907 public_hdrs = [
1908 "include/grpc++/test/mock_stream.h",
1909 "include/grpc++/test/server_context_test_spouse.h",
Muxi Yan0e00c432018-01-26 15:39:32 -08001910 "include/grpcpp/test/mock_stream.h",
1911 "include/grpcpp/test/server_context_test_spouse.h",
Nicolas "Pixel" Noble0885f982017-05-12 21:10:55 +02001912 ],
1913 deps = [
1914 ":grpc++",
1915 ],
1916)
1917
Muxi Yan2a5bbc12017-05-15 12:03:08 -07001918grpc_cc_library(
1919 name = "grpc_server_backward_compatibility",
1920 srcs = [
Yash Tibrewal139869d2017-09-28 11:28:55 -07001921 "src/core/ext/filters/workarounds/workaround_utils.cc",
Muxi Yan2a5bbc12017-05-15 12:03:08 -07001922 ],
1923 hdrs = [
1924 "src/core/ext/filters/workarounds/workaround_utils.h",
1925 ],
Yash Tibrewala60c7632017-09-28 16:13:32 -07001926 language = "c++",
Muxi Yan2a5bbc12017-05-15 12:03:08 -07001927 deps = [
1928 "grpc_base",
1929 ],
1930)
1931
Craig Tillere1101cf2017-09-06 09:42:20 -07001932grpc_cc_library(
1933 name = "grpc++_core_stats",
1934 srcs = [
1935 "src/cpp/util/core_stats.cc",
1936 ],
1937 hdrs = [
1938 "src/cpp/util/core_stats.h",
1939 ],
1940 language = "c++",
1941 deps = [
1942 ":grpc++",
1943 "//src/proto/grpc/core:stats_proto",
1944 ],
1945)
1946
Nicolas "Pixel" Noble2b0f0012017-04-24 19:59:19 +02001947grpc_generate_one_off_targets()