Nicolas "Pixel" Noble | 203860a | 2016-12-29 01:38:26 +0100 | [diff] [blame] | 1 | # gRPC Bazel BUILD file. |
Nicolas "Pixel" Noble | 31d11db | 2016-10-20 09:29:46 +0200 | [diff] [blame] | 2 | # |
| 3 | # Copyright 2016, Google Inc. |
Nicolas "Pixel" Noble | f6edf68 | 2015-03-31 05:17:34 +0200 | [diff] [blame] | 4 | # All rights reserved. |
| 5 | # |
| 6 | # Redistribution and use in source and binary forms, with or without |
| 7 | # modification, are permitted provided that the following conditions are |
| 8 | # met: |
| 9 | # |
| 10 | # * Redistributions of source code must retain the above copyright |
| 11 | # notice, this list of conditions and the following disclaimer. |
| 12 | # * Redistributions in binary form must reproduce the above |
| 13 | # copyright notice, this list of conditions and the following disclaimer |
| 14 | # in the documentation and/or other materials provided with the |
| 15 | # distribution. |
| 16 | # * Neither the name of Google Inc. nor the names of its |
| 17 | # contributors may be used to endorse or promote products derived from |
| 18 | # this software without specific prior written permission. |
| 19 | # |
| 20 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 21 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 22 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 23 | # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 24 | # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 25 | # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 26 | # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 27 | # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 28 | # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 29 | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 30 | # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 31 | |
| 32 | licenses(["notice"]) # 3-clause BSD |
| 33 | |
Piotr Sikora | 12e26a7 | 2016-08-04 15:32:10 -0700 | [diff] [blame] | 34 | exports_files(["LICENSE"]) |
| 35 | |
Ming Zhao | 3c0ba0c | 2015-04-10 12:05:22 -0700 | [diff] [blame] | 36 | package(default_visibility = ["//visibility:public"]) |
Nicolas "Pixel" Noble | f6edf68 | 2015-03-31 05:17:34 +0200 | [diff] [blame] | 37 | |
Nicolas "Pixel" Noble | 799bd5e | 2016-10-21 01:54:32 +0200 | [diff] [blame] | 38 | load("//bazel:grpc_build_system.bzl", "grpc_cc_library", "grpc_proto_plugin") |
Nicolas "Pixel" Noble | f6edf68 | 2015-03-31 05:17:34 +0200 | [diff] [blame] | 39 | |
Nicolas "Pixel" Noble | 31d11db | 2016-10-20 09:29:46 +0200 | [diff] [blame] | 40 | g_stands_for = "good" |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 41 | |
Nicolas "Pixel" Noble | 203860a | 2016-12-29 01:38:26 +0100 | [diff] [blame] | 42 | core_version = "2.0.0-dev" |
Nicolas "Pixel" Noble | f6edf68 | 2015-03-31 05:17:34 +0200 | [diff] [blame] | 43 | |
Nicolas "Pixel" Noble | 31d11db | 2016-10-20 09:29:46 +0200 | [diff] [blame] | 44 | version = "1.1.0-dev" |
Nicolas "Pixel" Noble | f6edf68 | 2015-03-31 05:17:34 +0200 | [diff] [blame] | 45 | |
Nicolas "Pixel" Noble | 31d11db | 2016-10-20 09:29:46 +0200 | [diff] [blame] | 46 | grpc_cc_library( |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 47 | name = "gpr", |
| 48 | language = "c", |
| 49 | standalone = True, |
| 50 | deps = [ |
| 51 | "gpr_base", |
| 52 | ], |
Nicolas "Pixel" Noble | 7e7fd96 | 2016-10-20 22:00:08 +0200 | [diff] [blame] | 53 | ) |
| 54 | |
| 55 | grpc_cc_library( |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 56 | name = "grpc", |
| 57 | srcs = [ |
| 58 | "src/core/lib/surface/init.c", |
| 59 | "src/core/plugin_registry/grpc_plugin_registry.c", |
| 60 | ], |
| 61 | language = "c", |
| 62 | standalone = True, |
| 63 | deps = [ |
| 64 | "census", |
| 65 | "grpc_base", |
| 66 | "grpc_lb_policy_grpclb", |
| 67 | "grpc_lb_policy_pick_first", |
| 68 | "grpc_lb_policy_round_robin", |
| 69 | "grpc_load_reporting", |
| 70 | "grpc_resolver_dns_native", |
| 71 | "grpc_resolver_sockaddr", |
| 72 | "grpc_secure", |
| 73 | "grpc_transport_chttp2_client_insecure", |
| 74 | "grpc_transport_chttp2_client_secure", |
| 75 | "grpc_transport_chttp2_server_insecure", |
| 76 | "grpc_transport_chttp2_server_secure", |
| 77 | ], |
Nicolas "Pixel" Noble | 7e7fd96 | 2016-10-20 22:00:08 +0200 | [diff] [blame] | 78 | ) |
| 79 | |
| 80 | grpc_cc_library( |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 81 | name = "grpc_cronet", |
| 82 | srcs = [ |
| 83 | "src/core/lib/surface/init.c", |
| 84 | "src/core/plugin_registry/grpc_cronet_plugin_registry.c", |
| 85 | ], |
| 86 | language = "c", |
| 87 | deps = [ |
| 88 | "grpc_base", |
| 89 | "grpc_transport_chttp2_client_secure", |
| 90 | "grpc_transport_cronet_client_secure", |
| 91 | ], |
Nicolas "Pixel" Noble | 7e7fd96 | 2016-10-20 22:00:08 +0200 | [diff] [blame] | 92 | ) |
| 93 | |
| 94 | grpc_cc_library( |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 95 | name = "grpc_unsecure", |
| 96 | srcs = [ |
| 97 | "src/core/lib/surface/init.c", |
| 98 | "src/core/lib/surface/init_unsecure.c", |
| 99 | "src/core/plugin_registry/grpc_unsecure_plugin_registry.c", |
| 100 | ], |
| 101 | language = "c", |
| 102 | standalone = True, |
| 103 | deps = [ |
| 104 | "census", |
| 105 | "grpc_base", |
| 106 | "grpc_lb_policy_grpclb", |
| 107 | "grpc_lb_policy_pick_first", |
| 108 | "grpc_lb_policy_round_robin", |
| 109 | "grpc_load_reporting", |
| 110 | "grpc_resolver_dns_native", |
| 111 | "grpc_resolver_sockaddr", |
| 112 | "grpc_transport_chttp2_client_insecure", |
| 113 | "grpc_transport_chttp2_server_insecure", |
| 114 | ], |
Nicolas "Pixel" Noble | 7e7fd96 | 2016-10-20 22:00:08 +0200 | [diff] [blame] | 115 | ) |
| 116 | |
| 117 | grpc_cc_library( |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 118 | name = "grpc++", |
| 119 | srcs = [ |
| 120 | "src/cpp/client/insecure_credentials.cc", |
| 121 | "src/cpp/client/secure_credentials.cc", |
| 122 | "src/cpp/common/auth_property_iterator.cc", |
| 123 | "src/cpp/common/secure_auth_context.cc", |
| 124 | "src/cpp/common/secure_channel_arguments.cc", |
| 125 | "src/cpp/common/secure_create_auth_context.cc", |
| 126 | "src/cpp/server/insecure_server_credentials.cc", |
| 127 | "src/cpp/server/secure_server_credentials.cc", |
| 128 | ], |
| 129 | hdrs = [ |
| 130 | "include/grpc++/impl/codegen/core_codegen.h", |
| 131 | "src/cpp/client/secure_credentials.h", |
| 132 | "src/cpp/common/secure_auth_context.h", |
| 133 | "src/cpp/server/secure_server_credentials.h", |
| 134 | ], |
| 135 | language = "c++", |
| 136 | standalone = True, |
| 137 | deps = [ |
| 138 | "gpr", |
| 139 | "grpc", |
| 140 | "grpc++_base", |
| 141 | "grpc++_codegen_base", |
| 142 | "grpc++_codegen_base_src", |
| 143 | ], |
Nicolas "Pixel" Noble | 7e7fd96 | 2016-10-20 22:00:08 +0200 | [diff] [blame] | 144 | ) |
| 145 | |
| 146 | grpc_cc_library( |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 147 | name = "grpc++_unsecure", |
| 148 | srcs = [ |
| 149 | "src/cpp/client/insecure_credentials.cc", |
| 150 | "src/cpp/common/insecure_create_auth_context.cc", |
| 151 | "src/cpp/server/insecure_server_credentials.cc", |
| 152 | ], |
| 153 | language = "c++", |
| 154 | standalone = True, |
| 155 | deps = [ |
| 156 | "gpr", |
| 157 | "grpc++_base", |
| 158 | "grpc++_codegen_base", |
| 159 | "grpc++_codegen_base_src", |
| 160 | "grpc_unsecure", |
| 161 | ], |
Nicolas "Pixel" Noble | 7e7fd96 | 2016-10-20 22:00:08 +0200 | [diff] [blame] | 162 | ) |
| 163 | |
| 164 | grpc_cc_library( |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 165 | name = "grpc_plugin_support", |
| 166 | srcs = [ |
| 167 | "src/compiler/cpp_generator.cc", |
| 168 | "src/compiler/csharp_generator.cc", |
| 169 | "src/compiler/node_generator.cc", |
| 170 | "src/compiler/objective_c_generator.cc", |
| 171 | "src/compiler/php_generator.cc", |
| 172 | "src/compiler/python_generator.cc", |
| 173 | "src/compiler/ruby_generator.cc", |
| 174 | ], |
| 175 | hdrs = [ |
| 176 | "src/compiler/config.h", |
| 177 | "src/compiler/cpp_generator.h", |
| 178 | "src/compiler/cpp_generator_helpers.h", |
| 179 | "src/compiler/csharp_generator.h", |
| 180 | "src/compiler/csharp_generator_helpers.h", |
| 181 | "src/compiler/generator_helpers.h", |
| 182 | "src/compiler/node_generator.h", |
| 183 | "src/compiler/node_generator_helpers.h", |
| 184 | "src/compiler/objective_c_generator.h", |
| 185 | "src/compiler/objective_c_generator_helpers.h", |
| 186 | "src/compiler/php_generator.h", |
| 187 | "src/compiler/php_generator_helpers.h", |
| 188 | "src/compiler/python_generator.h", |
| 189 | "src/compiler/ruby_generator.h", |
| 190 | "src/compiler/ruby_generator_helpers-inl.h", |
| 191 | "src/compiler/ruby_generator_map-inl.h", |
| 192 | "src/compiler/ruby_generator_string-inl.h", |
| 193 | ], |
| 194 | external_deps = [ |
Nicolas "Pixel" Noble | 4dc6431 | 2016-10-20 23:07:37 +0200 | [diff] [blame] | 195 | "protobuf_clib", |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 196 | ], |
| 197 | language = "c++", |
| 198 | deps = [ |
| 199 | "grpc++_config_proto", |
| 200 | ], |
Nicolas "Pixel" Noble | 7e7fd96 | 2016-10-20 22:00:08 +0200 | [diff] [blame] | 201 | ) |
| 202 | |
Nicolas "Pixel" Noble | 4dc6431 | 2016-10-20 23:07:37 +0200 | [diff] [blame] | 203 | grpc_proto_plugin( |
| 204 | name = "grpc_cpp_plugin", |
| 205 | srcs = ["src/compiler/cpp_plugin.cc"], |
| 206 | deps = [":grpc_plugin_support"], |
| 207 | ) |
| 208 | |
| 209 | grpc_proto_plugin( |
| 210 | name = "grpc_csharp_plugin", |
| 211 | srcs = ["src/compiler/csharp_plugin.cc"], |
| 212 | deps = [":grpc_plugin_support"], |
| 213 | ) |
| 214 | |
| 215 | grpc_proto_plugin( |
| 216 | name = "grpc_node_plugin", |
| 217 | srcs = ["src/compiler/node_plugin.cc"], |
| 218 | deps = [":grpc_plugin_support"], |
| 219 | ) |
| 220 | |
| 221 | grpc_proto_plugin( |
| 222 | name = "grpc_objective_c_plugin", |
| 223 | srcs = ["src/compiler/objective_c_plugin.cc"], |
| 224 | deps = [":grpc_plugin_support"], |
| 225 | ) |
| 226 | |
| 227 | grpc_proto_plugin( |
| 228 | name = "grpc_php_plugin", |
| 229 | srcs = ["src/compiler/php_plugin.cc"], |
| 230 | deps = [":grpc_plugin_support"], |
| 231 | ) |
| 232 | |
| 233 | grpc_proto_plugin( |
| 234 | name = "grpc_python_plugin", |
| 235 | srcs = ["src/compiler/python_plugin.cc"], |
| 236 | deps = [":grpc_plugin_support"], |
| 237 | ) |
| 238 | |
| 239 | grpc_proto_plugin( |
| 240 | name = "grpc_ruby_plugin", |
| 241 | srcs = ["src/compiler/ruby_plugin.cc"], |
| 242 | deps = [":grpc_plugin_support"], |
| 243 | ) |
| 244 | |
Nicolas "Pixel" Noble | 7e7fd96 | 2016-10-20 22:00:08 +0200 | [diff] [blame] | 245 | grpc_cc_library( |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 246 | name = "grpc_csharp_ext", |
| 247 | srcs = [ |
| 248 | "src/csharp/ext/grpc_csharp_ext.c", |
| 249 | ], |
| 250 | language = "csharp", |
| 251 | deps = [ |
| 252 | "gpr", |
| 253 | "grpc", |
| 254 | ], |
Nicolas "Pixel" Noble | 7e7fd96 | 2016-10-20 22:00:08 +0200 | [diff] [blame] | 255 | ) |
| 256 | |
| 257 | grpc_cc_library( |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 258 | name = "census", |
| 259 | srcs = [ |
| 260 | "src/core/ext/census/base_resources.c", |
| 261 | "src/core/ext/census/context.c", |
| 262 | "src/core/ext/census/gen/census.pb.c", |
| 263 | "src/core/ext/census/gen/trace_context.pb.c", |
| 264 | "src/core/ext/census/grpc_context.c", |
| 265 | "src/core/ext/census/grpc_filter.c", |
| 266 | "src/core/ext/census/grpc_plugin.c", |
| 267 | "src/core/ext/census/initialize.c", |
| 268 | "src/core/ext/census/mlog.c", |
| 269 | "src/core/ext/census/operation.c", |
| 270 | "src/core/ext/census/placeholders.c", |
| 271 | "src/core/ext/census/resource.c", |
| 272 | "src/core/ext/census/trace_context.c", |
| 273 | "src/core/ext/census/tracing.c", |
| 274 | ], |
| 275 | hdrs = [ |
| 276 | "src/core/ext/census/aggregation.h", |
| 277 | "src/core/ext/census/base_resources.h", |
| 278 | "src/core/ext/census/census_interface.h", |
| 279 | "src/core/ext/census/census_rpc_stats.h", |
| 280 | "src/core/ext/census/gen/census.pb.h", |
| 281 | "src/core/ext/census/gen/trace_context.pb.h", |
| 282 | "src/core/ext/census/grpc_filter.h", |
| 283 | "src/core/ext/census/mlog.h", |
| 284 | "src/core/ext/census/resource.h", |
| 285 | "src/core/ext/census/rpc_metric_id.h", |
| 286 | "src/core/ext/census/trace_context.h", |
| 287 | ], |
| 288 | external_deps = [ |
| 289 | "nanopb", |
| 290 | ], |
| 291 | language = "c", |
| 292 | public_hdrs = [ |
| 293 | "include/grpc/census.h", |
| 294 | ], |
| 295 | deps = [ |
| 296 | "grpc_base", |
| 297 | ], |
Nicolas "Pixel" Noble | 7e7fd96 | 2016-10-20 22:00:08 +0200 | [diff] [blame] | 298 | ) |
| 299 | |
| 300 | grpc_cc_library( |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 301 | name = "gpr_base", |
| 302 | srcs = [ |
| 303 | "src/core/lib/profiling/basic_timers.c", |
| 304 | "src/core/lib/profiling/stap_timers.c", |
| 305 | "src/core/lib/support/alloc.c", |
| 306 | "src/core/lib/support/avl.c", |
| 307 | "src/core/lib/support/backoff.c", |
| 308 | "src/core/lib/support/cmdline.c", |
| 309 | "src/core/lib/support/cpu_iphone.c", |
| 310 | "src/core/lib/support/cpu_linux.c", |
| 311 | "src/core/lib/support/cpu_posix.c", |
| 312 | "src/core/lib/support/cpu_windows.c", |
| 313 | "src/core/lib/support/env_linux.c", |
| 314 | "src/core/lib/support/env_posix.c", |
| 315 | "src/core/lib/support/env_windows.c", |
| 316 | "src/core/lib/support/histogram.c", |
| 317 | "src/core/lib/support/host_port.c", |
| 318 | "src/core/lib/support/log.c", |
| 319 | "src/core/lib/support/log_android.c", |
| 320 | "src/core/lib/support/log_linux.c", |
| 321 | "src/core/lib/support/log_posix.c", |
| 322 | "src/core/lib/support/log_windows.c", |
| 323 | "src/core/lib/support/mpscq.c", |
| 324 | "src/core/lib/support/murmur_hash.c", |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 325 | "src/core/lib/support/stack_lockfree.c", |
| 326 | "src/core/lib/support/string.c", |
| 327 | "src/core/lib/support/string_posix.c", |
| 328 | "src/core/lib/support/string_util_windows.c", |
| 329 | "src/core/lib/support/string_windows.c", |
| 330 | "src/core/lib/support/subprocess_posix.c", |
| 331 | "src/core/lib/support/subprocess_windows.c", |
| 332 | "src/core/lib/support/sync.c", |
| 333 | "src/core/lib/support/sync_posix.c", |
| 334 | "src/core/lib/support/sync_windows.c", |
| 335 | "src/core/lib/support/thd.c", |
| 336 | "src/core/lib/support/thd_posix.c", |
| 337 | "src/core/lib/support/thd_windows.c", |
| 338 | "src/core/lib/support/time.c", |
| 339 | "src/core/lib/support/time_posix.c", |
| 340 | "src/core/lib/support/time_precise.c", |
| 341 | "src/core/lib/support/time_windows.c", |
| 342 | "src/core/lib/support/tls_pthread.c", |
| 343 | "src/core/lib/support/tmpfile_msys.c", |
| 344 | "src/core/lib/support/tmpfile_posix.c", |
| 345 | "src/core/lib/support/tmpfile_windows.c", |
| 346 | "src/core/lib/support/wrap_memcpy.c", |
| 347 | ], |
| 348 | hdrs = [ |
| 349 | "src/core/lib/profiling/timers.h", |
| 350 | "src/core/lib/support/backoff.h", |
| 351 | "src/core/lib/support/block_annotate.h", |
| 352 | "src/core/lib/support/env.h", |
| 353 | "src/core/lib/support/mpscq.h", |
| 354 | "src/core/lib/support/murmur_hash.h", |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 355 | "src/core/lib/support/stack_lockfree.h", |
| 356 | "src/core/lib/support/string.h", |
| 357 | "src/core/lib/support/string_windows.h", |
| 358 | "src/core/lib/support/thd_internal.h", |
| 359 | "src/core/lib/support/time_precise.h", |
| 360 | "src/core/lib/support/tmpfile.h", |
| 361 | ], |
| 362 | language = "c", |
| 363 | public_hdrs = [ |
| 364 | "include/grpc/support/alloc.h", |
| 365 | "include/grpc/support/atm.h", |
| 366 | "include/grpc/support/atm_gcc_atomic.h", |
| 367 | "include/grpc/support/atm_gcc_sync.h", |
| 368 | "include/grpc/support/atm_windows.h", |
| 369 | "include/grpc/support/avl.h", |
| 370 | "include/grpc/support/cmdline.h", |
| 371 | "include/grpc/support/cpu.h", |
| 372 | "include/grpc/support/histogram.h", |
| 373 | "include/grpc/support/host_port.h", |
| 374 | "include/grpc/support/log.h", |
| 375 | "include/grpc/support/log_windows.h", |
| 376 | "include/grpc/support/port_platform.h", |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 377 | "include/grpc/support/string_util.h", |
| 378 | "include/grpc/support/subprocess.h", |
| 379 | "include/grpc/support/sync.h", |
| 380 | "include/grpc/support/sync_generic.h", |
| 381 | "include/grpc/support/sync_posix.h", |
| 382 | "include/grpc/support/sync_windows.h", |
| 383 | "include/grpc/support/thd.h", |
| 384 | "include/grpc/support/time.h", |
| 385 | "include/grpc/support/tls.h", |
| 386 | "include/grpc/support/tls_gcc.h", |
| 387 | "include/grpc/support/tls_msvc.h", |
| 388 | "include/grpc/support/tls_pthread.h", |
| 389 | "include/grpc/support/useful.h", |
| 390 | ], |
| 391 | deps = [ |
| 392 | "gpr_codegen", |
| 393 | ], |
Nicolas "Pixel" Noble | 7e7fd96 | 2016-10-20 22:00:08 +0200 | [diff] [blame] | 394 | ) |
| 395 | |
| 396 | grpc_cc_library( |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 397 | name = "gpr_codegen", |
| 398 | language = "c", |
| 399 | public_hdrs = [ |
| 400 | "include/grpc/impl/codegen/atm.h", |
| 401 | "include/grpc/impl/codegen/atm_gcc_atomic.h", |
| 402 | "include/grpc/impl/codegen/atm_gcc_sync.h", |
| 403 | "include/grpc/impl/codegen/atm_windows.h", |
| 404 | "include/grpc/impl/codegen/gpr_types.h", |
| 405 | "include/grpc/impl/codegen/port_platform.h", |
| 406 | "include/grpc/impl/codegen/slice.h", |
| 407 | "include/grpc/impl/codegen/sync.h", |
| 408 | "include/grpc/impl/codegen/sync_generic.h", |
| 409 | "include/grpc/impl/codegen/sync_posix.h", |
| 410 | "include/grpc/impl/codegen/sync_windows.h", |
| 411 | ], |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 412 | ) |
| 413 | |
Nicolas "Pixel" Noble | 31d11db | 2016-10-20 09:29:46 +0200 | [diff] [blame] | 414 | grpc_cc_library( |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 415 | name = "grpc_base", |
| 416 | srcs = [ |
| 417 | "src/core/lib/channel/channel_args.c", |
| 418 | "src/core/lib/channel/channel_stack.c", |
| 419 | "src/core/lib/channel/channel_stack_builder.c", |
| 420 | "src/core/lib/channel/compress_filter.c", |
| 421 | "src/core/lib/channel/connected_channel.c", |
| 422 | "src/core/lib/channel/deadline_filter.c", |
| 423 | "src/core/lib/channel/handshaker.c", |
| 424 | "src/core/lib/channel/http_client_filter.c", |
| 425 | "src/core/lib/channel/http_server_filter.c", |
Nicolas "Pixel" Noble | 0fc9999 | 2017-01-04 23:50:42 +0100 | [diff] [blame^] | 426 | "src/core/lib/channel/message_size_filter.c", |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 427 | "src/core/lib/compression/compression.c", |
| 428 | "src/core/lib/compression/message_compress.c", |
| 429 | "src/core/lib/debug/trace.c", |
| 430 | "src/core/lib/http/format_request.c", |
| 431 | "src/core/lib/http/httpcli.c", |
| 432 | "src/core/lib/http/parser.c", |
| 433 | "src/core/lib/iomgr/closure.c", |
| 434 | "src/core/lib/iomgr/combiner.c", |
| 435 | "src/core/lib/iomgr/endpoint.c", |
| 436 | "src/core/lib/iomgr/endpoint_pair_posix.c", |
Nicolas "Pixel" Noble | 19014de | 2016-10-27 00:33:07 +0200 | [diff] [blame] | 437 | "src/core/lib/iomgr/endpoint_pair_uv.c", |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 438 | "src/core/lib/iomgr/endpoint_pair_windows.c", |
| 439 | "src/core/lib/iomgr/error.c", |
| 440 | "src/core/lib/iomgr/ev_epoll_linux.c", |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 441 | "src/core/lib/iomgr/ev_poll_posix.c", |
| 442 | "src/core/lib/iomgr/ev_posix.c", |
| 443 | "src/core/lib/iomgr/exec_ctx.c", |
| 444 | "src/core/lib/iomgr/executor.c", |
| 445 | "src/core/lib/iomgr/iocp_windows.c", |
| 446 | "src/core/lib/iomgr/iomgr.c", |
| 447 | "src/core/lib/iomgr/iomgr_posix.c", |
Nicolas "Pixel" Noble | 203860a | 2016-12-29 01:38:26 +0100 | [diff] [blame] | 448 | "src/core/lib/iomgr/iomgr_uv.c", |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 449 | "src/core/lib/iomgr/iomgr_windows.c", |
| 450 | "src/core/lib/iomgr/load_file.c", |
| 451 | "src/core/lib/iomgr/network_status_tracker.c", |
| 452 | "src/core/lib/iomgr/polling_entity.c", |
Nicolas "Pixel" Noble | 203860a | 2016-12-29 01:38:26 +0100 | [diff] [blame] | 453 | "src/core/lib/iomgr/pollset_set_uv.c", |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 454 | "src/core/lib/iomgr/pollset_set_windows.c", |
Nicolas "Pixel" Noble | 203860a | 2016-12-29 01:38:26 +0100 | [diff] [blame] | 455 | "src/core/lib/iomgr/pollset_uv.c", |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 456 | "src/core/lib/iomgr/pollset_windows.c", |
| 457 | "src/core/lib/iomgr/resolve_address_posix.c", |
Nicolas "Pixel" Noble | 203860a | 2016-12-29 01:38:26 +0100 | [diff] [blame] | 458 | "src/core/lib/iomgr/resolve_address_uv.c", |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 459 | "src/core/lib/iomgr/resolve_address_windows.c", |
Nicolas "Pixel" Noble | 203860a | 2016-12-29 01:38:26 +0100 | [diff] [blame] | 460 | "src/core/lib/iomgr/resource_quota.c", |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 461 | "src/core/lib/iomgr/sockaddr_utils.c", |
Nicolas "Pixel" Noble | 203860a | 2016-12-29 01:38:26 +0100 | [diff] [blame] | 462 | "src/core/lib/iomgr/socket_mutator.c", |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 463 | "src/core/lib/iomgr/socket_utils_common_posix.c", |
| 464 | "src/core/lib/iomgr/socket_utils_linux.c", |
| 465 | "src/core/lib/iomgr/socket_utils_posix.c", |
Nicolas "Pixel" Noble | 203860a | 2016-12-29 01:38:26 +0100 | [diff] [blame] | 466 | "src/core/lib/iomgr/socket_utils_uv.c", |
| 467 | "src/core/lib/iomgr/socket_utils_windows.c", |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 468 | "src/core/lib/iomgr/socket_windows.c", |
| 469 | "src/core/lib/iomgr/tcp_client_posix.c", |
Nicolas "Pixel" Noble | 203860a | 2016-12-29 01:38:26 +0100 | [diff] [blame] | 470 | "src/core/lib/iomgr/tcp_client_uv.c", |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 471 | "src/core/lib/iomgr/tcp_client_windows.c", |
| 472 | "src/core/lib/iomgr/tcp_posix.c", |
| 473 | "src/core/lib/iomgr/tcp_server_posix.c", |
Nicolas "Pixel" Noble | 203860a | 2016-12-29 01:38:26 +0100 | [diff] [blame] | 474 | "src/core/lib/iomgr/tcp_server_uv.c", |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 475 | "src/core/lib/iomgr/tcp_server_windows.c", |
Nicolas "Pixel" Noble | 203860a | 2016-12-29 01:38:26 +0100 | [diff] [blame] | 476 | "src/core/lib/iomgr/tcp_uv.c", |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 477 | "src/core/lib/iomgr/tcp_windows.c", |
| 478 | "src/core/lib/iomgr/time_averaged_stats.c", |
Nicolas "Pixel" Noble | 203860a | 2016-12-29 01:38:26 +0100 | [diff] [blame] | 479 | "src/core/lib/iomgr/timer_generic.c", |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 480 | "src/core/lib/iomgr/timer_heap.c", |
Nicolas "Pixel" Noble | 203860a | 2016-12-29 01:38:26 +0100 | [diff] [blame] | 481 | "src/core/lib/iomgr/timer_uv.c", |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 482 | "src/core/lib/iomgr/udp_server.c", |
| 483 | "src/core/lib/iomgr/unix_sockets_posix.c", |
| 484 | "src/core/lib/iomgr/unix_sockets_posix_noop.c", |
| 485 | "src/core/lib/iomgr/wakeup_fd_cv.c", |
| 486 | "src/core/lib/iomgr/wakeup_fd_eventfd.c", |
| 487 | "src/core/lib/iomgr/wakeup_fd_nospecial.c", |
| 488 | "src/core/lib/iomgr/wakeup_fd_pipe.c", |
| 489 | "src/core/lib/iomgr/wakeup_fd_posix.c", |
Nicolas "Pixel" Noble | 203860a | 2016-12-29 01:38:26 +0100 | [diff] [blame] | 490 | "src/core/lib/iomgr/workqueue_uv.c", |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 491 | "src/core/lib/iomgr/workqueue_windows.c", |
| 492 | "src/core/lib/json/json.c", |
| 493 | "src/core/lib/json/json_reader.c", |
| 494 | "src/core/lib/json/json_string.c", |
| 495 | "src/core/lib/json/json_writer.c", |
Nicolas "Pixel" Noble | 203860a | 2016-12-29 01:38:26 +0100 | [diff] [blame] | 496 | "src/core/lib/slice/percent_encoding.c", |
| 497 | "src/core/lib/slice/slice.c", |
| 498 | "src/core/lib/slice/slice_buffer.c", |
| 499 | "src/core/lib/slice/slice_string_helpers.c", |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 500 | "src/core/lib/surface/alarm.c", |
| 501 | "src/core/lib/surface/api_trace.c", |
| 502 | "src/core/lib/surface/byte_buffer.c", |
| 503 | "src/core/lib/surface/byte_buffer_reader.c", |
| 504 | "src/core/lib/surface/call.c", |
| 505 | "src/core/lib/surface/call_details.c", |
| 506 | "src/core/lib/surface/call_log_batch.c", |
| 507 | "src/core/lib/surface/channel.c", |
| 508 | "src/core/lib/surface/channel_init.c", |
| 509 | "src/core/lib/surface/channel_ping.c", |
| 510 | "src/core/lib/surface/channel_stack_type.c", |
| 511 | "src/core/lib/surface/completion_queue.c", |
| 512 | "src/core/lib/surface/event_string.c", |
| 513 | "src/core/lib/surface/lame_client.c", |
| 514 | "src/core/lib/surface/metadata_array.c", |
| 515 | "src/core/lib/surface/server.c", |
| 516 | "src/core/lib/surface/validate_metadata.c", |
| 517 | "src/core/lib/surface/version.c", |
| 518 | "src/core/lib/transport/byte_stream.c", |
| 519 | "src/core/lib/transport/connectivity_state.c", |
| 520 | "src/core/lib/transport/mdstr_hash_table.c", |
| 521 | "src/core/lib/transport/metadata.c", |
| 522 | "src/core/lib/transport/metadata_batch.c", |
Nicolas "Pixel" Noble | 203860a | 2016-12-29 01:38:26 +0100 | [diff] [blame] | 523 | "src/core/lib/transport/pid_controller.c", |
| 524 | "src/core/lib/transport/service_config.c", |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 525 | "src/core/lib/transport/static_metadata.c", |
| 526 | "src/core/lib/transport/timeout_encoding.c", |
| 527 | "src/core/lib/transport/transport.c", |
| 528 | "src/core/lib/transport/transport_op_string.c", |
| 529 | ], |
| 530 | hdrs = [ |
| 531 | "src/core/lib/channel/channel_args.h", |
| 532 | "src/core/lib/channel/channel_stack.h", |
| 533 | "src/core/lib/channel/channel_stack_builder.h", |
| 534 | "src/core/lib/channel/compress_filter.h", |
| 535 | "src/core/lib/channel/connected_channel.h", |
| 536 | "src/core/lib/channel/context.h", |
| 537 | "src/core/lib/channel/deadline_filter.h", |
| 538 | "src/core/lib/channel/handshaker.h", |
| 539 | "src/core/lib/channel/http_client_filter.h", |
| 540 | "src/core/lib/channel/http_server_filter.h", |
Nicolas "Pixel" Noble | 0fc9999 | 2017-01-04 23:50:42 +0100 | [diff] [blame^] | 541 | "src/core/lib/channel/message_size_filter.h", |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 542 | "src/core/lib/compression/algorithm_metadata.h", |
| 543 | "src/core/lib/compression/message_compress.h", |
| 544 | "src/core/lib/debug/trace.h", |
| 545 | "src/core/lib/http/format_request.h", |
| 546 | "src/core/lib/http/httpcli.h", |
| 547 | "src/core/lib/http/parser.h", |
| 548 | "src/core/lib/iomgr/closure.h", |
| 549 | "src/core/lib/iomgr/combiner.h", |
| 550 | "src/core/lib/iomgr/endpoint.h", |
| 551 | "src/core/lib/iomgr/endpoint_pair.h", |
| 552 | "src/core/lib/iomgr/error.h", |
| 553 | "src/core/lib/iomgr/ev_epoll_linux.h", |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 554 | "src/core/lib/iomgr/ev_poll_posix.h", |
| 555 | "src/core/lib/iomgr/ev_posix.h", |
| 556 | "src/core/lib/iomgr/exec_ctx.h", |
| 557 | "src/core/lib/iomgr/executor.h", |
| 558 | "src/core/lib/iomgr/iocp_windows.h", |
| 559 | "src/core/lib/iomgr/iomgr.h", |
| 560 | "src/core/lib/iomgr/iomgr_internal.h", |
| 561 | "src/core/lib/iomgr/iomgr_posix.h", |
| 562 | "src/core/lib/iomgr/load_file.h", |
| 563 | "src/core/lib/iomgr/network_status_tracker.h", |
| 564 | "src/core/lib/iomgr/polling_entity.h", |
| 565 | "src/core/lib/iomgr/pollset.h", |
| 566 | "src/core/lib/iomgr/pollset_set.h", |
| 567 | "src/core/lib/iomgr/pollset_set_windows.h", |
Nicolas "Pixel" Noble | 19014de | 2016-10-27 00:33:07 +0200 | [diff] [blame] | 568 | "src/core/lib/iomgr/pollset_uv.h", |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 569 | "src/core/lib/iomgr/pollset_windows.h", |
Nicolas "Pixel" Noble | 19014de | 2016-10-27 00:33:07 +0200 | [diff] [blame] | 570 | "src/core/lib/iomgr/port.h", |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 571 | "src/core/lib/iomgr/resolve_address.h", |
Nicolas "Pixel" Noble | 203860a | 2016-12-29 01:38:26 +0100 | [diff] [blame] | 572 | "src/core/lib/iomgr/resource_quota.h", |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 573 | "src/core/lib/iomgr/sockaddr.h", |
| 574 | "src/core/lib/iomgr/sockaddr_posix.h", |
| 575 | "src/core/lib/iomgr/sockaddr_utils.h", |
| 576 | "src/core/lib/iomgr/sockaddr_windows.h", |
Nicolas "Pixel" Noble | 203860a | 2016-12-29 01:38:26 +0100 | [diff] [blame] | 577 | "src/core/lib/iomgr/socket_mutator.h", |
Nicolas "Pixel" Noble | 19014de | 2016-10-27 00:33:07 +0200 | [diff] [blame] | 578 | "src/core/lib/iomgr/socket_utils.h", |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 579 | "src/core/lib/iomgr/socket_utils_posix.h", |
| 580 | "src/core/lib/iomgr/socket_windows.h", |
| 581 | "src/core/lib/iomgr/tcp_client.h", |
Nicolas "Pixel" Noble | 203860a | 2016-12-29 01:38:26 +0100 | [diff] [blame] | 582 | "src/core/lib/iomgr/tcp_client_posix.h", |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 583 | "src/core/lib/iomgr/tcp_posix.h", |
| 584 | "src/core/lib/iomgr/tcp_server.h", |
Nicolas "Pixel" Noble | 19014de | 2016-10-27 00:33:07 +0200 | [diff] [blame] | 585 | "src/core/lib/iomgr/tcp_uv.h", |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 586 | "src/core/lib/iomgr/tcp_windows.h", |
| 587 | "src/core/lib/iomgr/time_averaged_stats.h", |
| 588 | "src/core/lib/iomgr/timer.h", |
Nicolas "Pixel" Noble | 19014de | 2016-10-27 00:33:07 +0200 | [diff] [blame] | 589 | "src/core/lib/iomgr/timer_generic.h", |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 590 | "src/core/lib/iomgr/timer_heap.h", |
Nicolas "Pixel" Noble | 19014de | 2016-10-27 00:33:07 +0200 | [diff] [blame] | 591 | "src/core/lib/iomgr/timer_uv.h", |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 592 | "src/core/lib/iomgr/udp_server.h", |
| 593 | "src/core/lib/iomgr/unix_sockets_posix.h", |
| 594 | "src/core/lib/iomgr/wakeup_fd_cv.h", |
| 595 | "src/core/lib/iomgr/wakeup_fd_pipe.h", |
| 596 | "src/core/lib/iomgr/wakeup_fd_posix.h", |
| 597 | "src/core/lib/iomgr/workqueue.h", |
Nicolas "Pixel" Noble | 19014de | 2016-10-27 00:33:07 +0200 | [diff] [blame] | 598 | "src/core/lib/iomgr/workqueue_uv.h", |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 599 | "src/core/lib/iomgr/workqueue_windows.h", |
| 600 | "src/core/lib/json/json.h", |
| 601 | "src/core/lib/json/json_common.h", |
| 602 | "src/core/lib/json/json_reader.h", |
| 603 | "src/core/lib/json/json_writer.h", |
Nicolas "Pixel" Noble | 203860a | 2016-12-29 01:38:26 +0100 | [diff] [blame] | 604 | "src/core/lib/slice/percent_encoding.h", |
| 605 | "src/core/lib/slice/slice_string_helpers.h", |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 606 | "src/core/lib/surface/api_trace.h", |
| 607 | "src/core/lib/surface/call.h", |
| 608 | "src/core/lib/surface/call_test_only.h", |
| 609 | "src/core/lib/surface/channel.h", |
| 610 | "src/core/lib/surface/channel_init.h", |
| 611 | "src/core/lib/surface/channel_stack_type.h", |
| 612 | "src/core/lib/surface/completion_queue.h", |
| 613 | "src/core/lib/surface/event_string.h", |
| 614 | "src/core/lib/surface/init.h", |
| 615 | "src/core/lib/surface/lame_client.h", |
| 616 | "src/core/lib/surface/server.h", |
| 617 | "src/core/lib/transport/byte_stream.h", |
| 618 | "src/core/lib/transport/connectivity_state.h", |
| 619 | "src/core/lib/transport/mdstr_hash_table.h", |
| 620 | "src/core/lib/transport/metadata.h", |
| 621 | "src/core/lib/transport/metadata_batch.h", |
Nicolas "Pixel" Noble | 203860a | 2016-12-29 01:38:26 +0100 | [diff] [blame] | 622 | "src/core/lib/transport/pid_controller.h", |
| 623 | "src/core/lib/transport/service_config.h", |
| 624 | "src/core/lib/transport/static_metadata.h", |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 625 | "src/core/lib/transport/timeout_encoding.h", |
| 626 | "src/core/lib/transport/transport.h", |
| 627 | "src/core/lib/transport/transport_impl.h", |
| 628 | ], |
| 629 | external_deps = [ |
| 630 | "zlib", |
| 631 | ], |
| 632 | language = "c", |
| 633 | public_hdrs = [ |
| 634 | "include/grpc/byte_buffer.h", |
| 635 | "include/grpc/byte_buffer_reader.h", |
| 636 | "include/grpc/compression.h", |
| 637 | "include/grpc/grpc.h", |
| 638 | "include/grpc/grpc_posix.h", |
| 639 | "include/grpc/grpc_security_constants.h", |
Nicolas "Pixel" Noble | 203860a | 2016-12-29 01:38:26 +0100 | [diff] [blame] | 640 | "include/grpc/slice.h", |
| 641 | "include/grpc/slice_buffer.h", |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 642 | "include/grpc/status.h", |
| 643 | ], |
| 644 | deps = [ |
| 645 | "gpr_base", |
| 646 | "grpc_codegen", |
| 647 | ], |
Nicolas "Pixel" Noble | 7e7fd96 | 2016-10-20 22:00:08 +0200 | [diff] [blame] | 648 | ) |
| 649 | |
| 650 | grpc_cc_library( |
Nicolas "Pixel" Noble | 203860a | 2016-12-29 01:38:26 +0100 | [diff] [blame] | 651 | name = "grpc_client_channel", |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 652 | srcs = [ |
Nicolas "Pixel" Noble | 203860a | 2016-12-29 01:38:26 +0100 | [diff] [blame] | 653 | "src/core/ext/client_channel/channel_connectivity.c", |
| 654 | "src/core/ext/client_channel/client_channel.c", |
| 655 | "src/core/ext/client_channel/client_channel_factory.c", |
| 656 | "src/core/ext/client_channel/client_channel_plugin.c", |
| 657 | "src/core/ext/client_channel/connector.c", |
| 658 | "src/core/ext/client_channel/default_initial_connect_string.c", |
| 659 | "src/core/ext/client_channel/http_connect_handshaker.c", |
| 660 | "src/core/ext/client_channel/initial_connect_string.c", |
| 661 | "src/core/ext/client_channel/lb_policy.c", |
| 662 | "src/core/ext/client_channel/lb_policy_factory.c", |
| 663 | "src/core/ext/client_channel/lb_policy_registry.c", |
| 664 | "src/core/ext/client_channel/parse_address.c", |
| 665 | "src/core/ext/client_channel/resolver.c", |
| 666 | "src/core/ext/client_channel/resolver_factory.c", |
| 667 | "src/core/ext/client_channel/resolver_registry.c", |
| 668 | "src/core/ext/client_channel/subchannel.c", |
| 669 | "src/core/ext/client_channel/subchannel_index.c", |
| 670 | "src/core/ext/client_channel/uri_parser.c", |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 671 | ], |
| 672 | hdrs = [ |
Nicolas "Pixel" Noble | 203860a | 2016-12-29 01:38:26 +0100 | [diff] [blame] | 673 | "src/core/ext/client_channel/client_channel.h", |
| 674 | "src/core/ext/client_channel/client_channel_factory.h", |
| 675 | "src/core/ext/client_channel/connector.h", |
| 676 | "src/core/ext/client_channel/http_connect_handshaker.h", |
| 677 | "src/core/ext/client_channel/initial_connect_string.h", |
| 678 | "src/core/ext/client_channel/lb_policy.h", |
| 679 | "src/core/ext/client_channel/lb_policy_factory.h", |
| 680 | "src/core/ext/client_channel/lb_policy_registry.h", |
| 681 | "src/core/ext/client_channel/parse_address.h", |
| 682 | "src/core/ext/client_channel/resolver.h", |
| 683 | "src/core/ext/client_channel/resolver_factory.h", |
| 684 | "src/core/ext/client_channel/resolver_registry.h", |
| 685 | "src/core/ext/client_channel/subchannel.h", |
| 686 | "src/core/ext/client_channel/subchannel_index.h", |
| 687 | "src/core/ext/client_channel/uri_parser.h", |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 688 | ], |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 689 | deps = [ |
| 690 | "grpc_base", |
| 691 | ], |
Nicolas "Pixel" Noble | 7e7fd96 | 2016-10-20 22:00:08 +0200 | [diff] [blame] | 692 | ) |
| 693 | |
| 694 | grpc_cc_library( |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 695 | name = "grpc_codegen", |
| 696 | language = "c", |
| 697 | public_hdrs = [ |
| 698 | "include/grpc/impl/codegen/byte_buffer_reader.h", |
| 699 | "include/grpc/impl/codegen/compression_types.h", |
| 700 | "include/grpc/impl/codegen/connectivity_state.h", |
| 701 | "include/grpc/impl/codegen/grpc_types.h", |
| 702 | "include/grpc/impl/codegen/propagation_bits.h", |
| 703 | "include/grpc/impl/codegen/status.h", |
| 704 | ], |
| 705 | deps = [ |
| 706 | "gpr_codegen", |
| 707 | ], |
Nicolas "Pixel" Noble | 7e7fd96 | 2016-10-20 22:00:08 +0200 | [diff] [blame] | 708 | ) |
| 709 | |
| 710 | grpc_cc_library( |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 711 | name = "grpc_lb_policy_grpclb", |
| 712 | srcs = [ |
| 713 | "src/core/ext/lb_policy/grpclb/grpclb.c", |
| 714 | "src/core/ext/lb_policy/grpclb/load_balancer_api.c", |
| 715 | "src/core/ext/lb_policy/grpclb/proto/grpc/lb/v1/load_balancer.pb.c", |
| 716 | ], |
| 717 | hdrs = [ |
| 718 | "src/core/ext/lb_policy/grpclb/grpclb.h", |
| 719 | "src/core/ext/lb_policy/grpclb/load_balancer_api.h", |
| 720 | "src/core/ext/lb_policy/grpclb/proto/grpc/lb/v1/load_balancer.pb.h", |
| 721 | ], |
| 722 | external_deps = [ |
| 723 | "nanopb", |
| 724 | ], |
| 725 | language = "c", |
| 726 | deps = [ |
| 727 | "grpc_base", |
Nicolas "Pixel" Noble | 203860a | 2016-12-29 01:38:26 +0100 | [diff] [blame] | 728 | "grpc_client_channel", |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 729 | ], |
Nicolas "Pixel" Noble | 7e7fd96 | 2016-10-20 22:00:08 +0200 | [diff] [blame] | 730 | ) |
| 731 | |
| 732 | grpc_cc_library( |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 733 | name = "grpc_lb_policy_pick_first", |
| 734 | srcs = [ |
| 735 | "src/core/ext/lb_policy/pick_first/pick_first.c", |
| 736 | ], |
| 737 | language = "c", |
| 738 | deps = [ |
| 739 | "grpc_base", |
Nicolas "Pixel" Noble | 203860a | 2016-12-29 01:38:26 +0100 | [diff] [blame] | 740 | "grpc_client_channel", |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 741 | ], |
Nicolas "Pixel" Noble | 7e7fd96 | 2016-10-20 22:00:08 +0200 | [diff] [blame] | 742 | ) |
| 743 | |
| 744 | grpc_cc_library( |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 745 | name = "grpc_lb_policy_round_robin", |
| 746 | srcs = [ |
| 747 | "src/core/ext/lb_policy/round_robin/round_robin.c", |
| 748 | ], |
| 749 | language = "c", |
| 750 | deps = [ |
| 751 | "grpc_base", |
Nicolas "Pixel" Noble | 203860a | 2016-12-29 01:38:26 +0100 | [diff] [blame] | 752 | "grpc_client_channel", |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 753 | ], |
Nicolas "Pixel" Noble | 7e7fd96 | 2016-10-20 22:00:08 +0200 | [diff] [blame] | 754 | ) |
| 755 | |
| 756 | grpc_cc_library( |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 757 | name = "grpc_load_reporting", |
| 758 | srcs = [ |
| 759 | "src/core/ext/load_reporting/load_reporting.c", |
| 760 | "src/core/ext/load_reporting/load_reporting_filter.c", |
| 761 | ], |
| 762 | hdrs = [ |
| 763 | "src/core/ext/load_reporting/load_reporting.h", |
| 764 | "src/core/ext/load_reporting/load_reporting_filter.h", |
| 765 | ], |
| 766 | language = "c", |
| 767 | deps = [ |
| 768 | "grpc_base", |
| 769 | ], |
Nicolas "Pixel" Noble | 7e7fd96 | 2016-10-20 22:00:08 +0200 | [diff] [blame] | 770 | ) |
| 771 | |
| 772 | grpc_cc_library( |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 773 | name = "grpc_resolver_dns_native", |
| 774 | srcs = [ |
| 775 | "src/core/ext/resolver/dns/native/dns_resolver.c", |
| 776 | ], |
| 777 | language = "c", |
| 778 | deps = [ |
| 779 | "grpc_base", |
Nicolas "Pixel" Noble | 203860a | 2016-12-29 01:38:26 +0100 | [diff] [blame] | 780 | "grpc_client_channel", |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 781 | ], |
Nicolas "Pixel" Noble | 7e7fd96 | 2016-10-20 22:00:08 +0200 | [diff] [blame] | 782 | ) |
| 783 | |
| 784 | grpc_cc_library( |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 785 | name = "grpc_resolver_sockaddr", |
| 786 | srcs = [ |
| 787 | "src/core/ext/resolver/sockaddr/sockaddr_resolver.c", |
| 788 | ], |
| 789 | language = "c", |
| 790 | deps = [ |
| 791 | "grpc_base", |
Nicolas "Pixel" Noble | 203860a | 2016-12-29 01:38:26 +0100 | [diff] [blame] | 792 | "grpc_client_channel", |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 793 | ], |
Nicolas "Pixel" Noble | 7e7fd96 | 2016-10-20 22:00:08 +0200 | [diff] [blame] | 794 | ) |
| 795 | |
| 796 | grpc_cc_library( |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 797 | name = "grpc_secure", |
| 798 | srcs = [ |
| 799 | "src/core/lib/http/httpcli_security_connector.c", |
| 800 | "src/core/lib/security/context/security_context.c", |
| 801 | "src/core/lib/security/credentials/composite/composite_credentials.c", |
| 802 | "src/core/lib/security/credentials/credentials.c", |
| 803 | "src/core/lib/security/credentials/credentials_metadata.c", |
| 804 | "src/core/lib/security/credentials/fake/fake_credentials.c", |
Nicolas "Pixel" Noble | 203860a | 2016-12-29 01:38:26 +0100 | [diff] [blame] | 805 | "src/core/lib/security/credentials/google_default/credentials_generic.c", |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 806 | "src/core/lib/security/credentials/google_default/google_default_credentials.c", |
| 807 | "src/core/lib/security/credentials/iam/iam_credentials.c", |
| 808 | "src/core/lib/security/credentials/jwt/json_token.c", |
| 809 | "src/core/lib/security/credentials/jwt/jwt_credentials.c", |
| 810 | "src/core/lib/security/credentials/jwt/jwt_verifier.c", |
| 811 | "src/core/lib/security/credentials/oauth2/oauth2_credentials.c", |
| 812 | "src/core/lib/security/credentials/plugin/plugin_credentials.c", |
| 813 | "src/core/lib/security/credentials/ssl/ssl_credentials.c", |
| 814 | "src/core/lib/security/transport/client_auth_filter.c", |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 815 | "src/core/lib/security/transport/secure_endpoint.c", |
| 816 | "src/core/lib/security/transport/security_connector.c", |
Nicolas "Pixel" Noble | 203860a | 2016-12-29 01:38:26 +0100 | [diff] [blame] | 817 | "src/core/lib/security/transport/security_handshaker.c", |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 818 | "src/core/lib/security/transport/server_auth_filter.c", |
| 819 | "src/core/lib/security/transport/tsi_error.c", |
| 820 | "src/core/lib/security/util/b64.c", |
| 821 | "src/core/lib/security/util/json_util.c", |
| 822 | "src/core/lib/surface/init_secure.c", |
| 823 | ], |
| 824 | hdrs = [ |
| 825 | "src/core/lib/security/context/security_context.h", |
| 826 | "src/core/lib/security/credentials/composite/composite_credentials.h", |
| 827 | "src/core/lib/security/credentials/credentials.h", |
| 828 | "src/core/lib/security/credentials/fake/fake_credentials.h", |
| 829 | "src/core/lib/security/credentials/google_default/google_default_credentials.h", |
| 830 | "src/core/lib/security/credentials/iam/iam_credentials.h", |
| 831 | "src/core/lib/security/credentials/jwt/json_token.h", |
| 832 | "src/core/lib/security/credentials/jwt/jwt_credentials.h", |
| 833 | "src/core/lib/security/credentials/jwt/jwt_verifier.h", |
| 834 | "src/core/lib/security/credentials/oauth2/oauth2_credentials.h", |
| 835 | "src/core/lib/security/credentials/plugin/plugin_credentials.h", |
| 836 | "src/core/lib/security/credentials/ssl/ssl_credentials.h", |
| 837 | "src/core/lib/security/transport/auth_filters.h", |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 838 | "src/core/lib/security/transport/secure_endpoint.h", |
| 839 | "src/core/lib/security/transport/security_connector.h", |
Nicolas "Pixel" Noble | 203860a | 2016-12-29 01:38:26 +0100 | [diff] [blame] | 840 | "src/core/lib/security/transport/security_handshaker.h", |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 841 | "src/core/lib/security/transport/tsi_error.h", |
| 842 | "src/core/lib/security/util/b64.h", |
| 843 | "src/core/lib/security/util/json_util.h", |
| 844 | ], |
| 845 | language = "c", |
| 846 | public_hdrs = [ |
| 847 | "include/grpc/grpc_security.h", |
| 848 | ], |
| 849 | deps = [ |
| 850 | "grpc_base", |
| 851 | "grpc_transport_chttp2_alpn", |
| 852 | "tsi", |
| 853 | ], |
Nicolas "Pixel" Noble | 7e7fd96 | 2016-10-20 22:00:08 +0200 | [diff] [blame] | 854 | ) |
| 855 | |
| 856 | grpc_cc_library( |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 857 | name = "grpc_transport_chttp2", |
| 858 | srcs = [ |
| 859 | "src/core/ext/transport/chttp2/transport/bin_decoder.c", |
| 860 | "src/core/ext/transport/chttp2/transport/bin_encoder.c", |
| 861 | "src/core/ext/transport/chttp2/transport/chttp2_plugin.c", |
| 862 | "src/core/ext/transport/chttp2/transport/chttp2_transport.c", |
| 863 | "src/core/ext/transport/chttp2/transport/frame_data.c", |
| 864 | "src/core/ext/transport/chttp2/transport/frame_goaway.c", |
| 865 | "src/core/ext/transport/chttp2/transport/frame_ping.c", |
| 866 | "src/core/ext/transport/chttp2/transport/frame_rst_stream.c", |
| 867 | "src/core/ext/transport/chttp2/transport/frame_settings.c", |
| 868 | "src/core/ext/transport/chttp2/transport/frame_window_update.c", |
| 869 | "src/core/ext/transport/chttp2/transport/hpack_encoder.c", |
| 870 | "src/core/ext/transport/chttp2/transport/hpack_parser.c", |
| 871 | "src/core/ext/transport/chttp2/transport/hpack_table.c", |
| 872 | "src/core/ext/transport/chttp2/transport/huffsyms.c", |
| 873 | "src/core/ext/transport/chttp2/transport/incoming_metadata.c", |
| 874 | "src/core/ext/transport/chttp2/transport/parsing.c", |
| 875 | "src/core/ext/transport/chttp2/transport/status_conversion.c", |
| 876 | "src/core/ext/transport/chttp2/transport/stream_lists.c", |
| 877 | "src/core/ext/transport/chttp2/transport/stream_map.c", |
| 878 | "src/core/ext/transport/chttp2/transport/varint.c", |
| 879 | "src/core/ext/transport/chttp2/transport/writing.c", |
| 880 | ], |
| 881 | hdrs = [ |
| 882 | "src/core/ext/transport/chttp2/transport/bin_decoder.h", |
| 883 | "src/core/ext/transport/chttp2/transport/bin_encoder.h", |
| 884 | "src/core/ext/transport/chttp2/transport/chttp2_transport.h", |
| 885 | "src/core/ext/transport/chttp2/transport/frame.h", |
| 886 | "src/core/ext/transport/chttp2/transport/frame_data.h", |
| 887 | "src/core/ext/transport/chttp2/transport/frame_goaway.h", |
| 888 | "src/core/ext/transport/chttp2/transport/frame_ping.h", |
| 889 | "src/core/ext/transport/chttp2/transport/frame_rst_stream.h", |
| 890 | "src/core/ext/transport/chttp2/transport/frame_settings.h", |
| 891 | "src/core/ext/transport/chttp2/transport/frame_window_update.h", |
| 892 | "src/core/ext/transport/chttp2/transport/hpack_encoder.h", |
| 893 | "src/core/ext/transport/chttp2/transport/hpack_parser.h", |
| 894 | "src/core/ext/transport/chttp2/transport/hpack_table.h", |
| 895 | "src/core/ext/transport/chttp2/transport/http2_errors.h", |
| 896 | "src/core/ext/transport/chttp2/transport/huffsyms.h", |
| 897 | "src/core/ext/transport/chttp2/transport/incoming_metadata.h", |
| 898 | "src/core/ext/transport/chttp2/transport/internal.h", |
| 899 | "src/core/ext/transport/chttp2/transport/status_conversion.h", |
| 900 | "src/core/ext/transport/chttp2/transport/stream_map.h", |
| 901 | "src/core/ext/transport/chttp2/transport/varint.h", |
| 902 | ], |
| 903 | language = "c", |
| 904 | deps = [ |
| 905 | "grpc_base", |
| 906 | "grpc_transport_chttp2_alpn", |
| 907 | ], |
Nicolas "Pixel" Noble | 7e7fd96 | 2016-10-20 22:00:08 +0200 | [diff] [blame] | 908 | ) |
| 909 | |
| 910 | grpc_cc_library( |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 911 | name = "grpc_transport_chttp2_alpn", |
| 912 | srcs = [ |
| 913 | "src/core/ext/transport/chttp2/alpn/alpn.c", |
| 914 | ], |
| 915 | hdrs = [ |
| 916 | "src/core/ext/transport/chttp2/alpn/alpn.h", |
| 917 | ], |
| 918 | language = "c", |
| 919 | deps = [ |
| 920 | "gpr", |
| 921 | ], |
Nicolas "Pixel" Noble | 7e7fd96 | 2016-10-20 22:00:08 +0200 | [diff] [blame] | 922 | ) |
| 923 | |
| 924 | grpc_cc_library( |
Nicolas "Pixel" Noble | 203860a | 2016-12-29 01:38:26 +0100 | [diff] [blame] | 925 | name = "grpc_transport_chttp2_client_connector", |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 926 | hdrs = [ |
Nicolas "Pixel" Noble | 203860a | 2016-12-29 01:38:26 +0100 | [diff] [blame] | 927 | "src/core/ext/transport/chttp2/client/chttp2_connector.h", |
Craig Tiller | da179ce | 2016-02-09 12:01:53 -0800 | [diff] [blame] | 928 | ], |
Ming Zhao | 3c0ba0c | 2015-04-10 12:05:22 -0700 | [diff] [blame] | 929 | srcs = [ |
Nicolas "Pixel" Noble | 203860a | 2016-12-29 01:38:26 +0100 | [diff] [blame] | 930 | "src/core/ext/transport/chttp2/client/chttp2_connector.c", |
Ming Zhao | 3c0ba0c | 2015-04-10 12:05:22 -0700 | [diff] [blame] | 931 | ], |
Nicolas "Pixel" Noble | 203860a | 2016-12-29 01:38:26 +0100 | [diff] [blame] | 932 | language = "c", |
Ming Zhao | 3c0ba0c | 2015-04-10 12:05:22 -0700 | [diff] [blame] | 933 | deps = [ |
Nicolas "Pixel" Noble | 203860a | 2016-12-29 01:38:26 +0100 | [diff] [blame] | 934 | "grpc_transport_chttp2", |
| 935 | "grpc_base", |
| 936 | "grpc_client_channel", |
Rob Earhart | af379b2 | 2016-01-21 13:43:09 -0800 | [diff] [blame] | 937 | ], |
Nicolas "Pixel" Noble | f6edf68 | 2015-03-31 05:17:34 +0200 | [diff] [blame] | 938 | ) |
| 939 | |
| 940 | |
Nicolas "Pixel" Noble | 203860a | 2016-12-29 01:38:26 +0100 | [diff] [blame] | 941 | grpc_cc_library( |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 942 | name = "grpc_transport_chttp2_client_insecure", |
| 943 | srcs = [ |
| 944 | "src/core/ext/transport/chttp2/client/insecure/channel_create.c", |
| 945 | "src/core/ext/transport/chttp2/client/insecure/channel_create_posix.c", |
| 946 | ], |
| 947 | language = "c", |
| 948 | deps = [ |
| 949 | "grpc_base", |
Nicolas "Pixel" Noble | 203860a | 2016-12-29 01:38:26 +0100 | [diff] [blame] | 950 | "grpc_client_channel", |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 951 | "grpc_transport_chttp2", |
Nicolas "Pixel" Noble | 203860a | 2016-12-29 01:38:26 +0100 | [diff] [blame] | 952 | "grpc_transport_chttp2_client_connector", |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 953 | ], |
Nicolas "Pixel" Noble | 7e7fd96 | 2016-10-20 22:00:08 +0200 | [diff] [blame] | 954 | ) |
| 955 | |
| 956 | grpc_cc_library( |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 957 | name = "grpc_transport_chttp2_client_secure", |
| 958 | srcs = [ |
| 959 | "src/core/ext/transport/chttp2/client/secure/secure_channel_create.c", |
| 960 | ], |
| 961 | language = "c", |
| 962 | deps = [ |
| 963 | "grpc_base", |
Nicolas "Pixel" Noble | 203860a | 2016-12-29 01:38:26 +0100 | [diff] [blame] | 964 | "grpc_client_channel", |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 965 | "grpc_secure", |
| 966 | "grpc_transport_chttp2", |
Nicolas "Pixel" Noble | 203860a | 2016-12-29 01:38:26 +0100 | [diff] [blame] | 967 | "grpc_transport_chttp2_client_connector", |
| 968 | ], |
Ming Zhao | 3c0ba0c | 2015-04-10 12:05:22 -0700 | [diff] [blame] | 969 | ) |
| 970 | |
Nicolas "Pixel" Noble | 203860a | 2016-12-29 01:38:26 +0100 | [diff] [blame] | 971 | grpc_cc_library( |
| 972 | name = "grpc_transport_chttp2_server", |
| 973 | srcs = [ |
| 974 | "src/core/ext/transport/chttp2/server/chttp2_server.c", |
| 975 | ], |
| 976 | hdrs = [ |
| 977 | "src/core/ext/transport/chttp2/server/chttp2_server.h", |
| 978 | ], |
| 979 | language = "c", |
| 980 | deps = [ |
| 981 | "grpc_base", |
| 982 | "grpc_transport_chttp2", |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 983 | ], |
Nicolas "Pixel" Noble | 7e7fd96 | 2016-10-20 22:00:08 +0200 | [diff] [blame] | 984 | ) |
| 985 | |
| 986 | grpc_cc_library( |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 987 | name = "grpc_transport_chttp2_server_insecure", |
| 988 | srcs = [ |
| 989 | "src/core/ext/transport/chttp2/server/insecure/server_chttp2.c", |
| 990 | "src/core/ext/transport/chttp2/server/insecure/server_chttp2_posix.c", |
| 991 | ], |
| 992 | language = "c", |
| 993 | deps = [ |
| 994 | "grpc_base", |
| 995 | "grpc_transport_chttp2", |
Nicolas "Pixel" Noble | 203860a | 2016-12-29 01:38:26 +0100 | [diff] [blame] | 996 | "grpc_transport_chttp2_server", |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 997 | ], |
Nicolas "Pixel" Noble | 7e7fd96 | 2016-10-20 22:00:08 +0200 | [diff] [blame] | 998 | ) |
| 999 | |
| 1000 | grpc_cc_library( |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 1001 | name = "grpc_transport_chttp2_server_secure", |
| 1002 | srcs = [ |
| 1003 | "src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.c", |
| 1004 | ], |
| 1005 | language = "c", |
| 1006 | deps = [ |
| 1007 | "grpc_base", |
| 1008 | "grpc_secure", |
| 1009 | "grpc_transport_chttp2", |
Nicolas "Pixel" Noble | 203860a | 2016-12-29 01:38:26 +0100 | [diff] [blame] | 1010 | "grpc_transport_chttp2_server", |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 1011 | ], |
Nicolas "Pixel" Noble | 7e7fd96 | 2016-10-20 22:00:08 +0200 | [diff] [blame] | 1012 | ) |
| 1013 | |
| 1014 | grpc_cc_library( |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 1015 | name = "grpc_transport_cronet_client_secure", |
| 1016 | srcs = [ |
| 1017 | "src/core/ext/transport/cronet/client/secure/cronet_channel_create.c", |
| 1018 | "src/core/ext/transport/cronet/transport/cronet_api_dummy.c", |
| 1019 | "src/core/ext/transport/cronet/transport/cronet_transport.c", |
| 1020 | ], |
| 1021 | hdrs = [ |
| 1022 | "third_party/objective_c/Cronet/cronet_c_for_grpc.h", |
| 1023 | ], |
| 1024 | language = "c", |
| 1025 | public_hdrs = [ |
| 1026 | "include/grpc/grpc_cronet.h", |
| 1027 | "include/grpc/grpc_security.h", |
| 1028 | "include/grpc/grpc_security_constants.h", |
| 1029 | ], |
| 1030 | deps = [ |
| 1031 | "grpc_base", |
| 1032 | "grpc_transport_chttp2", |
| 1033 | ], |
Nicolas "Pixel" Noble | 7e7fd96 | 2016-10-20 22:00:08 +0200 | [diff] [blame] | 1034 | ) |
| 1035 | |
| 1036 | grpc_cc_library( |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 1037 | name = "tsi", |
| 1038 | srcs = [ |
| 1039 | "src/core/lib/tsi/fake_transport_security.c", |
| 1040 | "src/core/lib/tsi/ssl_transport_security.c", |
| 1041 | "src/core/lib/tsi/transport_security.c", |
| 1042 | ], |
| 1043 | hdrs = [ |
| 1044 | "src/core/lib/tsi/fake_transport_security.h", |
| 1045 | "src/core/lib/tsi/ssl_transport_security.h", |
| 1046 | "src/core/lib/tsi/ssl_types.h", |
| 1047 | "src/core/lib/tsi/transport_security.h", |
| 1048 | "src/core/lib/tsi/transport_security_interface.h", |
| 1049 | ], |
| 1050 | external_deps = [ |
| 1051 | "libssl", |
| 1052 | ], |
| 1053 | language = "c", |
| 1054 | deps = [ |
| 1055 | "gpr", |
| 1056 | ], |
Nicolas "Pixel" Noble | f6edf68 | 2015-03-31 05:17:34 +0200 | [diff] [blame] | 1057 | ) |
| 1058 | |
Nicolas "Pixel" Noble | 31d11db | 2016-10-20 09:29:46 +0200 | [diff] [blame] | 1059 | grpc_cc_library( |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 1060 | name = "grpc++_base", |
| 1061 | srcs = [ |
| 1062 | "src/cpp/client/channel_cc.cc", |
| 1063 | "src/cpp/client/client_context.cc", |
| 1064 | "src/cpp/client/create_channel.cc", |
| 1065 | "src/cpp/client/create_channel_internal.cc", |
| 1066 | "src/cpp/client/create_channel_posix.cc", |
| 1067 | "src/cpp/client/credentials_cc.cc", |
| 1068 | "src/cpp/client/generic_stub.cc", |
| 1069 | "src/cpp/common/channel_arguments.cc", |
| 1070 | "src/cpp/common/channel_filter.cc", |
| 1071 | "src/cpp/common/completion_queue_cc.cc", |
| 1072 | "src/cpp/common/core_codegen.cc", |
| 1073 | "src/cpp/common/rpc_method.cc", |
| 1074 | "src/cpp/server/async_generic_service.cc", |
| 1075 | "src/cpp/server/create_default_thread_pool.cc", |
| 1076 | "src/cpp/server/dynamic_thread_pool.cc", |
| 1077 | "src/cpp/server/server_builder.cc", |
| 1078 | "src/cpp/server/server_cc.cc", |
| 1079 | "src/cpp/server/server_context.cc", |
| 1080 | "src/cpp/server/server_credentials.cc", |
| 1081 | "src/cpp/server/server_posix.cc", |
| 1082 | "src/cpp/util/byte_buffer_cc.cc", |
| 1083 | "src/cpp/util/slice_cc.cc", |
| 1084 | "src/cpp/util/status.cc", |
| 1085 | "src/cpp/util/string_ref.cc", |
| 1086 | "src/cpp/util/time_cc.cc", |
| 1087 | ], |
| 1088 | hdrs = [ |
| 1089 | "src/cpp/client/create_channel_internal.h", |
| 1090 | "src/cpp/common/channel_filter.h", |
| 1091 | "src/cpp/server/dynamic_thread_pool.h", |
| 1092 | "src/cpp/server/thread_pool_interface.h", |
Nicolas "Pixel" Noble | 203860a | 2016-12-29 01:38:26 +0100 | [diff] [blame] | 1093 | "src/cpp/thread_manager/thread_manager.h", |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 1094 | ], |
| 1095 | language = "c++", |
| 1096 | public_hdrs = [ |
| 1097 | "include/grpc++/alarm.h", |
| 1098 | "include/grpc++/channel.h", |
| 1099 | "include/grpc++/client_context.h", |
| 1100 | "include/grpc++/completion_queue.h", |
| 1101 | "include/grpc++/create_channel.h", |
| 1102 | "include/grpc++/create_channel_posix.h", |
| 1103 | "include/grpc++/generic/async_generic_service.h", |
| 1104 | "include/grpc++/generic/generic_stub.h", |
| 1105 | "include/grpc++/grpc++.h", |
| 1106 | "include/grpc++/impl/call.h", |
| 1107 | "include/grpc++/impl/client_unary_call.h", |
| 1108 | "include/grpc++/impl/codegen/core_codegen.h", |
| 1109 | "include/grpc++/impl/grpc_library.h", |
| 1110 | "include/grpc++/impl/method_handler_impl.h", |
| 1111 | "include/grpc++/impl/rpc_method.h", |
| 1112 | "include/grpc++/impl/rpc_service_method.h", |
| 1113 | "include/grpc++/impl/serialization_traits.h", |
| 1114 | "include/grpc++/impl/server_builder_option.h", |
| 1115 | "include/grpc++/impl/server_builder_plugin.h", |
| 1116 | "include/grpc++/impl/server_initializer.h", |
| 1117 | "include/grpc++/impl/service_type.h", |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 1118 | "include/grpc++/impl/sync_cxx11.h", |
| 1119 | "include/grpc++/impl/sync_no_cxx11.h", |
Nicolas "Pixel" Noble | 203860a | 2016-12-29 01:38:26 +0100 | [diff] [blame] | 1120 | "include/grpc++/resource_quota.h", |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 1121 | "include/grpc++/security/auth_context.h", |
| 1122 | "include/grpc++/security/auth_metadata_processor.h", |
| 1123 | "include/grpc++/security/credentials.h", |
| 1124 | "include/grpc++/security/server_credentials.h", |
| 1125 | "include/grpc++/server.h", |
| 1126 | "include/grpc++/server_builder.h", |
| 1127 | "include/grpc++/server_context.h", |
| 1128 | "include/grpc++/server_posix.h", |
| 1129 | "include/grpc++/support/async_stream.h", |
| 1130 | "include/grpc++/support/async_unary_call.h", |
| 1131 | "include/grpc++/support/byte_buffer.h", |
| 1132 | "include/grpc++/support/channel_arguments.h", |
| 1133 | "include/grpc++/support/config.h", |
| 1134 | "include/grpc++/support/slice.h", |
| 1135 | "include/grpc++/support/status.h", |
| 1136 | "include/grpc++/support/status_code_enum.h", |
| 1137 | "include/grpc++/support/string_ref.h", |
| 1138 | "include/grpc++/support/stub_options.h", |
| 1139 | "include/grpc++/support/sync_stream.h", |
| 1140 | "include/grpc++/support/time.h", |
| 1141 | ], |
| 1142 | deps = [ |
| 1143 | "grpc", |
| 1144 | "grpc++_codegen_base", |
| 1145 | ], |
Nicolas "Pixel" Noble | 7e7fd96 | 2016-10-20 22:00:08 +0200 | [diff] [blame] | 1146 | ) |
| 1147 | |
| 1148 | grpc_cc_library( |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 1149 | name = "grpc++_codegen_base", |
| 1150 | language = "c++", |
| 1151 | public_hdrs = [ |
| 1152 | "include/grpc++/impl/codegen/async_stream.h", |
| 1153 | "include/grpc++/impl/codegen/async_unary_call.h", |
| 1154 | "include/grpc++/impl/codegen/call.h", |
| 1155 | "include/grpc++/impl/codegen/call_hook.h", |
| 1156 | "include/grpc++/impl/codegen/channel_interface.h", |
| 1157 | "include/grpc++/impl/codegen/client_context.h", |
| 1158 | "include/grpc++/impl/codegen/client_unary_call.h", |
| 1159 | "include/grpc++/impl/codegen/completion_queue.h", |
| 1160 | "include/grpc++/impl/codegen/completion_queue_tag.h", |
| 1161 | "include/grpc++/impl/codegen/config.h", |
| 1162 | "include/grpc++/impl/codegen/core_codegen_interface.h", |
| 1163 | "include/grpc++/impl/codegen/create_auth_context.h", |
| 1164 | "include/grpc++/impl/codegen/grpc_library.h", |
| 1165 | "include/grpc++/impl/codegen/method_handler_impl.h", |
| 1166 | "include/grpc++/impl/codegen/rpc_method.h", |
| 1167 | "include/grpc++/impl/codegen/rpc_service_method.h", |
| 1168 | "include/grpc++/impl/codegen/security/auth_context.h", |
| 1169 | "include/grpc++/impl/codegen/serialization_traits.h", |
| 1170 | "include/grpc++/impl/codegen/server_context.h", |
| 1171 | "include/grpc++/impl/codegen/server_interface.h", |
| 1172 | "include/grpc++/impl/codegen/service_type.h", |
| 1173 | "include/grpc++/impl/codegen/status.h", |
| 1174 | "include/grpc++/impl/codegen/status_code_enum.h", |
| 1175 | "include/grpc++/impl/codegen/status_helper.h", |
| 1176 | "include/grpc++/impl/codegen/string_ref.h", |
| 1177 | "include/grpc++/impl/codegen/stub_options.h", |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 1178 | "include/grpc++/impl/codegen/sync_stream.h", |
| 1179 | "include/grpc++/impl/codegen/time.h", |
| 1180 | ], |
| 1181 | deps = [ |
| 1182 | "grpc_codegen", |
| 1183 | ], |
Ming Zhao | 3c0ba0c | 2015-04-10 12:05:22 -0700 | [diff] [blame] | 1184 | ) |
Nicolas "Pixel" Noble | 7e7fd96 | 2016-10-20 22:00:08 +0200 | [diff] [blame] | 1185 | |
| 1186 | grpc_cc_library( |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 1187 | name = "grpc++_codegen_base_src", |
| 1188 | srcs = [ |
| 1189 | "src/cpp/codegen/codegen_init.cc", |
| 1190 | ], |
| 1191 | language = "c++", |
| 1192 | deps = [ |
| 1193 | "grpc++_codegen_base", |
| 1194 | ], |
Nicolas "Pixel" Noble | 7e7fd96 | 2016-10-20 22:00:08 +0200 | [diff] [blame] | 1195 | ) |
| 1196 | |
| 1197 | grpc_cc_library( |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 1198 | name = "grpc++_codegen_proto", |
| 1199 | language = "c++", |
| 1200 | public_hdrs = [ |
| 1201 | "include/grpc++/impl/codegen/proto_utils.h", |
| 1202 | ], |
| 1203 | deps = [ |
| 1204 | "grpc++_codegen_base", |
| 1205 | "grpc++_config_proto", |
| 1206 | ], |
Nicolas "Pixel" Noble | 7e7fd96 | 2016-10-20 22:00:08 +0200 | [diff] [blame] | 1207 | ) |
| 1208 | |
| 1209 | grpc_cc_library( |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 1210 | name = "grpc++_config_proto", |
| 1211 | language = "c++", |
| 1212 | public_hdrs = [ |
| 1213 | "include/grpc++/impl/codegen/config_protobuf.h", |
| 1214 | ], |
Nicolas "Pixel" Noble | 7e7fd96 | 2016-10-20 22:00:08 +0200 | [diff] [blame] | 1215 | ) |
| 1216 | |
| 1217 | grpc_cc_library( |
Nicolas "Pixel" Noble | d58c375 | 2016-10-20 22:30:16 +0200 | [diff] [blame] | 1218 | name = "thrift_util", |
| 1219 | language = "c++", |
| 1220 | public_hdrs = [ |
| 1221 | "include/grpc++/impl/codegen/thrift_serializer.h", |
| 1222 | "include/grpc++/impl/codegen/thrift_utils.h", |
| 1223 | ], |
| 1224 | deps = [ |
| 1225 | "grpc++_codegen_base", |
| 1226 | ], |
Nicolas "Pixel" Noble | 7e7fd96 | 2016-10-20 22:00:08 +0200 | [diff] [blame] | 1227 | ) |