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