blob: d712053a3d4c94ebfe4ec3108fe74d8419e47cd1 [file] [log] [blame]
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +02001# GRPC Bazel BUILD file.
Jorge Canizales3beb2402015-07-02 01:30:33 -07002# This currently builds C, C++ and Objective-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",
Vijay Pai005e3052015-07-10 15:18:45 -070050 "src/core/support/stack_lockfree.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -070051 "src/core/support/string.h",
52 "src/core/support/string_win32.h",
53 "src/core/support/thd_internal.h",
54 "src/core/support/alloc.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -070055 "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",
Vijay Pai005e3052015-07-10 15:18:45 -070076 "src/core/support/stack_lockfree.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -070077 "src/core/support/string.c",
78 "src/core/support/string_posix.c",
79 "src/core/support/string_win32.c",
Craig Tillerc21a8092015-05-15 10:03:40 -070080 "src/core/support/subprocess_posix.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -070081 "src/core/support/sync.c",
82 "src/core/support/sync_posix.c",
83 "src/core/support/sync_win32.c",
84 "src/core/support/thd.c",
85 "src/core/support/thd_posix.c",
86 "src/core/support/thd_win32.c",
87 "src/core/support/time.c",
88 "src/core/support/time_posix.c",
89 "src/core/support/time_win32.c",
Craig Tilleree210ab2015-05-15 10:32:28 -070090 "src/core/support/tls_pthread.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -070091 ],
92 hdrs = [
93 "include/grpc/support/alloc.h",
94 "include/grpc/support/atm.h",
95 "include/grpc/support/atm_gcc_atomic.h",
96 "include/grpc/support/atm_gcc_sync.h",
97 "include/grpc/support/atm_win32.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -070098 "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 = [
Julien Boeufc6f8d0a2015-05-11 22:40:02 -0700133 "src/core/security/auth_filters.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700134 "src/core/security/base64.h",
135 "src/core/security/credentials.h",
136 "src/core/security/json_token.h",
Julien Boeuffeca1bf2015-06-22 16:46:20 +0200137 "src/core/security/jwt_verifier.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700138 "src/core/security/secure_endpoint.h",
139 "src/core/security/secure_transport_setup.h",
Julien Boeuf7d1d9ca2015-04-17 14:38:48 -0700140 "src/core/security/security_connector.h",
Julien Boeufd7f768b2015-05-08 16:37:16 -0700141 "src/core/security/security_context.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700142 "src/core/tsi/fake_transport_security.h",
143 "src/core/tsi/ssl_transport_security.h",
144 "src/core/tsi/transport_security.h",
145 "src/core/tsi/transport_security_interface.h",
murgatroid997da8b1a2015-06-17 12:37:34 -0700146 "src/core/channel/census_filter.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700147 "src/core/channel/channel_args.h",
148 "src/core/channel/channel_stack.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700149 "src/core/channel/client_channel.h",
David Garcia Quintas55b4ea12015-06-16 14:27:32 -0700150 "src/core/channel/compress_filter.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700151 "src/core/channel/connected_channel.h",
murgatroid997da8b1a2015-06-17 12:37:34 -0700152 "src/core/channel/context.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700153 "src/core/channel/http_client_filter.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700154 "src/core/channel/http_server_filter.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700155 "src/core/channel/noop_filter.h",
Craig Tilleraf691802015-06-23 14:57:07 -0700156 "src/core/client_config/client_config.h",
Craig Tiller91624662015-06-25 16:31:02 -0700157 "src/core/client_config/connector.h",
Craig Tiller3bc8ebd2015-06-24 15:41:15 -0700158 "src/core/client_config/lb_policies/pick_first.h",
Craig Tilleraf691802015-06-23 14:57:07 -0700159 "src/core/client_config/lb_policy.h",
160 "src/core/client_config/resolver.h",
Craig Tiller7df28a72015-06-24 09:23:52 -0700161 "src/core/client_config/resolver_factory.h",
Craig Tiller3bc8ebd2015-06-24 15:41:15 -0700162 "src/core/client_config/resolver_registry.h",
163 "src/core/client_config/resolvers/dns_resolver.h",
Craig Tiller698d00c2015-07-20 12:32:58 -0700164 "src/core/client_config/resolvers/sockaddr_resolver.h",
Craig Tilleraf691802015-06-23 14:57:07 -0700165 "src/core/client_config/subchannel.h",
166 "src/core/client_config/subchannel_factory.h",
Craig Tiller83f4d4e2015-07-29 18:14:41 -0700167 "src/core/client_config/subchannel_factory_decorators/add_channel_arg.h",
168 "src/core/client_config/subchannel_factory_decorators/merge_channel_args.h",
Craig Tiller3bc8ebd2015-06-24 15:41:15 -0700169 "src/core/client_config/uri_parser.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700170 "src/core/compression/message_compress.h",
171 "src/core/debug/trace.h",
Craig Tillerf53d9c82015-08-04 14:19:43 -0700172 "src/core/httpcli/format_request.h",
173 "src/core/httpcli/httpcli.h",
174 "src/core/httpcli/parser.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700175 "src/core/iomgr/alarm.h",
176 "src/core/iomgr/alarm_heap.h",
177 "src/core/iomgr/alarm_internal.h",
178 "src/core/iomgr/endpoint.h",
179 "src/core/iomgr/endpoint_pair.h",
180 "src/core/iomgr/fd_posix.h",
181 "src/core/iomgr/iocp_windows.h",
182 "src/core/iomgr/iomgr.h",
183 "src/core/iomgr/iomgr_internal.h",
184 "src/core/iomgr/iomgr_posix.h",
185 "src/core/iomgr/pollset.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700186 "src/core/iomgr/pollset_posix.h",
Jorge Canizalesfe8ad732015-06-20 19:53:59 -0700187 "src/core/iomgr/pollset_set.h",
Craig Tillerb7cf08f2015-05-07 07:58:30 -0700188 "src/core/iomgr/pollset_set_posix.h",
189 "src/core/iomgr/pollset_set_windows.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700190 "src/core/iomgr/pollset_windows.h",
191 "src/core/iomgr/resolve_address.h",
192 "src/core/iomgr/sockaddr.h",
193 "src/core/iomgr/sockaddr_posix.h",
194 "src/core/iomgr/sockaddr_utils.h",
195 "src/core/iomgr/sockaddr_win32.h",
196 "src/core/iomgr/socket_utils_posix.h",
197 "src/core/iomgr/socket_windows.h",
198 "src/core/iomgr/tcp_client.h",
199 "src/core/iomgr/tcp_posix.h",
200 "src/core/iomgr/tcp_server.h",
201 "src/core/iomgr/tcp_windows.h",
202 "src/core/iomgr/time_averaged_stats.h",
Robbie Shade69535292015-07-10 14:27:34 -0400203 "src/core/iomgr/udp_server.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700204 "src/core/iomgr/wakeup_fd_pipe.h",
205 "src/core/iomgr/wakeup_fd_posix.h",
206 "src/core/json/json.h",
207 "src/core/json/json_common.h",
208 "src/core/json/json_reader.h",
209 "src/core/json/json_writer.h",
Vijay Pai6dfa7e62015-04-13 10:41:40 -0700210 "src/core/profiling/timers.h",
Vijay Pai9cccb082015-04-13 13:04:06 -0700211 "src/core/profiling/timers_preciseclock.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700212 "src/core/surface/byte_buffer_queue.h",
213 "src/core/surface/call.h",
214 "src/core/surface/channel.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700215 "src/core/surface/completion_queue.h",
216 "src/core/surface/event_string.h",
217 "src/core/surface/init.h",
218 "src/core/surface/server.h",
219 "src/core/surface/surface_trace.h",
220 "src/core/transport/chttp2/alpn.h",
221 "src/core/transport/chttp2/bin_encoder.h",
222 "src/core/transport/chttp2/frame.h",
223 "src/core/transport/chttp2/frame_data.h",
224 "src/core/transport/chttp2/frame_goaway.h",
225 "src/core/transport/chttp2/frame_ping.h",
226 "src/core/transport/chttp2/frame_rst_stream.h",
227 "src/core/transport/chttp2/frame_settings.h",
228 "src/core/transport/chttp2/frame_window_update.h",
229 "src/core/transport/chttp2/hpack_parser.h",
230 "src/core/transport/chttp2/hpack_table.h",
231 "src/core/transport/chttp2/http2_errors.h",
232 "src/core/transport/chttp2/huffsyms.h",
Craig Tiller5dc3b302015-06-15 16:06:50 -0700233 "src/core/transport/chttp2/incoming_metadata.h",
Craig Tiller41527062015-06-12 07:51:05 -0700234 "src/core/transport/chttp2/internal.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700235 "src/core/transport/chttp2/status_conversion.h",
236 "src/core/transport/chttp2/stream_encoder.h",
237 "src/core/transport/chttp2/stream_map.h",
238 "src/core/transport/chttp2/timeout_encoding.h",
239 "src/core/transport/chttp2/varint.h",
240 "src/core/transport/chttp2_transport.h",
Craig Tiller08a1cf82015-06-29 09:37:52 -0700241 "src/core/transport/connectivity_state.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700242 "src/core/transport/metadata.h",
243 "src/core/transport/stream_op.h",
244 "src/core/transport/transport.h",
245 "src/core/transport/transport_impl.h",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700246 "src/core/census/context.h",
Alistair Veitchb46f3f42015-07-20 13:34:10 -0700247 "src/core/census/rpc_stat_id.h",
Julien Boeuf7d1d9ca2015-04-17 14:38:48 -0700248 "src/core/httpcli/httpcli_security_connector.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700249 "src/core/security/base64.c",
Julien Boeufc6f8d0a2015-05-11 22:40:02 -0700250 "src/core/security/client_auth_filter.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700251 "src/core/security/credentials.c",
Julien Boeuf75c9b6f2015-05-29 13:12:12 -0700252 "src/core/security/credentials_metadata.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700253 "src/core/security/credentials_posix.c",
254 "src/core/security/credentials_win32.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700255 "src/core/security/google_default_credentials.c",
256 "src/core/security/json_token.c",
Julien Boeuffeca1bf2015-06-22 16:46:20 +0200257 "src/core/security/jwt_verifier.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700258 "src/core/security/secure_endpoint.c",
259 "src/core/security/secure_transport_setup.c",
Julien Boeuf7d1d9ca2015-04-17 14:38:48 -0700260 "src/core/security/security_connector.c",
Julien Boeufd7f768b2015-05-08 16:37:16 -0700261 "src/core/security/security_context.c",
Julien Boeufc6f8d0a2015-05-11 22:40:02 -0700262 "src/core/security/server_auth_filter.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700263 "src/core/security/server_secure_chttp2.c",
264 "src/core/surface/init_secure.c",
265 "src/core/surface/secure_channel_create.c",
266 "src/core/tsi/fake_transport_security.c",
267 "src/core/tsi/ssl_transport_security.c",
268 "src/core/tsi/transport_security.c",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700269 "src/core/census/grpc_context.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700270 "src/core/channel/channel_args.c",
271 "src/core/channel/channel_stack.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700272 "src/core/channel/client_channel.c",
David Garcia Quintas55b4ea12015-06-16 14:27:32 -0700273 "src/core/channel/compress_filter.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700274 "src/core/channel/connected_channel.c",
275 "src/core/channel/http_client_filter.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700276 "src/core/channel/http_server_filter.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700277 "src/core/channel/noop_filter.c",
Craig Tilleraf691802015-06-23 14:57:07 -0700278 "src/core/client_config/client_config.c",
Craig Tiller91624662015-06-25 16:31:02 -0700279 "src/core/client_config/connector.c",
Craig Tiller3bc8ebd2015-06-24 15:41:15 -0700280 "src/core/client_config/lb_policies/pick_first.c",
Craig Tilleraf691802015-06-23 14:57:07 -0700281 "src/core/client_config/lb_policy.c",
282 "src/core/client_config/resolver.c",
Craig Tiller7df28a72015-06-24 09:23:52 -0700283 "src/core/client_config/resolver_factory.c",
Craig Tiller3bc8ebd2015-06-24 15:41:15 -0700284 "src/core/client_config/resolver_registry.c",
285 "src/core/client_config/resolvers/dns_resolver.c",
Craig Tiller698d00c2015-07-20 12:32:58 -0700286 "src/core/client_config/resolvers/sockaddr_resolver.c",
Craig Tilleraf691802015-06-23 14:57:07 -0700287 "src/core/client_config/subchannel.c",
288 "src/core/client_config/subchannel_factory.c",
Craig Tiller83f4d4e2015-07-29 18:14:41 -0700289 "src/core/client_config/subchannel_factory_decorators/add_channel_arg.c",
290 "src/core/client_config/subchannel_factory_decorators/merge_channel_args.c",
Craig Tiller3bc8ebd2015-06-24 15:41:15 -0700291 "src/core/client_config/uri_parser.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700292 "src/core/compression/algorithm.c",
293 "src/core/compression/message_compress.c",
294 "src/core/debug/trace.c",
Craig Tillerf53d9c82015-08-04 14:19:43 -0700295 "src/core/httpcli/format_request.c",
296 "src/core/httpcli/httpcli.c",
297 "src/core/httpcli/parser.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700298 "src/core/iomgr/alarm.c",
299 "src/core/iomgr/alarm_heap.c",
300 "src/core/iomgr/endpoint.c",
301 "src/core/iomgr/endpoint_pair_posix.c",
Craig Tillerd180e032015-04-13 10:10:07 -0700302 "src/core/iomgr/endpoint_pair_windows.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700303 "src/core/iomgr/fd_posix.c",
304 "src/core/iomgr/iocp_windows.c",
305 "src/core/iomgr/iomgr.c",
306 "src/core/iomgr/iomgr_posix.c",
307 "src/core/iomgr/iomgr_windows.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700308 "src/core/iomgr/pollset_multipoller_with_epoll.c",
309 "src/core/iomgr/pollset_multipoller_with_poll_posix.c",
310 "src/core/iomgr/pollset_posix.c",
Craig Tillerb7cf08f2015-05-07 07:58:30 -0700311 "src/core/iomgr/pollset_set_posix.c",
312 "src/core/iomgr/pollset_set_windows.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700313 "src/core/iomgr/pollset_windows.c",
314 "src/core/iomgr/resolve_address_posix.c",
315 "src/core/iomgr/resolve_address_windows.c",
316 "src/core/iomgr/sockaddr_utils.c",
317 "src/core/iomgr/socket_utils_common_posix.c",
318 "src/core/iomgr/socket_utils_linux.c",
319 "src/core/iomgr/socket_utils_posix.c",
320 "src/core/iomgr/socket_windows.c",
321 "src/core/iomgr/tcp_client_posix.c",
322 "src/core/iomgr/tcp_client_windows.c",
323 "src/core/iomgr/tcp_posix.c",
324 "src/core/iomgr/tcp_server_posix.c",
325 "src/core/iomgr/tcp_server_windows.c",
326 "src/core/iomgr/tcp_windows.c",
327 "src/core/iomgr/time_averaged_stats.c",
Robbie Shade69535292015-07-10 14:27:34 -0400328 "src/core/iomgr/udp_server.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700329 "src/core/iomgr/wakeup_fd_eventfd.c",
330 "src/core/iomgr/wakeup_fd_nospecial.c",
331 "src/core/iomgr/wakeup_fd_pipe.c",
332 "src/core/iomgr/wakeup_fd_posix.c",
333 "src/core/json/json.c",
334 "src/core/json/json_reader.c",
335 "src/core/json/json_string.c",
336 "src/core/json/json_writer.c",
David Garcia Quintas8954e902015-04-29 09:46:33 -0700337 "src/core/profiling/basic_timers.c",
338 "src/core/profiling/stap_timers.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700339 "src/core/surface/byte_buffer.c",
340 "src/core/surface/byte_buffer_queue.c",
341 "src/core/surface/byte_buffer_reader.c",
342 "src/core/surface/call.c",
343 "src/core/surface/call_details.c",
344 "src/core/surface/call_log_batch.c",
345 "src/core/surface/channel.c",
Craig Tiller48cb07c2015-07-15 16:16:15 -0700346 "src/core/surface/channel_connectivity.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700347 "src/core/surface/channel_create.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700348 "src/core/surface/completion_queue.c",
349 "src/core/surface/event_string.c",
350 "src/core/surface/init.c",
351 "src/core/surface/lame_client.c",
352 "src/core/surface/metadata_array.c",
353 "src/core/surface/server.c",
354 "src/core/surface/server_chttp2.c",
355 "src/core/surface/server_create.c",
356 "src/core/surface/surface_trace.c",
Craig Tiller2e622bc2015-07-10 07:46:03 -0700357 "src/core/surface/version.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700358 "src/core/transport/chttp2/alpn.c",
359 "src/core/transport/chttp2/bin_encoder.c",
360 "src/core/transport/chttp2/frame_data.c",
361 "src/core/transport/chttp2/frame_goaway.c",
362 "src/core/transport/chttp2/frame_ping.c",
363 "src/core/transport/chttp2/frame_rst_stream.c",
364 "src/core/transport/chttp2/frame_settings.c",
365 "src/core/transport/chttp2/frame_window_update.c",
366 "src/core/transport/chttp2/hpack_parser.c",
367 "src/core/transport/chttp2/hpack_table.c",
368 "src/core/transport/chttp2/huffsyms.c",
Craig Tiller5dc3b302015-06-15 16:06:50 -0700369 "src/core/transport/chttp2/incoming_metadata.c",
Craig Tillerd8df50c2015-06-12 07:53:56 -0700370 "src/core/transport/chttp2/parsing.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700371 "src/core/transport/chttp2/status_conversion.c",
372 "src/core/transport/chttp2/stream_encoder.c",
Craig Tiller6459db42015-06-15 17:11:45 -0700373 "src/core/transport/chttp2/stream_lists.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700374 "src/core/transport/chttp2/stream_map.c",
375 "src/core/transport/chttp2/timeout_encoding.c",
376 "src/core/transport/chttp2/varint.c",
Craig Tillerd8df50c2015-06-12 07:53:56 -0700377 "src/core/transport/chttp2/writing.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700378 "src/core/transport/chttp2_transport.c",
Craig Tiller08a1cf82015-06-29 09:37:52 -0700379 "src/core/transport/connectivity_state.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700380 "src/core/transport/metadata.c",
381 "src/core/transport/stream_op.c",
382 "src/core/transport/transport.c",
Craig Tiller83f88d92015-04-21 16:02:05 -0700383 "src/core/transport/transport_op_string.c",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700384 "src/core/census/context.c",
385 "src/core/census/initialize.c",
Alistair Veitch635899d2015-07-17 16:02:24 -0700386 "src/core/census/record_stat.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700387 ],
388 hdrs = [
389 "include/grpc/grpc_security.h",
390 "include/grpc/byte_buffer.h",
391 "include/grpc/byte_buffer_reader.h",
David Garcia Quintas59f905d2015-06-08 16:31:19 -0700392 "include/grpc/compression.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700393 "include/grpc/grpc.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700394 "include/grpc/status.h",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700395 "include/grpc/census.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700396 ],
397 includes = [
398 "include",
399 ".",
400 ],
401 deps = [
402 "//external:libssl",
Ming Zhaof2f24e22015-08-13 12:38:35 -0700403 "//external:zlib",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700404 ":gpr",
405 ],
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +0200406)
407
408
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700409cc_library(
410 name = "grpc_unsecure",
411 srcs = [
murgatroid997da8b1a2015-06-17 12:37:34 -0700412 "src/core/channel/census_filter.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700413 "src/core/channel/channel_args.h",
414 "src/core/channel/channel_stack.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700415 "src/core/channel/client_channel.h",
David Garcia Quintas55b4ea12015-06-16 14:27:32 -0700416 "src/core/channel/compress_filter.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700417 "src/core/channel/connected_channel.h",
murgatroid997da8b1a2015-06-17 12:37:34 -0700418 "src/core/channel/context.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700419 "src/core/channel/http_client_filter.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700420 "src/core/channel/http_server_filter.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700421 "src/core/channel/noop_filter.h",
Craig Tilleraf691802015-06-23 14:57:07 -0700422 "src/core/client_config/client_config.h",
Craig Tiller91624662015-06-25 16:31:02 -0700423 "src/core/client_config/connector.h",
Craig Tiller3bc8ebd2015-06-24 15:41:15 -0700424 "src/core/client_config/lb_policies/pick_first.h",
Craig Tilleraf691802015-06-23 14:57:07 -0700425 "src/core/client_config/lb_policy.h",
426 "src/core/client_config/resolver.h",
Craig Tiller7df28a72015-06-24 09:23:52 -0700427 "src/core/client_config/resolver_factory.h",
Craig Tiller3bc8ebd2015-06-24 15:41:15 -0700428 "src/core/client_config/resolver_registry.h",
429 "src/core/client_config/resolvers/dns_resolver.h",
Craig Tiller698d00c2015-07-20 12:32:58 -0700430 "src/core/client_config/resolvers/sockaddr_resolver.h",
Craig Tilleraf691802015-06-23 14:57:07 -0700431 "src/core/client_config/subchannel.h",
432 "src/core/client_config/subchannel_factory.h",
Craig Tiller83f4d4e2015-07-29 18:14:41 -0700433 "src/core/client_config/subchannel_factory_decorators/add_channel_arg.h",
434 "src/core/client_config/subchannel_factory_decorators/merge_channel_args.h",
Craig Tiller3bc8ebd2015-06-24 15:41:15 -0700435 "src/core/client_config/uri_parser.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700436 "src/core/compression/message_compress.h",
437 "src/core/debug/trace.h",
Craig Tillerf53d9c82015-08-04 14:19:43 -0700438 "src/core/httpcli/format_request.h",
439 "src/core/httpcli/httpcli.h",
440 "src/core/httpcli/parser.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700441 "src/core/iomgr/alarm.h",
442 "src/core/iomgr/alarm_heap.h",
443 "src/core/iomgr/alarm_internal.h",
444 "src/core/iomgr/endpoint.h",
445 "src/core/iomgr/endpoint_pair.h",
446 "src/core/iomgr/fd_posix.h",
447 "src/core/iomgr/iocp_windows.h",
448 "src/core/iomgr/iomgr.h",
449 "src/core/iomgr/iomgr_internal.h",
450 "src/core/iomgr/iomgr_posix.h",
451 "src/core/iomgr/pollset.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700452 "src/core/iomgr/pollset_posix.h",
Jorge Canizalesfe8ad732015-06-20 19:53:59 -0700453 "src/core/iomgr/pollset_set.h",
Craig Tillerb7cf08f2015-05-07 07:58:30 -0700454 "src/core/iomgr/pollset_set_posix.h",
455 "src/core/iomgr/pollset_set_windows.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700456 "src/core/iomgr/pollset_windows.h",
457 "src/core/iomgr/resolve_address.h",
458 "src/core/iomgr/sockaddr.h",
459 "src/core/iomgr/sockaddr_posix.h",
460 "src/core/iomgr/sockaddr_utils.h",
461 "src/core/iomgr/sockaddr_win32.h",
462 "src/core/iomgr/socket_utils_posix.h",
463 "src/core/iomgr/socket_windows.h",
464 "src/core/iomgr/tcp_client.h",
465 "src/core/iomgr/tcp_posix.h",
466 "src/core/iomgr/tcp_server.h",
467 "src/core/iomgr/tcp_windows.h",
468 "src/core/iomgr/time_averaged_stats.h",
Robbie Shade69535292015-07-10 14:27:34 -0400469 "src/core/iomgr/udp_server.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700470 "src/core/iomgr/wakeup_fd_pipe.h",
471 "src/core/iomgr/wakeup_fd_posix.h",
472 "src/core/json/json.h",
473 "src/core/json/json_common.h",
474 "src/core/json/json_reader.h",
475 "src/core/json/json_writer.h",
Vijay Pai6dfa7e62015-04-13 10:41:40 -0700476 "src/core/profiling/timers.h",
Vijay Pai9cccb082015-04-13 13:04:06 -0700477 "src/core/profiling/timers_preciseclock.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700478 "src/core/surface/byte_buffer_queue.h",
479 "src/core/surface/call.h",
480 "src/core/surface/channel.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700481 "src/core/surface/completion_queue.h",
482 "src/core/surface/event_string.h",
483 "src/core/surface/init.h",
484 "src/core/surface/server.h",
485 "src/core/surface/surface_trace.h",
486 "src/core/transport/chttp2/alpn.h",
487 "src/core/transport/chttp2/bin_encoder.h",
488 "src/core/transport/chttp2/frame.h",
489 "src/core/transport/chttp2/frame_data.h",
490 "src/core/transport/chttp2/frame_goaway.h",
491 "src/core/transport/chttp2/frame_ping.h",
492 "src/core/transport/chttp2/frame_rst_stream.h",
493 "src/core/transport/chttp2/frame_settings.h",
494 "src/core/transport/chttp2/frame_window_update.h",
495 "src/core/transport/chttp2/hpack_parser.h",
496 "src/core/transport/chttp2/hpack_table.h",
497 "src/core/transport/chttp2/http2_errors.h",
498 "src/core/transport/chttp2/huffsyms.h",
Craig Tiller5dc3b302015-06-15 16:06:50 -0700499 "src/core/transport/chttp2/incoming_metadata.h",
Craig Tiller41527062015-06-12 07:51:05 -0700500 "src/core/transport/chttp2/internal.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700501 "src/core/transport/chttp2/status_conversion.h",
502 "src/core/transport/chttp2/stream_encoder.h",
503 "src/core/transport/chttp2/stream_map.h",
504 "src/core/transport/chttp2/timeout_encoding.h",
505 "src/core/transport/chttp2/varint.h",
506 "src/core/transport/chttp2_transport.h",
Craig Tiller08a1cf82015-06-29 09:37:52 -0700507 "src/core/transport/connectivity_state.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700508 "src/core/transport/metadata.h",
509 "src/core/transport/stream_op.h",
510 "src/core/transport/transport.h",
511 "src/core/transport/transport_impl.h",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700512 "src/core/census/context.h",
Alistair Veitchb46f3f42015-07-20 13:34:10 -0700513 "src/core/census/rpc_stat_id.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700514 "src/core/surface/init_unsecure.c",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700515 "src/core/census/grpc_context.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700516 "src/core/channel/channel_args.c",
517 "src/core/channel/channel_stack.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700518 "src/core/channel/client_channel.c",
David Garcia Quintas55b4ea12015-06-16 14:27:32 -0700519 "src/core/channel/compress_filter.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700520 "src/core/channel/connected_channel.c",
521 "src/core/channel/http_client_filter.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700522 "src/core/channel/http_server_filter.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700523 "src/core/channel/noop_filter.c",
Craig Tilleraf691802015-06-23 14:57:07 -0700524 "src/core/client_config/client_config.c",
Craig Tiller91624662015-06-25 16:31:02 -0700525 "src/core/client_config/connector.c",
Craig Tiller3bc8ebd2015-06-24 15:41:15 -0700526 "src/core/client_config/lb_policies/pick_first.c",
Craig Tilleraf691802015-06-23 14:57:07 -0700527 "src/core/client_config/lb_policy.c",
528 "src/core/client_config/resolver.c",
Craig Tiller7df28a72015-06-24 09:23:52 -0700529 "src/core/client_config/resolver_factory.c",
Craig Tiller3bc8ebd2015-06-24 15:41:15 -0700530 "src/core/client_config/resolver_registry.c",
531 "src/core/client_config/resolvers/dns_resolver.c",
Craig Tiller698d00c2015-07-20 12:32:58 -0700532 "src/core/client_config/resolvers/sockaddr_resolver.c",
Craig Tilleraf691802015-06-23 14:57:07 -0700533 "src/core/client_config/subchannel.c",
534 "src/core/client_config/subchannel_factory.c",
Craig Tiller83f4d4e2015-07-29 18:14:41 -0700535 "src/core/client_config/subchannel_factory_decorators/add_channel_arg.c",
536 "src/core/client_config/subchannel_factory_decorators/merge_channel_args.c",
Craig Tiller3bc8ebd2015-06-24 15:41:15 -0700537 "src/core/client_config/uri_parser.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700538 "src/core/compression/algorithm.c",
539 "src/core/compression/message_compress.c",
540 "src/core/debug/trace.c",
Craig Tillerf53d9c82015-08-04 14:19:43 -0700541 "src/core/httpcli/format_request.c",
542 "src/core/httpcli/httpcli.c",
543 "src/core/httpcli/parser.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700544 "src/core/iomgr/alarm.c",
545 "src/core/iomgr/alarm_heap.c",
546 "src/core/iomgr/endpoint.c",
547 "src/core/iomgr/endpoint_pair_posix.c",
Craig Tillerd180e032015-04-13 10:10:07 -0700548 "src/core/iomgr/endpoint_pair_windows.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700549 "src/core/iomgr/fd_posix.c",
550 "src/core/iomgr/iocp_windows.c",
551 "src/core/iomgr/iomgr.c",
552 "src/core/iomgr/iomgr_posix.c",
553 "src/core/iomgr/iomgr_windows.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700554 "src/core/iomgr/pollset_multipoller_with_epoll.c",
555 "src/core/iomgr/pollset_multipoller_with_poll_posix.c",
556 "src/core/iomgr/pollset_posix.c",
Craig Tillerb7cf08f2015-05-07 07:58:30 -0700557 "src/core/iomgr/pollset_set_posix.c",
558 "src/core/iomgr/pollset_set_windows.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700559 "src/core/iomgr/pollset_windows.c",
560 "src/core/iomgr/resolve_address_posix.c",
561 "src/core/iomgr/resolve_address_windows.c",
562 "src/core/iomgr/sockaddr_utils.c",
563 "src/core/iomgr/socket_utils_common_posix.c",
564 "src/core/iomgr/socket_utils_linux.c",
565 "src/core/iomgr/socket_utils_posix.c",
566 "src/core/iomgr/socket_windows.c",
567 "src/core/iomgr/tcp_client_posix.c",
568 "src/core/iomgr/tcp_client_windows.c",
569 "src/core/iomgr/tcp_posix.c",
570 "src/core/iomgr/tcp_server_posix.c",
571 "src/core/iomgr/tcp_server_windows.c",
572 "src/core/iomgr/tcp_windows.c",
573 "src/core/iomgr/time_averaged_stats.c",
Robbie Shade69535292015-07-10 14:27:34 -0400574 "src/core/iomgr/udp_server.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700575 "src/core/iomgr/wakeup_fd_eventfd.c",
576 "src/core/iomgr/wakeup_fd_nospecial.c",
577 "src/core/iomgr/wakeup_fd_pipe.c",
578 "src/core/iomgr/wakeup_fd_posix.c",
579 "src/core/json/json.c",
580 "src/core/json/json_reader.c",
581 "src/core/json/json_string.c",
582 "src/core/json/json_writer.c",
David Garcia Quintas8954e902015-04-29 09:46:33 -0700583 "src/core/profiling/basic_timers.c",
584 "src/core/profiling/stap_timers.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700585 "src/core/surface/byte_buffer.c",
586 "src/core/surface/byte_buffer_queue.c",
587 "src/core/surface/byte_buffer_reader.c",
588 "src/core/surface/call.c",
589 "src/core/surface/call_details.c",
590 "src/core/surface/call_log_batch.c",
591 "src/core/surface/channel.c",
Craig Tiller48cb07c2015-07-15 16:16:15 -0700592 "src/core/surface/channel_connectivity.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700593 "src/core/surface/channel_create.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700594 "src/core/surface/completion_queue.c",
595 "src/core/surface/event_string.c",
596 "src/core/surface/init.c",
597 "src/core/surface/lame_client.c",
598 "src/core/surface/metadata_array.c",
599 "src/core/surface/server.c",
600 "src/core/surface/server_chttp2.c",
601 "src/core/surface/server_create.c",
602 "src/core/surface/surface_trace.c",
Craig Tiller2e622bc2015-07-10 07:46:03 -0700603 "src/core/surface/version.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700604 "src/core/transport/chttp2/alpn.c",
605 "src/core/transport/chttp2/bin_encoder.c",
606 "src/core/transport/chttp2/frame_data.c",
607 "src/core/transport/chttp2/frame_goaway.c",
608 "src/core/transport/chttp2/frame_ping.c",
609 "src/core/transport/chttp2/frame_rst_stream.c",
610 "src/core/transport/chttp2/frame_settings.c",
611 "src/core/transport/chttp2/frame_window_update.c",
612 "src/core/transport/chttp2/hpack_parser.c",
613 "src/core/transport/chttp2/hpack_table.c",
614 "src/core/transport/chttp2/huffsyms.c",
Craig Tiller5dc3b302015-06-15 16:06:50 -0700615 "src/core/transport/chttp2/incoming_metadata.c",
Craig Tillerd8df50c2015-06-12 07:53:56 -0700616 "src/core/transport/chttp2/parsing.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700617 "src/core/transport/chttp2/status_conversion.c",
618 "src/core/transport/chttp2/stream_encoder.c",
Craig Tiller6459db42015-06-15 17:11:45 -0700619 "src/core/transport/chttp2/stream_lists.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700620 "src/core/transport/chttp2/stream_map.c",
621 "src/core/transport/chttp2/timeout_encoding.c",
622 "src/core/transport/chttp2/varint.c",
Craig Tillerd8df50c2015-06-12 07:53:56 -0700623 "src/core/transport/chttp2/writing.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700624 "src/core/transport/chttp2_transport.c",
Craig Tiller08a1cf82015-06-29 09:37:52 -0700625 "src/core/transport/connectivity_state.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700626 "src/core/transport/metadata.c",
627 "src/core/transport/stream_op.c",
628 "src/core/transport/transport.c",
Craig Tiller83f88d92015-04-21 16:02:05 -0700629 "src/core/transport/transport_op_string.c",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700630 "src/core/census/context.c",
631 "src/core/census/initialize.c",
Alistair Veitch635899d2015-07-17 16:02:24 -0700632 "src/core/census/record_stat.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700633 ],
634 hdrs = [
635 "include/grpc/byte_buffer.h",
636 "include/grpc/byte_buffer_reader.h",
David Garcia Quintas59f905d2015-06-08 16:31:19 -0700637 "include/grpc/compression.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700638 "include/grpc/grpc.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700639 "include/grpc/status.h",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700640 "include/grpc/census.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700641 ],
642 includes = [
643 "include",
644 ".",
645 ],
646 deps = [
647 ":gpr",
648 ],
649)
650
651
652cc_library(
Hongwei Wangda8858f2015-07-16 16:18:19 -0700653 name = "grpc_zookeeper",
654 srcs = [
655 "src/core/client_config/resolvers/zookeeper_resolver.h",
656 "src/core/client_config/resolvers/zookeeper_resolver.c",
657 ],
658 hdrs = [
Hongwei Wanga3780a82015-07-17 15:27:18 -0700659 "include/grpc/grpc_zookeeper.h",
Hongwei Wangda8858f2015-07-16 16:18:19 -0700660 ],
661 includes = [
662 "include",
663 ".",
664 ],
665 deps = [
666 ":gpr",
667 ":grpc",
668 ],
669)
670
671
672cc_library(
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700673 name = "grpc++",
674 srcs = [
675 "src/cpp/client/secure_credentials.h",
yang-g3abe60b2015-07-06 14:00:36 -0700676 "src/cpp/common/secure_auth_context.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700677 "src/cpp/server/secure_server_credentials.h",
yang-gc317f072015-08-20 12:18:08 -0700678 "src/cpp/client/create_channel_internal.h",
yang-g3abe60b2015-07-06 14:00:36 -0700679 "src/cpp/common/create_auth_context.h",
Craig Tillerf75fc122015-06-25 06:58:00 -0700680 "src/cpp/client/secure_channel_arguments.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700681 "src/cpp/client/secure_credentials.cc",
yang-g7ef72322015-07-16 21:00:51 -0700682 "src/cpp/common/auth_property_iterator.cc",
yang-g3abe60b2015-07-06 14:00:36 -0700683 "src/cpp/common/secure_auth_context.cc",
684 "src/cpp/common/secure_create_auth_context.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700685 "src/cpp/server/secure_server_credentials.cc",
686 "src/cpp/client/channel.cc",
687 "src/cpp/client/channel_arguments.cc",
688 "src/cpp/client/client_context.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700689 "src/cpp/client/create_channel.cc",
yang-gc317f072015-08-20 12:18:08 -0700690 "src/cpp/client/create_channel_internal.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700691 "src/cpp/client/credentials.cc",
692 "src/cpp/client/generic_stub.cc",
693 "src/cpp/client/insecure_credentials.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700694 "src/cpp/common/call.cc",
695 "src/cpp/common/completion_queue.cc",
696 "src/cpp/common/rpc_method.cc",
697 "src/cpp/proto/proto_utils.cc",
698 "src/cpp/server/async_generic_service.cc",
Yang Gao6f4fb3b2015-06-03 12:56:19 -0700699 "src/cpp/server/create_default_thread_pool.cc",
vjpaib28456b2015-07-23 14:17:10 -0700700 "src/cpp/server/dynamic_thread_pool.cc",
vjpaia2e1bb12015-07-15 16:49:49 -0700701 "src/cpp/server/fixed_size_thread_pool.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700702 "src/cpp/server/insecure_server_credentials.cc",
703 "src/cpp/server/server.cc",
704 "src/cpp/server/server_builder.cc",
705 "src/cpp/server/server_context.cc",
706 "src/cpp/server/server_credentials.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700707 "src/cpp/util/byte_buffer.cc",
708 "src/cpp/util/slice.cc",
709 "src/cpp/util/status.cc",
710 "src/cpp/util/time.cc",
711 ],
712 hdrs = [
713 "include/grpc++/async_generic_service.h",
714 "include/grpc++/async_unary_call.h",
yang-g3abe60b2015-07-06 14:00:36 -0700715 "include/grpc++/auth_context.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700716 "include/grpc++/byte_buffer.h",
yang-g8c2be9f2015-08-19 16:28:09 -0700717 "include/grpc++/channel.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700718 "include/grpc++/channel_arguments.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700719 "include/grpc++/client_context.h",
720 "include/grpc++/completion_queue.h",
721 "include/grpc++/config.h",
yang-gadfed032015-06-23 13:01:22 -0700722 "include/grpc++/config_protobuf.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700723 "include/grpc++/create_channel.h",
724 "include/grpc++/credentials.h",
vjpaib28456b2015-07-23 14:17:10 -0700725 "include/grpc++/dynamic_thread_pool.h",
vjpaia2e1bb12015-07-15 16:49:49 -0700726 "include/grpc++/fixed_size_thread_pool.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700727 "include/grpc++/generic_stub.h",
728 "include/grpc++/impl/call.h",
729 "include/grpc++/impl/client_unary_call.h",
Yang Gao96de4842015-04-24 13:13:12 -0700730 "include/grpc++/impl/grpc_library.h",
yang-gadfed032015-06-23 13:01:22 -0700731 "include/grpc++/impl/proto_utils.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700732 "include/grpc++/impl/rpc_method.h",
733 "include/grpc++/impl/rpc_service_method.h",
Craig Tiller6ef7f312015-06-05 10:15:10 -0700734 "include/grpc++/impl/serialization_traits.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700735 "include/grpc++/impl/service_type.h",
Nicolas "Pixel" Nobleb7c20352015-04-11 01:27:32 +0200736 "include/grpc++/impl/sync.h",
737 "include/grpc++/impl/sync_cxx11.h",
738 "include/grpc++/impl/sync_no_cxx11.h",
739 "include/grpc++/impl/thd.h",
740 "include/grpc++/impl/thd_cxx11.h",
741 "include/grpc++/impl/thd_no_cxx11.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700742 "include/grpc++/server.h",
743 "include/grpc++/server_builder.h",
744 "include/grpc++/server_context.h",
745 "include/grpc++/server_credentials.h",
746 "include/grpc++/slice.h",
747 "include/grpc++/status.h",
748 "include/grpc++/status_code_enum.h",
749 "include/grpc++/stream.h",
yang-g297a25b2015-08-03 16:43:46 -0700750 "include/grpc++/stub_options.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700751 "include/grpc++/thread_pool_interface.h",
Nicolas "Pixel" Nobleb7c20352015-04-11 01:27:32 +0200752 "include/grpc++/time.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700753 ],
754 includes = [
755 "include",
756 ".",
757 ],
758 deps = [
759 "//external:protobuf_clib",
760 ":gpr",
761 ":grpc",
762 ],
763)
764
765
766cc_library(
767 name = "grpc++_unsecure",
768 srcs = [
yang-gc317f072015-08-20 12:18:08 -0700769 "src/cpp/client/create_channel_internal.h",
yang-g3abe60b2015-07-06 14:00:36 -0700770 "src/cpp/common/create_auth_context.h",
yang-g3abe60b2015-07-06 14:00:36 -0700771 "src/cpp/common/insecure_create_auth_context.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700772 "src/cpp/client/channel.cc",
773 "src/cpp/client/channel_arguments.cc",
774 "src/cpp/client/client_context.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700775 "src/cpp/client/create_channel.cc",
yang-gc317f072015-08-20 12:18:08 -0700776 "src/cpp/client/create_channel_internal.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700777 "src/cpp/client/credentials.cc",
778 "src/cpp/client/generic_stub.cc",
779 "src/cpp/client/insecure_credentials.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700780 "src/cpp/common/call.cc",
781 "src/cpp/common/completion_queue.cc",
782 "src/cpp/common/rpc_method.cc",
783 "src/cpp/proto/proto_utils.cc",
784 "src/cpp/server/async_generic_service.cc",
Yang Gao6f4fb3b2015-06-03 12:56:19 -0700785 "src/cpp/server/create_default_thread_pool.cc",
vjpaib28456b2015-07-23 14:17:10 -0700786 "src/cpp/server/dynamic_thread_pool.cc",
vjpaia2e1bb12015-07-15 16:49:49 -0700787 "src/cpp/server/fixed_size_thread_pool.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700788 "src/cpp/server/insecure_server_credentials.cc",
789 "src/cpp/server/server.cc",
790 "src/cpp/server/server_builder.cc",
791 "src/cpp/server/server_context.cc",
792 "src/cpp/server/server_credentials.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700793 "src/cpp/util/byte_buffer.cc",
794 "src/cpp/util/slice.cc",
795 "src/cpp/util/status.cc",
796 "src/cpp/util/time.cc",
797 ],
798 hdrs = [
799 "include/grpc++/async_generic_service.h",
800 "include/grpc++/async_unary_call.h",
yang-g3abe60b2015-07-06 14:00:36 -0700801 "include/grpc++/auth_context.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700802 "include/grpc++/byte_buffer.h",
yang-g8c2be9f2015-08-19 16:28:09 -0700803 "include/grpc++/channel.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700804 "include/grpc++/channel_arguments.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700805 "include/grpc++/client_context.h",
806 "include/grpc++/completion_queue.h",
807 "include/grpc++/config.h",
yang-gadfed032015-06-23 13:01:22 -0700808 "include/grpc++/config_protobuf.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700809 "include/grpc++/create_channel.h",
810 "include/grpc++/credentials.h",
vjpaib28456b2015-07-23 14:17:10 -0700811 "include/grpc++/dynamic_thread_pool.h",
vjpaia2e1bb12015-07-15 16:49:49 -0700812 "include/grpc++/fixed_size_thread_pool.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700813 "include/grpc++/generic_stub.h",
814 "include/grpc++/impl/call.h",
815 "include/grpc++/impl/client_unary_call.h",
Yang Gao96de4842015-04-24 13:13:12 -0700816 "include/grpc++/impl/grpc_library.h",
yang-gadfed032015-06-23 13:01:22 -0700817 "include/grpc++/impl/proto_utils.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700818 "include/grpc++/impl/rpc_method.h",
819 "include/grpc++/impl/rpc_service_method.h",
Craig Tiller6ef7f312015-06-05 10:15:10 -0700820 "include/grpc++/impl/serialization_traits.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700821 "include/grpc++/impl/service_type.h",
Nicolas "Pixel" Nobleb7c20352015-04-11 01:27:32 +0200822 "include/grpc++/impl/sync.h",
823 "include/grpc++/impl/sync_cxx11.h",
824 "include/grpc++/impl/sync_no_cxx11.h",
825 "include/grpc++/impl/thd.h",
826 "include/grpc++/impl/thd_cxx11.h",
827 "include/grpc++/impl/thd_no_cxx11.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700828 "include/grpc++/server.h",
829 "include/grpc++/server_builder.h",
830 "include/grpc++/server_context.h",
831 "include/grpc++/server_credentials.h",
832 "include/grpc++/slice.h",
833 "include/grpc++/status.h",
834 "include/grpc++/status_code_enum.h",
835 "include/grpc++/stream.h",
yang-g297a25b2015-08-03 16:43:46 -0700836 "include/grpc++/stub_options.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700837 "include/grpc++/thread_pool_interface.h",
Nicolas "Pixel" Nobleb7c20352015-04-11 01:27:32 +0200838 "include/grpc++/time.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700839 ],
840 includes = [
841 "include",
842 ".",
843 ],
844 deps = [
845 "//external:protobuf_clib",
846 ":gpr",
847 ":grpc_unsecure",
848 ],
849)
850
851
852cc_library(
853 name = "grpc_plugin_support",
854 srcs = [
Craig Tillerf75fc122015-06-25 06:58:00 -0700855 "include/grpc++/config.h",
856 "include/grpc++/config_protobuf.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700857 "src/compiler/config.h",
858 "src/compiler/cpp_generator.h",
859 "src/compiler/cpp_generator_helpers.h",
Jan Tattermusch2d924952015-05-06 10:23:17 -0700860 "src/compiler/csharp_generator.h",
861 "src/compiler/csharp_generator_helpers.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700862 "src/compiler/generator_helpers.h",
863 "src/compiler/objective_c_generator.h",
864 "src/compiler/objective_c_generator_helpers.h",
865 "src/compiler/python_generator.h",
866 "src/compiler/ruby_generator.h",
867 "src/compiler/ruby_generator_helpers-inl.h",
868 "src/compiler/ruby_generator_map-inl.h",
869 "src/compiler/ruby_generator_string-inl.h",
870 "src/compiler/cpp_generator.cc",
Jan Tattermusch2d924952015-05-06 10:23:17 -0700871 "src/compiler/csharp_generator.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700872 "src/compiler/objective_c_generator.cc",
873 "src/compiler/python_generator.cc",
874 "src/compiler/ruby_generator.cc",
875 ],
876 hdrs = [
877 ],
878 includes = [
879 "include",
880 ".",
881 ],
882 deps = [
883 "//external:protobuf_compiler",
884 ],
885)
886
887
888cc_library(
889 name = "grpc_csharp_ext",
890 srcs = [
891 "src/csharp/ext/grpc_csharp_ext.c",
892 ],
893 hdrs = [
894 ],
895 includes = [
896 "include",
897 ".",
898 ],
899 deps = [
900 ":gpr",
901 ":grpc",
902 ],
903)
904
905
906
Jorge Canizales140bca82015-06-20 09:47:00 -0700907objc_library(
908 name = "gpr_objc",
909 srcs = [
910 "src/core/support/alloc.c",
Jorge Canizales140bca82015-06-20 09:47:00 -0700911 "src/core/support/cmdline.c",
912 "src/core/support/cpu_iphone.c",
913 "src/core/support/cpu_linux.c",
914 "src/core/support/cpu_posix.c",
915 "src/core/support/cpu_windows.c",
916 "src/core/support/env_linux.c",
917 "src/core/support/env_posix.c",
918 "src/core/support/env_win32.c",
919 "src/core/support/file.c",
920 "src/core/support/file_posix.c",
921 "src/core/support/file_win32.c",
922 "src/core/support/histogram.c",
923 "src/core/support/host_port.c",
924 "src/core/support/log.c",
925 "src/core/support/log_android.c",
926 "src/core/support/log_linux.c",
927 "src/core/support/log_posix.c",
928 "src/core/support/log_win32.c",
929 "src/core/support/murmur_hash.c",
930 "src/core/support/slice.c",
931 "src/core/support/slice_buffer.c",
Vijay Pai005e3052015-07-10 15:18:45 -0700932 "src/core/support/stack_lockfree.c",
Jorge Canizales140bca82015-06-20 09:47:00 -0700933 "src/core/support/string.c",
934 "src/core/support/string_posix.c",
935 "src/core/support/string_win32.c",
936 "src/core/support/subprocess_posix.c",
937 "src/core/support/sync.c",
938 "src/core/support/sync_posix.c",
939 "src/core/support/sync_win32.c",
940 "src/core/support/thd.c",
941 "src/core/support/thd_posix.c",
942 "src/core/support/thd_win32.c",
943 "src/core/support/time.c",
944 "src/core/support/time_posix.c",
945 "src/core/support/time_win32.c",
946 "src/core/support/tls_pthread.c",
947 ],
948 hdrs = [
949 "include/grpc/support/alloc.h",
950 "include/grpc/support/atm.h",
951 "include/grpc/support/atm_gcc_atomic.h",
952 "include/grpc/support/atm_gcc_sync.h",
953 "include/grpc/support/atm_win32.h",
Jorge Canizales140bca82015-06-20 09:47:00 -0700954 "include/grpc/support/cmdline.h",
955 "include/grpc/support/cpu.h",
956 "include/grpc/support/histogram.h",
957 "include/grpc/support/host_port.h",
958 "include/grpc/support/log.h",
959 "include/grpc/support/log_win32.h",
960 "include/grpc/support/port_platform.h",
961 "include/grpc/support/slice.h",
962 "include/grpc/support/slice_buffer.h",
963 "include/grpc/support/string_util.h",
964 "include/grpc/support/subprocess.h",
965 "include/grpc/support/sync.h",
966 "include/grpc/support/sync_generic.h",
967 "include/grpc/support/sync_posix.h",
968 "include/grpc/support/sync_win32.h",
969 "include/grpc/support/thd.h",
970 "include/grpc/support/time.h",
971 "include/grpc/support/tls.h",
972 "include/grpc/support/tls_gcc.h",
973 "include/grpc/support/tls_msvc.h",
974 "include/grpc/support/tls_pthread.h",
975 "include/grpc/support/useful.h",
976 "src/core/support/env.h",
977 "src/core/support/file.h",
978 "src/core/support/murmur_hash.h",
Vijay Pai005e3052015-07-10 15:18:45 -0700979 "src/core/support/stack_lockfree.h",
Jorge Canizales140bca82015-06-20 09:47:00 -0700980 "src/core/support/string.h",
981 "src/core/support/string_win32.h",
982 "src/core/support/thd_internal.h",
983 ],
984 includes = [
985 "include",
986 ".",
987 ],
988 deps = [
989 ],
990)
991
992
993objc_library(
Jorge Canizales7b1a0ca2015-06-26 21:49:42 -0700994 name = "grpc_objc",
Jorge Canizales140bca82015-06-20 09:47:00 -0700995 srcs = [
Jorge Canizales7b1a0ca2015-06-26 21:49:42 -0700996 "src/core/httpcli/httpcli_security_connector.c",
Jorge Canizales7b1a0ca2015-06-26 21:49:42 -0700997 "src/core/security/base64.c",
998 "src/core/security/client_auth_filter.c",
999 "src/core/security/credentials.c",
1000 "src/core/security/credentials_metadata.c",
1001 "src/core/security/credentials_posix.c",
1002 "src/core/security/credentials_win32.c",
1003 "src/core/security/google_default_credentials.c",
1004 "src/core/security/json_token.c",
Julien Boeuffeca1bf2015-06-22 16:46:20 +02001005 "src/core/security/jwt_verifier.c",
Jorge Canizales7b1a0ca2015-06-26 21:49:42 -07001006 "src/core/security/secure_endpoint.c",
1007 "src/core/security/secure_transport_setup.c",
1008 "src/core/security/security_connector.c",
1009 "src/core/security/security_context.c",
1010 "src/core/security/server_auth_filter.c",
1011 "src/core/security/server_secure_chttp2.c",
1012 "src/core/surface/init_secure.c",
1013 "src/core/surface/secure_channel_create.c",
1014 "src/core/tsi/fake_transport_security.c",
1015 "src/core/tsi/ssl_transport_security.c",
1016 "src/core/tsi/transport_security.c",
Jorge Canizales140bca82015-06-20 09:47:00 -07001017 "src/core/census/grpc_context.c",
1018 "src/core/channel/channel_args.c",
1019 "src/core/channel/channel_stack.c",
Jorge Canizales140bca82015-06-20 09:47:00 -07001020 "src/core/channel/client_channel.c",
David Garcia Quintas8a187092015-07-01 14:52:44 -07001021 "src/core/channel/compress_filter.c",
Jorge Canizales140bca82015-06-20 09:47:00 -07001022 "src/core/channel/connected_channel.c",
1023 "src/core/channel/http_client_filter.c",
1024 "src/core/channel/http_server_filter.c",
1025 "src/core/channel/noop_filter.c",
Craig Tillerc7b5f762015-06-27 11:48:42 -07001026 "src/core/client_config/client_config.c",
1027 "src/core/client_config/connector.c",
1028 "src/core/client_config/lb_policies/pick_first.c",
1029 "src/core/client_config/lb_policy.c",
1030 "src/core/client_config/resolver.c",
1031 "src/core/client_config/resolver_factory.c",
1032 "src/core/client_config/resolver_registry.c",
1033 "src/core/client_config/resolvers/dns_resolver.c",
Craig Tiller698d00c2015-07-20 12:32:58 -07001034 "src/core/client_config/resolvers/sockaddr_resolver.c",
Craig Tillerc7b5f762015-06-27 11:48:42 -07001035 "src/core/client_config/subchannel.c",
1036 "src/core/client_config/subchannel_factory.c",
Craig Tiller83f4d4e2015-07-29 18:14:41 -07001037 "src/core/client_config/subchannel_factory_decorators/add_channel_arg.c",
1038 "src/core/client_config/subchannel_factory_decorators/merge_channel_args.c",
Craig Tillerc7b5f762015-06-27 11:48:42 -07001039 "src/core/client_config/uri_parser.c",
Jorge Canizales140bca82015-06-20 09:47:00 -07001040 "src/core/compression/algorithm.c",
1041 "src/core/compression/message_compress.c",
1042 "src/core/debug/trace.c",
Craig Tillerf53d9c82015-08-04 14:19:43 -07001043 "src/core/httpcli/format_request.c",
1044 "src/core/httpcli/httpcli.c",
1045 "src/core/httpcli/parser.c",
Jorge Canizales140bca82015-06-20 09:47:00 -07001046 "src/core/iomgr/alarm.c",
1047 "src/core/iomgr/alarm_heap.c",
1048 "src/core/iomgr/endpoint.c",
1049 "src/core/iomgr/endpoint_pair_posix.c",
1050 "src/core/iomgr/endpoint_pair_windows.c",
1051 "src/core/iomgr/fd_posix.c",
1052 "src/core/iomgr/iocp_windows.c",
1053 "src/core/iomgr/iomgr.c",
1054 "src/core/iomgr/iomgr_posix.c",
1055 "src/core/iomgr/iomgr_windows.c",
Jorge Canizales140bca82015-06-20 09:47:00 -07001056 "src/core/iomgr/pollset_multipoller_with_epoll.c",
1057 "src/core/iomgr/pollset_multipoller_with_poll_posix.c",
1058 "src/core/iomgr/pollset_posix.c",
1059 "src/core/iomgr/pollset_set_posix.c",
1060 "src/core/iomgr/pollset_set_windows.c",
1061 "src/core/iomgr/pollset_windows.c",
1062 "src/core/iomgr/resolve_address_posix.c",
1063 "src/core/iomgr/resolve_address_windows.c",
1064 "src/core/iomgr/sockaddr_utils.c",
1065 "src/core/iomgr/socket_utils_common_posix.c",
1066 "src/core/iomgr/socket_utils_linux.c",
1067 "src/core/iomgr/socket_utils_posix.c",
1068 "src/core/iomgr/socket_windows.c",
1069 "src/core/iomgr/tcp_client_posix.c",
1070 "src/core/iomgr/tcp_client_windows.c",
1071 "src/core/iomgr/tcp_posix.c",
1072 "src/core/iomgr/tcp_server_posix.c",
1073 "src/core/iomgr/tcp_server_windows.c",
1074 "src/core/iomgr/tcp_windows.c",
1075 "src/core/iomgr/time_averaged_stats.c",
Robbie Shade69535292015-07-10 14:27:34 -04001076 "src/core/iomgr/udp_server.c",
Jorge Canizales140bca82015-06-20 09:47:00 -07001077 "src/core/iomgr/wakeup_fd_eventfd.c",
1078 "src/core/iomgr/wakeup_fd_nospecial.c",
1079 "src/core/iomgr/wakeup_fd_pipe.c",
1080 "src/core/iomgr/wakeup_fd_posix.c",
1081 "src/core/json/json.c",
1082 "src/core/json/json_reader.c",
1083 "src/core/json/json_string.c",
1084 "src/core/json/json_writer.c",
1085 "src/core/profiling/basic_timers.c",
1086 "src/core/profiling/stap_timers.c",
1087 "src/core/surface/byte_buffer.c",
1088 "src/core/surface/byte_buffer_queue.c",
1089 "src/core/surface/byte_buffer_reader.c",
1090 "src/core/surface/call.c",
1091 "src/core/surface/call_details.c",
1092 "src/core/surface/call_log_batch.c",
1093 "src/core/surface/channel.c",
Craig Tiller48cb07c2015-07-15 16:16:15 -07001094 "src/core/surface/channel_connectivity.c",
Jorge Canizales140bca82015-06-20 09:47:00 -07001095 "src/core/surface/channel_create.c",
Jorge Canizales140bca82015-06-20 09:47:00 -07001096 "src/core/surface/completion_queue.c",
1097 "src/core/surface/event_string.c",
1098 "src/core/surface/init.c",
1099 "src/core/surface/lame_client.c",
1100 "src/core/surface/metadata_array.c",
1101 "src/core/surface/server.c",
1102 "src/core/surface/server_chttp2.c",
1103 "src/core/surface/server_create.c",
1104 "src/core/surface/surface_trace.c",
Craig Tiller2e622bc2015-07-10 07:46:03 -07001105 "src/core/surface/version.c",
Jorge Canizales140bca82015-06-20 09:47:00 -07001106 "src/core/transport/chttp2/alpn.c",
1107 "src/core/transport/chttp2/bin_encoder.c",
1108 "src/core/transport/chttp2/frame_data.c",
1109 "src/core/transport/chttp2/frame_goaway.c",
1110 "src/core/transport/chttp2/frame_ping.c",
1111 "src/core/transport/chttp2/frame_rst_stream.c",
1112 "src/core/transport/chttp2/frame_settings.c",
1113 "src/core/transport/chttp2/frame_window_update.c",
1114 "src/core/transport/chttp2/hpack_parser.c",
1115 "src/core/transport/chttp2/hpack_table.c",
1116 "src/core/transport/chttp2/huffsyms.c",
Nicolas "Pixel" Nobled35f93d2015-06-27 00:57:29 +02001117 "src/core/transport/chttp2/incoming_metadata.c",
1118 "src/core/transport/chttp2/parsing.c",
Jorge Canizales140bca82015-06-20 09:47:00 -07001119 "src/core/transport/chttp2/status_conversion.c",
1120 "src/core/transport/chttp2/stream_encoder.c",
Nicolas "Pixel" Nobled35f93d2015-06-27 00:57:29 +02001121 "src/core/transport/chttp2/stream_lists.c",
Jorge Canizales140bca82015-06-20 09:47:00 -07001122 "src/core/transport/chttp2/stream_map.c",
1123 "src/core/transport/chttp2/timeout_encoding.c",
1124 "src/core/transport/chttp2/varint.c",
Nicolas "Pixel" Nobled35f93d2015-06-27 00:57:29 +02001125 "src/core/transport/chttp2/writing.c",
Jorge Canizales140bca82015-06-20 09:47:00 -07001126 "src/core/transport/chttp2_transport.c",
Craig Tiller08a1cf82015-06-29 09:37:52 -07001127 "src/core/transport/connectivity_state.c",
Jorge Canizales140bca82015-06-20 09:47:00 -07001128 "src/core/transport/metadata.c",
1129 "src/core/transport/stream_op.c",
1130 "src/core/transport/transport.c",
1131 "src/core/transport/transport_op_string.c",
1132 "src/core/census/context.c",
1133 "src/core/census/initialize.c",
Alistair Veitch635899d2015-07-17 16:02:24 -07001134 "src/core/census/record_stat.c",
Jorge Canizales140bca82015-06-20 09:47:00 -07001135 ],
1136 hdrs = [
Jorge Canizales7b1a0ca2015-06-26 21:49:42 -07001137 "include/grpc/grpc_security.h",
Jorge Canizales140bca82015-06-20 09:47:00 -07001138 "include/grpc/byte_buffer.h",
1139 "include/grpc/byte_buffer_reader.h",
1140 "include/grpc/compression.h",
1141 "include/grpc/grpc.h",
1142 "include/grpc/status.h",
1143 "include/grpc/census.h",
Jorge Canizales7b1a0ca2015-06-26 21:49:42 -07001144 "src/core/security/auth_filters.h",
1145 "src/core/security/base64.h",
1146 "src/core/security/credentials.h",
1147 "src/core/security/json_token.h",
Julien Boeuffeca1bf2015-06-22 16:46:20 +02001148 "src/core/security/jwt_verifier.h",
Jorge Canizales7b1a0ca2015-06-26 21:49:42 -07001149 "src/core/security/secure_endpoint.h",
1150 "src/core/security/secure_transport_setup.h",
1151 "src/core/security/security_connector.h",
1152 "src/core/security/security_context.h",
1153 "src/core/tsi/fake_transport_security.h",
1154 "src/core/tsi/ssl_transport_security.h",
1155 "src/core/tsi/transport_security.h",
1156 "src/core/tsi/transport_security_interface.h",
Jorge Canizales140bca82015-06-20 09:47:00 -07001157 "src/core/channel/census_filter.h",
1158 "src/core/channel/channel_args.h",
1159 "src/core/channel/channel_stack.h",
Jorge Canizales140bca82015-06-20 09:47:00 -07001160 "src/core/channel/client_channel.h",
David Garcia Quintas8a187092015-07-01 14:52:44 -07001161 "src/core/channel/compress_filter.h",
Jorge Canizales140bca82015-06-20 09:47:00 -07001162 "src/core/channel/connected_channel.h",
1163 "src/core/channel/context.h",
1164 "src/core/channel/http_client_filter.h",
1165 "src/core/channel/http_server_filter.h",
1166 "src/core/channel/noop_filter.h",
Craig Tillerc7b5f762015-06-27 11:48:42 -07001167 "src/core/client_config/client_config.h",
1168 "src/core/client_config/connector.h",
1169 "src/core/client_config/lb_policies/pick_first.h",
1170 "src/core/client_config/lb_policy.h",
1171 "src/core/client_config/resolver.h",
1172 "src/core/client_config/resolver_factory.h",
1173 "src/core/client_config/resolver_registry.h",
1174 "src/core/client_config/resolvers/dns_resolver.h",
Craig Tiller698d00c2015-07-20 12:32:58 -07001175 "src/core/client_config/resolvers/sockaddr_resolver.h",
Craig Tillerc7b5f762015-06-27 11:48:42 -07001176 "src/core/client_config/subchannel.h",
1177 "src/core/client_config/subchannel_factory.h",
Craig Tiller83f4d4e2015-07-29 18:14:41 -07001178 "src/core/client_config/subchannel_factory_decorators/add_channel_arg.h",
1179 "src/core/client_config/subchannel_factory_decorators/merge_channel_args.h",
Craig Tillerc7b5f762015-06-27 11:48:42 -07001180 "src/core/client_config/uri_parser.h",
Jorge Canizales140bca82015-06-20 09:47:00 -07001181 "src/core/compression/message_compress.h",
1182 "src/core/debug/trace.h",
Craig Tillerf53d9c82015-08-04 14:19:43 -07001183 "src/core/httpcli/format_request.h",
1184 "src/core/httpcli/httpcli.h",
1185 "src/core/httpcli/parser.h",
Jorge Canizales140bca82015-06-20 09:47:00 -07001186 "src/core/iomgr/alarm.h",
1187 "src/core/iomgr/alarm_heap.h",
1188 "src/core/iomgr/alarm_internal.h",
1189 "src/core/iomgr/endpoint.h",
1190 "src/core/iomgr/endpoint_pair.h",
1191 "src/core/iomgr/fd_posix.h",
1192 "src/core/iomgr/iocp_windows.h",
1193 "src/core/iomgr/iomgr.h",
1194 "src/core/iomgr/iomgr_internal.h",
1195 "src/core/iomgr/iomgr_posix.h",
1196 "src/core/iomgr/pollset.h",
Jorge Canizales140bca82015-06-20 09:47:00 -07001197 "src/core/iomgr/pollset_posix.h",
1198 "src/core/iomgr/pollset_set.h",
1199 "src/core/iomgr/pollset_set_posix.h",
1200 "src/core/iomgr/pollset_set_windows.h",
1201 "src/core/iomgr/pollset_windows.h",
1202 "src/core/iomgr/resolve_address.h",
1203 "src/core/iomgr/sockaddr.h",
1204 "src/core/iomgr/sockaddr_posix.h",
1205 "src/core/iomgr/sockaddr_utils.h",
1206 "src/core/iomgr/sockaddr_win32.h",
1207 "src/core/iomgr/socket_utils_posix.h",
1208 "src/core/iomgr/socket_windows.h",
1209 "src/core/iomgr/tcp_client.h",
1210 "src/core/iomgr/tcp_posix.h",
1211 "src/core/iomgr/tcp_server.h",
1212 "src/core/iomgr/tcp_windows.h",
1213 "src/core/iomgr/time_averaged_stats.h",
Robbie Shade69535292015-07-10 14:27:34 -04001214 "src/core/iomgr/udp_server.h",
Jorge Canizales140bca82015-06-20 09:47:00 -07001215 "src/core/iomgr/wakeup_fd_pipe.h",
1216 "src/core/iomgr/wakeup_fd_posix.h",
1217 "src/core/json/json.h",
1218 "src/core/json/json_common.h",
1219 "src/core/json/json_reader.h",
1220 "src/core/json/json_writer.h",
1221 "src/core/profiling/timers.h",
1222 "src/core/profiling/timers_preciseclock.h",
1223 "src/core/surface/byte_buffer_queue.h",
1224 "src/core/surface/call.h",
1225 "src/core/surface/channel.h",
Jorge Canizales140bca82015-06-20 09:47:00 -07001226 "src/core/surface/completion_queue.h",
1227 "src/core/surface/event_string.h",
1228 "src/core/surface/init.h",
1229 "src/core/surface/server.h",
1230 "src/core/surface/surface_trace.h",
1231 "src/core/transport/chttp2/alpn.h",
1232 "src/core/transport/chttp2/bin_encoder.h",
1233 "src/core/transport/chttp2/frame.h",
1234 "src/core/transport/chttp2/frame_data.h",
1235 "src/core/transport/chttp2/frame_goaway.h",
1236 "src/core/transport/chttp2/frame_ping.h",
1237 "src/core/transport/chttp2/frame_rst_stream.h",
1238 "src/core/transport/chttp2/frame_settings.h",
1239 "src/core/transport/chttp2/frame_window_update.h",
1240 "src/core/transport/chttp2/hpack_parser.h",
1241 "src/core/transport/chttp2/hpack_table.h",
1242 "src/core/transport/chttp2/http2_errors.h",
1243 "src/core/transport/chttp2/huffsyms.h",
Nicolas "Pixel" Nobled35f93d2015-06-27 00:57:29 +02001244 "src/core/transport/chttp2/incoming_metadata.h",
1245 "src/core/transport/chttp2/internal.h",
Jorge Canizales140bca82015-06-20 09:47:00 -07001246 "src/core/transport/chttp2/status_conversion.h",
1247 "src/core/transport/chttp2/stream_encoder.h",
1248 "src/core/transport/chttp2/stream_map.h",
1249 "src/core/transport/chttp2/timeout_encoding.h",
1250 "src/core/transport/chttp2/varint.h",
1251 "src/core/transport/chttp2_transport.h",
Craig Tiller08a1cf82015-06-29 09:37:52 -07001252 "src/core/transport/connectivity_state.h",
Jorge Canizales140bca82015-06-20 09:47:00 -07001253 "src/core/transport/metadata.h",
1254 "src/core/transport/stream_op.h",
1255 "src/core/transport/transport.h",
1256 "src/core/transport/transport_impl.h",
1257 "src/core/census/context.h",
Alistair Veitchb46f3f42015-07-20 13:34:10 -07001258 "src/core/census/rpc_stat_id.h",
Jorge Canizales140bca82015-06-20 09:47:00 -07001259 ],
1260 includes = [
1261 "include",
1262 ".",
1263 ],
1264 deps = [
1265 ":gpr_objc",
Jorge Canizales4dc4e3d2015-06-26 22:12:02 -07001266 "//external:libssl_objc",
Jorge Canizales140bca82015-06-20 09:47:00 -07001267 ],
Jorge Canizales8c1fd042015-06-22 19:11:36 -07001268 sdk_dylibs = ["libz"],
Jorge Canizales140bca82015-06-20 09:47:00 -07001269)
1270
1271
1272
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001273cc_binary(
1274 name = "grpc_cpp_plugin",
1275 srcs = [
1276 "src/compiler/cpp_plugin.cc",
1277 ],
1278 deps = [
1279 "//external:protobuf_compiler",
1280 ":grpc_plugin_support",
1281 ],
1282)
1283
1284
1285cc_binary(
Jan Tattermusch2d924952015-05-06 10:23:17 -07001286 name = "grpc_csharp_plugin",
1287 srcs = [
1288 "src/compiler/csharp_plugin.cc",
1289 ],
1290 deps = [
1291 "//external:protobuf_compiler",
1292 ":grpc_plugin_support",
1293 ],
1294)
1295
1296
1297cc_binary(
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001298 name = "grpc_objective_c_plugin",
1299 srcs = [
1300 "src/compiler/objective_c_plugin.cc",
1301 ],
1302 deps = [
1303 "//external:protobuf_compiler",
1304 ":grpc_plugin_support",
1305 ],
1306)
1307
1308
1309cc_binary(
1310 name = "grpc_python_plugin",
1311 srcs = [
1312 "src/compiler/python_plugin.cc",
1313 ],
1314 deps = [
1315 "//external:protobuf_compiler",
1316 ":grpc_plugin_support",
1317 ],
1318)
1319
1320
1321cc_binary(
1322 name = "grpc_ruby_plugin",
1323 srcs = [
1324 "src/compiler/ruby_plugin.cc",
1325 ],
1326 deps = [
1327 "//external:protobuf_compiler",
1328 ":grpc_plugin_support",
1329 ],
1330)
1331
1332
1333
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +02001334
1335
Jorge Canizales140bca82015-06-20 09:47:00 -07001336
Jorge Canizales91e67a22015-06-24 13:50:04 -07001337
1338
Jorge Canizales44dc4232015-06-19 16:30:31 -07001339objc_path = "src/objective-c"
Jorge Canizales140bca82015-06-20 09:47:00 -07001340
Jorge Canizales44dc4232015-06-19 16:30:31 -07001341rx_library_path = objc_path + "/RxLibrary"
1342
1343objc_library(
Jorge Canizalesbba80762015-06-26 23:25:48 -07001344 name = "rx_library",
1345 hdrs = glob([
1346 rx_library_path + "/*.h",
1347 rx_library_path + "/transformations/*.h",
1348 ]),
1349 srcs = glob([
1350 rx_library_path + "/*.m",
1351 rx_library_path + "/transformations/*.m",
1352 ]),
1353 includes = [objc_path],
1354 deps = [
1355 ":rx_library_private",
1356 ],
Jorge Canizales44dc4232015-06-19 16:30:31 -07001357)
1358
1359objc_library(
Jorge Canizalesbba80762015-06-26 23:25:48 -07001360 name = "rx_library_private",
1361 hdrs = glob([rx_library_path + "/private/*.h"]),
1362 srcs = glob([rx_library_path + "/private/*.m"]),
1363 visibility = ["//visibility:private"],
Jorge Canizales44dc4232015-06-19 16:30:31 -07001364)
Jorge Canizales866255e2015-06-20 18:58:38 -07001365
1366objc_client_path = objc_path + "/GRPCClient"
1367
1368objc_library(
1369 name = "grpc_client",
1370 hdrs = glob([
1371 objc_client_path + "/*.h",
1372 objc_client_path + "/private/*.h",
1373 ]),
1374 srcs = glob([
1375 objc_client_path + "/*.m",
1376 objc_client_path + "/private/*.m",
1377 ]),
1378 includes = [objc_path],
Jorge Canizalesbb54ae82015-06-28 06:50:58 -07001379 bundles = [":gRPCCertificates"],
Jorge Canizales866255e2015-06-20 18:58:38 -07001380 deps = [
1381 ":grpc_objc",
1382 ":rx_library",
1383 ],
1384)
Jorge Canizalesbb54ae82015-06-28 06:50:58 -07001385
1386objc_bundle_library(
1387 # The choice of name is signicant here, since it determines the bundle name.
1388 name = "gRPCCertificates",
1389 resources = ["etc/roots.pem"],
1390)
Jorge Canizales50f19822015-06-28 23:48:30 -07001391
1392proto_objc_rpc_path = objc_path + "/ProtoRPC"
1393
1394objc_library(
1395 name = "proto_objc_rpc",
1396 hdrs = glob([
1397 proto_objc_rpc_path + "/*.h",
1398 ]),
1399 srcs = glob([
1400 proto_objc_rpc_path + "/*.m",
1401 ]),
1402 includes = [objc_path],
1403 deps = [
1404 ":grpc_client",
1405 ":rx_library",
1406 "//external:protobuf_objc",
1407 ],
1408)