blob: c6593e1acbca43e10726d23ec2b356b3043b2e33 [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.
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +02005
6# Copyright 2015, Google Inc.
7# All rights reserved.
8#
9# Redistribution and use in source and binary forms, with or without
10# modification, are permitted provided that the following conditions are
11# met:
12#
13# * Redistributions of source code must retain the above copyright
14# notice, this list of conditions and the following disclaimer.
15# * Redistributions in binary form must reproduce the above
16# copyright notice, this list of conditions and the following disclaimer
17# in the documentation and/or other materials provided with the
18# distribution.
19# * Neither the name of Google Inc. nor the names of its
20# contributors may be used to endorse or promote products derived from
21# this software without specific prior written permission.
22#
23# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
24# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
25# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
26# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
27# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
28# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
29# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
30# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
31# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
32# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
33# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
34
35licenses(["notice"]) # 3-clause BSD
36
Ming Zhao3c0ba0c2015-04-10 12:05:22 -070037package(default_visibility = ["//visibility:public"])
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +020038
39
40
41
42cc_library(
Ming Zhao3c0ba0c2015-04-10 12:05:22 -070043 name = "gpr",
44 srcs = [
45 "src/core/support/env.h",
46 "src/core/support/file.h",
47 "src/core/support/murmur_hash.h",
48 "src/core/support/string.h",
49 "src/core/support/string_win32.h",
50 "src/core/support/thd_internal.h",
51 "src/core/support/alloc.c",
52 "src/core/support/cancellable.c",
53 "src/core/support/cmdline.c",
54 "src/core/support/cpu_iphone.c",
55 "src/core/support/cpu_linux.c",
56 "src/core/support/cpu_posix.c",
57 "src/core/support/cpu_windows.c",
58 "src/core/support/env_linux.c",
59 "src/core/support/env_posix.c",
60 "src/core/support/env_win32.c",
61 "src/core/support/file.c",
62 "src/core/support/file_posix.c",
63 "src/core/support/file_win32.c",
64 "src/core/support/histogram.c",
65 "src/core/support/host_port.c",
66 "src/core/support/log.c",
67 "src/core/support/log_android.c",
68 "src/core/support/log_linux.c",
69 "src/core/support/log_posix.c",
70 "src/core/support/log_win32.c",
71 "src/core/support/murmur_hash.c",
72 "src/core/support/slice.c",
73 "src/core/support/slice_buffer.c",
74 "src/core/support/string.c",
75 "src/core/support/string_posix.c",
76 "src/core/support/string_win32.c",
Craig Tillerc21a8092015-05-15 10:03:40 -070077 "src/core/support/subprocess_posix.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -070078 "src/core/support/sync.c",
79 "src/core/support/sync_posix.c",
80 "src/core/support/sync_win32.c",
81 "src/core/support/thd.c",
82 "src/core/support/thd_posix.c",
83 "src/core/support/thd_win32.c",
84 "src/core/support/time.c",
85 "src/core/support/time_posix.c",
86 "src/core/support/time_win32.c",
Craig Tilleree210ab2015-05-15 10:32:28 -070087 "src/core/support/tls_pthread.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -070088 ],
89 hdrs = [
90 "include/grpc/support/alloc.h",
91 "include/grpc/support/atm.h",
92 "include/grpc/support/atm_gcc_atomic.h",
93 "include/grpc/support/atm_gcc_sync.h",
94 "include/grpc/support/atm_win32.h",
95 "include/grpc/support/cancellable_platform.h",
96 "include/grpc/support/cmdline.h",
97 "include/grpc/support/cpu.h",
98 "include/grpc/support/histogram.h",
99 "include/grpc/support/host_port.h",
100 "include/grpc/support/log.h",
101 "include/grpc/support/log_win32.h",
102 "include/grpc/support/port_platform.h",
103 "include/grpc/support/slice.h",
104 "include/grpc/support/slice_buffer.h",
Masood Malekghassemi701af602015-06-03 15:01:17 -0700105 "include/grpc/support/string_util.h",
Craig Tiller685f1e62015-05-15 11:40:59 -0700106 "include/grpc/support/subprocess.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700107 "include/grpc/support/sync.h",
108 "include/grpc/support/sync_generic.h",
109 "include/grpc/support/sync_posix.h",
110 "include/grpc/support/sync_win32.h",
111 "include/grpc/support/thd.h",
112 "include/grpc/support/time.h",
Yang Gaob0b518e2015-04-13 14:53:25 -0700113 "include/grpc/support/tls.h",
114 "include/grpc/support/tls_gcc.h",
115 "include/grpc/support/tls_msvc.h",
116 "include/grpc/support/tls_pthread.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700117 "include/grpc/support/useful.h",
118 ],
119 includes = [
120 "include",
121 ".",
122 ],
123 deps = [
124 ],
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +0200125)
126
127
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +0200128cc_library(
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700129 name = "grpc",
130 srcs = [
131 "src/core/httpcli/format_request.h",
132 "src/core/httpcli/httpcli.h",
Julien Boeuf7d1d9ca2015-04-17 14:38:48 -0700133 "src/core/httpcli/httpcli_security_connector.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700134 "src/core/httpcli/parser.h",
Julien Boeufc6f8d0a2015-05-11 22:40:02 -0700135 "src/core/security/auth_filters.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700136 "src/core/security/base64.h",
137 "src/core/security/credentials.h",
138 "src/core/security/json_token.h",
139 "src/core/security/secure_endpoint.h",
140 "src/core/security/secure_transport_setup.h",
Julien Boeuf7d1d9ca2015-04-17 14:38:48 -0700141 "src/core/security/security_connector.h",
Julien Boeufd7f768b2015-05-08 16:37:16 -0700142 "src/core/security/security_context.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700143 "src/core/tsi/fake_transport_security.h",
144 "src/core/tsi/ssl_transport_security.h",
145 "src/core/tsi/transport_security.h",
146 "src/core/tsi/transport_security_interface.h",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700147 "src/core/census/grpc_context.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700148 "src/core/channel/channel_args.h",
149 "src/core/channel/channel_stack.h",
150 "src/core/channel/child_channel.h",
151 "src/core/channel/client_channel.h",
152 "src/core/channel/client_setup.h",
153 "src/core/channel/connected_channel.h",
154 "src/core/channel/http_client_filter.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700155 "src/core/channel/http_server_filter.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700156 "src/core/channel/noop_filter.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700157 "src/core/compression/message_compress.h",
158 "src/core/debug/trace.h",
159 "src/core/iomgr/alarm.h",
160 "src/core/iomgr/alarm_heap.h",
161 "src/core/iomgr/alarm_internal.h",
162 "src/core/iomgr/endpoint.h",
163 "src/core/iomgr/endpoint_pair.h",
164 "src/core/iomgr/fd_posix.h",
165 "src/core/iomgr/iocp_windows.h",
166 "src/core/iomgr/iomgr.h",
167 "src/core/iomgr/iomgr_internal.h",
168 "src/core/iomgr/iomgr_posix.h",
169 "src/core/iomgr/pollset.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700170 "src/core/iomgr/pollset_kick_posix.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700171 "src/core/iomgr/pollset_posix.h",
Craig Tillerb7cf08f2015-05-07 07:58:30 -0700172 "src/core/iomgr/pollset_set_posix.h",
173 "src/core/iomgr/pollset_set_windows.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700174 "src/core/iomgr/pollset_windows.h",
175 "src/core/iomgr/resolve_address.h",
176 "src/core/iomgr/sockaddr.h",
177 "src/core/iomgr/sockaddr_posix.h",
178 "src/core/iomgr/sockaddr_utils.h",
179 "src/core/iomgr/sockaddr_win32.h",
180 "src/core/iomgr/socket_utils_posix.h",
181 "src/core/iomgr/socket_windows.h",
182 "src/core/iomgr/tcp_client.h",
183 "src/core/iomgr/tcp_posix.h",
184 "src/core/iomgr/tcp_server.h",
185 "src/core/iomgr/tcp_windows.h",
186 "src/core/iomgr/time_averaged_stats.h",
187 "src/core/iomgr/wakeup_fd_pipe.h",
188 "src/core/iomgr/wakeup_fd_posix.h",
189 "src/core/json/json.h",
190 "src/core/json/json_common.h",
191 "src/core/json/json_reader.h",
192 "src/core/json/json_writer.h",
Vijay Pai6dfa7e62015-04-13 10:41:40 -0700193 "src/core/profiling/timers.h",
Vijay Pai9cccb082015-04-13 13:04:06 -0700194 "src/core/profiling/timers_preciseclock.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700195 "src/core/surface/byte_buffer_queue.h",
196 "src/core/surface/call.h",
197 "src/core/surface/channel.h",
198 "src/core/surface/client.h",
199 "src/core/surface/completion_queue.h",
200 "src/core/surface/event_string.h",
201 "src/core/surface/init.h",
202 "src/core/surface/server.h",
203 "src/core/surface/surface_trace.h",
204 "src/core/transport/chttp2/alpn.h",
205 "src/core/transport/chttp2/bin_encoder.h",
Craig Tiller5dc3b302015-06-15 16:06:50 -0700206 "src/core/transport/chttp2/frame.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700207 "src/core/transport/chttp2/frame_data.h",
208 "src/core/transport/chttp2/frame_goaway.h",
209 "src/core/transport/chttp2/frame_ping.h",
210 "src/core/transport/chttp2/frame_rst_stream.h",
211 "src/core/transport/chttp2/frame_settings.h",
212 "src/core/transport/chttp2/frame_window_update.h",
213 "src/core/transport/chttp2/hpack_parser.h",
214 "src/core/transport/chttp2/hpack_table.h",
215 "src/core/transport/chttp2/http2_errors.h",
216 "src/core/transport/chttp2/huffsyms.h",
Craig Tiller5dc3b302015-06-15 16:06:50 -0700217 "src/core/transport/chttp2/incoming_metadata.h",
Craig Tiller41527062015-06-12 07:51:05 -0700218 "src/core/transport/chttp2/internal.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700219 "src/core/transport/chttp2/status_conversion.h",
220 "src/core/transport/chttp2/stream_encoder.h",
221 "src/core/transport/chttp2/stream_map.h",
222 "src/core/transport/chttp2/timeout_encoding.h",
223 "src/core/transport/chttp2/varint.h",
224 "src/core/transport/chttp2_transport.h",
225 "src/core/transport/metadata.h",
226 "src/core/transport/stream_op.h",
227 "src/core/transport/transport.h",
228 "src/core/transport/transport_impl.h",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700229 "src/core/census/context.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700230 "src/core/httpcli/format_request.c",
231 "src/core/httpcli/httpcli.c",
Julien Boeuf7d1d9ca2015-04-17 14:38:48 -0700232 "src/core/httpcli/httpcli_security_connector.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700233 "src/core/httpcli/parser.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700234 "src/core/security/base64.c",
Julien Boeufc6f8d0a2015-05-11 22:40:02 -0700235 "src/core/security/client_auth_filter.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700236 "src/core/security/credentials.c",
Julien Boeuf75c9b6f2015-05-29 13:12:12 -0700237 "src/core/security/credentials_metadata.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700238 "src/core/security/credentials_posix.c",
239 "src/core/security/credentials_win32.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700240 "src/core/security/google_default_credentials.c",
241 "src/core/security/json_token.c",
242 "src/core/security/secure_endpoint.c",
243 "src/core/security/secure_transport_setup.c",
Julien Boeuf7d1d9ca2015-04-17 14:38:48 -0700244 "src/core/security/security_connector.c",
Julien Boeufd7f768b2015-05-08 16:37:16 -0700245 "src/core/security/security_context.c",
Julien Boeufc6f8d0a2015-05-11 22:40:02 -0700246 "src/core/security/server_auth_filter.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700247 "src/core/security/server_secure_chttp2.c",
248 "src/core/surface/init_secure.c",
249 "src/core/surface/secure_channel_create.c",
250 "src/core/tsi/fake_transport_security.c",
251 "src/core/tsi/ssl_transport_security.c",
252 "src/core/tsi/transport_security.c",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700253 "src/core/census/grpc_context.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700254 "src/core/channel/channel_args.c",
255 "src/core/channel/channel_stack.c",
256 "src/core/channel/child_channel.c",
257 "src/core/channel/client_channel.c",
258 "src/core/channel/client_setup.c",
259 "src/core/channel/connected_channel.c",
260 "src/core/channel/http_client_filter.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700261 "src/core/channel/http_server_filter.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700262 "src/core/channel/noop_filter.c",
263 "src/core/compression/algorithm.c",
264 "src/core/compression/message_compress.c",
265 "src/core/debug/trace.c",
266 "src/core/iomgr/alarm.c",
267 "src/core/iomgr/alarm_heap.c",
268 "src/core/iomgr/endpoint.c",
269 "src/core/iomgr/endpoint_pair_posix.c",
Craig Tillerd180e032015-04-13 10:10:07 -0700270 "src/core/iomgr/endpoint_pair_windows.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700271 "src/core/iomgr/fd_posix.c",
272 "src/core/iomgr/iocp_windows.c",
273 "src/core/iomgr/iomgr.c",
274 "src/core/iomgr/iomgr_posix.c",
275 "src/core/iomgr/iomgr_windows.c",
Craig Tiller0c1d2782015-05-28 17:06:05 -0700276 "src/core/iomgr/pollset_kick_posix.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700277 "src/core/iomgr/pollset_multipoller_with_epoll.c",
278 "src/core/iomgr/pollset_multipoller_with_poll_posix.c",
279 "src/core/iomgr/pollset_posix.c",
Craig Tillerb7cf08f2015-05-07 07:58:30 -0700280 "src/core/iomgr/pollset_set_posix.c",
281 "src/core/iomgr/pollset_set_windows.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700282 "src/core/iomgr/pollset_windows.c",
283 "src/core/iomgr/resolve_address_posix.c",
284 "src/core/iomgr/resolve_address_windows.c",
285 "src/core/iomgr/sockaddr_utils.c",
286 "src/core/iomgr/socket_utils_common_posix.c",
287 "src/core/iomgr/socket_utils_linux.c",
288 "src/core/iomgr/socket_utils_posix.c",
289 "src/core/iomgr/socket_windows.c",
290 "src/core/iomgr/tcp_client_posix.c",
291 "src/core/iomgr/tcp_client_windows.c",
292 "src/core/iomgr/tcp_posix.c",
293 "src/core/iomgr/tcp_server_posix.c",
294 "src/core/iomgr/tcp_server_windows.c",
295 "src/core/iomgr/tcp_windows.c",
296 "src/core/iomgr/time_averaged_stats.c",
297 "src/core/iomgr/wakeup_fd_eventfd.c",
298 "src/core/iomgr/wakeup_fd_nospecial.c",
299 "src/core/iomgr/wakeup_fd_pipe.c",
300 "src/core/iomgr/wakeup_fd_posix.c",
301 "src/core/json/json.c",
302 "src/core/json/json_reader.c",
303 "src/core/json/json_string.c",
304 "src/core/json/json_writer.c",
David Garcia Quintas8954e902015-04-29 09:46:33 -0700305 "src/core/profiling/basic_timers.c",
306 "src/core/profiling/stap_timers.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700307 "src/core/surface/byte_buffer.c",
308 "src/core/surface/byte_buffer_queue.c",
309 "src/core/surface/byte_buffer_reader.c",
310 "src/core/surface/call.c",
311 "src/core/surface/call_details.c",
312 "src/core/surface/call_log_batch.c",
313 "src/core/surface/channel.c",
314 "src/core/surface/channel_create.c",
315 "src/core/surface/client.c",
316 "src/core/surface/completion_queue.c",
317 "src/core/surface/event_string.c",
318 "src/core/surface/init.c",
319 "src/core/surface/lame_client.c",
320 "src/core/surface/metadata_array.c",
321 "src/core/surface/server.c",
322 "src/core/surface/server_chttp2.c",
323 "src/core/surface/server_create.c",
324 "src/core/surface/surface_trace.c",
325 "src/core/transport/chttp2/alpn.c",
326 "src/core/transport/chttp2/bin_encoder.c",
327 "src/core/transport/chttp2/frame_data.c",
328 "src/core/transport/chttp2/frame_goaway.c",
329 "src/core/transport/chttp2/frame_ping.c",
330 "src/core/transport/chttp2/frame_rst_stream.c",
331 "src/core/transport/chttp2/frame_settings.c",
332 "src/core/transport/chttp2/frame_window_update.c",
333 "src/core/transport/chttp2/hpack_parser.c",
334 "src/core/transport/chttp2/hpack_table.c",
335 "src/core/transport/chttp2/huffsyms.c",
Craig Tiller5dc3b302015-06-15 16:06:50 -0700336 "src/core/transport/chttp2/incoming_metadata.c",
Craig Tillerd8df50c2015-06-12 07:53:56 -0700337 "src/core/transport/chttp2/parsing.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700338 "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",
Craig Tillerd8df50c2015-06-12 07:53:56 -0700343 "src/core/transport/chttp2/writing.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700344 "src/core/transport/chttp2_transport.c",
345 "src/core/transport/metadata.c",
346 "src/core/transport/stream_op.c",
347 "src/core/transport/transport.c",
Craig Tiller83f88d92015-04-21 16:02:05 -0700348 "src/core/transport/transport_op_string.c",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700349 "src/core/census/context.c",
350 "src/core/census/initialize.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700351 ],
352 hdrs = [
353 "include/grpc/grpc_security.h",
354 "include/grpc/byte_buffer.h",
355 "include/grpc/byte_buffer_reader.h",
David Garcia Quintas59f905d2015-06-08 16:31:19 -0700356 "include/grpc/compression.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700357 "include/grpc/grpc.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700358 "include/grpc/status.h",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700359 "include/grpc/census.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700360 ],
361 includes = [
362 "include",
363 ".",
364 ],
365 deps = [
366 "//external:libssl",
367 ":gpr",
368 ],
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +0200369)
370
371
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700372cc_library(
373 name = "grpc_unsecure",
374 srcs = [
Alistair Veitch9686dab2015-05-26 14:26:47 -0700375 "src/core/census/grpc_context.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",
382 "src/core/channel/http_client_filter.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700383 "src/core/channel/http_server_filter.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700384 "src/core/channel/noop_filter.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700385 "src/core/compression/message_compress.h",
386 "src/core/debug/trace.h",
387 "src/core/iomgr/alarm.h",
388 "src/core/iomgr/alarm_heap.h",
389 "src/core/iomgr/alarm_internal.h",
390 "src/core/iomgr/endpoint.h",
391 "src/core/iomgr/endpoint_pair.h",
392 "src/core/iomgr/fd_posix.h",
393 "src/core/iomgr/iocp_windows.h",
394 "src/core/iomgr/iomgr.h",
395 "src/core/iomgr/iomgr_internal.h",
396 "src/core/iomgr/iomgr_posix.h",
397 "src/core/iomgr/pollset.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700398 "src/core/iomgr/pollset_kick_posix.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700399 "src/core/iomgr/pollset_posix.h",
Craig Tillerb7cf08f2015-05-07 07:58:30 -0700400 "src/core/iomgr/pollset_set_posix.h",
401 "src/core/iomgr/pollset_set_windows.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700402 "src/core/iomgr/pollset_windows.h",
403 "src/core/iomgr/resolve_address.h",
404 "src/core/iomgr/sockaddr.h",
405 "src/core/iomgr/sockaddr_posix.h",
406 "src/core/iomgr/sockaddr_utils.h",
407 "src/core/iomgr/sockaddr_win32.h",
408 "src/core/iomgr/socket_utils_posix.h",
409 "src/core/iomgr/socket_windows.h",
410 "src/core/iomgr/tcp_client.h",
411 "src/core/iomgr/tcp_posix.h",
412 "src/core/iomgr/tcp_server.h",
413 "src/core/iomgr/tcp_windows.h",
414 "src/core/iomgr/time_averaged_stats.h",
415 "src/core/iomgr/wakeup_fd_pipe.h",
416 "src/core/iomgr/wakeup_fd_posix.h",
417 "src/core/json/json.h",
418 "src/core/json/json_common.h",
419 "src/core/json/json_reader.h",
420 "src/core/json/json_writer.h",
Vijay Pai6dfa7e62015-04-13 10:41:40 -0700421 "src/core/profiling/timers.h",
Vijay Pai9cccb082015-04-13 13:04:06 -0700422 "src/core/profiling/timers_preciseclock.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700423 "src/core/surface/byte_buffer_queue.h",
424 "src/core/surface/call.h",
425 "src/core/surface/channel.h",
426 "src/core/surface/client.h",
427 "src/core/surface/completion_queue.h",
428 "src/core/surface/event_string.h",
429 "src/core/surface/init.h",
430 "src/core/surface/server.h",
431 "src/core/surface/surface_trace.h",
432 "src/core/transport/chttp2/alpn.h",
433 "src/core/transport/chttp2/bin_encoder.h",
Craig Tiller5dc3b302015-06-15 16:06:50 -0700434 "src/core/transport/chttp2/frame.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700435 "src/core/transport/chttp2/frame_data.h",
436 "src/core/transport/chttp2/frame_goaway.h",
437 "src/core/transport/chttp2/frame_ping.h",
438 "src/core/transport/chttp2/frame_rst_stream.h",
439 "src/core/transport/chttp2/frame_settings.h",
440 "src/core/transport/chttp2/frame_window_update.h",
441 "src/core/transport/chttp2/hpack_parser.h",
442 "src/core/transport/chttp2/hpack_table.h",
443 "src/core/transport/chttp2/http2_errors.h",
444 "src/core/transport/chttp2/huffsyms.h",
Craig Tiller5dc3b302015-06-15 16:06:50 -0700445 "src/core/transport/chttp2/incoming_metadata.h",
Craig Tiller41527062015-06-12 07:51:05 -0700446 "src/core/transport/chttp2/internal.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700447 "src/core/transport/chttp2/status_conversion.h",
448 "src/core/transport/chttp2/stream_encoder.h",
449 "src/core/transport/chttp2/stream_map.h",
450 "src/core/transport/chttp2/timeout_encoding.h",
451 "src/core/transport/chttp2/varint.h",
452 "src/core/transport/chttp2_transport.h",
453 "src/core/transport/metadata.h",
454 "src/core/transport/stream_op.h",
455 "src/core/transport/transport.h",
456 "src/core/transport/transport_impl.h",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700457 "src/core/census/context.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700458 "src/core/surface/init_unsecure.c",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700459 "src/core/census/grpc_context.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700460 "src/core/channel/channel_args.c",
461 "src/core/channel/channel_stack.c",
462 "src/core/channel/child_channel.c",
463 "src/core/channel/client_channel.c",
464 "src/core/channel/client_setup.c",
465 "src/core/channel/connected_channel.c",
466 "src/core/channel/http_client_filter.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700467 "src/core/channel/http_server_filter.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700468 "src/core/channel/noop_filter.c",
469 "src/core/compression/algorithm.c",
470 "src/core/compression/message_compress.c",
471 "src/core/debug/trace.c",
472 "src/core/iomgr/alarm.c",
473 "src/core/iomgr/alarm_heap.c",
474 "src/core/iomgr/endpoint.c",
475 "src/core/iomgr/endpoint_pair_posix.c",
Craig Tillerd180e032015-04-13 10:10:07 -0700476 "src/core/iomgr/endpoint_pair_windows.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700477 "src/core/iomgr/fd_posix.c",
478 "src/core/iomgr/iocp_windows.c",
479 "src/core/iomgr/iomgr.c",
480 "src/core/iomgr/iomgr_posix.c",
481 "src/core/iomgr/iomgr_windows.c",
Craig Tiller0c1d2782015-05-28 17:06:05 -0700482 "src/core/iomgr/pollset_kick_posix.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700483 "src/core/iomgr/pollset_multipoller_with_epoll.c",
484 "src/core/iomgr/pollset_multipoller_with_poll_posix.c",
485 "src/core/iomgr/pollset_posix.c",
Craig Tillerb7cf08f2015-05-07 07:58:30 -0700486 "src/core/iomgr/pollset_set_posix.c",
487 "src/core/iomgr/pollset_set_windows.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700488 "src/core/iomgr/pollset_windows.c",
489 "src/core/iomgr/resolve_address_posix.c",
490 "src/core/iomgr/resolve_address_windows.c",
491 "src/core/iomgr/sockaddr_utils.c",
492 "src/core/iomgr/socket_utils_common_posix.c",
493 "src/core/iomgr/socket_utils_linux.c",
494 "src/core/iomgr/socket_utils_posix.c",
495 "src/core/iomgr/socket_windows.c",
496 "src/core/iomgr/tcp_client_posix.c",
497 "src/core/iomgr/tcp_client_windows.c",
498 "src/core/iomgr/tcp_posix.c",
499 "src/core/iomgr/tcp_server_posix.c",
500 "src/core/iomgr/tcp_server_windows.c",
501 "src/core/iomgr/tcp_windows.c",
502 "src/core/iomgr/time_averaged_stats.c",
503 "src/core/iomgr/wakeup_fd_eventfd.c",
504 "src/core/iomgr/wakeup_fd_nospecial.c",
505 "src/core/iomgr/wakeup_fd_pipe.c",
506 "src/core/iomgr/wakeup_fd_posix.c",
507 "src/core/json/json.c",
508 "src/core/json/json_reader.c",
509 "src/core/json/json_string.c",
510 "src/core/json/json_writer.c",
David Garcia Quintas8954e902015-04-29 09:46:33 -0700511 "src/core/profiling/basic_timers.c",
512 "src/core/profiling/stap_timers.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700513 "src/core/surface/byte_buffer.c",
514 "src/core/surface/byte_buffer_queue.c",
515 "src/core/surface/byte_buffer_reader.c",
516 "src/core/surface/call.c",
517 "src/core/surface/call_details.c",
518 "src/core/surface/call_log_batch.c",
519 "src/core/surface/channel.c",
520 "src/core/surface/channel_create.c",
521 "src/core/surface/client.c",
522 "src/core/surface/completion_queue.c",
523 "src/core/surface/event_string.c",
524 "src/core/surface/init.c",
525 "src/core/surface/lame_client.c",
526 "src/core/surface/metadata_array.c",
527 "src/core/surface/server.c",
528 "src/core/surface/server_chttp2.c",
529 "src/core/surface/server_create.c",
530 "src/core/surface/surface_trace.c",
531 "src/core/transport/chttp2/alpn.c",
532 "src/core/transport/chttp2/bin_encoder.c",
533 "src/core/transport/chttp2/frame_data.c",
534 "src/core/transport/chttp2/frame_goaway.c",
535 "src/core/transport/chttp2/frame_ping.c",
536 "src/core/transport/chttp2/frame_rst_stream.c",
537 "src/core/transport/chttp2/frame_settings.c",
538 "src/core/transport/chttp2/frame_window_update.c",
539 "src/core/transport/chttp2/hpack_parser.c",
540 "src/core/transport/chttp2/hpack_table.c",
541 "src/core/transport/chttp2/huffsyms.c",
Craig Tiller5dc3b302015-06-15 16:06:50 -0700542 "src/core/transport/chttp2/incoming_metadata.c",
Craig Tillerd8df50c2015-06-12 07:53:56 -0700543 "src/core/transport/chttp2/parsing.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700544 "src/core/transport/chttp2/status_conversion.c",
545 "src/core/transport/chttp2/stream_encoder.c",
546 "src/core/transport/chttp2/stream_map.c",
547 "src/core/transport/chttp2/timeout_encoding.c",
548 "src/core/transport/chttp2/varint.c",
Craig Tillerd8df50c2015-06-12 07:53:56 -0700549 "src/core/transport/chttp2/writing.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700550 "src/core/transport/chttp2_transport.c",
551 "src/core/transport/metadata.c",
552 "src/core/transport/stream_op.c",
553 "src/core/transport/transport.c",
Craig Tiller83f88d92015-04-21 16:02:05 -0700554 "src/core/transport/transport_op_string.c",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700555 "src/core/census/context.c",
556 "src/core/census/initialize.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700557 ],
558 hdrs = [
559 "include/grpc/byte_buffer.h",
560 "include/grpc/byte_buffer_reader.h",
David Garcia Quintas59f905d2015-06-08 16:31:19 -0700561 "include/grpc/compression.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700562 "include/grpc/grpc.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700563 "include/grpc/status.h",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700564 "include/grpc/census.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700565 ],
566 includes = [
567 "include",
568 ".",
569 ],
570 deps = [
571 ":gpr",
572 ],
573)
574
575
576cc_library(
577 name = "grpc++",
578 srcs = [
579 "src/cpp/client/secure_credentials.h",
580 "src/cpp/server/secure_server_credentials.h",
581 "src/cpp/client/channel.h",
582 "src/cpp/proto/proto_utils.h",
583 "src/cpp/server/thread_pool.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700584 "src/cpp/client/secure_credentials.cc",
585 "src/cpp/server/secure_server_credentials.cc",
586 "src/cpp/client/channel.cc",
587 "src/cpp/client/channel_arguments.cc",
588 "src/cpp/client/client_context.cc",
589 "src/cpp/client/client_unary_call.cc",
590 "src/cpp/client/create_channel.cc",
591 "src/cpp/client/credentials.cc",
592 "src/cpp/client/generic_stub.cc",
593 "src/cpp/client/insecure_credentials.cc",
594 "src/cpp/client/internal_stub.cc",
595 "src/cpp/common/call.cc",
596 "src/cpp/common/completion_queue.cc",
597 "src/cpp/common/rpc_method.cc",
598 "src/cpp/proto/proto_utils.cc",
599 "src/cpp/server/async_generic_service.cc",
Yang Gao6f4fb3b2015-06-03 12:56:19 -0700600 "src/cpp/server/create_default_thread_pool.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700601 "src/cpp/server/insecure_server_credentials.cc",
602 "src/cpp/server/server.cc",
603 "src/cpp/server/server_builder.cc",
604 "src/cpp/server/server_context.cc",
605 "src/cpp/server/server_credentials.cc",
606 "src/cpp/server/thread_pool.cc",
607 "src/cpp/util/byte_buffer.cc",
608 "src/cpp/util/slice.cc",
609 "src/cpp/util/status.cc",
610 "src/cpp/util/time.cc",
611 ],
612 hdrs = [
613 "include/grpc++/async_generic_service.h",
614 "include/grpc++/async_unary_call.h",
615 "include/grpc++/byte_buffer.h",
616 "include/grpc++/channel_arguments.h",
617 "include/grpc++/channel_interface.h",
618 "include/grpc++/client_context.h",
619 "include/grpc++/completion_queue.h",
620 "include/grpc++/config.h",
621 "include/grpc++/create_channel.h",
622 "include/grpc++/credentials.h",
623 "include/grpc++/generic_stub.h",
624 "include/grpc++/impl/call.h",
625 "include/grpc++/impl/client_unary_call.h",
Yang Gao96de4842015-04-24 13:13:12 -0700626 "include/grpc++/impl/grpc_library.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700627 "include/grpc++/impl/internal_stub.h",
628 "include/grpc++/impl/rpc_method.h",
629 "include/grpc++/impl/rpc_service_method.h",
630 "include/grpc++/impl/service_type.h",
Nicolas "Pixel" Nobleb7c20352015-04-11 01:27:32 +0200631 "include/grpc++/impl/sync.h",
632 "include/grpc++/impl/sync_cxx11.h",
633 "include/grpc++/impl/sync_no_cxx11.h",
634 "include/grpc++/impl/thd.h",
635 "include/grpc++/impl/thd_cxx11.h",
636 "include/grpc++/impl/thd_no_cxx11.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700637 "include/grpc++/server.h",
638 "include/grpc++/server_builder.h",
639 "include/grpc++/server_context.h",
640 "include/grpc++/server_credentials.h",
641 "include/grpc++/slice.h",
642 "include/grpc++/status.h",
643 "include/grpc++/status_code_enum.h",
644 "include/grpc++/stream.h",
645 "include/grpc++/thread_pool_interface.h",
Nicolas "Pixel" Nobleb7c20352015-04-11 01:27:32 +0200646 "include/grpc++/time.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700647 ],
648 includes = [
649 "include",
650 ".",
651 ],
652 deps = [
653 "//external:protobuf_clib",
654 ":gpr",
655 ":grpc",
656 ],
657)
658
659
660cc_library(
661 name = "grpc++_unsecure",
662 srcs = [
663 "src/cpp/client/channel.h",
664 "src/cpp/proto/proto_utils.h",
665 "src/cpp/server/thread_pool.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700666 "src/cpp/client/channel.cc",
667 "src/cpp/client/channel_arguments.cc",
668 "src/cpp/client/client_context.cc",
669 "src/cpp/client/client_unary_call.cc",
670 "src/cpp/client/create_channel.cc",
671 "src/cpp/client/credentials.cc",
672 "src/cpp/client/generic_stub.cc",
673 "src/cpp/client/insecure_credentials.cc",
674 "src/cpp/client/internal_stub.cc",
675 "src/cpp/common/call.cc",
676 "src/cpp/common/completion_queue.cc",
677 "src/cpp/common/rpc_method.cc",
678 "src/cpp/proto/proto_utils.cc",
679 "src/cpp/server/async_generic_service.cc",
Yang Gao6f4fb3b2015-06-03 12:56:19 -0700680 "src/cpp/server/create_default_thread_pool.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700681 "src/cpp/server/insecure_server_credentials.cc",
682 "src/cpp/server/server.cc",
683 "src/cpp/server/server_builder.cc",
684 "src/cpp/server/server_context.cc",
685 "src/cpp/server/server_credentials.cc",
686 "src/cpp/server/thread_pool.cc",
687 "src/cpp/util/byte_buffer.cc",
688 "src/cpp/util/slice.cc",
689 "src/cpp/util/status.cc",
690 "src/cpp/util/time.cc",
691 ],
692 hdrs = [
693 "include/grpc++/async_generic_service.h",
694 "include/grpc++/async_unary_call.h",
695 "include/grpc++/byte_buffer.h",
696 "include/grpc++/channel_arguments.h",
697 "include/grpc++/channel_interface.h",
698 "include/grpc++/client_context.h",
699 "include/grpc++/completion_queue.h",
700 "include/grpc++/config.h",
701 "include/grpc++/create_channel.h",
702 "include/grpc++/credentials.h",
703 "include/grpc++/generic_stub.h",
704 "include/grpc++/impl/call.h",
705 "include/grpc++/impl/client_unary_call.h",
Yang Gao96de4842015-04-24 13:13:12 -0700706 "include/grpc++/impl/grpc_library.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700707 "include/grpc++/impl/internal_stub.h",
708 "include/grpc++/impl/rpc_method.h",
709 "include/grpc++/impl/rpc_service_method.h",
710 "include/grpc++/impl/service_type.h",
Nicolas "Pixel" Nobleb7c20352015-04-11 01:27:32 +0200711 "include/grpc++/impl/sync.h",
712 "include/grpc++/impl/sync_cxx11.h",
713 "include/grpc++/impl/sync_no_cxx11.h",
714 "include/grpc++/impl/thd.h",
715 "include/grpc++/impl/thd_cxx11.h",
716 "include/grpc++/impl/thd_no_cxx11.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700717 "include/grpc++/server.h",
718 "include/grpc++/server_builder.h",
719 "include/grpc++/server_context.h",
720 "include/grpc++/server_credentials.h",
721 "include/grpc++/slice.h",
722 "include/grpc++/status.h",
723 "include/grpc++/status_code_enum.h",
724 "include/grpc++/stream.h",
725 "include/grpc++/thread_pool_interface.h",
Nicolas "Pixel" Nobleb7c20352015-04-11 01:27:32 +0200726 "include/grpc++/time.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700727 ],
728 includes = [
729 "include",
730 ".",
731 ],
732 deps = [
733 "//external:protobuf_clib",
734 ":gpr",
735 ":grpc_unsecure",
736 ],
737)
738
739
740cc_library(
741 name = "grpc_plugin_support",
742 srcs = [
743 "src/compiler/config.h",
744 "src/compiler/cpp_generator.h",
745 "src/compiler/cpp_generator_helpers.h",
Jan Tattermusch2d924952015-05-06 10:23:17 -0700746 "src/compiler/csharp_generator.h",
747 "src/compiler/csharp_generator_helpers.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700748 "src/compiler/generator_helpers.h",
749 "src/compiler/objective_c_generator.h",
750 "src/compiler/objective_c_generator_helpers.h",
751 "src/compiler/python_generator.h",
752 "src/compiler/ruby_generator.h",
753 "src/compiler/ruby_generator_helpers-inl.h",
754 "src/compiler/ruby_generator_map-inl.h",
755 "src/compiler/ruby_generator_string-inl.h",
756 "src/compiler/cpp_generator.cc",
Jan Tattermusch2d924952015-05-06 10:23:17 -0700757 "src/compiler/csharp_generator.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700758 "src/compiler/objective_c_generator.cc",
759 "src/compiler/python_generator.cc",
760 "src/compiler/ruby_generator.cc",
761 ],
762 hdrs = [
763 ],
764 includes = [
765 "include",
766 ".",
767 ],
768 deps = [
769 "//external:protobuf_compiler",
770 ],
771)
772
773
774cc_library(
775 name = "grpc_csharp_ext",
776 srcs = [
777 "src/csharp/ext/grpc_csharp_ext.c",
778 ],
779 hdrs = [
780 ],
781 includes = [
782 "include",
783 ".",
784 ],
785 deps = [
786 ":gpr",
787 ":grpc",
788 ],
789)
790
791
792
793cc_binary(
794 name = "grpc_cpp_plugin",
795 srcs = [
796 "src/compiler/cpp_plugin.cc",
797 ],
798 deps = [
799 "//external:protobuf_compiler",
800 ":grpc_plugin_support",
801 ],
802)
803
804
805cc_binary(
Jan Tattermusch2d924952015-05-06 10:23:17 -0700806 name = "grpc_csharp_plugin",
807 srcs = [
808 "src/compiler/csharp_plugin.cc",
809 ],
810 deps = [
811 "//external:protobuf_compiler",
812 ":grpc_plugin_support",
813 ],
814)
815
816
817cc_binary(
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700818 name = "grpc_objective_c_plugin",
819 srcs = [
820 "src/compiler/objective_c_plugin.cc",
821 ],
822 deps = [
823 "//external:protobuf_compiler",
824 ":grpc_plugin_support",
825 ],
826)
827
828
829cc_binary(
830 name = "grpc_python_plugin",
831 srcs = [
832 "src/compiler/python_plugin.cc",
833 ],
834 deps = [
835 "//external:protobuf_compiler",
836 ":grpc_plugin_support",
837 ],
838)
839
840
841cc_binary(
842 name = "grpc_ruby_plugin",
843 srcs = [
844 "src/compiler/ruby_plugin.cc",
845 ],
846 deps = [
847 "//external:protobuf_compiler",
848 ":grpc_plugin_support",
849 ],
850)
851
852
853
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +0200854
855