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