Damien Martin-Guillerez | f1ce35f | 2016-12-21 18:29:04 +0100 | [diff] [blame] | 1 | licenses(["unencumbered"]) |
| 2 | |
| 3 | package(default_visibility = ["//visibility:public"]) |
| 4 | |
| 5 | filegroup( |
| 6 | name = "srcs", |
| 7 | srcs = glob(["**"]), |
| 8 | ) |
| 9 | |
Yun Peng | 86445d4 | 2017-05-29 11:48:07 +0200 | [diff] [blame] | 10 | config_setting( |
| 11 | name = "windows", |
| 12 | values = { "cpu": "x64_windows" }, |
| 13 | ) |
| 14 | |
| 15 | config_setting( |
| 16 | name = "windows_msvc", |
| 17 | values = { "cpu": "x64_windows_msvc" }, |
| 18 | ) |
| 19 | |
Jakob Buchgraber | abc64dd | 2017-06-06 14:46:28 +0200 | [diff] [blame] | 20 | filegroup( |
| 21 | name = "bootstrap-grpc-jars", |
| 22 | srcs = [ |
Jakob Buchgraber | 74cea83 | 2017-05-29 09:56:22 +0200 | [diff] [blame] | 23 | "grpc-auth-1.3.0.jar", |
| 24 | "grpc-netty-1.3.0.jar", |
| 25 | "grpc-protobuf-1.3.0.jar", |
| 26 | "grpc-protobuf-lite-1.3.0.jar", |
| 27 | "grpc-stub-1.3.0.jar", |
| 28 | "grpc-core-1.3.0.jar", |
| 29 | "grpc-context-1.3.0.jar", |
| 30 | ], |
Jakob Buchgraber | abc64dd | 2017-06-06 14:46:28 +0200 | [diff] [blame] | 31 | ) |
| 32 | |
| 33 | java_import( |
| 34 | name = "grpc-jar", |
| 35 | jars = [":bootstrap-grpc-jars"], |
Jakob Buchgraber | 74cea83 | 2017-05-29 09:56:22 +0200 | [diff] [blame] | 36 | deps = [ |
| 37 | "//third_party:guava", |
| 38 | "//third_party:instrumentation", |
Damien Martin-Guillerez | f1ce35f | 2016-12-21 18:29:04 +0100 | [diff] [blame] | 39 | ], |
| 40 | runtime_deps = ["//third_party:netty"], |
| 41 | ) |
| 42 | |
| 43 | cc_binary( |
| 44 | name = "grpc-java-plugin", |
| 45 | srcs = [ |
| 46 | "compiler/src/java_plugin/cpp/java_generator.cpp", |
| 47 | "compiler/src/java_plugin/cpp/java_generator.h", |
| 48 | "compiler/src/java_plugin/cpp/java_plugin.cpp", |
| 49 | ], |
| 50 | copts = ["-w"], |
| 51 | deps = ["//third_party/protobuf:protoc_lib"], |
| 52 | ) |
| 53 | |
| 54 | cc_binary( |
| 55 | name = "cpp_plugin", |
| 56 | srcs = [ |
| 57 | "src/compiler/config.h", |
| 58 | "src/compiler/cpp_generator.cc", |
| 59 | "src/compiler/cpp_generator.h", |
| 60 | "src/compiler/cpp_generator_helpers.h", |
| 61 | "src/compiler/cpp_plugin.cc", |
| 62 | "src/compiler/generator_helpers.h", |
| 63 | ] + glob(["include/**/*.h"]), |
| 64 | copts = [ |
| 65 | "-Ithird_party/grpc/include", |
| 66 | "-Ithird_party/grpc", |
| 67 | ], |
| 68 | linkopts = [ |
| 69 | "-lm", |
| 70 | ], |
| 71 | visibility = ["//visibility:public"], |
| 72 | deps = ["//third_party/protobuf:protoc_lib"], |
| 73 | ) |
| 74 | |
| 75 | cc_library( |
| 76 | name = "grpc_unsecure", |
| 77 | srcs = [ |
| 78 | "src/core/census/aggregation.h", |
| 79 | "src/core/census/context.c", |
| 80 | "src/core/census/grpc_context.c", |
| 81 | "src/core/census/grpc_filter.c", |
| 82 | "src/core/census/grpc_filter.h", |
| 83 | "src/core/census/initialize.c", |
| 84 | "src/core/census/operation.c", |
| 85 | "src/core/census/placeholders.c", |
| 86 | "src/core/census/rpc_metric_id.h", |
| 87 | "src/core/census/tracing.c", |
| 88 | "src/core/channel/channel_args.c", |
| 89 | "src/core/channel/channel_args.h", |
| 90 | "src/core/channel/channel_stack.c", |
| 91 | "src/core/channel/channel_stack.h", |
| 92 | "src/core/channel/client_channel.c", |
| 93 | "src/core/channel/client_channel.h", |
| 94 | "src/core/channel/client_uchannel.c", |
| 95 | "src/core/channel/client_uchannel.h", |
| 96 | "src/core/channel/compress_filter.c", |
| 97 | "src/core/channel/compress_filter.h", |
| 98 | "src/core/channel/connected_channel.c", |
| 99 | "src/core/channel/connected_channel.h", |
| 100 | "src/core/channel/context.h", |
| 101 | "src/core/channel/http_client_filter.c", |
| 102 | "src/core/channel/http_client_filter.h", |
| 103 | "src/core/channel/http_server_filter.c", |
| 104 | "src/core/channel/http_server_filter.h", |
| 105 | "src/core/channel/subchannel_call_holder.c", |
| 106 | "src/core/channel/subchannel_call_holder.h", |
| 107 | "src/core/client_config/client_config.c", |
| 108 | "src/core/client_config/client_config.h", |
| 109 | "src/core/client_config/connector.c", |
| 110 | "src/core/client_config/connector.h", |
| 111 | "src/core/client_config/default_initial_connect_string.c", |
| 112 | "src/core/client_config/initial_connect_string.c", |
| 113 | "src/core/client_config/initial_connect_string.h", |
| 114 | "src/core/client_config/lb_policies/pick_first.c", |
| 115 | "src/core/client_config/lb_policies/pick_first.h", |
| 116 | "src/core/client_config/lb_policies/round_robin.c", |
| 117 | "src/core/client_config/lb_policies/round_robin.h", |
| 118 | "src/core/client_config/lb_policy.c", |
| 119 | "src/core/client_config/lb_policy.h", |
| 120 | "src/core/client_config/lb_policy_factory.c", |
| 121 | "src/core/client_config/lb_policy_factory.h", |
| 122 | "src/core/client_config/lb_policy_registry.c", |
| 123 | "src/core/client_config/lb_policy_registry.h", |
| 124 | "src/core/client_config/resolver.c", |
| 125 | "src/core/client_config/resolver.h", |
| 126 | "src/core/client_config/resolver_factory.c", |
| 127 | "src/core/client_config/resolver_factory.h", |
| 128 | "src/core/client_config/resolver_registry.c", |
| 129 | "src/core/client_config/resolver_registry.h", |
| 130 | "src/core/client_config/resolvers/dns_resolver.c", |
| 131 | "src/core/client_config/resolvers/dns_resolver.h", |
| 132 | "src/core/client_config/resolvers/sockaddr_resolver.c", |
| 133 | "src/core/client_config/resolvers/sockaddr_resolver.h", |
| 134 | "src/core/client_config/subchannel.c", |
| 135 | "src/core/client_config/subchannel.h", |
| 136 | "src/core/client_config/subchannel_factory.c", |
| 137 | "src/core/client_config/subchannel_factory.h", |
| 138 | "src/core/client_config/uri_parser.c", |
| 139 | "src/core/client_config/uri_parser.h", |
| 140 | "src/core/compression/algorithm.c", |
| 141 | "src/core/compression/algorithm_metadata.h", |
| 142 | "src/core/compression/message_compress.c", |
| 143 | "src/core/compression/message_compress.h", |
| 144 | "src/core/debug/trace.c", |
| 145 | "src/core/debug/trace.h", |
| 146 | "src/core/httpcli/format_request.c", |
| 147 | "src/core/httpcli/format_request.h", |
| 148 | "src/core/httpcli/httpcli.c", |
| 149 | "src/core/httpcli/httpcli.h", |
| 150 | "src/core/httpcli/parser.c", |
| 151 | "src/core/httpcli/parser.h", |
| 152 | "src/core/iomgr/closure.c", |
| 153 | "src/core/iomgr/closure.h", |
| 154 | "src/core/iomgr/endpoint.c", |
| 155 | "src/core/iomgr/endpoint.h", |
| 156 | "src/core/iomgr/endpoint_pair.h", |
| 157 | "src/core/iomgr/endpoint_pair_posix.c", |
| 158 | "src/core/iomgr/endpoint_pair_windows.c", |
| 159 | "src/core/iomgr/exec_ctx.c", |
| 160 | "src/core/iomgr/exec_ctx.h", |
| 161 | "src/core/iomgr/executor.c", |
| 162 | "src/core/iomgr/executor.h", |
| 163 | "src/core/iomgr/fd_posix.c", |
| 164 | "src/core/iomgr/fd_posix.h", |
| 165 | "src/core/iomgr/iocp_windows.c", |
| 166 | "src/core/iomgr/iocp_windows.h", |
| 167 | "src/core/iomgr/iomgr.c", |
| 168 | "src/core/iomgr/iomgr.h", |
| 169 | "src/core/iomgr/iomgr_internal.h", |
| 170 | "src/core/iomgr/iomgr_posix.c", |
| 171 | "src/core/iomgr/iomgr_posix.h", |
| 172 | "src/core/iomgr/iomgr_windows.c", |
| 173 | "src/core/iomgr/pollset.h", |
| 174 | "src/core/iomgr/pollset_multipoller_with_epoll.c", |
| 175 | "src/core/iomgr/pollset_multipoller_with_poll_posix.c", |
| 176 | "src/core/iomgr/pollset_posix.c", |
| 177 | "src/core/iomgr/pollset_posix.h", |
| 178 | "src/core/iomgr/pollset_set.h", |
| 179 | "src/core/iomgr/pollset_set_posix.c", |
| 180 | "src/core/iomgr/pollset_set_posix.h", |
| 181 | "src/core/iomgr/pollset_set_windows.c", |
| 182 | "src/core/iomgr/pollset_set_windows.h", |
| 183 | "src/core/iomgr/pollset_windows.c", |
| 184 | "src/core/iomgr/pollset_windows.h", |
| 185 | "src/core/iomgr/resolve_address.h", |
| 186 | "src/core/iomgr/resolve_address_posix.c", |
| 187 | "src/core/iomgr/resolve_address_windows.c", |
| 188 | "src/core/iomgr/sockaddr.h", |
| 189 | "src/core/iomgr/sockaddr_posix.h", |
| 190 | "src/core/iomgr/sockaddr_utils.c", |
| 191 | "src/core/iomgr/sockaddr_utils.h", |
| 192 | "src/core/iomgr/sockaddr_win32.h", |
| 193 | "src/core/iomgr/socket_utils_common_posix.c", |
| 194 | "src/core/iomgr/socket_utils_linux.c", |
| 195 | "src/core/iomgr/socket_utils_posix.c", |
| 196 | "src/core/iomgr/socket_utils_posix.h", |
| 197 | "src/core/iomgr/socket_windows.c", |
| 198 | "src/core/iomgr/socket_windows.h", |
| 199 | "src/core/iomgr/tcp_client.h", |
| 200 | "src/core/iomgr/tcp_client_posix.c", |
| 201 | "src/core/iomgr/tcp_client_windows.c", |
| 202 | "src/core/iomgr/tcp_posix.c", |
| 203 | "src/core/iomgr/tcp_posix.h", |
| 204 | "src/core/iomgr/tcp_server.h", |
| 205 | "src/core/iomgr/tcp_server_posix.c", |
| 206 | "src/core/iomgr/tcp_server_windows.c", |
| 207 | "src/core/iomgr/tcp_windows.c", |
| 208 | "src/core/iomgr/tcp_windows.h", |
| 209 | "src/core/iomgr/time_averaged_stats.c", |
| 210 | "src/core/iomgr/time_averaged_stats.h", |
| 211 | "src/core/iomgr/timer.c", |
| 212 | "src/core/iomgr/timer.h", |
| 213 | "src/core/iomgr/timer_heap.c", |
| 214 | "src/core/iomgr/timer_heap.h", |
| 215 | "src/core/iomgr/timer_internal.h", |
| 216 | "src/core/iomgr/udp_server.c", |
| 217 | "src/core/iomgr/udp_server.h", |
| 218 | "src/core/iomgr/wakeup_fd_eventfd.c", |
| 219 | "src/core/iomgr/wakeup_fd_nospecial.c", |
| 220 | "src/core/iomgr/wakeup_fd_pipe.c", |
| 221 | "src/core/iomgr/wakeup_fd_pipe.h", |
| 222 | "src/core/iomgr/wakeup_fd_posix.c", |
| 223 | "src/core/iomgr/wakeup_fd_posix.h", |
| 224 | "src/core/iomgr/workqueue.h", |
| 225 | "src/core/iomgr/workqueue_posix.c", |
| 226 | "src/core/iomgr/workqueue_posix.h", |
| 227 | "src/core/iomgr/workqueue_windows.c", |
| 228 | "src/core/iomgr/workqueue_windows.h", |
| 229 | "src/core/json/json.c", |
| 230 | "src/core/json/json.h", |
| 231 | "src/core/json/json_common.h", |
| 232 | "src/core/json/json_reader.c", |
| 233 | "src/core/json/json_reader.h", |
| 234 | "src/core/json/json_string.c", |
| 235 | "src/core/json/json_writer.c", |
| 236 | "src/core/json/json_writer.h", |
| 237 | "src/core/profiling/basic_timers.c", |
| 238 | "src/core/profiling/stap_timers.c", |
| 239 | "src/core/profiling/timers.h", |
| 240 | "src/core/statistics/census_interface.h", |
| 241 | "src/core/statistics/census_rpc_stats.h", |
| 242 | "src/core/support/alloc.c", |
| 243 | "src/core/support/avl.c", |
| 244 | "src/core/support/block_annotate.h", |
| 245 | "src/core/support/cmdline.c", |
| 246 | "src/core/support/cpu_iphone.c", |
| 247 | "src/core/support/cpu_linux.c", |
| 248 | "src/core/support/cpu_posix.c", |
| 249 | "src/core/support/cpu_windows.c", |
| 250 | "src/core/support/env.h", |
| 251 | "src/core/support/env_linux.c", |
| 252 | "src/core/support/env_posix.c", |
| 253 | "src/core/support/env_win32.c", |
| 254 | "src/core/support/file.c", |
| 255 | "src/core/support/file.h", |
| 256 | "src/core/support/file_posix.c", |
| 257 | "src/core/support/file_win32.c", |
| 258 | "src/core/support/histogram.c", |
| 259 | "src/core/support/host_port.c", |
| 260 | "src/core/support/log.c", |
| 261 | "src/core/support/log_android.c", |
| 262 | "src/core/support/log_linux.c", |
| 263 | "src/core/support/log_posix.c", |
| 264 | "src/core/support/log_win32.c", |
| 265 | "src/core/support/murmur_hash.c", |
| 266 | "src/core/support/murmur_hash.h", |
| 267 | "src/core/support/slice.c", |
| 268 | "src/core/support/slice_buffer.c", |
| 269 | "src/core/support/stack_lockfree.c", |
| 270 | "src/core/support/stack_lockfree.h", |
| 271 | "src/core/support/string.c", |
| 272 | "src/core/support/string.h", |
| 273 | "src/core/support/string_posix.c", |
| 274 | "src/core/support/string_win32.c", |
| 275 | "src/core/support/string_win32.h", |
| 276 | "src/core/support/subprocess_posix.c", |
| 277 | "src/core/support/subprocess_windows.c", |
| 278 | "src/core/support/sync.c", |
| 279 | "src/core/support/sync_posix.c", |
| 280 | "src/core/support/sync_win32.c", |
| 281 | "src/core/support/thd.c", |
| 282 | "src/core/support/thd_internal.h", |
| 283 | "src/core/support/thd_posix.c", |
| 284 | "src/core/support/thd_win32.c", |
| 285 | "src/core/support/time.c", |
| 286 | "src/core/support/time_posix.c", |
| 287 | "src/core/support/time_precise.c", |
| 288 | "src/core/support/time_precise.h", |
| 289 | "src/core/support/time_win32.c", |
| 290 | "src/core/support/tls_pthread.c", |
| 291 | "src/core/support/wrap_memcpy.c", |
| 292 | "src/core/surface/alarm.c", |
| 293 | "src/core/surface/api_trace.c", |
| 294 | "src/core/surface/api_trace.h", |
| 295 | "src/core/surface/byte_buffer.c", |
| 296 | "src/core/surface/byte_buffer_reader.c", |
| 297 | "src/core/surface/call.c", |
| 298 | "src/core/surface/call.h", |
| 299 | "src/core/surface/call_details.c", |
| 300 | "src/core/surface/call_log_batch.c", |
| 301 | "src/core/surface/call_test_only.h", |
| 302 | "src/core/surface/channel.c", |
| 303 | "src/core/surface/channel.h", |
| 304 | "src/core/surface/channel_connectivity.c", |
| 305 | "src/core/surface/channel_create.c", |
| 306 | "src/core/surface/channel_ping.c", |
| 307 | "src/core/surface/completion_queue.c", |
| 308 | "src/core/surface/completion_queue.h", |
| 309 | "src/core/surface/event_string.c", |
| 310 | "src/core/surface/event_string.h", |
| 311 | "src/core/surface/init.c", |
| 312 | "src/core/surface/init.h", |
| 313 | "src/core/surface/init_unsecure.c", |
| 314 | "src/core/surface/lame_client.c", |
| 315 | "src/core/surface/metadata_array.c", |
| 316 | "src/core/surface/server.c", |
| 317 | "src/core/surface/server.h", |
| 318 | "src/core/surface/server_chttp2.c", |
| 319 | "src/core/surface/server_create.c", |
| 320 | "src/core/surface/surface_trace.h", |
| 321 | "src/core/surface/validate_metadata.c", |
| 322 | "src/core/surface/version.c", |
| 323 | "src/core/transport/byte_stream.c", |
| 324 | "src/core/transport/byte_stream.h", |
| 325 | "src/core/transport/chttp2/alpn.c", |
| 326 | "src/core/transport/chttp2/alpn.h", |
| 327 | "src/core/transport/chttp2/bin_encoder.c", |
| 328 | "src/core/transport/chttp2/bin_encoder.h", |
| 329 | "src/core/transport/chttp2/frame.h", |
| 330 | "src/core/transport/chttp2/frame_data.c", |
| 331 | "src/core/transport/chttp2/frame_data.h", |
| 332 | "src/core/transport/chttp2/frame_goaway.c", |
| 333 | "src/core/transport/chttp2/frame_goaway.h", |
| 334 | "src/core/transport/chttp2/frame_ping.c", |
| 335 | "src/core/transport/chttp2/frame_ping.h", |
| 336 | "src/core/transport/chttp2/frame_rst_stream.c", |
| 337 | "src/core/transport/chttp2/frame_rst_stream.h", |
| 338 | "src/core/transport/chttp2/frame_settings.c", |
| 339 | "src/core/transport/chttp2/frame_settings.h", |
| 340 | "src/core/transport/chttp2/frame_window_update.c", |
| 341 | "src/core/transport/chttp2/frame_window_update.h", |
| 342 | "src/core/transport/chttp2/hpack_encoder.c", |
| 343 | "src/core/transport/chttp2/hpack_encoder.h", |
| 344 | "src/core/transport/chttp2/hpack_parser.c", |
| 345 | "src/core/transport/chttp2/hpack_parser.h", |
| 346 | "src/core/transport/chttp2/hpack_table.c", |
| 347 | "src/core/transport/chttp2/hpack_table.h", |
| 348 | "src/core/transport/chttp2/http2_errors.h", |
| 349 | "src/core/transport/chttp2/huffsyms.c", |
| 350 | "src/core/transport/chttp2/huffsyms.h", |
| 351 | "src/core/transport/chttp2/incoming_metadata.c", |
| 352 | "src/core/transport/chttp2/incoming_metadata.h", |
| 353 | "src/core/transport/chttp2/internal.h", |
| 354 | "src/core/transport/chttp2/parsing.c", |
| 355 | "src/core/transport/chttp2/status_conversion.c", |
| 356 | "src/core/transport/chttp2/status_conversion.h", |
| 357 | "src/core/transport/chttp2/stream_lists.c", |
| 358 | "src/core/transport/chttp2/stream_map.c", |
| 359 | "src/core/transport/chttp2/stream_map.h", |
| 360 | "src/core/transport/chttp2/timeout_encoding.c", |
| 361 | "src/core/transport/chttp2/timeout_encoding.h", |
| 362 | "src/core/transport/chttp2/varint.c", |
| 363 | "src/core/transport/chttp2/varint.h", |
| 364 | "src/core/transport/chttp2/writing.c", |
| 365 | "src/core/transport/chttp2_transport.c", |
| 366 | "src/core/transport/chttp2_transport.h", |
| 367 | "src/core/transport/connectivity_state.c", |
| 368 | "src/core/transport/connectivity_state.h", |
| 369 | "src/core/transport/metadata.c", |
| 370 | "src/core/transport/metadata.h", |
| 371 | "src/core/transport/metadata_batch.c", |
| 372 | "src/core/transport/metadata_batch.h", |
| 373 | "src/core/transport/static_metadata.c", |
| 374 | "src/core/transport/static_metadata.h", |
| 375 | "src/core/transport/transport.c", |
| 376 | "src/core/transport/transport.h", |
| 377 | "src/core/transport/transport_impl.h", |
| 378 | "src/core/transport/transport_op_string.c", |
| 379 | ], |
| 380 | hdrs = [ |
| 381 | "include/grpc/byte_buffer.h", |
| 382 | "include/grpc/byte_buffer_reader.h", |
| 383 | "include/grpc/census.h", |
| 384 | "include/grpc/compression.h", |
| 385 | "include/grpc/grpc.h", |
| 386 | "include/grpc/impl/codegen/alloc.h", |
| 387 | "include/grpc/impl/codegen/atm.h", |
| 388 | "include/grpc/impl/codegen/atm_gcc_atomic.h", |
| 389 | "include/grpc/impl/codegen/atm_gcc_sync.h", |
| 390 | "include/grpc/impl/codegen/atm_win32.h", |
| 391 | "include/grpc/impl/codegen/byte_buffer.h", |
| 392 | "include/grpc/impl/codegen/compression_types.h", |
| 393 | "include/grpc/impl/codegen/connectivity_state.h", |
| 394 | "include/grpc/impl/codegen/grpc_types.h", |
| 395 | "include/grpc/impl/codegen/log.h", |
| 396 | "include/grpc/impl/codegen/port_platform.h", |
| 397 | "include/grpc/impl/codegen/propagation_bits.h", |
| 398 | "include/grpc/impl/codegen/slice.h", |
| 399 | "include/grpc/impl/codegen/slice_buffer.h", |
| 400 | "include/grpc/impl/codegen/status.h", |
| 401 | "include/grpc/impl/codegen/sync.h", |
| 402 | "include/grpc/impl/codegen/sync_generic.h", |
| 403 | "include/grpc/impl/codegen/sync_posix.h", |
| 404 | "include/grpc/impl/codegen/sync_win32.h", |
| 405 | "include/grpc/impl/codegen/time.h", |
| 406 | "include/grpc/status.h", |
| 407 | "include/grpc/support/alloc.h", |
| 408 | "include/grpc/support/atm.h", |
| 409 | "include/grpc/support/atm_gcc_atomic.h", |
| 410 | "include/grpc/support/atm_gcc_sync.h", |
| 411 | "include/grpc/support/atm_win32.h", |
| 412 | "include/grpc/support/avl.h", |
| 413 | "include/grpc/support/cmdline.h", |
| 414 | "include/grpc/support/cpu.h", |
| 415 | "include/grpc/support/histogram.h", |
| 416 | "include/grpc/support/host_port.h", |
| 417 | "include/grpc/support/log.h", |
| 418 | "include/grpc/support/log_win32.h", |
| 419 | "include/grpc/support/port_platform.h", |
| 420 | "include/grpc/support/slice.h", |
| 421 | "include/grpc/support/slice_buffer.h", |
| 422 | "include/grpc/support/string_util.h", |
| 423 | "include/grpc/support/subprocess.h", |
| 424 | "include/grpc/support/sync.h", |
| 425 | "include/grpc/support/sync_generic.h", |
| 426 | "include/grpc/support/sync_posix.h", |
| 427 | "include/grpc/support/sync_win32.h", |
| 428 | "include/grpc/support/thd.h", |
| 429 | "include/grpc/support/time.h", |
| 430 | "include/grpc/support/tls.h", |
| 431 | "include/grpc/support/tls_gcc.h", |
| 432 | "include/grpc/support/tls_msvc.h", |
| 433 | "include/grpc/support/tls_pthread.h", |
| 434 | "include/grpc/support/useful.h", |
| 435 | ], |
Yun Peng | 86445d4 | 2017-05-29 11:48:07 +0200 | [diff] [blame] | 436 | copts = select({ |
| 437 | "//conditions:default": [ |
| 438 | "-std=gnu99", |
| 439 | "-Wimplicit-function-declaration", |
| 440 | ], |
| 441 | ":windows": ["/we4013"], |
| 442 | ":windows_msvc": ["/we4013"], |
| 443 | }), |
Damien Martin-Guillerez | f1ce35f | 2016-12-21 18:29:04 +0100 | [diff] [blame] | 444 | includes = [ |
| 445 | ".", |
| 446 | "include", |
| 447 | ], |
| 448 | deps = [ |
| 449 | "//third_party/zlib", |
| 450 | ], |
| 451 | ) |
| 452 | |
| 453 | cc_library( |
| 454 | name = "grpc++_unsecure", |
| 455 | srcs = [ |
| 456 | "src/cpp/client/channel.cc", |
| 457 | "src/cpp/client/client_context.cc", |
| 458 | "src/cpp/client/create_channel.cc", |
| 459 | "src/cpp/client/create_channel_internal.cc", |
| 460 | "src/cpp/client/create_channel_internal.h", |
| 461 | "src/cpp/client/credentials.cc", |
| 462 | "src/cpp/client/generic_stub.cc", |
| 463 | "src/cpp/client/insecure_credentials.cc", |
| 464 | "src/cpp/codegen/grpc_library.cc", |
| 465 | "src/cpp/common/call.cc", |
| 466 | "src/cpp/common/channel_arguments.cc", |
| 467 | "src/cpp/common/completion_queue.cc", |
| 468 | "src/cpp/common/create_auth_context.h", |
| 469 | "src/cpp/common/insecure_create_auth_context.cc", |
| 470 | "src/cpp/common/rpc_method.cc", |
| 471 | "src/cpp/proto/proto_utils.cc", |
| 472 | "src/cpp/server/async_generic_service.cc", |
| 473 | "src/cpp/server/create_default_thread_pool.cc", |
| 474 | "src/cpp/server/dynamic_thread_pool.cc", |
| 475 | "src/cpp/server/dynamic_thread_pool.h", |
| 476 | "src/cpp/server/fixed_size_thread_pool.cc", |
| 477 | "src/cpp/server/fixed_size_thread_pool.h", |
| 478 | "src/cpp/server/insecure_server_credentials.cc", |
| 479 | "src/cpp/server/server.cc", |
| 480 | "src/cpp/server/server_builder.cc", |
| 481 | "src/cpp/server/server_context.cc", |
| 482 | "src/cpp/server/server_credentials.cc", |
| 483 | "src/cpp/server/thread_pool_interface.h", |
| 484 | "src/cpp/util/byte_buffer.cc", |
| 485 | "src/cpp/util/slice.cc", |
| 486 | "src/cpp/util/status.cc", |
| 487 | "src/cpp/util/string_ref.cc", |
| 488 | "src/cpp/util/time.cc", |
| 489 | ], |
| 490 | hdrs = [ |
| 491 | "include/grpc++/channel.h", |
| 492 | "include/grpc++/client_context.h", |
| 493 | "include/grpc++/completion_queue.h", |
| 494 | "include/grpc++/create_channel.h", |
| 495 | "include/grpc++/generic/async_generic_service.h", |
| 496 | "include/grpc++/generic/generic_stub.h", |
| 497 | "include/grpc++/grpc++.h", |
| 498 | "include/grpc++/impl/call.h", |
| 499 | "include/grpc++/impl/client_unary_call.h", |
| 500 | "include/grpc++/impl/codegen/async_stream.h", |
| 501 | "include/grpc++/impl/codegen/async_unary_call.h", |
| 502 | "include/grpc++/impl/codegen/call.h", |
| 503 | "include/grpc++/impl/codegen/call_hook.h", |
| 504 | "include/grpc++/impl/codegen/channel_interface.h", |
| 505 | "include/grpc++/impl/codegen/client_context.h", |
| 506 | "include/grpc++/impl/codegen/client_unary_call.h", |
| 507 | "include/grpc++/impl/codegen/completion_queue.h", |
| 508 | "include/grpc++/impl/codegen/completion_queue_tag.h", |
| 509 | "include/grpc++/impl/codegen/config.h", |
| 510 | "include/grpc++/impl/codegen/config_protobuf.h", |
| 511 | "include/grpc++/impl/codegen/grpc_library.h", |
| 512 | "include/grpc++/impl/codegen/method_handler_impl.h", |
| 513 | "include/grpc++/impl/codegen/proto_utils.h", |
| 514 | "include/grpc++/impl/codegen/rpc_method.h", |
| 515 | "include/grpc++/impl/codegen/rpc_service_method.h", |
| 516 | "include/grpc++/impl/codegen/security/auth_context.h", |
| 517 | "include/grpc++/impl/codegen/serialization_traits.h", |
| 518 | "include/grpc++/impl/codegen/server_context.h", |
| 519 | "include/grpc++/impl/codegen/server_interface.h", |
| 520 | "include/grpc++/impl/codegen/service_type.h", |
| 521 | "include/grpc++/impl/codegen/status.h", |
| 522 | "include/grpc++/impl/codegen/status_code_enum.h", |
| 523 | "include/grpc++/impl/codegen/string_ref.h", |
| 524 | "include/grpc++/impl/codegen/stub_options.h", |
| 525 | "include/grpc++/impl/codegen/sync.h", |
| 526 | "include/grpc++/impl/codegen/sync_cxx11.h", |
| 527 | "include/grpc++/impl/codegen/sync_no_cxx11.h", |
| 528 | "include/grpc++/impl/codegen/sync_stream.h", |
| 529 | "include/grpc++/impl/codegen/time.h", |
| 530 | "include/grpc++/impl/grpc_library.h", |
| 531 | "include/grpc++/impl/method_handler_impl.h", |
| 532 | "include/grpc++/impl/proto_utils.h", |
| 533 | "include/grpc++/impl/rpc_method.h", |
| 534 | "include/grpc++/impl/rpc_service_method.h", |
| 535 | "include/grpc++/impl/serialization_traits.h", |
| 536 | "include/grpc++/impl/server_builder_option.h", |
| 537 | "include/grpc++/impl/service_type.h", |
| 538 | "include/grpc++/impl/sync.h", |
| 539 | "include/grpc++/impl/sync_cxx11.h", |
| 540 | "include/grpc++/impl/sync_no_cxx11.h", |
| 541 | "include/grpc++/impl/thd.h", |
| 542 | "include/grpc++/impl/thd_cxx11.h", |
| 543 | "include/grpc++/impl/thd_no_cxx11.h", |
| 544 | "include/grpc++/security/auth_context.h", |
| 545 | "include/grpc++/security/auth_metadata_processor.h", |
| 546 | "include/grpc++/security/credentials.h", |
| 547 | "include/grpc++/security/server_credentials.h", |
| 548 | "include/grpc++/server.h", |
| 549 | "include/grpc++/server_builder.h", |
| 550 | "include/grpc++/server_context.h", |
| 551 | "include/grpc++/support/async_stream.h", |
| 552 | "include/grpc++/support/async_unary_call.h", |
| 553 | "include/grpc++/support/byte_buffer.h", |
| 554 | "include/grpc++/support/channel_arguments.h", |
| 555 | "include/grpc++/support/config.h", |
| 556 | "include/grpc++/support/config_protobuf.h", |
| 557 | "include/grpc++/support/slice.h", |
| 558 | "include/grpc++/support/status.h", |
| 559 | "include/grpc++/support/status_code_enum.h", |
| 560 | "include/grpc++/support/string_ref.h", |
| 561 | "include/grpc++/support/stub_options.h", |
| 562 | "include/grpc++/support/sync_stream.h", |
| 563 | "include/grpc++/support/time.h", |
| 564 | ], |
| 565 | deps = [ |
| 566 | ":grpc_unsecure", |
Carmi Grushko | f19aa21 | 2017-02-10 12:28:22 -0500 | [diff] [blame] | 567 | "//third_party/protobuf:protobuf", |
Damien Martin-Guillerez | f1ce35f | 2016-12-21 18:29:04 +0100 | [diff] [blame] | 568 | ], |
| 569 | ) |