blob: 37caa6d8303291bac293e24df143a3e524914736 [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",
Julien Boeuffeca1bf2015-06-22 16:46:20 +0200141 "src/core/security/jwt_verifier.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700142 "src/core/security/secure_endpoint.h",
143 "src/core/security/secure_transport_setup.h",
Julien Boeuf7d1d9ca2015-04-17 14:38:48 -0700144 "src/core/security/security_connector.h",
Julien Boeufd7f768b2015-05-08 16:37:16 -0700145 "src/core/security/security_context.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700146 "src/core/tsi/fake_transport_security.h",
147 "src/core/tsi/ssl_transport_security.h",
148 "src/core/tsi/transport_security.h",
149 "src/core/tsi/transport_security_interface.h",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700150 "src/core/census/grpc_context.h",
murgatroid997da8b1a2015-06-17 12:37:34 -0700151 "src/core/channel/census_filter.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700152 "src/core/channel/channel_args.h",
153 "src/core/channel/channel_stack.h",
154 "src/core/channel/child_channel.h",
155 "src/core/channel/client_channel.h",
156 "src/core/channel/client_setup.h",
157 "src/core/channel/connected_channel.h",
murgatroid997da8b1a2015-06-17 12:37:34 -0700158 "src/core/channel/context.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700159 "src/core/channel/http_client_filter.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700160 "src/core/channel/http_server_filter.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700161 "src/core/channel/noop_filter.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700162 "src/core/compression/message_compress.h",
163 "src/core/debug/trace.h",
164 "src/core/iomgr/alarm.h",
165 "src/core/iomgr/alarm_heap.h",
166 "src/core/iomgr/alarm_internal.h",
167 "src/core/iomgr/endpoint.h",
168 "src/core/iomgr/endpoint_pair.h",
169 "src/core/iomgr/fd_posix.h",
170 "src/core/iomgr/iocp_windows.h",
171 "src/core/iomgr/iomgr.h",
172 "src/core/iomgr/iomgr_internal.h",
173 "src/core/iomgr/iomgr_posix.h",
174 "src/core/iomgr/pollset.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700175 "src/core/iomgr/pollset_kick_posix.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700176 "src/core/iomgr/pollset_posix.h",
Jorge Canizalesfe8ad732015-06-20 19:53:59 -0700177 "src/core/iomgr/pollset_set.h",
Craig Tillerb7cf08f2015-05-07 07:58:30 -0700178 "src/core/iomgr/pollset_set_posix.h",
179 "src/core/iomgr/pollset_set_windows.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700180 "src/core/iomgr/pollset_windows.h",
181 "src/core/iomgr/resolve_address.h",
182 "src/core/iomgr/sockaddr.h",
183 "src/core/iomgr/sockaddr_posix.h",
184 "src/core/iomgr/sockaddr_utils.h",
185 "src/core/iomgr/sockaddr_win32.h",
186 "src/core/iomgr/socket_utils_posix.h",
187 "src/core/iomgr/socket_windows.h",
188 "src/core/iomgr/tcp_client.h",
189 "src/core/iomgr/tcp_posix.h",
190 "src/core/iomgr/tcp_server.h",
191 "src/core/iomgr/tcp_windows.h",
192 "src/core/iomgr/time_averaged_stats.h",
193 "src/core/iomgr/wakeup_fd_pipe.h",
194 "src/core/iomgr/wakeup_fd_posix.h",
195 "src/core/json/json.h",
196 "src/core/json/json_common.h",
197 "src/core/json/json_reader.h",
198 "src/core/json/json_writer.h",
Vijay Pai6dfa7e62015-04-13 10:41:40 -0700199 "src/core/profiling/timers.h",
Vijay Pai9cccb082015-04-13 13:04:06 -0700200 "src/core/profiling/timers_preciseclock.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700201 "src/core/surface/byte_buffer_queue.h",
202 "src/core/surface/call.h",
203 "src/core/surface/channel.h",
204 "src/core/surface/client.h",
205 "src/core/surface/completion_queue.h",
206 "src/core/surface/event_string.h",
207 "src/core/surface/init.h",
208 "src/core/surface/server.h",
209 "src/core/surface/surface_trace.h",
210 "src/core/transport/chttp2/alpn.h",
211 "src/core/transport/chttp2/bin_encoder.h",
212 "src/core/transport/chttp2/frame.h",
213 "src/core/transport/chttp2/frame_data.h",
214 "src/core/transport/chttp2/frame_goaway.h",
215 "src/core/transport/chttp2/frame_ping.h",
216 "src/core/transport/chttp2/frame_rst_stream.h",
217 "src/core/transport/chttp2/frame_settings.h",
218 "src/core/transport/chttp2/frame_window_update.h",
219 "src/core/transport/chttp2/hpack_parser.h",
220 "src/core/transport/chttp2/hpack_table.h",
221 "src/core/transport/chttp2/http2_errors.h",
222 "src/core/transport/chttp2/huffsyms.h",
Craig Tiller5dc3b302015-06-15 16:06:50 -0700223 "src/core/transport/chttp2/incoming_metadata.h",
Craig Tiller41527062015-06-12 07:51:05 -0700224 "src/core/transport/chttp2/internal.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700225 "src/core/transport/chttp2/status_conversion.h",
226 "src/core/transport/chttp2/stream_encoder.h",
227 "src/core/transport/chttp2/stream_map.h",
228 "src/core/transport/chttp2/timeout_encoding.h",
229 "src/core/transport/chttp2/varint.h",
230 "src/core/transport/chttp2_transport.h",
231 "src/core/transport/metadata.h",
232 "src/core/transport/stream_op.h",
233 "src/core/transport/transport.h",
234 "src/core/transport/transport_impl.h",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700235 "src/core/census/context.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700236 "src/core/httpcli/format_request.c",
237 "src/core/httpcli/httpcli.c",
Julien Boeuf7d1d9ca2015-04-17 14:38:48 -0700238 "src/core/httpcli/httpcli_security_connector.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700239 "src/core/httpcli/parser.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700240 "src/core/security/base64.c",
Julien Boeufc6f8d0a2015-05-11 22:40:02 -0700241 "src/core/security/client_auth_filter.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700242 "src/core/security/credentials.c",
Julien Boeuf75c9b6f2015-05-29 13:12:12 -0700243 "src/core/security/credentials_metadata.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700244 "src/core/security/credentials_posix.c",
245 "src/core/security/credentials_win32.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700246 "src/core/security/google_default_credentials.c",
247 "src/core/security/json_token.c",
Julien Boeuffeca1bf2015-06-22 16:46:20 +0200248 "src/core/security/jwt_verifier.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700249 "src/core/security/secure_endpoint.c",
250 "src/core/security/secure_transport_setup.c",
Julien Boeuf7d1d9ca2015-04-17 14:38:48 -0700251 "src/core/security/security_connector.c",
Julien Boeufd7f768b2015-05-08 16:37:16 -0700252 "src/core/security/security_context.c",
Julien Boeufc6f8d0a2015-05-11 22:40:02 -0700253 "src/core/security/server_auth_filter.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700254 "src/core/security/server_secure_chttp2.c",
255 "src/core/surface/init_secure.c",
256 "src/core/surface/secure_channel_create.c",
257 "src/core/tsi/fake_transport_security.c",
258 "src/core/tsi/ssl_transport_security.c",
259 "src/core/tsi/transport_security.c",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700260 "src/core/census/grpc_context.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700261 "src/core/channel/channel_args.c",
262 "src/core/channel/channel_stack.c",
263 "src/core/channel/child_channel.c",
264 "src/core/channel/client_channel.c",
265 "src/core/channel/client_setup.c",
266 "src/core/channel/connected_channel.c",
267 "src/core/channel/http_client_filter.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700268 "src/core/channel/http_server_filter.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700269 "src/core/channel/noop_filter.c",
270 "src/core/compression/algorithm.c",
271 "src/core/compression/message_compress.c",
272 "src/core/debug/trace.c",
273 "src/core/iomgr/alarm.c",
274 "src/core/iomgr/alarm_heap.c",
275 "src/core/iomgr/endpoint.c",
276 "src/core/iomgr/endpoint_pair_posix.c",
Craig Tillerd180e032015-04-13 10:10:07 -0700277 "src/core/iomgr/endpoint_pair_windows.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700278 "src/core/iomgr/fd_posix.c",
279 "src/core/iomgr/iocp_windows.c",
280 "src/core/iomgr/iomgr.c",
281 "src/core/iomgr/iomgr_posix.c",
282 "src/core/iomgr/iomgr_windows.c",
Craig Tiller0c1d2782015-05-28 17:06:05 -0700283 "src/core/iomgr/pollset_kick_posix.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700284 "src/core/iomgr/pollset_multipoller_with_epoll.c",
285 "src/core/iomgr/pollset_multipoller_with_poll_posix.c",
286 "src/core/iomgr/pollset_posix.c",
Craig Tillerb7cf08f2015-05-07 07:58:30 -0700287 "src/core/iomgr/pollset_set_posix.c",
288 "src/core/iomgr/pollset_set_windows.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700289 "src/core/iomgr/pollset_windows.c",
290 "src/core/iomgr/resolve_address_posix.c",
291 "src/core/iomgr/resolve_address_windows.c",
292 "src/core/iomgr/sockaddr_utils.c",
293 "src/core/iomgr/socket_utils_common_posix.c",
294 "src/core/iomgr/socket_utils_linux.c",
295 "src/core/iomgr/socket_utils_posix.c",
296 "src/core/iomgr/socket_windows.c",
297 "src/core/iomgr/tcp_client_posix.c",
298 "src/core/iomgr/tcp_client_windows.c",
299 "src/core/iomgr/tcp_posix.c",
300 "src/core/iomgr/tcp_server_posix.c",
301 "src/core/iomgr/tcp_server_windows.c",
302 "src/core/iomgr/tcp_windows.c",
303 "src/core/iomgr/time_averaged_stats.c",
304 "src/core/iomgr/wakeup_fd_eventfd.c",
305 "src/core/iomgr/wakeup_fd_nospecial.c",
306 "src/core/iomgr/wakeup_fd_pipe.c",
307 "src/core/iomgr/wakeup_fd_posix.c",
308 "src/core/json/json.c",
309 "src/core/json/json_reader.c",
310 "src/core/json/json_string.c",
311 "src/core/json/json_writer.c",
David Garcia Quintas8954e902015-04-29 09:46:33 -0700312 "src/core/profiling/basic_timers.c",
313 "src/core/profiling/stap_timers.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700314 "src/core/surface/byte_buffer.c",
315 "src/core/surface/byte_buffer_queue.c",
316 "src/core/surface/byte_buffer_reader.c",
317 "src/core/surface/call.c",
318 "src/core/surface/call_details.c",
319 "src/core/surface/call_log_batch.c",
320 "src/core/surface/channel.c",
321 "src/core/surface/channel_create.c",
322 "src/core/surface/client.c",
323 "src/core/surface/completion_queue.c",
324 "src/core/surface/event_string.c",
325 "src/core/surface/init.c",
326 "src/core/surface/lame_client.c",
327 "src/core/surface/metadata_array.c",
328 "src/core/surface/server.c",
329 "src/core/surface/server_chttp2.c",
330 "src/core/surface/server_create.c",
331 "src/core/surface/surface_trace.c",
332 "src/core/transport/chttp2/alpn.c",
333 "src/core/transport/chttp2/bin_encoder.c",
334 "src/core/transport/chttp2/frame_data.c",
335 "src/core/transport/chttp2/frame_goaway.c",
336 "src/core/transport/chttp2/frame_ping.c",
337 "src/core/transport/chttp2/frame_rst_stream.c",
338 "src/core/transport/chttp2/frame_settings.c",
339 "src/core/transport/chttp2/frame_window_update.c",
340 "src/core/transport/chttp2/hpack_parser.c",
341 "src/core/transport/chttp2/hpack_table.c",
342 "src/core/transport/chttp2/huffsyms.c",
Craig Tiller5dc3b302015-06-15 16:06:50 -0700343 "src/core/transport/chttp2/incoming_metadata.c",
Craig Tillerd8df50c2015-06-12 07:53:56 -0700344 "src/core/transport/chttp2/parsing.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700345 "src/core/transport/chttp2/status_conversion.c",
346 "src/core/transport/chttp2/stream_encoder.c",
Craig Tiller6459db42015-06-15 17:11:45 -0700347 "src/core/transport/chttp2/stream_lists.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700348 "src/core/transport/chttp2/stream_map.c",
349 "src/core/transport/chttp2/timeout_encoding.c",
350 "src/core/transport/chttp2/varint.c",
Craig Tillerd8df50c2015-06-12 07:53:56 -0700351 "src/core/transport/chttp2/writing.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700352 "src/core/transport/chttp2_transport.c",
353 "src/core/transport/metadata.c",
354 "src/core/transport/stream_op.c",
355 "src/core/transport/transport.c",
Craig Tiller83f88d92015-04-21 16:02:05 -0700356 "src/core/transport/transport_op_string.c",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700357 "src/core/census/context.c",
358 "src/core/census/initialize.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700359 ],
360 hdrs = [
361 "include/grpc/grpc_security.h",
362 "include/grpc/byte_buffer.h",
363 "include/grpc/byte_buffer_reader.h",
David Garcia Quintas59f905d2015-06-08 16:31:19 -0700364 "include/grpc/compression.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700365 "include/grpc/grpc.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700366 "include/grpc/status.h",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700367 "include/grpc/census.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700368 ],
369 includes = [
370 "include",
371 ".",
372 ],
373 deps = [
374 "//external:libssl",
375 ":gpr",
376 ],
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +0200377)
378
379
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700380cc_library(
381 name = "grpc_unsecure",
382 srcs = [
Alistair Veitch9686dab2015-05-26 14:26:47 -0700383 "src/core/census/grpc_context.h",
murgatroid997da8b1a2015-06-17 12:37:34 -0700384 "src/core/channel/census_filter.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700385 "src/core/channel/channel_args.h",
386 "src/core/channel/channel_stack.h",
387 "src/core/channel/child_channel.h",
388 "src/core/channel/client_channel.h",
389 "src/core/channel/client_setup.h",
390 "src/core/channel/connected_channel.h",
murgatroid997da8b1a2015-06-17 12:37:34 -0700391 "src/core/channel/context.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700392 "src/core/channel/http_client_filter.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700393 "src/core/channel/http_server_filter.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700394 "src/core/channel/noop_filter.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700395 "src/core/compression/message_compress.h",
396 "src/core/debug/trace.h",
397 "src/core/iomgr/alarm.h",
398 "src/core/iomgr/alarm_heap.h",
399 "src/core/iomgr/alarm_internal.h",
400 "src/core/iomgr/endpoint.h",
401 "src/core/iomgr/endpoint_pair.h",
402 "src/core/iomgr/fd_posix.h",
403 "src/core/iomgr/iocp_windows.h",
404 "src/core/iomgr/iomgr.h",
405 "src/core/iomgr/iomgr_internal.h",
406 "src/core/iomgr/iomgr_posix.h",
407 "src/core/iomgr/pollset.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700408 "src/core/iomgr/pollset_kick_posix.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700409 "src/core/iomgr/pollset_posix.h",
Jorge Canizalesfe8ad732015-06-20 19:53:59 -0700410 "src/core/iomgr/pollset_set.h",
Craig Tillerb7cf08f2015-05-07 07:58:30 -0700411 "src/core/iomgr/pollset_set_posix.h",
412 "src/core/iomgr/pollset_set_windows.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700413 "src/core/iomgr/pollset_windows.h",
414 "src/core/iomgr/resolve_address.h",
415 "src/core/iomgr/sockaddr.h",
416 "src/core/iomgr/sockaddr_posix.h",
417 "src/core/iomgr/sockaddr_utils.h",
418 "src/core/iomgr/sockaddr_win32.h",
419 "src/core/iomgr/socket_utils_posix.h",
420 "src/core/iomgr/socket_windows.h",
421 "src/core/iomgr/tcp_client.h",
422 "src/core/iomgr/tcp_posix.h",
423 "src/core/iomgr/tcp_server.h",
424 "src/core/iomgr/tcp_windows.h",
425 "src/core/iomgr/time_averaged_stats.h",
426 "src/core/iomgr/wakeup_fd_pipe.h",
427 "src/core/iomgr/wakeup_fd_posix.h",
428 "src/core/json/json.h",
429 "src/core/json/json_common.h",
430 "src/core/json/json_reader.h",
431 "src/core/json/json_writer.h",
Vijay Pai6dfa7e62015-04-13 10:41:40 -0700432 "src/core/profiling/timers.h",
Vijay Pai9cccb082015-04-13 13:04:06 -0700433 "src/core/profiling/timers_preciseclock.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700434 "src/core/surface/byte_buffer_queue.h",
435 "src/core/surface/call.h",
436 "src/core/surface/channel.h",
437 "src/core/surface/client.h",
438 "src/core/surface/completion_queue.h",
439 "src/core/surface/event_string.h",
440 "src/core/surface/init.h",
441 "src/core/surface/server.h",
442 "src/core/surface/surface_trace.h",
443 "src/core/transport/chttp2/alpn.h",
444 "src/core/transport/chttp2/bin_encoder.h",
445 "src/core/transport/chttp2/frame.h",
446 "src/core/transport/chttp2/frame_data.h",
447 "src/core/transport/chttp2/frame_goaway.h",
448 "src/core/transport/chttp2/frame_ping.h",
449 "src/core/transport/chttp2/frame_rst_stream.h",
450 "src/core/transport/chttp2/frame_settings.h",
451 "src/core/transport/chttp2/frame_window_update.h",
452 "src/core/transport/chttp2/hpack_parser.h",
453 "src/core/transport/chttp2/hpack_table.h",
454 "src/core/transport/chttp2/http2_errors.h",
455 "src/core/transport/chttp2/huffsyms.h",
Craig Tiller5dc3b302015-06-15 16:06:50 -0700456 "src/core/transport/chttp2/incoming_metadata.h",
Craig Tiller41527062015-06-12 07:51:05 -0700457 "src/core/transport/chttp2/internal.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700458 "src/core/transport/chttp2/status_conversion.h",
459 "src/core/transport/chttp2/stream_encoder.h",
460 "src/core/transport/chttp2/stream_map.h",
461 "src/core/transport/chttp2/timeout_encoding.h",
462 "src/core/transport/chttp2/varint.h",
463 "src/core/transport/chttp2_transport.h",
464 "src/core/transport/metadata.h",
465 "src/core/transport/stream_op.h",
466 "src/core/transport/transport.h",
467 "src/core/transport/transport_impl.h",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700468 "src/core/census/context.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700469 "src/core/surface/init_unsecure.c",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700470 "src/core/census/grpc_context.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700471 "src/core/channel/channel_args.c",
472 "src/core/channel/channel_stack.c",
473 "src/core/channel/child_channel.c",
474 "src/core/channel/client_channel.c",
475 "src/core/channel/client_setup.c",
476 "src/core/channel/connected_channel.c",
477 "src/core/channel/http_client_filter.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700478 "src/core/channel/http_server_filter.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700479 "src/core/channel/noop_filter.c",
480 "src/core/compression/algorithm.c",
481 "src/core/compression/message_compress.c",
482 "src/core/debug/trace.c",
483 "src/core/iomgr/alarm.c",
484 "src/core/iomgr/alarm_heap.c",
485 "src/core/iomgr/endpoint.c",
486 "src/core/iomgr/endpoint_pair_posix.c",
Craig Tillerd180e032015-04-13 10:10:07 -0700487 "src/core/iomgr/endpoint_pair_windows.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700488 "src/core/iomgr/fd_posix.c",
489 "src/core/iomgr/iocp_windows.c",
490 "src/core/iomgr/iomgr.c",
491 "src/core/iomgr/iomgr_posix.c",
492 "src/core/iomgr/iomgr_windows.c",
Craig Tiller0c1d2782015-05-28 17:06:05 -0700493 "src/core/iomgr/pollset_kick_posix.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700494 "src/core/iomgr/pollset_multipoller_with_epoll.c",
495 "src/core/iomgr/pollset_multipoller_with_poll_posix.c",
496 "src/core/iomgr/pollset_posix.c",
Craig Tillerb7cf08f2015-05-07 07:58:30 -0700497 "src/core/iomgr/pollset_set_posix.c",
498 "src/core/iomgr/pollset_set_windows.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700499 "src/core/iomgr/pollset_windows.c",
500 "src/core/iomgr/resolve_address_posix.c",
501 "src/core/iomgr/resolve_address_windows.c",
502 "src/core/iomgr/sockaddr_utils.c",
503 "src/core/iomgr/socket_utils_common_posix.c",
504 "src/core/iomgr/socket_utils_linux.c",
505 "src/core/iomgr/socket_utils_posix.c",
506 "src/core/iomgr/socket_windows.c",
507 "src/core/iomgr/tcp_client_posix.c",
508 "src/core/iomgr/tcp_client_windows.c",
509 "src/core/iomgr/tcp_posix.c",
510 "src/core/iomgr/tcp_server_posix.c",
511 "src/core/iomgr/tcp_server_windows.c",
512 "src/core/iomgr/tcp_windows.c",
513 "src/core/iomgr/time_averaged_stats.c",
514 "src/core/iomgr/wakeup_fd_eventfd.c",
515 "src/core/iomgr/wakeup_fd_nospecial.c",
516 "src/core/iomgr/wakeup_fd_pipe.c",
517 "src/core/iomgr/wakeup_fd_posix.c",
518 "src/core/json/json.c",
519 "src/core/json/json_reader.c",
520 "src/core/json/json_string.c",
521 "src/core/json/json_writer.c",
David Garcia Quintas8954e902015-04-29 09:46:33 -0700522 "src/core/profiling/basic_timers.c",
523 "src/core/profiling/stap_timers.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700524 "src/core/surface/byte_buffer.c",
525 "src/core/surface/byte_buffer_queue.c",
526 "src/core/surface/byte_buffer_reader.c",
527 "src/core/surface/call.c",
528 "src/core/surface/call_details.c",
529 "src/core/surface/call_log_batch.c",
530 "src/core/surface/channel.c",
531 "src/core/surface/channel_create.c",
532 "src/core/surface/client.c",
533 "src/core/surface/completion_queue.c",
534 "src/core/surface/event_string.c",
535 "src/core/surface/init.c",
536 "src/core/surface/lame_client.c",
537 "src/core/surface/metadata_array.c",
538 "src/core/surface/server.c",
539 "src/core/surface/server_chttp2.c",
540 "src/core/surface/server_create.c",
541 "src/core/surface/surface_trace.c",
542 "src/core/transport/chttp2/alpn.c",
543 "src/core/transport/chttp2/bin_encoder.c",
544 "src/core/transport/chttp2/frame_data.c",
545 "src/core/transport/chttp2/frame_goaway.c",
546 "src/core/transport/chttp2/frame_ping.c",
547 "src/core/transport/chttp2/frame_rst_stream.c",
548 "src/core/transport/chttp2/frame_settings.c",
549 "src/core/transport/chttp2/frame_window_update.c",
550 "src/core/transport/chttp2/hpack_parser.c",
551 "src/core/transport/chttp2/hpack_table.c",
552 "src/core/transport/chttp2/huffsyms.c",
Craig Tiller5dc3b302015-06-15 16:06:50 -0700553 "src/core/transport/chttp2/incoming_metadata.c",
Craig Tillerd8df50c2015-06-12 07:53:56 -0700554 "src/core/transport/chttp2/parsing.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700555 "src/core/transport/chttp2/status_conversion.c",
556 "src/core/transport/chttp2/stream_encoder.c",
Craig Tiller6459db42015-06-15 17:11:45 -0700557 "src/core/transport/chttp2/stream_lists.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700558 "src/core/transport/chttp2/stream_map.c",
559 "src/core/transport/chttp2/timeout_encoding.c",
560 "src/core/transport/chttp2/varint.c",
Craig Tillerd8df50c2015-06-12 07:53:56 -0700561 "src/core/transport/chttp2/writing.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700562 "src/core/transport/chttp2_transport.c",
563 "src/core/transport/metadata.c",
564 "src/core/transport/stream_op.c",
565 "src/core/transport/transport.c",
Craig Tiller83f88d92015-04-21 16:02:05 -0700566 "src/core/transport/transport_op_string.c",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700567 "src/core/census/context.c",
568 "src/core/census/initialize.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700569 ],
570 hdrs = [
571 "include/grpc/byte_buffer.h",
572 "include/grpc/byte_buffer_reader.h",
David Garcia Quintas59f905d2015-06-08 16:31:19 -0700573 "include/grpc/compression.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700574 "include/grpc/grpc.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700575 "include/grpc/status.h",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700576 "include/grpc/census.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700577 ],
578 includes = [
579 "include",
580 ".",
581 ],
582 deps = [
583 ":gpr",
584 ],
585)
586
587
588cc_library(
589 name = "grpc++",
590 srcs = [
591 "src/cpp/client/secure_credentials.h",
592 "src/cpp/server/secure_server_credentials.h",
593 "src/cpp/client/channel.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700594 "src/cpp/server/thread_pool.h",
Craig Tillerf75fc122015-06-25 06:58:00 -0700595 "src/cpp/client/secure_channel_arguments.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700596 "src/cpp/client/secure_credentials.cc",
597 "src/cpp/server/secure_server_credentials.cc",
598 "src/cpp/client/channel.cc",
599 "src/cpp/client/channel_arguments.cc",
600 "src/cpp/client/client_context.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700601 "src/cpp/client/create_channel.cc",
602 "src/cpp/client/credentials.cc",
603 "src/cpp/client/generic_stub.cc",
604 "src/cpp/client/insecure_credentials.cc",
605 "src/cpp/client/internal_stub.cc",
606 "src/cpp/common/call.cc",
607 "src/cpp/common/completion_queue.cc",
608 "src/cpp/common/rpc_method.cc",
609 "src/cpp/proto/proto_utils.cc",
610 "src/cpp/server/async_generic_service.cc",
Yang Gao6f4fb3b2015-06-03 12:56:19 -0700611 "src/cpp/server/create_default_thread_pool.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700612 "src/cpp/server/insecure_server_credentials.cc",
613 "src/cpp/server/server.cc",
614 "src/cpp/server/server_builder.cc",
615 "src/cpp/server/server_context.cc",
616 "src/cpp/server/server_credentials.cc",
617 "src/cpp/server/thread_pool.cc",
618 "src/cpp/util/byte_buffer.cc",
619 "src/cpp/util/slice.cc",
620 "src/cpp/util/status.cc",
621 "src/cpp/util/time.cc",
622 ],
623 hdrs = [
624 "include/grpc++/async_generic_service.h",
625 "include/grpc++/async_unary_call.h",
626 "include/grpc++/byte_buffer.h",
627 "include/grpc++/channel_arguments.h",
628 "include/grpc++/channel_interface.h",
629 "include/grpc++/client_context.h",
630 "include/grpc++/completion_queue.h",
631 "include/grpc++/config.h",
yang-gadfed032015-06-23 13:01:22 -0700632 "include/grpc++/config_protobuf.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700633 "include/grpc++/create_channel.h",
634 "include/grpc++/credentials.h",
635 "include/grpc++/generic_stub.h",
636 "include/grpc++/impl/call.h",
637 "include/grpc++/impl/client_unary_call.h",
Yang Gao96de4842015-04-24 13:13:12 -0700638 "include/grpc++/impl/grpc_library.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700639 "include/grpc++/impl/internal_stub.h",
yang-gadfed032015-06-23 13:01:22 -0700640 "include/grpc++/impl/proto_utils.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700641 "include/grpc++/impl/rpc_method.h",
642 "include/grpc++/impl/rpc_service_method.h",
Craig Tiller6ef7f312015-06-05 10:15:10 -0700643 "include/grpc++/impl/serialization_traits.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700644 "include/grpc++/impl/service_type.h",
Nicolas "Pixel" Nobleb7c20352015-04-11 01:27:32 +0200645 "include/grpc++/impl/sync.h",
646 "include/grpc++/impl/sync_cxx11.h",
647 "include/grpc++/impl/sync_no_cxx11.h",
648 "include/grpc++/impl/thd.h",
649 "include/grpc++/impl/thd_cxx11.h",
650 "include/grpc++/impl/thd_no_cxx11.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700651 "include/grpc++/server.h",
652 "include/grpc++/server_builder.h",
653 "include/grpc++/server_context.h",
654 "include/grpc++/server_credentials.h",
655 "include/grpc++/slice.h",
656 "include/grpc++/status.h",
657 "include/grpc++/status_code_enum.h",
658 "include/grpc++/stream.h",
659 "include/grpc++/thread_pool_interface.h",
Nicolas "Pixel" Nobleb7c20352015-04-11 01:27:32 +0200660 "include/grpc++/time.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700661 ],
662 includes = [
663 "include",
664 ".",
665 ],
666 deps = [
667 "//external:protobuf_clib",
668 ":gpr",
669 ":grpc",
670 ],
671)
672
673
674cc_library(
675 name = "grpc++_unsecure",
676 srcs = [
677 "src/cpp/client/channel.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700678 "src/cpp/server/thread_pool.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700679 "src/cpp/client/channel.cc",
680 "src/cpp/client/channel_arguments.cc",
681 "src/cpp/client/client_context.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700682 "src/cpp/client/create_channel.cc",
683 "src/cpp/client/credentials.cc",
684 "src/cpp/client/generic_stub.cc",
685 "src/cpp/client/insecure_credentials.cc",
686 "src/cpp/client/internal_stub.cc",
687 "src/cpp/common/call.cc",
688 "src/cpp/common/completion_queue.cc",
689 "src/cpp/common/rpc_method.cc",
690 "src/cpp/proto/proto_utils.cc",
691 "src/cpp/server/async_generic_service.cc",
Yang Gao6f4fb3b2015-06-03 12:56:19 -0700692 "src/cpp/server/create_default_thread_pool.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700693 "src/cpp/server/insecure_server_credentials.cc",
694 "src/cpp/server/server.cc",
695 "src/cpp/server/server_builder.cc",
696 "src/cpp/server/server_context.cc",
697 "src/cpp/server/server_credentials.cc",
698 "src/cpp/server/thread_pool.cc",
699 "src/cpp/util/byte_buffer.cc",
700 "src/cpp/util/slice.cc",
701 "src/cpp/util/status.cc",
702 "src/cpp/util/time.cc",
703 ],
704 hdrs = [
705 "include/grpc++/async_generic_service.h",
706 "include/grpc++/async_unary_call.h",
707 "include/grpc++/byte_buffer.h",
708 "include/grpc++/channel_arguments.h",
709 "include/grpc++/channel_interface.h",
710 "include/grpc++/client_context.h",
711 "include/grpc++/completion_queue.h",
712 "include/grpc++/config.h",
yang-gadfed032015-06-23 13:01:22 -0700713 "include/grpc++/config_protobuf.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700714 "include/grpc++/create_channel.h",
715 "include/grpc++/credentials.h",
716 "include/grpc++/generic_stub.h",
717 "include/grpc++/impl/call.h",
718 "include/grpc++/impl/client_unary_call.h",
Yang Gao96de4842015-04-24 13:13:12 -0700719 "include/grpc++/impl/grpc_library.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700720 "include/grpc++/impl/internal_stub.h",
yang-gadfed032015-06-23 13:01:22 -0700721 "include/grpc++/impl/proto_utils.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700722 "include/grpc++/impl/rpc_method.h",
723 "include/grpc++/impl/rpc_service_method.h",
Craig Tiller6ef7f312015-06-05 10:15:10 -0700724 "include/grpc++/impl/serialization_traits.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700725 "include/grpc++/impl/service_type.h",
Nicolas "Pixel" Nobleb7c20352015-04-11 01:27:32 +0200726 "include/grpc++/impl/sync.h",
727 "include/grpc++/impl/sync_cxx11.h",
728 "include/grpc++/impl/sync_no_cxx11.h",
729 "include/grpc++/impl/thd.h",
730 "include/grpc++/impl/thd_cxx11.h",
731 "include/grpc++/impl/thd_no_cxx11.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700732 "include/grpc++/server.h",
733 "include/grpc++/server_builder.h",
734 "include/grpc++/server_context.h",
735 "include/grpc++/server_credentials.h",
736 "include/grpc++/slice.h",
737 "include/grpc++/status.h",
738 "include/grpc++/status_code_enum.h",
739 "include/grpc++/stream.h",
740 "include/grpc++/thread_pool_interface.h",
Nicolas "Pixel" Nobleb7c20352015-04-11 01:27:32 +0200741 "include/grpc++/time.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700742 ],
743 includes = [
744 "include",
745 ".",
746 ],
747 deps = [
748 "//external:protobuf_clib",
749 ":gpr",
750 ":grpc_unsecure",
751 ],
752)
753
754
755cc_library(
756 name = "grpc_plugin_support",
757 srcs = [
Craig Tillerf75fc122015-06-25 06:58:00 -0700758 "include/grpc++/config.h",
759 "include/grpc++/config_protobuf.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700760 "src/compiler/config.h",
761 "src/compiler/cpp_generator.h",
762 "src/compiler/cpp_generator_helpers.h",
Jan Tattermusch2d924952015-05-06 10:23:17 -0700763 "src/compiler/csharp_generator.h",
764 "src/compiler/csharp_generator_helpers.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700765 "src/compiler/generator_helpers.h",
766 "src/compiler/objective_c_generator.h",
767 "src/compiler/objective_c_generator_helpers.h",
768 "src/compiler/python_generator.h",
769 "src/compiler/ruby_generator.h",
770 "src/compiler/ruby_generator_helpers-inl.h",
771 "src/compiler/ruby_generator_map-inl.h",
772 "src/compiler/ruby_generator_string-inl.h",
773 "src/compiler/cpp_generator.cc",
Jan Tattermusch2d924952015-05-06 10:23:17 -0700774 "src/compiler/csharp_generator.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700775 "src/compiler/objective_c_generator.cc",
776 "src/compiler/python_generator.cc",
777 "src/compiler/ruby_generator.cc",
778 ],
779 hdrs = [
780 ],
781 includes = [
782 "include",
783 ".",
784 ],
785 deps = [
786 "//external:protobuf_compiler",
787 ],
788)
789
790
791cc_library(
792 name = "grpc_csharp_ext",
793 srcs = [
794 "src/csharp/ext/grpc_csharp_ext.c",
795 ],
796 hdrs = [
797 ],
798 includes = [
799 "include",
800 ".",
801 ],
802 deps = [
803 ":gpr",
804 ":grpc",
805 ],
806)
807
808
809
Jorge Canizales140bca82015-06-20 09:47:00 -0700810objc_library(
811 name = "gpr_objc",
812 srcs = [
813 "src/core/support/alloc.c",
814 "src/core/support/cancellable.c",
815 "src/core/support/cmdline.c",
816 "src/core/support/cpu_iphone.c",
817 "src/core/support/cpu_linux.c",
818 "src/core/support/cpu_posix.c",
819 "src/core/support/cpu_windows.c",
820 "src/core/support/env_linux.c",
821 "src/core/support/env_posix.c",
822 "src/core/support/env_win32.c",
823 "src/core/support/file.c",
824 "src/core/support/file_posix.c",
825 "src/core/support/file_win32.c",
826 "src/core/support/histogram.c",
827 "src/core/support/host_port.c",
828 "src/core/support/log.c",
829 "src/core/support/log_android.c",
830 "src/core/support/log_linux.c",
831 "src/core/support/log_posix.c",
832 "src/core/support/log_win32.c",
833 "src/core/support/murmur_hash.c",
834 "src/core/support/slice.c",
835 "src/core/support/slice_buffer.c",
836 "src/core/support/string.c",
837 "src/core/support/string_posix.c",
838 "src/core/support/string_win32.c",
839 "src/core/support/subprocess_posix.c",
840 "src/core/support/sync.c",
841 "src/core/support/sync_posix.c",
842 "src/core/support/sync_win32.c",
843 "src/core/support/thd.c",
844 "src/core/support/thd_posix.c",
845 "src/core/support/thd_win32.c",
846 "src/core/support/time.c",
847 "src/core/support/time_posix.c",
848 "src/core/support/time_win32.c",
849 "src/core/support/tls_pthread.c",
850 ],
851 hdrs = [
852 "include/grpc/support/alloc.h",
853 "include/grpc/support/atm.h",
854 "include/grpc/support/atm_gcc_atomic.h",
855 "include/grpc/support/atm_gcc_sync.h",
856 "include/grpc/support/atm_win32.h",
857 "include/grpc/support/cancellable_platform.h",
858 "include/grpc/support/cmdline.h",
859 "include/grpc/support/cpu.h",
860 "include/grpc/support/histogram.h",
861 "include/grpc/support/host_port.h",
862 "include/grpc/support/log.h",
863 "include/grpc/support/log_win32.h",
864 "include/grpc/support/port_platform.h",
865 "include/grpc/support/slice.h",
866 "include/grpc/support/slice_buffer.h",
867 "include/grpc/support/string_util.h",
868 "include/grpc/support/subprocess.h",
869 "include/grpc/support/sync.h",
870 "include/grpc/support/sync_generic.h",
871 "include/grpc/support/sync_posix.h",
872 "include/grpc/support/sync_win32.h",
873 "include/grpc/support/thd.h",
874 "include/grpc/support/time.h",
875 "include/grpc/support/tls.h",
876 "include/grpc/support/tls_gcc.h",
877 "include/grpc/support/tls_msvc.h",
878 "include/grpc/support/tls_pthread.h",
879 "include/grpc/support/useful.h",
880 "src/core/support/env.h",
881 "src/core/support/file.h",
882 "src/core/support/murmur_hash.h",
883 "src/core/support/string.h",
884 "src/core/support/string_win32.h",
885 "src/core/support/thd_internal.h",
886 ],
887 includes = [
888 "include",
889 ".",
890 ],
891 deps = [
892 ],
893)
894
895
896objc_library(
Jorge Canizales7b1a0ca2015-06-26 21:49:42 -0700897 name = "grpc_objc",
Jorge Canizales140bca82015-06-20 09:47:00 -0700898 srcs = [
Jorge Canizales7b1a0ca2015-06-26 21:49:42 -0700899 "src/core/httpcli/format_request.c",
900 "src/core/httpcli/httpcli.c",
901 "src/core/httpcli/httpcli_security_connector.c",
902 "src/core/httpcli/parser.c",
903 "src/core/security/base64.c",
904 "src/core/security/client_auth_filter.c",
905 "src/core/security/credentials.c",
906 "src/core/security/credentials_metadata.c",
907 "src/core/security/credentials_posix.c",
908 "src/core/security/credentials_win32.c",
909 "src/core/security/google_default_credentials.c",
910 "src/core/security/json_token.c",
Julien Boeuffeca1bf2015-06-22 16:46:20 +0200911 "src/core/security/jwt_verifier.c",
Jorge Canizales7b1a0ca2015-06-26 21:49:42 -0700912 "src/core/security/secure_endpoint.c",
913 "src/core/security/secure_transport_setup.c",
914 "src/core/security/security_connector.c",
915 "src/core/security/security_context.c",
916 "src/core/security/server_auth_filter.c",
917 "src/core/security/server_secure_chttp2.c",
918 "src/core/surface/init_secure.c",
919 "src/core/surface/secure_channel_create.c",
920 "src/core/tsi/fake_transport_security.c",
921 "src/core/tsi/ssl_transport_security.c",
922 "src/core/tsi/transport_security.c",
Jorge Canizales140bca82015-06-20 09:47:00 -0700923 "src/core/census/grpc_context.c",
924 "src/core/channel/channel_args.c",
925 "src/core/channel/channel_stack.c",
926 "src/core/channel/child_channel.c",
927 "src/core/channel/client_channel.c",
928 "src/core/channel/client_setup.c",
929 "src/core/channel/connected_channel.c",
930 "src/core/channel/http_client_filter.c",
931 "src/core/channel/http_server_filter.c",
932 "src/core/channel/noop_filter.c",
933 "src/core/compression/algorithm.c",
934 "src/core/compression/message_compress.c",
935 "src/core/debug/trace.c",
936 "src/core/iomgr/alarm.c",
937 "src/core/iomgr/alarm_heap.c",
938 "src/core/iomgr/endpoint.c",
939 "src/core/iomgr/endpoint_pair_posix.c",
940 "src/core/iomgr/endpoint_pair_windows.c",
941 "src/core/iomgr/fd_posix.c",
942 "src/core/iomgr/iocp_windows.c",
943 "src/core/iomgr/iomgr.c",
944 "src/core/iomgr/iomgr_posix.c",
945 "src/core/iomgr/iomgr_windows.c",
946 "src/core/iomgr/pollset_kick_posix.c",
947 "src/core/iomgr/pollset_multipoller_with_epoll.c",
948 "src/core/iomgr/pollset_multipoller_with_poll_posix.c",
949 "src/core/iomgr/pollset_posix.c",
950 "src/core/iomgr/pollset_set_posix.c",
951 "src/core/iomgr/pollset_set_windows.c",
952 "src/core/iomgr/pollset_windows.c",
953 "src/core/iomgr/resolve_address_posix.c",
954 "src/core/iomgr/resolve_address_windows.c",
955 "src/core/iomgr/sockaddr_utils.c",
956 "src/core/iomgr/socket_utils_common_posix.c",
957 "src/core/iomgr/socket_utils_linux.c",
958 "src/core/iomgr/socket_utils_posix.c",
959 "src/core/iomgr/socket_windows.c",
960 "src/core/iomgr/tcp_client_posix.c",
961 "src/core/iomgr/tcp_client_windows.c",
962 "src/core/iomgr/tcp_posix.c",
963 "src/core/iomgr/tcp_server_posix.c",
964 "src/core/iomgr/tcp_server_windows.c",
965 "src/core/iomgr/tcp_windows.c",
966 "src/core/iomgr/time_averaged_stats.c",
967 "src/core/iomgr/wakeup_fd_eventfd.c",
968 "src/core/iomgr/wakeup_fd_nospecial.c",
969 "src/core/iomgr/wakeup_fd_pipe.c",
970 "src/core/iomgr/wakeup_fd_posix.c",
971 "src/core/json/json.c",
972 "src/core/json/json_reader.c",
973 "src/core/json/json_string.c",
974 "src/core/json/json_writer.c",
975 "src/core/profiling/basic_timers.c",
976 "src/core/profiling/stap_timers.c",
977 "src/core/surface/byte_buffer.c",
978 "src/core/surface/byte_buffer_queue.c",
979 "src/core/surface/byte_buffer_reader.c",
980 "src/core/surface/call.c",
981 "src/core/surface/call_details.c",
982 "src/core/surface/call_log_batch.c",
983 "src/core/surface/channel.c",
984 "src/core/surface/channel_create.c",
985 "src/core/surface/client.c",
986 "src/core/surface/completion_queue.c",
987 "src/core/surface/event_string.c",
988 "src/core/surface/init.c",
989 "src/core/surface/lame_client.c",
990 "src/core/surface/metadata_array.c",
991 "src/core/surface/server.c",
992 "src/core/surface/server_chttp2.c",
993 "src/core/surface/server_create.c",
994 "src/core/surface/surface_trace.c",
995 "src/core/transport/chttp2/alpn.c",
996 "src/core/transport/chttp2/bin_encoder.c",
997 "src/core/transport/chttp2/frame_data.c",
998 "src/core/transport/chttp2/frame_goaway.c",
999 "src/core/transport/chttp2/frame_ping.c",
1000 "src/core/transport/chttp2/frame_rst_stream.c",
1001 "src/core/transport/chttp2/frame_settings.c",
1002 "src/core/transport/chttp2/frame_window_update.c",
1003 "src/core/transport/chttp2/hpack_parser.c",
1004 "src/core/transport/chttp2/hpack_table.c",
1005 "src/core/transport/chttp2/huffsyms.c",
Nicolas "Pixel" Nobled35f93d2015-06-27 00:57:29 +02001006 "src/core/transport/chttp2/incoming_metadata.c",
1007 "src/core/transport/chttp2/parsing.c",
Jorge Canizales140bca82015-06-20 09:47:00 -07001008 "src/core/transport/chttp2/status_conversion.c",
1009 "src/core/transport/chttp2/stream_encoder.c",
Nicolas "Pixel" Nobled35f93d2015-06-27 00:57:29 +02001010 "src/core/transport/chttp2/stream_lists.c",
Jorge Canizales140bca82015-06-20 09:47:00 -07001011 "src/core/transport/chttp2/stream_map.c",
1012 "src/core/transport/chttp2/timeout_encoding.c",
1013 "src/core/transport/chttp2/varint.c",
Nicolas "Pixel" Nobled35f93d2015-06-27 00:57:29 +02001014 "src/core/transport/chttp2/writing.c",
Jorge Canizales140bca82015-06-20 09:47:00 -07001015 "src/core/transport/chttp2_transport.c",
1016 "src/core/transport/metadata.c",
1017 "src/core/transport/stream_op.c",
1018 "src/core/transport/transport.c",
1019 "src/core/transport/transport_op_string.c",
1020 "src/core/census/context.c",
1021 "src/core/census/initialize.c",
1022 ],
1023 hdrs = [
Jorge Canizales7b1a0ca2015-06-26 21:49:42 -07001024 "include/grpc/grpc_security.h",
Jorge Canizales140bca82015-06-20 09:47:00 -07001025 "include/grpc/byte_buffer.h",
1026 "include/grpc/byte_buffer_reader.h",
1027 "include/grpc/compression.h",
1028 "include/grpc/grpc.h",
1029 "include/grpc/status.h",
1030 "include/grpc/census.h",
Jorge Canizales7b1a0ca2015-06-26 21:49:42 -07001031 "src/core/httpcli/format_request.h",
1032 "src/core/httpcli/httpcli.h",
1033 "src/core/httpcli/httpcli_security_connector.h",
1034 "src/core/httpcli/parser.h",
1035 "src/core/security/auth_filters.h",
1036 "src/core/security/base64.h",
1037 "src/core/security/credentials.h",
1038 "src/core/security/json_token.h",
Julien Boeuffeca1bf2015-06-22 16:46:20 +02001039 "src/core/security/jwt_verifier.h",
Jorge Canizales7b1a0ca2015-06-26 21:49:42 -07001040 "src/core/security/secure_endpoint.h",
1041 "src/core/security/secure_transport_setup.h",
1042 "src/core/security/security_connector.h",
1043 "src/core/security/security_context.h",
1044 "src/core/tsi/fake_transport_security.h",
1045 "src/core/tsi/ssl_transport_security.h",
1046 "src/core/tsi/transport_security.h",
1047 "src/core/tsi/transport_security_interface.h",
Jorge Canizales140bca82015-06-20 09:47:00 -07001048 "src/core/census/grpc_context.h",
1049 "src/core/channel/census_filter.h",
1050 "src/core/channel/channel_args.h",
1051 "src/core/channel/channel_stack.h",
1052 "src/core/channel/child_channel.h",
1053 "src/core/channel/client_channel.h",
1054 "src/core/channel/client_setup.h",
1055 "src/core/channel/connected_channel.h",
1056 "src/core/channel/context.h",
1057 "src/core/channel/http_client_filter.h",
1058 "src/core/channel/http_server_filter.h",
1059 "src/core/channel/noop_filter.h",
1060 "src/core/compression/message_compress.h",
1061 "src/core/debug/trace.h",
1062 "src/core/iomgr/alarm.h",
1063 "src/core/iomgr/alarm_heap.h",
1064 "src/core/iomgr/alarm_internal.h",
1065 "src/core/iomgr/endpoint.h",
1066 "src/core/iomgr/endpoint_pair.h",
1067 "src/core/iomgr/fd_posix.h",
1068 "src/core/iomgr/iocp_windows.h",
1069 "src/core/iomgr/iomgr.h",
1070 "src/core/iomgr/iomgr_internal.h",
1071 "src/core/iomgr/iomgr_posix.h",
1072 "src/core/iomgr/pollset.h",
1073 "src/core/iomgr/pollset_kick_posix.h",
1074 "src/core/iomgr/pollset_posix.h",
1075 "src/core/iomgr/pollset_set.h",
1076 "src/core/iomgr/pollset_set_posix.h",
1077 "src/core/iomgr/pollset_set_windows.h",
1078 "src/core/iomgr/pollset_windows.h",
1079 "src/core/iomgr/resolve_address.h",
1080 "src/core/iomgr/sockaddr.h",
1081 "src/core/iomgr/sockaddr_posix.h",
1082 "src/core/iomgr/sockaddr_utils.h",
1083 "src/core/iomgr/sockaddr_win32.h",
1084 "src/core/iomgr/socket_utils_posix.h",
1085 "src/core/iomgr/socket_windows.h",
1086 "src/core/iomgr/tcp_client.h",
1087 "src/core/iomgr/tcp_posix.h",
1088 "src/core/iomgr/tcp_server.h",
1089 "src/core/iomgr/tcp_windows.h",
1090 "src/core/iomgr/time_averaged_stats.h",
1091 "src/core/iomgr/wakeup_fd_pipe.h",
1092 "src/core/iomgr/wakeup_fd_posix.h",
1093 "src/core/json/json.h",
1094 "src/core/json/json_common.h",
1095 "src/core/json/json_reader.h",
1096 "src/core/json/json_writer.h",
1097 "src/core/profiling/timers.h",
1098 "src/core/profiling/timers_preciseclock.h",
1099 "src/core/surface/byte_buffer_queue.h",
1100 "src/core/surface/call.h",
1101 "src/core/surface/channel.h",
1102 "src/core/surface/client.h",
1103 "src/core/surface/completion_queue.h",
1104 "src/core/surface/event_string.h",
1105 "src/core/surface/init.h",
1106 "src/core/surface/server.h",
1107 "src/core/surface/surface_trace.h",
1108 "src/core/transport/chttp2/alpn.h",
1109 "src/core/transport/chttp2/bin_encoder.h",
1110 "src/core/transport/chttp2/frame.h",
1111 "src/core/transport/chttp2/frame_data.h",
1112 "src/core/transport/chttp2/frame_goaway.h",
1113 "src/core/transport/chttp2/frame_ping.h",
1114 "src/core/transport/chttp2/frame_rst_stream.h",
1115 "src/core/transport/chttp2/frame_settings.h",
1116 "src/core/transport/chttp2/frame_window_update.h",
1117 "src/core/transport/chttp2/hpack_parser.h",
1118 "src/core/transport/chttp2/hpack_table.h",
1119 "src/core/transport/chttp2/http2_errors.h",
1120 "src/core/transport/chttp2/huffsyms.h",
Nicolas "Pixel" Nobled35f93d2015-06-27 00:57:29 +02001121 "src/core/transport/chttp2/incoming_metadata.h",
1122 "src/core/transport/chttp2/internal.h",
Jorge Canizales140bca82015-06-20 09:47:00 -07001123 "src/core/transport/chttp2/status_conversion.h",
1124 "src/core/transport/chttp2/stream_encoder.h",
1125 "src/core/transport/chttp2/stream_map.h",
1126 "src/core/transport/chttp2/timeout_encoding.h",
1127 "src/core/transport/chttp2/varint.h",
1128 "src/core/transport/chttp2_transport.h",
1129 "src/core/transport/metadata.h",
1130 "src/core/transport/stream_op.h",
1131 "src/core/transport/transport.h",
1132 "src/core/transport/transport_impl.h",
1133 "src/core/census/context.h",
1134 ],
1135 includes = [
1136 "include",
1137 ".",
1138 ],
1139 deps = [
1140 ":gpr_objc",
Jorge Canizales4dc4e3d2015-06-26 22:12:02 -07001141 "//external:libssl_objc",
Jorge Canizales140bca82015-06-20 09:47:00 -07001142 ],
Jorge Canizales8c1fd042015-06-22 19:11:36 -07001143 sdk_dylibs = ["libz"],
Jorge Canizales140bca82015-06-20 09:47:00 -07001144)
1145
1146
1147
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001148cc_binary(
1149 name = "grpc_cpp_plugin",
1150 srcs = [
1151 "src/compiler/cpp_plugin.cc",
1152 ],
1153 deps = [
1154 "//external:protobuf_compiler",
1155 ":grpc_plugin_support",
1156 ],
1157)
1158
1159
1160cc_binary(
Jan Tattermusch2d924952015-05-06 10:23:17 -07001161 name = "grpc_csharp_plugin",
1162 srcs = [
1163 "src/compiler/csharp_plugin.cc",
1164 ],
1165 deps = [
1166 "//external:protobuf_compiler",
1167 ":grpc_plugin_support",
1168 ],
1169)
1170
1171
1172cc_binary(
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001173 name = "grpc_objective_c_plugin",
1174 srcs = [
1175 "src/compiler/objective_c_plugin.cc",
1176 ],
1177 deps = [
1178 "//external:protobuf_compiler",
1179 ":grpc_plugin_support",
1180 ],
1181)
1182
1183
1184cc_binary(
1185 name = "grpc_python_plugin",
1186 srcs = [
1187 "src/compiler/python_plugin.cc",
1188 ],
1189 deps = [
1190 "//external:protobuf_compiler",
1191 ":grpc_plugin_support",
1192 ],
1193)
1194
1195
1196cc_binary(
1197 name = "grpc_ruby_plugin",
1198 srcs = [
1199 "src/compiler/ruby_plugin.cc",
1200 ],
1201 deps = [
1202 "//external:protobuf_compiler",
1203 ":grpc_plugin_support",
1204 ],
1205)
1206
1207
1208
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +02001209
1210
Jorge Canizales140bca82015-06-20 09:47:00 -07001211
Jorge Canizales91e67a22015-06-24 13:50:04 -07001212
1213
Jorge Canizales44dc4232015-06-19 16:30:31 -07001214objc_path = "src/objective-c"
Jorge Canizales140bca82015-06-20 09:47:00 -07001215
Jorge Canizales44dc4232015-06-19 16:30:31 -07001216rx_library_path = objc_path + "/RxLibrary"
1217
1218objc_library(
Jorge Canizalesbba80762015-06-26 23:25:48 -07001219 name = "rx_library",
1220 hdrs = glob([
1221 rx_library_path + "/*.h",
1222 rx_library_path + "/transformations/*.h",
1223 ]),
1224 srcs = glob([
1225 rx_library_path + "/*.m",
1226 rx_library_path + "/transformations/*.m",
1227 ]),
1228 includes = [objc_path],
1229 deps = [
1230 ":rx_library_private",
1231 ],
Jorge Canizales44dc4232015-06-19 16:30:31 -07001232)
1233
1234objc_library(
Jorge Canizalesbba80762015-06-26 23:25:48 -07001235 name = "rx_library_private",
1236 hdrs = glob([rx_library_path + "/private/*.h"]),
1237 srcs = glob([rx_library_path + "/private/*.m"]),
1238 visibility = ["//visibility:private"],
Jorge Canizales44dc4232015-06-19 16:30:31 -07001239)
Jorge Canizales866255e2015-06-20 18:58:38 -07001240
1241objc_client_path = objc_path + "/GRPCClient"
1242
1243objc_library(
1244 name = "grpc_client",
1245 hdrs = glob([
1246 objc_client_path + "/*.h",
1247 objc_client_path + "/private/*.h",
1248 ]),
1249 srcs = glob([
1250 objc_client_path + "/*.m",
1251 objc_client_path + "/private/*.m",
1252 ]),
1253 includes = [objc_path],
Jorge Canizalesbb54ae82015-06-28 06:50:58 -07001254 bundles = [":gRPCCertificates"],
Jorge Canizales866255e2015-06-20 18:58:38 -07001255 deps = [
1256 ":grpc_objc",
1257 ":rx_library",
1258 ],
1259)
Jorge Canizalesbb54ae82015-06-28 06:50:58 -07001260
1261objc_bundle_library(
1262 # The choice of name is signicant here, since it determines the bundle name.
1263 name = "gRPCCertificates",
1264 resources = ["etc/roots.pem"],
1265)