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