blob: 2f58e29f75a107336c45913f724a456789acf4a2 [file] [log] [blame]
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +02001# GRPC Bazel BUILD file.
2# This currently builds C and C++ code.
Nicolas "Pixel" Nobled49893d2015-04-21 04:57:45 +02003# This file has been automatically generated from a template file.
4# Please look at the templates directory instead.
murgatroid99f680af02015-06-22 11:20:24 -07005# This file can be regenerated from the template by running
6# tools/buildgen/generate_projects.sh
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +02007
8# Copyright 2015, Google Inc.
9# All rights reserved.
10#
11# Redistribution and use in source and binary forms, with or without
12# modification, are permitted provided that the following conditions are
13# met:
14#
15# * Redistributions of source code must retain the above copyright
16# notice, this list of conditions and the following disclaimer.
17# * Redistributions in binary form must reproduce the above
18# copyright notice, this list of conditions and the following disclaimer
19# in the documentation and/or other materials provided with the
20# distribution.
21# * Neither the name of Google Inc. nor the names of its
22# contributors may be used to endorse or promote products derived from
23# this software without specific prior written permission.
24#
25# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
26# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
27# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
28# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
29# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
30# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
31# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
32# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
33# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
34# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
35# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
36
37licenses(["notice"]) # 3-clause BSD
38
Ming Zhao3c0ba0c2015-04-10 12:05:22 -070039package(default_visibility = ["//visibility:public"])
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +020040
41
42
43
44cc_library(
Ming Zhao3c0ba0c2015-04-10 12:05:22 -070045 name = "gpr",
46 srcs = [
47 "src/core/support/env.h",
48 "src/core/support/file.h",
49 "src/core/support/murmur_hash.h",
50 "src/core/support/string.h",
51 "src/core/support/string_win32.h",
52 "src/core/support/thd_internal.h",
53 "src/core/support/alloc.c",
54 "src/core/support/cancellable.c",
55 "src/core/support/cmdline.c",
56 "src/core/support/cpu_iphone.c",
57 "src/core/support/cpu_linux.c",
58 "src/core/support/cpu_posix.c",
59 "src/core/support/cpu_windows.c",
60 "src/core/support/env_linux.c",
61 "src/core/support/env_posix.c",
62 "src/core/support/env_win32.c",
63 "src/core/support/file.c",
64 "src/core/support/file_posix.c",
65 "src/core/support/file_win32.c",
66 "src/core/support/histogram.c",
67 "src/core/support/host_port.c",
68 "src/core/support/log.c",
69 "src/core/support/log_android.c",
70 "src/core/support/log_linux.c",
71 "src/core/support/log_posix.c",
72 "src/core/support/log_win32.c",
73 "src/core/support/murmur_hash.c",
74 "src/core/support/slice.c",
75 "src/core/support/slice_buffer.c",
76 "src/core/support/string.c",
77 "src/core/support/string_posix.c",
78 "src/core/support/string_win32.c",
Craig Tillerc21a8092015-05-15 10:03:40 -070079 "src/core/support/subprocess_posix.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -070080 "src/core/support/sync.c",
81 "src/core/support/sync_posix.c",
82 "src/core/support/sync_win32.c",
83 "src/core/support/thd.c",
84 "src/core/support/thd_posix.c",
85 "src/core/support/thd_win32.c",
86 "src/core/support/time.c",
87 "src/core/support/time_posix.c",
88 "src/core/support/time_win32.c",
Craig Tilleree210ab2015-05-15 10:32:28 -070089 "src/core/support/tls_pthread.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -070090 ],
91 hdrs = [
92 "include/grpc/support/alloc.h",
93 "include/grpc/support/atm.h",
94 "include/grpc/support/atm_gcc_atomic.h",
95 "include/grpc/support/atm_gcc_sync.h",
96 "include/grpc/support/atm_win32.h",
97 "include/grpc/support/cancellable_platform.h",
98 "include/grpc/support/cmdline.h",
99 "include/grpc/support/cpu.h",
100 "include/grpc/support/histogram.h",
101 "include/grpc/support/host_port.h",
102 "include/grpc/support/log.h",
103 "include/grpc/support/log_win32.h",
104 "include/grpc/support/port_platform.h",
105 "include/grpc/support/slice.h",
106 "include/grpc/support/slice_buffer.h",
Masood Malekghassemi701af602015-06-03 15:01:17 -0700107 "include/grpc/support/string_util.h",
Craig Tiller685f1e62015-05-15 11:40:59 -0700108 "include/grpc/support/subprocess.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700109 "include/grpc/support/sync.h",
110 "include/grpc/support/sync_generic.h",
111 "include/grpc/support/sync_posix.h",
112 "include/grpc/support/sync_win32.h",
113 "include/grpc/support/thd.h",
114 "include/grpc/support/time.h",
Yang Gaob0b518e2015-04-13 14:53:25 -0700115 "include/grpc/support/tls.h",
116 "include/grpc/support/tls_gcc.h",
117 "include/grpc/support/tls_msvc.h",
118 "include/grpc/support/tls_pthread.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700119 "include/grpc/support/useful.h",
120 ],
121 includes = [
122 "include",
123 ".",
124 ],
125 deps = [
126 ],
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +0200127)
128
129
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +0200130cc_library(
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700131 name = "grpc",
132 srcs = [
133 "src/core/httpcli/format_request.h",
134 "src/core/httpcli/httpcli.h",
Julien Boeuf7d1d9ca2015-04-17 14:38:48 -0700135 "src/core/httpcli/httpcli_security_connector.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700136 "src/core/httpcli/parser.h",
Julien Boeufc6f8d0a2015-05-11 22:40:02 -0700137 "src/core/security/auth_filters.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700138 "src/core/security/base64.h",
139 "src/core/security/credentials.h",
140 "src/core/security/json_token.h",
141 "src/core/security/secure_endpoint.h",
142 "src/core/security/secure_transport_setup.h",
Julien Boeuf7d1d9ca2015-04-17 14:38:48 -0700143 "src/core/security/security_connector.h",
Julien Boeufd7f768b2015-05-08 16:37:16 -0700144 "src/core/security/security_context.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700145 "src/core/tsi/fake_transport_security.h",
146 "src/core/tsi/ssl_transport_security.h",
147 "src/core/tsi/transport_security.h",
148 "src/core/tsi/transport_security_interface.h",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700149 "src/core/census/grpc_context.h",
murgatroid997da8b1a2015-06-17 12:37:34 -0700150 "src/core/channel/census_filter.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700151 "src/core/channel/channel_args.h",
152 "src/core/channel/channel_stack.h",
153 "src/core/channel/child_channel.h",
154 "src/core/channel/client_channel.h",
155 "src/core/channel/client_setup.h",
156 "src/core/channel/connected_channel.h",
murgatroid997da8b1a2015-06-17 12:37:34 -0700157 "src/core/channel/context.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700158 "src/core/channel/http_client_filter.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700159 "src/core/channel/http_server_filter.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700160 "src/core/channel/noop_filter.h",
Craig Tilleraf691802015-06-23 14:57:07 -0700161 "src/core/client_config/client_config.h",
162 "src/core/client_config/lb_policy.h",
163 "src/core/client_config/resolver.h",
164 "src/core/client_config/subchannel.h",
165 "src/core/client_config/subchannel_factory.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700166 "src/core/compression/message_compress.h",
167 "src/core/debug/trace.h",
168 "src/core/iomgr/alarm.h",
169 "src/core/iomgr/alarm_heap.h",
170 "src/core/iomgr/alarm_internal.h",
171 "src/core/iomgr/endpoint.h",
172 "src/core/iomgr/endpoint_pair.h",
173 "src/core/iomgr/fd_posix.h",
174 "src/core/iomgr/iocp_windows.h",
175 "src/core/iomgr/iomgr.h",
176 "src/core/iomgr/iomgr_internal.h",
177 "src/core/iomgr/iomgr_posix.h",
178 "src/core/iomgr/pollset.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700179 "src/core/iomgr/pollset_kick_posix.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700180 "src/core/iomgr/pollset_posix.h",
Jorge Canizalesfe8ad732015-06-20 19:53:59 -0700181 "src/core/iomgr/pollset_set.h",
Craig Tillerb7cf08f2015-05-07 07:58:30 -0700182 "src/core/iomgr/pollset_set_posix.h",
183 "src/core/iomgr/pollset_set_windows.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700184 "src/core/iomgr/pollset_windows.h",
185 "src/core/iomgr/resolve_address.h",
186 "src/core/iomgr/sockaddr.h",
187 "src/core/iomgr/sockaddr_posix.h",
188 "src/core/iomgr/sockaddr_utils.h",
189 "src/core/iomgr/sockaddr_win32.h",
190 "src/core/iomgr/socket_utils_posix.h",
191 "src/core/iomgr/socket_windows.h",
192 "src/core/iomgr/tcp_client.h",
193 "src/core/iomgr/tcp_posix.h",
194 "src/core/iomgr/tcp_server.h",
195 "src/core/iomgr/tcp_windows.h",
196 "src/core/iomgr/time_averaged_stats.h",
197 "src/core/iomgr/wakeup_fd_pipe.h",
198 "src/core/iomgr/wakeup_fd_posix.h",
199 "src/core/json/json.h",
200 "src/core/json/json_common.h",
201 "src/core/json/json_reader.h",
202 "src/core/json/json_writer.h",
Vijay Pai6dfa7e62015-04-13 10:41:40 -0700203 "src/core/profiling/timers.h",
Vijay Pai9cccb082015-04-13 13:04:06 -0700204 "src/core/profiling/timers_preciseclock.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700205 "src/core/surface/byte_buffer_queue.h",
206 "src/core/surface/call.h",
207 "src/core/surface/channel.h",
208 "src/core/surface/client.h",
209 "src/core/surface/completion_queue.h",
210 "src/core/surface/event_string.h",
211 "src/core/surface/init.h",
212 "src/core/surface/server.h",
213 "src/core/surface/surface_trace.h",
214 "src/core/transport/chttp2/alpn.h",
215 "src/core/transport/chttp2/bin_encoder.h",
216 "src/core/transport/chttp2/frame.h",
217 "src/core/transport/chttp2/frame_data.h",
218 "src/core/transport/chttp2/frame_goaway.h",
219 "src/core/transport/chttp2/frame_ping.h",
220 "src/core/transport/chttp2/frame_rst_stream.h",
221 "src/core/transport/chttp2/frame_settings.h",
222 "src/core/transport/chttp2/frame_window_update.h",
223 "src/core/transport/chttp2/hpack_parser.h",
224 "src/core/transport/chttp2/hpack_table.h",
225 "src/core/transport/chttp2/http2_errors.h",
226 "src/core/transport/chttp2/huffsyms.h",
227 "src/core/transport/chttp2/status_conversion.h",
228 "src/core/transport/chttp2/stream_encoder.h",
229 "src/core/transport/chttp2/stream_map.h",
230 "src/core/transport/chttp2/timeout_encoding.h",
231 "src/core/transport/chttp2/varint.h",
232 "src/core/transport/chttp2_transport.h",
233 "src/core/transport/metadata.h",
234 "src/core/transport/stream_op.h",
235 "src/core/transport/transport.h",
236 "src/core/transport/transport_impl.h",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700237 "src/core/census/context.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700238 "src/core/httpcli/format_request.c",
239 "src/core/httpcli/httpcli.c",
Julien Boeuf7d1d9ca2015-04-17 14:38:48 -0700240 "src/core/httpcli/httpcli_security_connector.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700241 "src/core/httpcli/parser.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700242 "src/core/security/base64.c",
Julien Boeufc6f8d0a2015-05-11 22:40:02 -0700243 "src/core/security/client_auth_filter.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700244 "src/core/security/credentials.c",
Julien Boeuf75c9b6f2015-05-29 13:12:12 -0700245 "src/core/security/credentials_metadata.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700246 "src/core/security/credentials_posix.c",
247 "src/core/security/credentials_win32.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700248 "src/core/security/google_default_credentials.c",
249 "src/core/security/json_token.c",
250 "src/core/security/secure_endpoint.c",
251 "src/core/security/secure_transport_setup.c",
Julien Boeuf7d1d9ca2015-04-17 14:38:48 -0700252 "src/core/security/security_connector.c",
Julien Boeufd7f768b2015-05-08 16:37:16 -0700253 "src/core/security/security_context.c",
Julien Boeufc6f8d0a2015-05-11 22:40:02 -0700254 "src/core/security/server_auth_filter.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700255 "src/core/security/server_secure_chttp2.c",
256 "src/core/surface/init_secure.c",
257 "src/core/surface/secure_channel_create.c",
258 "src/core/tsi/fake_transport_security.c",
259 "src/core/tsi/ssl_transport_security.c",
260 "src/core/tsi/transport_security.c",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700261 "src/core/census/grpc_context.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700262 "src/core/channel/channel_args.c",
263 "src/core/channel/channel_stack.c",
264 "src/core/channel/child_channel.c",
265 "src/core/channel/client_channel.c",
266 "src/core/channel/client_setup.c",
267 "src/core/channel/connected_channel.c",
268 "src/core/channel/http_client_filter.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700269 "src/core/channel/http_server_filter.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700270 "src/core/channel/noop_filter.c",
Craig Tilleraf691802015-06-23 14:57:07 -0700271 "src/core/client_config/client_config.c",
272 "src/core/client_config/lb_policy.c",
273 "src/core/client_config/resolver.c",
274 "src/core/client_config/subchannel.c",
275 "src/core/client_config/subchannel_factory.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700276 "src/core/compression/algorithm.c",
277 "src/core/compression/message_compress.c",
278 "src/core/debug/trace.c",
279 "src/core/iomgr/alarm.c",
280 "src/core/iomgr/alarm_heap.c",
281 "src/core/iomgr/endpoint.c",
282 "src/core/iomgr/endpoint_pair_posix.c",
Craig Tillerd180e032015-04-13 10:10:07 -0700283 "src/core/iomgr/endpoint_pair_windows.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700284 "src/core/iomgr/fd_posix.c",
285 "src/core/iomgr/iocp_windows.c",
286 "src/core/iomgr/iomgr.c",
287 "src/core/iomgr/iomgr_posix.c",
288 "src/core/iomgr/iomgr_windows.c",
Craig Tiller0c1d2782015-05-28 17:06:05 -0700289 "src/core/iomgr/pollset_kick_posix.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700290 "src/core/iomgr/pollset_multipoller_with_epoll.c",
291 "src/core/iomgr/pollset_multipoller_with_poll_posix.c",
292 "src/core/iomgr/pollset_posix.c",
Craig Tillerb7cf08f2015-05-07 07:58:30 -0700293 "src/core/iomgr/pollset_set_posix.c",
294 "src/core/iomgr/pollset_set_windows.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700295 "src/core/iomgr/pollset_windows.c",
296 "src/core/iomgr/resolve_address_posix.c",
297 "src/core/iomgr/resolve_address_windows.c",
298 "src/core/iomgr/sockaddr_utils.c",
299 "src/core/iomgr/socket_utils_common_posix.c",
300 "src/core/iomgr/socket_utils_linux.c",
301 "src/core/iomgr/socket_utils_posix.c",
302 "src/core/iomgr/socket_windows.c",
303 "src/core/iomgr/tcp_client_posix.c",
304 "src/core/iomgr/tcp_client_windows.c",
305 "src/core/iomgr/tcp_posix.c",
306 "src/core/iomgr/tcp_server_posix.c",
307 "src/core/iomgr/tcp_server_windows.c",
308 "src/core/iomgr/tcp_windows.c",
309 "src/core/iomgr/time_averaged_stats.c",
310 "src/core/iomgr/wakeup_fd_eventfd.c",
311 "src/core/iomgr/wakeup_fd_nospecial.c",
312 "src/core/iomgr/wakeup_fd_pipe.c",
313 "src/core/iomgr/wakeup_fd_posix.c",
314 "src/core/json/json.c",
315 "src/core/json/json_reader.c",
316 "src/core/json/json_string.c",
317 "src/core/json/json_writer.c",
David Garcia Quintas8954e902015-04-29 09:46:33 -0700318 "src/core/profiling/basic_timers.c",
319 "src/core/profiling/stap_timers.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700320 "src/core/surface/byte_buffer.c",
321 "src/core/surface/byte_buffer_queue.c",
322 "src/core/surface/byte_buffer_reader.c",
323 "src/core/surface/call.c",
324 "src/core/surface/call_details.c",
325 "src/core/surface/call_log_batch.c",
326 "src/core/surface/channel.c",
327 "src/core/surface/channel_create.c",
328 "src/core/surface/client.c",
329 "src/core/surface/completion_queue.c",
330 "src/core/surface/event_string.c",
331 "src/core/surface/init.c",
332 "src/core/surface/lame_client.c",
333 "src/core/surface/metadata_array.c",
334 "src/core/surface/server.c",
335 "src/core/surface/server_chttp2.c",
336 "src/core/surface/server_create.c",
337 "src/core/surface/surface_trace.c",
338 "src/core/transport/chttp2/alpn.c",
339 "src/core/transport/chttp2/bin_encoder.c",
340 "src/core/transport/chttp2/frame_data.c",
341 "src/core/transport/chttp2/frame_goaway.c",
342 "src/core/transport/chttp2/frame_ping.c",
343 "src/core/transport/chttp2/frame_rst_stream.c",
344 "src/core/transport/chttp2/frame_settings.c",
345 "src/core/transport/chttp2/frame_window_update.c",
346 "src/core/transport/chttp2/hpack_parser.c",
347 "src/core/transport/chttp2/hpack_table.c",
348 "src/core/transport/chttp2/huffsyms.c",
349 "src/core/transport/chttp2/status_conversion.c",
350 "src/core/transport/chttp2/stream_encoder.c",
351 "src/core/transport/chttp2/stream_map.c",
352 "src/core/transport/chttp2/timeout_encoding.c",
353 "src/core/transport/chttp2/varint.c",
354 "src/core/transport/chttp2_transport.c",
355 "src/core/transport/metadata.c",
356 "src/core/transport/stream_op.c",
357 "src/core/transport/transport.c",
Craig Tiller83f88d92015-04-21 16:02:05 -0700358 "src/core/transport/transport_op_string.c",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700359 "src/core/census/context.c",
360 "src/core/census/initialize.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700361 ],
362 hdrs = [
363 "include/grpc/grpc_security.h",
364 "include/grpc/byte_buffer.h",
365 "include/grpc/byte_buffer_reader.h",
David Garcia Quintas59f905d2015-06-08 16:31:19 -0700366 "include/grpc/compression.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700367 "include/grpc/grpc.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700368 "include/grpc/status.h",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700369 "include/grpc/census.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700370 ],
371 includes = [
372 "include",
373 ".",
374 ],
375 deps = [
376 "//external:libssl",
377 ":gpr",
378 ],
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +0200379)
380
381
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700382cc_library(
383 name = "grpc_unsecure",
384 srcs = [
Alistair Veitch9686dab2015-05-26 14:26:47 -0700385 "src/core/census/grpc_context.h",
murgatroid997da8b1a2015-06-17 12:37:34 -0700386 "src/core/channel/census_filter.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700387 "src/core/channel/channel_args.h",
388 "src/core/channel/channel_stack.h",
389 "src/core/channel/child_channel.h",
390 "src/core/channel/client_channel.h",
391 "src/core/channel/client_setup.h",
392 "src/core/channel/connected_channel.h",
murgatroid997da8b1a2015-06-17 12:37:34 -0700393 "src/core/channel/context.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700394 "src/core/channel/http_client_filter.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700395 "src/core/channel/http_server_filter.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700396 "src/core/channel/noop_filter.h",
Craig Tilleraf691802015-06-23 14:57:07 -0700397 "src/core/client_config/client_config.h",
398 "src/core/client_config/lb_policy.h",
399 "src/core/client_config/resolver.h",
400 "src/core/client_config/subchannel.h",
401 "src/core/client_config/subchannel_factory.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700402 "src/core/compression/message_compress.h",
403 "src/core/debug/trace.h",
404 "src/core/iomgr/alarm.h",
405 "src/core/iomgr/alarm_heap.h",
406 "src/core/iomgr/alarm_internal.h",
407 "src/core/iomgr/endpoint.h",
408 "src/core/iomgr/endpoint_pair.h",
409 "src/core/iomgr/fd_posix.h",
410 "src/core/iomgr/iocp_windows.h",
411 "src/core/iomgr/iomgr.h",
412 "src/core/iomgr/iomgr_internal.h",
413 "src/core/iomgr/iomgr_posix.h",
414 "src/core/iomgr/pollset.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700415 "src/core/iomgr/pollset_kick_posix.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700416 "src/core/iomgr/pollset_posix.h",
Jorge Canizalesfe8ad732015-06-20 19:53:59 -0700417 "src/core/iomgr/pollset_set.h",
Craig Tillerb7cf08f2015-05-07 07:58:30 -0700418 "src/core/iomgr/pollset_set_posix.h",
419 "src/core/iomgr/pollset_set_windows.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700420 "src/core/iomgr/pollset_windows.h",
421 "src/core/iomgr/resolve_address.h",
422 "src/core/iomgr/sockaddr.h",
423 "src/core/iomgr/sockaddr_posix.h",
424 "src/core/iomgr/sockaddr_utils.h",
425 "src/core/iomgr/sockaddr_win32.h",
426 "src/core/iomgr/socket_utils_posix.h",
427 "src/core/iomgr/socket_windows.h",
428 "src/core/iomgr/tcp_client.h",
429 "src/core/iomgr/tcp_posix.h",
430 "src/core/iomgr/tcp_server.h",
431 "src/core/iomgr/tcp_windows.h",
432 "src/core/iomgr/time_averaged_stats.h",
433 "src/core/iomgr/wakeup_fd_pipe.h",
434 "src/core/iomgr/wakeup_fd_posix.h",
435 "src/core/json/json.h",
436 "src/core/json/json_common.h",
437 "src/core/json/json_reader.h",
438 "src/core/json/json_writer.h",
Vijay Pai6dfa7e62015-04-13 10:41:40 -0700439 "src/core/profiling/timers.h",
Vijay Pai9cccb082015-04-13 13:04:06 -0700440 "src/core/profiling/timers_preciseclock.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700441 "src/core/surface/byte_buffer_queue.h",
442 "src/core/surface/call.h",
443 "src/core/surface/channel.h",
444 "src/core/surface/client.h",
445 "src/core/surface/completion_queue.h",
446 "src/core/surface/event_string.h",
447 "src/core/surface/init.h",
448 "src/core/surface/server.h",
449 "src/core/surface/surface_trace.h",
450 "src/core/transport/chttp2/alpn.h",
451 "src/core/transport/chttp2/bin_encoder.h",
452 "src/core/transport/chttp2/frame.h",
453 "src/core/transport/chttp2/frame_data.h",
454 "src/core/transport/chttp2/frame_goaway.h",
455 "src/core/transport/chttp2/frame_ping.h",
456 "src/core/transport/chttp2/frame_rst_stream.h",
457 "src/core/transport/chttp2/frame_settings.h",
458 "src/core/transport/chttp2/frame_window_update.h",
459 "src/core/transport/chttp2/hpack_parser.h",
460 "src/core/transport/chttp2/hpack_table.h",
461 "src/core/transport/chttp2/http2_errors.h",
462 "src/core/transport/chttp2/huffsyms.h",
463 "src/core/transport/chttp2/status_conversion.h",
464 "src/core/transport/chttp2/stream_encoder.h",
465 "src/core/transport/chttp2/stream_map.h",
466 "src/core/transport/chttp2/timeout_encoding.h",
467 "src/core/transport/chttp2/varint.h",
468 "src/core/transport/chttp2_transport.h",
469 "src/core/transport/metadata.h",
470 "src/core/transport/stream_op.h",
471 "src/core/transport/transport.h",
472 "src/core/transport/transport_impl.h",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700473 "src/core/census/context.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700474 "src/core/surface/init_unsecure.c",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700475 "src/core/census/grpc_context.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700476 "src/core/channel/channel_args.c",
477 "src/core/channel/channel_stack.c",
478 "src/core/channel/child_channel.c",
479 "src/core/channel/client_channel.c",
480 "src/core/channel/client_setup.c",
481 "src/core/channel/connected_channel.c",
482 "src/core/channel/http_client_filter.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700483 "src/core/channel/http_server_filter.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700484 "src/core/channel/noop_filter.c",
Craig Tilleraf691802015-06-23 14:57:07 -0700485 "src/core/client_config/client_config.c",
486 "src/core/client_config/lb_policy.c",
487 "src/core/client_config/resolver.c",
488 "src/core/client_config/subchannel.c",
489 "src/core/client_config/subchannel_factory.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700490 "src/core/compression/algorithm.c",
491 "src/core/compression/message_compress.c",
492 "src/core/debug/trace.c",
493 "src/core/iomgr/alarm.c",
494 "src/core/iomgr/alarm_heap.c",
495 "src/core/iomgr/endpoint.c",
496 "src/core/iomgr/endpoint_pair_posix.c",
Craig Tillerd180e032015-04-13 10:10:07 -0700497 "src/core/iomgr/endpoint_pair_windows.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700498 "src/core/iomgr/fd_posix.c",
499 "src/core/iomgr/iocp_windows.c",
500 "src/core/iomgr/iomgr.c",
501 "src/core/iomgr/iomgr_posix.c",
502 "src/core/iomgr/iomgr_windows.c",
Craig Tiller0c1d2782015-05-28 17:06:05 -0700503 "src/core/iomgr/pollset_kick_posix.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700504 "src/core/iomgr/pollset_multipoller_with_epoll.c",
505 "src/core/iomgr/pollset_multipoller_with_poll_posix.c",
506 "src/core/iomgr/pollset_posix.c",
Craig Tillerb7cf08f2015-05-07 07:58:30 -0700507 "src/core/iomgr/pollset_set_posix.c",
508 "src/core/iomgr/pollset_set_windows.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700509 "src/core/iomgr/pollset_windows.c",
510 "src/core/iomgr/resolve_address_posix.c",
511 "src/core/iomgr/resolve_address_windows.c",
512 "src/core/iomgr/sockaddr_utils.c",
513 "src/core/iomgr/socket_utils_common_posix.c",
514 "src/core/iomgr/socket_utils_linux.c",
515 "src/core/iomgr/socket_utils_posix.c",
516 "src/core/iomgr/socket_windows.c",
517 "src/core/iomgr/tcp_client_posix.c",
518 "src/core/iomgr/tcp_client_windows.c",
519 "src/core/iomgr/tcp_posix.c",
520 "src/core/iomgr/tcp_server_posix.c",
521 "src/core/iomgr/tcp_server_windows.c",
522 "src/core/iomgr/tcp_windows.c",
523 "src/core/iomgr/time_averaged_stats.c",
524 "src/core/iomgr/wakeup_fd_eventfd.c",
525 "src/core/iomgr/wakeup_fd_nospecial.c",
526 "src/core/iomgr/wakeup_fd_pipe.c",
527 "src/core/iomgr/wakeup_fd_posix.c",
528 "src/core/json/json.c",
529 "src/core/json/json_reader.c",
530 "src/core/json/json_string.c",
531 "src/core/json/json_writer.c",
David Garcia Quintas8954e902015-04-29 09:46:33 -0700532 "src/core/profiling/basic_timers.c",
533 "src/core/profiling/stap_timers.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700534 "src/core/surface/byte_buffer.c",
535 "src/core/surface/byte_buffer_queue.c",
536 "src/core/surface/byte_buffer_reader.c",
537 "src/core/surface/call.c",
538 "src/core/surface/call_details.c",
539 "src/core/surface/call_log_batch.c",
540 "src/core/surface/channel.c",
541 "src/core/surface/channel_create.c",
542 "src/core/surface/client.c",
543 "src/core/surface/completion_queue.c",
544 "src/core/surface/event_string.c",
545 "src/core/surface/init.c",
546 "src/core/surface/lame_client.c",
547 "src/core/surface/metadata_array.c",
548 "src/core/surface/server.c",
549 "src/core/surface/server_chttp2.c",
550 "src/core/surface/server_create.c",
551 "src/core/surface/surface_trace.c",
552 "src/core/transport/chttp2/alpn.c",
553 "src/core/transport/chttp2/bin_encoder.c",
554 "src/core/transport/chttp2/frame_data.c",
555 "src/core/transport/chttp2/frame_goaway.c",
556 "src/core/transport/chttp2/frame_ping.c",
557 "src/core/transport/chttp2/frame_rst_stream.c",
558 "src/core/transport/chttp2/frame_settings.c",
559 "src/core/transport/chttp2/frame_window_update.c",
560 "src/core/transport/chttp2/hpack_parser.c",
561 "src/core/transport/chttp2/hpack_table.c",
562 "src/core/transport/chttp2/huffsyms.c",
563 "src/core/transport/chttp2/status_conversion.c",
564 "src/core/transport/chttp2/stream_encoder.c",
565 "src/core/transport/chttp2/stream_map.c",
566 "src/core/transport/chttp2/timeout_encoding.c",
567 "src/core/transport/chttp2/varint.c",
568 "src/core/transport/chttp2_transport.c",
569 "src/core/transport/metadata.c",
570 "src/core/transport/stream_op.c",
571 "src/core/transport/transport.c",
Craig Tiller83f88d92015-04-21 16:02:05 -0700572 "src/core/transport/transport_op_string.c",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700573 "src/core/census/context.c",
574 "src/core/census/initialize.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700575 ],
576 hdrs = [
577 "include/grpc/byte_buffer.h",
578 "include/grpc/byte_buffer_reader.h",
David Garcia Quintas59f905d2015-06-08 16:31:19 -0700579 "include/grpc/compression.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700580 "include/grpc/grpc.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700581 "include/grpc/status.h",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700582 "include/grpc/census.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700583 ],
584 includes = [
585 "include",
586 ".",
587 ],
588 deps = [
589 ":gpr",
590 ],
591)
592
593
594cc_library(
595 name = "grpc++",
596 srcs = [
597 "src/cpp/client/secure_credentials.h",
598 "src/cpp/server/secure_server_credentials.h",
599 "src/cpp/client/channel.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700600 "src/cpp/server/thread_pool.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700601 "src/cpp/client/secure_credentials.cc",
602 "src/cpp/server/secure_server_credentials.cc",
603 "src/cpp/client/channel.cc",
604 "src/cpp/client/channel_arguments.cc",
605 "src/cpp/client/client_context.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700606 "src/cpp/client/create_channel.cc",
607 "src/cpp/client/credentials.cc",
608 "src/cpp/client/generic_stub.cc",
609 "src/cpp/client/insecure_credentials.cc",
610 "src/cpp/client/internal_stub.cc",
611 "src/cpp/common/call.cc",
612 "src/cpp/common/completion_queue.cc",
613 "src/cpp/common/rpc_method.cc",
614 "src/cpp/proto/proto_utils.cc",
615 "src/cpp/server/async_generic_service.cc",
Yang Gao6f4fb3b2015-06-03 12:56:19 -0700616 "src/cpp/server/create_default_thread_pool.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700617 "src/cpp/server/insecure_server_credentials.cc",
618 "src/cpp/server/server.cc",
619 "src/cpp/server/server_builder.cc",
620 "src/cpp/server/server_context.cc",
621 "src/cpp/server/server_credentials.cc",
622 "src/cpp/server/thread_pool.cc",
623 "src/cpp/util/byte_buffer.cc",
624 "src/cpp/util/slice.cc",
625 "src/cpp/util/status.cc",
626 "src/cpp/util/time.cc",
627 ],
628 hdrs = [
629 "include/grpc++/async_generic_service.h",
630 "include/grpc++/async_unary_call.h",
631 "include/grpc++/byte_buffer.h",
632 "include/grpc++/channel_arguments.h",
633 "include/grpc++/channel_interface.h",
634 "include/grpc++/client_context.h",
635 "include/grpc++/completion_queue.h",
636 "include/grpc++/config.h",
yang-gadfed032015-06-23 13:01:22 -0700637 "include/grpc++/config_protobuf.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700638 "include/grpc++/create_channel.h",
639 "include/grpc++/credentials.h",
640 "include/grpc++/generic_stub.h",
641 "include/grpc++/impl/call.h",
642 "include/grpc++/impl/client_unary_call.h",
Yang Gao96de4842015-04-24 13:13:12 -0700643 "include/grpc++/impl/grpc_library.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700644 "include/grpc++/impl/internal_stub.h",
yang-gadfed032015-06-23 13:01:22 -0700645 "include/grpc++/impl/proto_utils.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700646 "include/grpc++/impl/rpc_method.h",
647 "include/grpc++/impl/rpc_service_method.h",
Craig Tiller6ef7f312015-06-05 10:15:10 -0700648 "include/grpc++/impl/serialization_traits.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700649 "include/grpc++/impl/service_type.h",
Nicolas "Pixel" Nobleb7c20352015-04-11 01:27:32 +0200650 "include/grpc++/impl/sync.h",
651 "include/grpc++/impl/sync_cxx11.h",
652 "include/grpc++/impl/sync_no_cxx11.h",
653 "include/grpc++/impl/thd.h",
654 "include/grpc++/impl/thd_cxx11.h",
655 "include/grpc++/impl/thd_no_cxx11.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700656 "include/grpc++/server.h",
657 "include/grpc++/server_builder.h",
658 "include/grpc++/server_context.h",
659 "include/grpc++/server_credentials.h",
660 "include/grpc++/slice.h",
661 "include/grpc++/status.h",
662 "include/grpc++/status_code_enum.h",
663 "include/grpc++/stream.h",
664 "include/grpc++/thread_pool_interface.h",
Nicolas "Pixel" Nobleb7c20352015-04-11 01:27:32 +0200665 "include/grpc++/time.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700666 ],
667 includes = [
668 "include",
669 ".",
670 ],
671 deps = [
672 "//external:protobuf_clib",
673 ":gpr",
674 ":grpc",
675 ],
676)
677
678
679cc_library(
680 name = "grpc++_unsecure",
681 srcs = [
682 "src/cpp/client/channel.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700683 "src/cpp/server/thread_pool.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700684 "src/cpp/client/channel.cc",
685 "src/cpp/client/channel_arguments.cc",
686 "src/cpp/client/client_context.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700687 "src/cpp/client/create_channel.cc",
688 "src/cpp/client/credentials.cc",
689 "src/cpp/client/generic_stub.cc",
690 "src/cpp/client/insecure_credentials.cc",
691 "src/cpp/client/internal_stub.cc",
692 "src/cpp/common/call.cc",
693 "src/cpp/common/completion_queue.cc",
694 "src/cpp/common/rpc_method.cc",
695 "src/cpp/proto/proto_utils.cc",
696 "src/cpp/server/async_generic_service.cc",
Yang Gao6f4fb3b2015-06-03 12:56:19 -0700697 "src/cpp/server/create_default_thread_pool.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700698 "src/cpp/server/insecure_server_credentials.cc",
699 "src/cpp/server/server.cc",
700 "src/cpp/server/server_builder.cc",
701 "src/cpp/server/server_context.cc",
702 "src/cpp/server/server_credentials.cc",
703 "src/cpp/server/thread_pool.cc",
704 "src/cpp/util/byte_buffer.cc",
705 "src/cpp/util/slice.cc",
706 "src/cpp/util/status.cc",
707 "src/cpp/util/time.cc",
708 ],
709 hdrs = [
710 "include/grpc++/async_generic_service.h",
711 "include/grpc++/async_unary_call.h",
712 "include/grpc++/byte_buffer.h",
713 "include/grpc++/channel_arguments.h",
714 "include/grpc++/channel_interface.h",
715 "include/grpc++/client_context.h",
716 "include/grpc++/completion_queue.h",
717 "include/grpc++/config.h",
yang-gadfed032015-06-23 13:01:22 -0700718 "include/grpc++/config_protobuf.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700719 "include/grpc++/create_channel.h",
720 "include/grpc++/credentials.h",
721 "include/grpc++/generic_stub.h",
722 "include/grpc++/impl/call.h",
723 "include/grpc++/impl/client_unary_call.h",
Yang Gao96de4842015-04-24 13:13:12 -0700724 "include/grpc++/impl/grpc_library.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700725 "include/grpc++/impl/internal_stub.h",
yang-gadfed032015-06-23 13:01:22 -0700726 "include/grpc++/impl/proto_utils.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700727 "include/grpc++/impl/rpc_method.h",
728 "include/grpc++/impl/rpc_service_method.h",
Craig Tiller6ef7f312015-06-05 10:15:10 -0700729 "include/grpc++/impl/serialization_traits.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700730 "include/grpc++/impl/service_type.h",
Nicolas "Pixel" Nobleb7c20352015-04-11 01:27:32 +0200731 "include/grpc++/impl/sync.h",
732 "include/grpc++/impl/sync_cxx11.h",
733 "include/grpc++/impl/sync_no_cxx11.h",
734 "include/grpc++/impl/thd.h",
735 "include/grpc++/impl/thd_cxx11.h",
736 "include/grpc++/impl/thd_no_cxx11.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700737 "include/grpc++/server.h",
738 "include/grpc++/server_builder.h",
739 "include/grpc++/server_context.h",
740 "include/grpc++/server_credentials.h",
741 "include/grpc++/slice.h",
742 "include/grpc++/status.h",
743 "include/grpc++/status_code_enum.h",
744 "include/grpc++/stream.h",
745 "include/grpc++/thread_pool_interface.h",
Nicolas "Pixel" Nobleb7c20352015-04-11 01:27:32 +0200746 "include/grpc++/time.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700747 ],
748 includes = [
749 "include",
750 ".",
751 ],
752 deps = [
753 "//external:protobuf_clib",
754 ":gpr",
755 ":grpc_unsecure",
756 ],
757)
758
759
760cc_library(
761 name = "grpc_plugin_support",
762 srcs = [
763 "src/compiler/config.h",
764 "src/compiler/cpp_generator.h",
765 "src/compiler/cpp_generator_helpers.h",
Jan Tattermusch2d924952015-05-06 10:23:17 -0700766 "src/compiler/csharp_generator.h",
767 "src/compiler/csharp_generator_helpers.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700768 "src/compiler/generator_helpers.h",
769 "src/compiler/objective_c_generator.h",
770 "src/compiler/objective_c_generator_helpers.h",
771 "src/compiler/python_generator.h",
772 "src/compiler/ruby_generator.h",
773 "src/compiler/ruby_generator_helpers-inl.h",
774 "src/compiler/ruby_generator_map-inl.h",
775 "src/compiler/ruby_generator_string-inl.h",
776 "src/compiler/cpp_generator.cc",
Jan Tattermusch2d924952015-05-06 10:23:17 -0700777 "src/compiler/csharp_generator.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700778 "src/compiler/objective_c_generator.cc",
779 "src/compiler/python_generator.cc",
780 "src/compiler/ruby_generator.cc",
781 ],
782 hdrs = [
783 ],
784 includes = [
785 "include",
786 ".",
787 ],
788 deps = [
789 "//external:protobuf_compiler",
790 ],
791)
792
793
794cc_library(
795 name = "grpc_csharp_ext",
796 srcs = [
797 "src/csharp/ext/grpc_csharp_ext.c",
798 ],
799 hdrs = [
800 ],
801 includes = [
802 "include",
803 ".",
804 ],
805 deps = [
806 ":gpr",
807 ":grpc",
808 ],
809)
810
811
812
813cc_binary(
814 name = "grpc_cpp_plugin",
815 srcs = [
816 "src/compiler/cpp_plugin.cc",
817 ],
818 deps = [
819 "//external:protobuf_compiler",
820 ":grpc_plugin_support",
821 ],
822)
823
824
825cc_binary(
Jan Tattermusch2d924952015-05-06 10:23:17 -0700826 name = "grpc_csharp_plugin",
827 srcs = [
828 "src/compiler/csharp_plugin.cc",
829 ],
830 deps = [
831 "//external:protobuf_compiler",
832 ":grpc_plugin_support",
833 ],
834)
835
836
837cc_binary(
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700838 name = "grpc_objective_c_plugin",
839 srcs = [
840 "src/compiler/objective_c_plugin.cc",
841 ],
842 deps = [
843 "//external:protobuf_compiler",
844 ":grpc_plugin_support",
845 ],
846)
847
848
849cc_binary(
850 name = "grpc_python_plugin",
851 srcs = [
852 "src/compiler/python_plugin.cc",
853 ],
854 deps = [
855 "//external:protobuf_compiler",
856 ":grpc_plugin_support",
857 ],
858)
859
860
861cc_binary(
862 name = "grpc_ruby_plugin",
863 srcs = [
864 "src/compiler/ruby_plugin.cc",
865 ],
866 deps = [
867 "//external:protobuf_compiler",
868 ":grpc_plugin_support",
869 ],
870)
871
872
873
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +0200874
875