blob: b2c233d1e9ded5de3a3518d9d140b546efb0a506 [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",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700161 "src/core/compression/message_compress.h",
162 "src/core/debug/trace.h",
163 "src/core/iomgr/alarm.h",
164 "src/core/iomgr/alarm_heap.h",
165 "src/core/iomgr/alarm_internal.h",
166 "src/core/iomgr/endpoint.h",
167 "src/core/iomgr/endpoint_pair.h",
168 "src/core/iomgr/fd_posix.h",
169 "src/core/iomgr/iocp_windows.h",
170 "src/core/iomgr/iomgr.h",
171 "src/core/iomgr/iomgr_internal.h",
172 "src/core/iomgr/iomgr_posix.h",
173 "src/core/iomgr/pollset.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700174 "src/core/iomgr/pollset_kick_posix.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700175 "src/core/iomgr/pollset_posix.h",
Craig Tillerb7cf08f2015-05-07 07:58:30 -0700176 "src/core/iomgr/pollset_set_posix.h",
177 "src/core/iomgr/pollset_set_windows.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700178 "src/core/iomgr/pollset_windows.h",
179 "src/core/iomgr/resolve_address.h",
180 "src/core/iomgr/sockaddr.h",
181 "src/core/iomgr/sockaddr_posix.h",
182 "src/core/iomgr/sockaddr_utils.h",
183 "src/core/iomgr/sockaddr_win32.h",
184 "src/core/iomgr/socket_utils_posix.h",
185 "src/core/iomgr/socket_windows.h",
186 "src/core/iomgr/tcp_client.h",
187 "src/core/iomgr/tcp_posix.h",
188 "src/core/iomgr/tcp_server.h",
189 "src/core/iomgr/tcp_windows.h",
190 "src/core/iomgr/time_averaged_stats.h",
191 "src/core/iomgr/wakeup_fd_pipe.h",
192 "src/core/iomgr/wakeup_fd_posix.h",
193 "src/core/json/json.h",
194 "src/core/json/json_common.h",
195 "src/core/json/json_reader.h",
196 "src/core/json/json_writer.h",
Vijay Pai6dfa7e62015-04-13 10:41:40 -0700197 "src/core/profiling/timers.h",
Vijay Pai9cccb082015-04-13 13:04:06 -0700198 "src/core/profiling/timers_preciseclock.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700199 "src/core/surface/byte_buffer_queue.h",
200 "src/core/surface/call.h",
201 "src/core/surface/channel.h",
202 "src/core/surface/client.h",
203 "src/core/surface/completion_queue.h",
204 "src/core/surface/event_string.h",
205 "src/core/surface/init.h",
206 "src/core/surface/server.h",
207 "src/core/surface/surface_trace.h",
208 "src/core/transport/chttp2/alpn.h",
209 "src/core/transport/chttp2/bin_encoder.h",
210 "src/core/transport/chttp2/frame.h",
211 "src/core/transport/chttp2/frame_data.h",
212 "src/core/transport/chttp2/frame_goaway.h",
213 "src/core/transport/chttp2/frame_ping.h",
214 "src/core/transport/chttp2/frame_rst_stream.h",
215 "src/core/transport/chttp2/frame_settings.h",
216 "src/core/transport/chttp2/frame_window_update.h",
217 "src/core/transport/chttp2/hpack_parser.h",
218 "src/core/transport/chttp2/hpack_table.h",
219 "src/core/transport/chttp2/http2_errors.h",
220 "src/core/transport/chttp2/huffsyms.h",
221 "src/core/transport/chttp2/status_conversion.h",
222 "src/core/transport/chttp2/stream_encoder.h",
223 "src/core/transport/chttp2/stream_map.h",
224 "src/core/transport/chttp2/timeout_encoding.h",
225 "src/core/transport/chttp2/varint.h",
226 "src/core/transport/chttp2_transport.h",
227 "src/core/transport/metadata.h",
228 "src/core/transport/stream_op.h",
229 "src/core/transport/transport.h",
230 "src/core/transport/transport_impl.h",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700231 "src/core/census/context.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700232 "src/core/httpcli/format_request.c",
233 "src/core/httpcli/httpcli.c",
Julien Boeuf7d1d9ca2015-04-17 14:38:48 -0700234 "src/core/httpcli/httpcli_security_connector.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700235 "src/core/httpcli/parser.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700236 "src/core/security/base64.c",
Julien Boeufc6f8d0a2015-05-11 22:40:02 -0700237 "src/core/security/client_auth_filter.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700238 "src/core/security/credentials.c",
Julien Boeuf75c9b6f2015-05-29 13:12:12 -0700239 "src/core/security/credentials_metadata.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700240 "src/core/security/credentials_posix.c",
241 "src/core/security/credentials_win32.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700242 "src/core/security/google_default_credentials.c",
243 "src/core/security/json_token.c",
244 "src/core/security/secure_endpoint.c",
245 "src/core/security/secure_transport_setup.c",
Julien Boeuf7d1d9ca2015-04-17 14:38:48 -0700246 "src/core/security/security_connector.c",
Julien Boeufd7f768b2015-05-08 16:37:16 -0700247 "src/core/security/security_context.c",
Julien Boeufc6f8d0a2015-05-11 22:40:02 -0700248 "src/core/security/server_auth_filter.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700249 "src/core/security/server_secure_chttp2.c",
250 "src/core/surface/init_secure.c",
251 "src/core/surface/secure_channel_create.c",
252 "src/core/tsi/fake_transport_security.c",
253 "src/core/tsi/ssl_transport_security.c",
254 "src/core/tsi/transport_security.c",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700255 "src/core/census/grpc_context.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700256 "src/core/channel/channel_args.c",
257 "src/core/channel/channel_stack.c",
258 "src/core/channel/child_channel.c",
259 "src/core/channel/client_channel.c",
260 "src/core/channel/client_setup.c",
261 "src/core/channel/connected_channel.c",
262 "src/core/channel/http_client_filter.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700263 "src/core/channel/http_server_filter.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700264 "src/core/channel/noop_filter.c",
265 "src/core/compression/algorithm.c",
266 "src/core/compression/message_compress.c",
267 "src/core/debug/trace.c",
268 "src/core/iomgr/alarm.c",
269 "src/core/iomgr/alarm_heap.c",
270 "src/core/iomgr/endpoint.c",
271 "src/core/iomgr/endpoint_pair_posix.c",
Craig Tillerd180e032015-04-13 10:10:07 -0700272 "src/core/iomgr/endpoint_pair_windows.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700273 "src/core/iomgr/fd_posix.c",
274 "src/core/iomgr/iocp_windows.c",
275 "src/core/iomgr/iomgr.c",
276 "src/core/iomgr/iomgr_posix.c",
277 "src/core/iomgr/iomgr_windows.c",
Craig Tiller0c1d2782015-05-28 17:06:05 -0700278 "src/core/iomgr/pollset_kick_posix.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700279 "src/core/iomgr/pollset_multipoller_with_epoll.c",
280 "src/core/iomgr/pollset_multipoller_with_poll_posix.c",
281 "src/core/iomgr/pollset_posix.c",
Craig Tillerb7cf08f2015-05-07 07:58:30 -0700282 "src/core/iomgr/pollset_set_posix.c",
283 "src/core/iomgr/pollset_set_windows.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700284 "src/core/iomgr/pollset_windows.c",
285 "src/core/iomgr/resolve_address_posix.c",
286 "src/core/iomgr/resolve_address_windows.c",
287 "src/core/iomgr/sockaddr_utils.c",
288 "src/core/iomgr/socket_utils_common_posix.c",
289 "src/core/iomgr/socket_utils_linux.c",
290 "src/core/iomgr/socket_utils_posix.c",
291 "src/core/iomgr/socket_windows.c",
292 "src/core/iomgr/tcp_client_posix.c",
293 "src/core/iomgr/tcp_client_windows.c",
294 "src/core/iomgr/tcp_posix.c",
295 "src/core/iomgr/tcp_server_posix.c",
296 "src/core/iomgr/tcp_server_windows.c",
297 "src/core/iomgr/tcp_windows.c",
298 "src/core/iomgr/time_averaged_stats.c",
299 "src/core/iomgr/wakeup_fd_eventfd.c",
300 "src/core/iomgr/wakeup_fd_nospecial.c",
301 "src/core/iomgr/wakeup_fd_pipe.c",
302 "src/core/iomgr/wakeup_fd_posix.c",
303 "src/core/json/json.c",
304 "src/core/json/json_reader.c",
305 "src/core/json/json_string.c",
306 "src/core/json/json_writer.c",
David Garcia Quintas8954e902015-04-29 09:46:33 -0700307 "src/core/profiling/basic_timers.c",
308 "src/core/profiling/stap_timers.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700309 "src/core/surface/byte_buffer.c",
310 "src/core/surface/byte_buffer_queue.c",
311 "src/core/surface/byte_buffer_reader.c",
312 "src/core/surface/call.c",
313 "src/core/surface/call_details.c",
314 "src/core/surface/call_log_batch.c",
315 "src/core/surface/channel.c",
316 "src/core/surface/channel_create.c",
317 "src/core/surface/client.c",
318 "src/core/surface/completion_queue.c",
319 "src/core/surface/event_string.c",
320 "src/core/surface/init.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_chttp2.c",
325 "src/core/surface/server_create.c",
326 "src/core/surface/surface_trace.c",
327 "src/core/transport/chttp2/alpn.c",
328 "src/core/transport/chttp2/bin_encoder.c",
329 "src/core/transport/chttp2/frame_data.c",
330 "src/core/transport/chttp2/frame_goaway.c",
331 "src/core/transport/chttp2/frame_ping.c",
332 "src/core/transport/chttp2/frame_rst_stream.c",
333 "src/core/transport/chttp2/frame_settings.c",
334 "src/core/transport/chttp2/frame_window_update.c",
335 "src/core/transport/chttp2/hpack_parser.c",
336 "src/core/transport/chttp2/hpack_table.c",
337 "src/core/transport/chttp2/huffsyms.c",
338 "src/core/transport/chttp2/status_conversion.c",
339 "src/core/transport/chttp2/stream_encoder.c",
340 "src/core/transport/chttp2/stream_map.c",
341 "src/core/transport/chttp2/timeout_encoding.c",
342 "src/core/transport/chttp2/varint.c",
343 "src/core/transport/chttp2_transport.c",
344 "src/core/transport/metadata.c",
345 "src/core/transport/stream_op.c",
346 "src/core/transport/transport.c",
Craig Tiller83f88d92015-04-21 16:02:05 -0700347 "src/core/transport/transport_op_string.c",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700348 "src/core/census/context.c",
349 "src/core/census/initialize.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700350 ],
351 hdrs = [
352 "include/grpc/grpc_security.h",
353 "include/grpc/byte_buffer.h",
354 "include/grpc/byte_buffer_reader.h",
David Garcia Quintas59f905d2015-06-08 16:31:19 -0700355 "include/grpc/compression.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700356 "include/grpc/grpc.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700357 "include/grpc/status.h",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700358 "include/grpc/census.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700359 ],
360 includes = [
361 "include",
362 ".",
363 ],
364 deps = [
365 "//external:libssl",
366 ":gpr",
367 ],
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +0200368)
369
370
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700371cc_library(
372 name = "grpc_unsecure",
373 srcs = [
Alistair Veitch9686dab2015-05-26 14:26:47 -0700374 "src/core/census/grpc_context.h",
murgatroid997da8b1a2015-06-17 12:37:34 -0700375 "src/core/channel/census_filter.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700376 "src/core/channel/channel_args.h",
377 "src/core/channel/channel_stack.h",
378 "src/core/channel/child_channel.h",
379 "src/core/channel/client_channel.h",
380 "src/core/channel/client_setup.h",
381 "src/core/channel/connected_channel.h",
murgatroid997da8b1a2015-06-17 12:37:34 -0700382 "src/core/channel/context.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700383 "src/core/channel/http_client_filter.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700384 "src/core/channel/http_server_filter.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700385 "src/core/channel/noop_filter.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700386 "src/core/compression/message_compress.h",
387 "src/core/debug/trace.h",
388 "src/core/iomgr/alarm.h",
389 "src/core/iomgr/alarm_heap.h",
390 "src/core/iomgr/alarm_internal.h",
391 "src/core/iomgr/endpoint.h",
392 "src/core/iomgr/endpoint_pair.h",
393 "src/core/iomgr/fd_posix.h",
394 "src/core/iomgr/iocp_windows.h",
395 "src/core/iomgr/iomgr.h",
396 "src/core/iomgr/iomgr_internal.h",
397 "src/core/iomgr/iomgr_posix.h",
398 "src/core/iomgr/pollset.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700399 "src/core/iomgr/pollset_kick_posix.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700400 "src/core/iomgr/pollset_posix.h",
Craig Tillerb7cf08f2015-05-07 07:58:30 -0700401 "src/core/iomgr/pollset_set_posix.h",
402 "src/core/iomgr/pollset_set_windows.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700403 "src/core/iomgr/pollset_windows.h",
404 "src/core/iomgr/resolve_address.h",
405 "src/core/iomgr/sockaddr.h",
406 "src/core/iomgr/sockaddr_posix.h",
407 "src/core/iomgr/sockaddr_utils.h",
408 "src/core/iomgr/sockaddr_win32.h",
409 "src/core/iomgr/socket_utils_posix.h",
410 "src/core/iomgr/socket_windows.h",
411 "src/core/iomgr/tcp_client.h",
412 "src/core/iomgr/tcp_posix.h",
413 "src/core/iomgr/tcp_server.h",
414 "src/core/iomgr/tcp_windows.h",
415 "src/core/iomgr/time_averaged_stats.h",
416 "src/core/iomgr/wakeup_fd_pipe.h",
417 "src/core/iomgr/wakeup_fd_posix.h",
418 "src/core/json/json.h",
419 "src/core/json/json_common.h",
420 "src/core/json/json_reader.h",
421 "src/core/json/json_writer.h",
Vijay Pai6dfa7e62015-04-13 10:41:40 -0700422 "src/core/profiling/timers.h",
Vijay Pai9cccb082015-04-13 13:04:06 -0700423 "src/core/profiling/timers_preciseclock.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700424 "src/core/surface/byte_buffer_queue.h",
425 "src/core/surface/call.h",
426 "src/core/surface/channel.h",
427 "src/core/surface/client.h",
428 "src/core/surface/completion_queue.h",
429 "src/core/surface/event_string.h",
430 "src/core/surface/init.h",
431 "src/core/surface/server.h",
432 "src/core/surface/surface_trace.h",
433 "src/core/transport/chttp2/alpn.h",
434 "src/core/transport/chttp2/bin_encoder.h",
435 "src/core/transport/chttp2/frame.h",
436 "src/core/transport/chttp2/frame_data.h",
437 "src/core/transport/chttp2/frame_goaway.h",
438 "src/core/transport/chttp2/frame_ping.h",
439 "src/core/transport/chttp2/frame_rst_stream.h",
440 "src/core/transport/chttp2/frame_settings.h",
441 "src/core/transport/chttp2/frame_window_update.h",
442 "src/core/transport/chttp2/hpack_parser.h",
443 "src/core/transport/chttp2/hpack_table.h",
444 "src/core/transport/chttp2/http2_errors.h",
445 "src/core/transport/chttp2/huffsyms.h",
446 "src/core/transport/chttp2/status_conversion.h",
447 "src/core/transport/chttp2/stream_encoder.h",
448 "src/core/transport/chttp2/stream_map.h",
449 "src/core/transport/chttp2/timeout_encoding.h",
450 "src/core/transport/chttp2/varint.h",
451 "src/core/transport/chttp2_transport.h",
452 "src/core/transport/metadata.h",
453 "src/core/transport/stream_op.h",
454 "src/core/transport/transport.h",
455 "src/core/transport/transport_impl.h",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700456 "src/core/census/context.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700457 "src/core/surface/init_unsecure.c",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700458 "src/core/census/grpc_context.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700459 "src/core/channel/channel_args.c",
460 "src/core/channel/channel_stack.c",
461 "src/core/channel/child_channel.c",
462 "src/core/channel/client_channel.c",
463 "src/core/channel/client_setup.c",
464 "src/core/channel/connected_channel.c",
465 "src/core/channel/http_client_filter.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700466 "src/core/channel/http_server_filter.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700467 "src/core/channel/noop_filter.c",
468 "src/core/compression/algorithm.c",
469 "src/core/compression/message_compress.c",
470 "src/core/debug/trace.c",
471 "src/core/iomgr/alarm.c",
472 "src/core/iomgr/alarm_heap.c",
473 "src/core/iomgr/endpoint.c",
474 "src/core/iomgr/endpoint_pair_posix.c",
Craig Tillerd180e032015-04-13 10:10:07 -0700475 "src/core/iomgr/endpoint_pair_windows.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700476 "src/core/iomgr/fd_posix.c",
477 "src/core/iomgr/iocp_windows.c",
478 "src/core/iomgr/iomgr.c",
479 "src/core/iomgr/iomgr_posix.c",
480 "src/core/iomgr/iomgr_windows.c",
Craig Tiller0c1d2782015-05-28 17:06:05 -0700481 "src/core/iomgr/pollset_kick_posix.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700482 "src/core/iomgr/pollset_multipoller_with_epoll.c",
483 "src/core/iomgr/pollset_multipoller_with_poll_posix.c",
484 "src/core/iomgr/pollset_posix.c",
Craig Tillerb7cf08f2015-05-07 07:58:30 -0700485 "src/core/iomgr/pollset_set_posix.c",
486 "src/core/iomgr/pollset_set_windows.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700487 "src/core/iomgr/pollset_windows.c",
488 "src/core/iomgr/resolve_address_posix.c",
489 "src/core/iomgr/resolve_address_windows.c",
490 "src/core/iomgr/sockaddr_utils.c",
491 "src/core/iomgr/socket_utils_common_posix.c",
492 "src/core/iomgr/socket_utils_linux.c",
493 "src/core/iomgr/socket_utils_posix.c",
494 "src/core/iomgr/socket_windows.c",
495 "src/core/iomgr/tcp_client_posix.c",
496 "src/core/iomgr/tcp_client_windows.c",
497 "src/core/iomgr/tcp_posix.c",
498 "src/core/iomgr/tcp_server_posix.c",
499 "src/core/iomgr/tcp_server_windows.c",
500 "src/core/iomgr/tcp_windows.c",
501 "src/core/iomgr/time_averaged_stats.c",
502 "src/core/iomgr/wakeup_fd_eventfd.c",
503 "src/core/iomgr/wakeup_fd_nospecial.c",
504 "src/core/iomgr/wakeup_fd_pipe.c",
505 "src/core/iomgr/wakeup_fd_posix.c",
506 "src/core/json/json.c",
507 "src/core/json/json_reader.c",
508 "src/core/json/json_string.c",
509 "src/core/json/json_writer.c",
David Garcia Quintas8954e902015-04-29 09:46:33 -0700510 "src/core/profiling/basic_timers.c",
511 "src/core/profiling/stap_timers.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700512 "src/core/surface/byte_buffer.c",
513 "src/core/surface/byte_buffer_queue.c",
514 "src/core/surface/byte_buffer_reader.c",
515 "src/core/surface/call.c",
516 "src/core/surface/call_details.c",
517 "src/core/surface/call_log_batch.c",
518 "src/core/surface/channel.c",
519 "src/core/surface/channel_create.c",
520 "src/core/surface/client.c",
521 "src/core/surface/completion_queue.c",
522 "src/core/surface/event_string.c",
523 "src/core/surface/init.c",
524 "src/core/surface/lame_client.c",
525 "src/core/surface/metadata_array.c",
526 "src/core/surface/server.c",
527 "src/core/surface/server_chttp2.c",
528 "src/core/surface/server_create.c",
529 "src/core/surface/surface_trace.c",
530 "src/core/transport/chttp2/alpn.c",
531 "src/core/transport/chttp2/bin_encoder.c",
532 "src/core/transport/chttp2/frame_data.c",
533 "src/core/transport/chttp2/frame_goaway.c",
534 "src/core/transport/chttp2/frame_ping.c",
535 "src/core/transport/chttp2/frame_rst_stream.c",
536 "src/core/transport/chttp2/frame_settings.c",
537 "src/core/transport/chttp2/frame_window_update.c",
538 "src/core/transport/chttp2/hpack_parser.c",
539 "src/core/transport/chttp2/hpack_table.c",
540 "src/core/transport/chttp2/huffsyms.c",
541 "src/core/transport/chttp2/status_conversion.c",
542 "src/core/transport/chttp2/stream_encoder.c",
543 "src/core/transport/chttp2/stream_map.c",
544 "src/core/transport/chttp2/timeout_encoding.c",
545 "src/core/transport/chttp2/varint.c",
546 "src/core/transport/chttp2_transport.c",
547 "src/core/transport/metadata.c",
548 "src/core/transport/stream_op.c",
549 "src/core/transport/transport.c",
Craig Tiller83f88d92015-04-21 16:02:05 -0700550 "src/core/transport/transport_op_string.c",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700551 "src/core/census/context.c",
552 "src/core/census/initialize.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700553 ],
554 hdrs = [
555 "include/grpc/byte_buffer.h",
556 "include/grpc/byte_buffer_reader.h",
David Garcia Quintas59f905d2015-06-08 16:31:19 -0700557 "include/grpc/compression.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700558 "include/grpc/grpc.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700559 "include/grpc/status.h",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700560 "include/grpc/census.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700561 ],
562 includes = [
563 "include",
564 ".",
565 ],
566 deps = [
567 ":gpr",
568 ],
569)
570
571
572cc_library(
573 name = "grpc++",
574 srcs = [
575 "src/cpp/client/secure_credentials.h",
576 "src/cpp/server/secure_server_credentials.h",
577 "src/cpp/client/channel.h",
578 "src/cpp/proto/proto_utils.h",
579 "src/cpp/server/thread_pool.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700580 "src/cpp/client/secure_credentials.cc",
581 "src/cpp/server/secure_server_credentials.cc",
582 "src/cpp/client/channel.cc",
583 "src/cpp/client/channel_arguments.cc",
584 "src/cpp/client/client_context.cc",
585 "src/cpp/client/client_unary_call.cc",
586 "src/cpp/client/create_channel.cc",
587 "src/cpp/client/credentials.cc",
588 "src/cpp/client/generic_stub.cc",
589 "src/cpp/client/insecure_credentials.cc",
590 "src/cpp/client/internal_stub.cc",
591 "src/cpp/common/call.cc",
592 "src/cpp/common/completion_queue.cc",
593 "src/cpp/common/rpc_method.cc",
594 "src/cpp/proto/proto_utils.cc",
595 "src/cpp/server/async_generic_service.cc",
Yang Gao6f4fb3b2015-06-03 12:56:19 -0700596 "src/cpp/server/create_default_thread_pool.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700597 "src/cpp/server/insecure_server_credentials.cc",
598 "src/cpp/server/server.cc",
599 "src/cpp/server/server_builder.cc",
600 "src/cpp/server/server_context.cc",
601 "src/cpp/server/server_credentials.cc",
602 "src/cpp/server/thread_pool.cc",
603 "src/cpp/util/byte_buffer.cc",
604 "src/cpp/util/slice.cc",
605 "src/cpp/util/status.cc",
606 "src/cpp/util/time.cc",
607 ],
608 hdrs = [
609 "include/grpc++/async_generic_service.h",
610 "include/grpc++/async_unary_call.h",
611 "include/grpc++/byte_buffer.h",
612 "include/grpc++/channel_arguments.h",
613 "include/grpc++/channel_interface.h",
614 "include/grpc++/client_context.h",
615 "include/grpc++/completion_queue.h",
616 "include/grpc++/config.h",
617 "include/grpc++/create_channel.h",
618 "include/grpc++/credentials.h",
619 "include/grpc++/generic_stub.h",
620 "include/grpc++/impl/call.h",
621 "include/grpc++/impl/client_unary_call.h",
Yang Gao96de4842015-04-24 13:13:12 -0700622 "include/grpc++/impl/grpc_library.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700623 "include/grpc++/impl/internal_stub.h",
624 "include/grpc++/impl/rpc_method.h",
625 "include/grpc++/impl/rpc_service_method.h",
626 "include/grpc++/impl/service_type.h",
Nicolas "Pixel" Nobleb7c20352015-04-11 01:27:32 +0200627 "include/grpc++/impl/sync.h",
628 "include/grpc++/impl/sync_cxx11.h",
629 "include/grpc++/impl/sync_no_cxx11.h",
630 "include/grpc++/impl/thd.h",
631 "include/grpc++/impl/thd_cxx11.h",
632 "include/grpc++/impl/thd_no_cxx11.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700633 "include/grpc++/server.h",
634 "include/grpc++/server_builder.h",
635 "include/grpc++/server_context.h",
636 "include/grpc++/server_credentials.h",
637 "include/grpc++/slice.h",
638 "include/grpc++/status.h",
639 "include/grpc++/status_code_enum.h",
640 "include/grpc++/stream.h",
641 "include/grpc++/thread_pool_interface.h",
Nicolas "Pixel" Nobleb7c20352015-04-11 01:27:32 +0200642 "include/grpc++/time.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700643 ],
644 includes = [
645 "include",
646 ".",
647 ],
648 deps = [
649 "//external:protobuf_clib",
650 ":gpr",
651 ":grpc",
652 ],
653)
654
655
656cc_library(
657 name = "grpc++_unsecure",
658 srcs = [
659 "src/cpp/client/channel.h",
660 "src/cpp/proto/proto_utils.h",
661 "src/cpp/server/thread_pool.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700662 "src/cpp/client/channel.cc",
663 "src/cpp/client/channel_arguments.cc",
664 "src/cpp/client/client_context.cc",
665 "src/cpp/client/client_unary_call.cc",
666 "src/cpp/client/create_channel.cc",
667 "src/cpp/client/credentials.cc",
668 "src/cpp/client/generic_stub.cc",
669 "src/cpp/client/insecure_credentials.cc",
670 "src/cpp/client/internal_stub.cc",
671 "src/cpp/common/call.cc",
672 "src/cpp/common/completion_queue.cc",
673 "src/cpp/common/rpc_method.cc",
674 "src/cpp/proto/proto_utils.cc",
675 "src/cpp/server/async_generic_service.cc",
Yang Gao6f4fb3b2015-06-03 12:56:19 -0700676 "src/cpp/server/create_default_thread_pool.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700677 "src/cpp/server/insecure_server_credentials.cc",
678 "src/cpp/server/server.cc",
679 "src/cpp/server/server_builder.cc",
680 "src/cpp/server/server_context.cc",
681 "src/cpp/server/server_credentials.cc",
682 "src/cpp/server/thread_pool.cc",
683 "src/cpp/util/byte_buffer.cc",
684 "src/cpp/util/slice.cc",
685 "src/cpp/util/status.cc",
686 "src/cpp/util/time.cc",
687 ],
688 hdrs = [
689 "include/grpc++/async_generic_service.h",
690 "include/grpc++/async_unary_call.h",
691 "include/grpc++/byte_buffer.h",
692 "include/grpc++/channel_arguments.h",
693 "include/grpc++/channel_interface.h",
694 "include/grpc++/client_context.h",
695 "include/grpc++/completion_queue.h",
696 "include/grpc++/config.h",
697 "include/grpc++/create_channel.h",
698 "include/grpc++/credentials.h",
699 "include/grpc++/generic_stub.h",
700 "include/grpc++/impl/call.h",
701 "include/grpc++/impl/client_unary_call.h",
Yang Gao96de4842015-04-24 13:13:12 -0700702 "include/grpc++/impl/grpc_library.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700703 "include/grpc++/impl/internal_stub.h",
704 "include/grpc++/impl/rpc_method.h",
705 "include/grpc++/impl/rpc_service_method.h",
706 "include/grpc++/impl/service_type.h",
Nicolas "Pixel" Nobleb7c20352015-04-11 01:27:32 +0200707 "include/grpc++/impl/sync.h",
708 "include/grpc++/impl/sync_cxx11.h",
709 "include/grpc++/impl/sync_no_cxx11.h",
710 "include/grpc++/impl/thd.h",
711 "include/grpc++/impl/thd_cxx11.h",
712 "include/grpc++/impl/thd_no_cxx11.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700713 "include/grpc++/server.h",
714 "include/grpc++/server_builder.h",
715 "include/grpc++/server_context.h",
716 "include/grpc++/server_credentials.h",
717 "include/grpc++/slice.h",
718 "include/grpc++/status.h",
719 "include/grpc++/status_code_enum.h",
720 "include/grpc++/stream.h",
721 "include/grpc++/thread_pool_interface.h",
Nicolas "Pixel" Nobleb7c20352015-04-11 01:27:32 +0200722 "include/grpc++/time.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700723 ],
724 includes = [
725 "include",
726 ".",
727 ],
728 deps = [
729 "//external:protobuf_clib",
730 ":gpr",
731 ":grpc_unsecure",
732 ],
733)
734
735
736cc_library(
737 name = "grpc_plugin_support",
738 srcs = [
739 "src/compiler/config.h",
740 "src/compiler/cpp_generator.h",
741 "src/compiler/cpp_generator_helpers.h",
Jan Tattermusch2d924952015-05-06 10:23:17 -0700742 "src/compiler/csharp_generator.h",
743 "src/compiler/csharp_generator_helpers.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700744 "src/compiler/generator_helpers.h",
745 "src/compiler/objective_c_generator.h",
746 "src/compiler/objective_c_generator_helpers.h",
747 "src/compiler/python_generator.h",
748 "src/compiler/ruby_generator.h",
749 "src/compiler/ruby_generator_helpers-inl.h",
750 "src/compiler/ruby_generator_map-inl.h",
751 "src/compiler/ruby_generator_string-inl.h",
752 "src/compiler/cpp_generator.cc",
Jan Tattermusch2d924952015-05-06 10:23:17 -0700753 "src/compiler/csharp_generator.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700754 "src/compiler/objective_c_generator.cc",
755 "src/compiler/python_generator.cc",
756 "src/compiler/ruby_generator.cc",
757 ],
758 hdrs = [
759 ],
760 includes = [
761 "include",
762 ".",
763 ],
764 deps = [
765 "//external:protobuf_compiler",
766 ],
767)
768
769
770cc_library(
771 name = "grpc_csharp_ext",
772 srcs = [
773 "src/csharp/ext/grpc_csharp_ext.c",
774 ],
775 hdrs = [
776 ],
777 includes = [
778 "include",
779 ".",
780 ],
781 deps = [
782 ":gpr",
783 ":grpc",
784 ],
785)
786
787
788
789cc_binary(
790 name = "grpc_cpp_plugin",
791 srcs = [
792 "src/compiler/cpp_plugin.cc",
793 ],
794 deps = [
795 "//external:protobuf_compiler",
796 ":grpc_plugin_support",
797 ],
798)
799
800
801cc_binary(
Jan Tattermusch2d924952015-05-06 10:23:17 -0700802 name = "grpc_csharp_plugin",
803 srcs = [
804 "src/compiler/csharp_plugin.cc",
805 ],
806 deps = [
807 "//external:protobuf_compiler",
808 ":grpc_plugin_support",
809 ],
810)
811
812
813cc_binary(
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700814 name = "grpc_objective_c_plugin",
815 srcs = [
816 "src/compiler/objective_c_plugin.cc",
817 ],
818 deps = [
819 "//external:protobuf_compiler",
820 ":grpc_plugin_support",
821 ],
822)
823
824
825cc_binary(
826 name = "grpc_python_plugin",
827 srcs = [
828 "src/compiler/python_plugin.cc",
829 ],
830 deps = [
831 "//external:protobuf_compiler",
832 ":grpc_plugin_support",
833 ],
834)
835
836
837cc_binary(
838 name = "grpc_ruby_plugin",
839 srcs = [
840 "src/compiler/ruby_plugin.cc",
841 ],
842 deps = [
843 "//external:protobuf_compiler",
844 ":grpc_plugin_support",
845 ],
846)
847
848
849
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +0200850
851