blob: 54452463baee83a7d11c5b4f8fb24cc84293165c [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",
678 "src/cpp/client/channel.h",
yang-g3abe60b2015-07-06 14:00:36 -0700679 "src/cpp/common/create_auth_context.h",
Vijay Paie8a7e302015-08-24 10:52:33 -0700680 "src/cpp/server/dynamic_thread_pool.h",
681 "src/cpp/server/fixed_size_thread_pool.h",
682 "src/cpp/server/thread_pool_interface.h",
Craig Tillerf75fc122015-06-25 06:58:00 -0700683 "src/cpp/client/secure_channel_arguments.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700684 "src/cpp/client/secure_credentials.cc",
yang-g7ef72322015-07-16 21:00:51 -0700685 "src/cpp/common/auth_property_iterator.cc",
yang-g3abe60b2015-07-06 14:00:36 -0700686 "src/cpp/common/secure_auth_context.cc",
687 "src/cpp/common/secure_create_auth_context.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700688 "src/cpp/server/secure_server_credentials.cc",
689 "src/cpp/client/channel.cc",
690 "src/cpp/client/channel_arguments.cc",
691 "src/cpp/client/client_context.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700692 "src/cpp/client/create_channel.cc",
693 "src/cpp/client/credentials.cc",
694 "src/cpp/client/generic_stub.cc",
695 "src/cpp/client/insecure_credentials.cc",
696 "src/cpp/client/internal_stub.cc",
697 "src/cpp/common/call.cc",
698 "src/cpp/common/completion_queue.cc",
699 "src/cpp/common/rpc_method.cc",
700 "src/cpp/proto/proto_utils.cc",
701 "src/cpp/server/async_generic_service.cc",
Yang Gao6f4fb3b2015-06-03 12:56:19 -0700702 "src/cpp/server/create_default_thread_pool.cc",
vjpaib28456b2015-07-23 14:17:10 -0700703 "src/cpp/server/dynamic_thread_pool.cc",
vjpaia2e1bb12015-07-15 16:49:49 -0700704 "src/cpp/server/fixed_size_thread_pool.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700705 "src/cpp/server/insecure_server_credentials.cc",
706 "src/cpp/server/server.cc",
707 "src/cpp/server/server_builder.cc",
708 "src/cpp/server/server_context.cc",
709 "src/cpp/server/server_credentials.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700710 "src/cpp/util/byte_buffer.cc",
711 "src/cpp/util/slice.cc",
712 "src/cpp/util/status.cc",
713 "src/cpp/util/time.cc",
714 ],
715 hdrs = [
716 "include/grpc++/async_generic_service.h",
717 "include/grpc++/async_unary_call.h",
yang-g3abe60b2015-07-06 14:00:36 -0700718 "include/grpc++/auth_context.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700719 "include/grpc++/byte_buffer.h",
720 "include/grpc++/channel_arguments.h",
721 "include/grpc++/channel_interface.h",
722 "include/grpc++/client_context.h",
723 "include/grpc++/completion_queue.h",
724 "include/grpc++/config.h",
yang-gadfed032015-06-23 13:01:22 -0700725 "include/grpc++/config_protobuf.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700726 "include/grpc++/create_channel.h",
727 "include/grpc++/credentials.h",
728 "include/grpc++/generic_stub.h",
729 "include/grpc++/impl/call.h",
730 "include/grpc++/impl/client_unary_call.h",
Yang Gao96de4842015-04-24 13:13:12 -0700731 "include/grpc++/impl/grpc_library.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700732 "include/grpc++/impl/internal_stub.h",
yang-gadfed032015-06-23 13:01:22 -0700733 "include/grpc++/impl/proto_utils.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700734 "include/grpc++/impl/rpc_method.h",
735 "include/grpc++/impl/rpc_service_method.h",
Craig Tiller6ef7f312015-06-05 10:15:10 -0700736 "include/grpc++/impl/serialization_traits.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700737 "include/grpc++/impl/service_type.h",
Nicolas "Pixel" Nobleb7c20352015-04-11 01:27:32 +0200738 "include/grpc++/impl/sync.h",
739 "include/grpc++/impl/sync_cxx11.h",
740 "include/grpc++/impl/sync_no_cxx11.h",
741 "include/grpc++/impl/thd.h",
742 "include/grpc++/impl/thd_cxx11.h",
743 "include/grpc++/impl/thd_no_cxx11.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700744 "include/grpc++/server.h",
745 "include/grpc++/server_builder.h",
746 "include/grpc++/server_context.h",
747 "include/grpc++/server_credentials.h",
748 "include/grpc++/slice.h",
749 "include/grpc++/status.h",
750 "include/grpc++/status_code_enum.h",
751 "include/grpc++/stream.h",
yang-g297a25b2015-08-03 16:43:46 -0700752 "include/grpc++/stub_options.h",
Nicolas "Pixel" Nobleb7c20352015-04-11 01:27:32 +0200753 "include/grpc++/time.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700754 ],
755 includes = [
756 "include",
757 ".",
758 ],
759 deps = [
760 "//external:protobuf_clib",
761 ":gpr",
762 ":grpc",
763 ],
764)
765
766
767cc_library(
768 name = "grpc++_unsecure",
769 srcs = [
770 "src/cpp/client/channel.h",
yang-g3abe60b2015-07-06 14:00:36 -0700771 "src/cpp/common/create_auth_context.h",
Vijay Paie8a7e302015-08-24 10:52:33 -0700772 "src/cpp/server/dynamic_thread_pool.h",
773 "src/cpp/server/fixed_size_thread_pool.h",
774 "src/cpp/server/thread_pool_interface.h",
yang-g3abe60b2015-07-06 14:00:36 -0700775 "src/cpp/common/insecure_create_auth_context.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700776 "src/cpp/client/channel.cc",
777 "src/cpp/client/channel_arguments.cc",
778 "src/cpp/client/client_context.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700779 "src/cpp/client/create_channel.cc",
780 "src/cpp/client/credentials.cc",
781 "src/cpp/client/generic_stub.cc",
782 "src/cpp/client/insecure_credentials.cc",
783 "src/cpp/client/internal_stub.cc",
784 "src/cpp/common/call.cc",
785 "src/cpp/common/completion_queue.cc",
786 "src/cpp/common/rpc_method.cc",
787 "src/cpp/proto/proto_utils.cc",
788 "src/cpp/server/async_generic_service.cc",
Yang Gao6f4fb3b2015-06-03 12:56:19 -0700789 "src/cpp/server/create_default_thread_pool.cc",
vjpaib28456b2015-07-23 14:17:10 -0700790 "src/cpp/server/dynamic_thread_pool.cc",
vjpaia2e1bb12015-07-15 16:49:49 -0700791 "src/cpp/server/fixed_size_thread_pool.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700792 "src/cpp/server/insecure_server_credentials.cc",
793 "src/cpp/server/server.cc",
794 "src/cpp/server/server_builder.cc",
795 "src/cpp/server/server_context.cc",
796 "src/cpp/server/server_credentials.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700797 "src/cpp/util/byte_buffer.cc",
798 "src/cpp/util/slice.cc",
799 "src/cpp/util/status.cc",
800 "src/cpp/util/time.cc",
801 ],
802 hdrs = [
803 "include/grpc++/async_generic_service.h",
804 "include/grpc++/async_unary_call.h",
yang-g3abe60b2015-07-06 14:00:36 -0700805 "include/grpc++/auth_context.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700806 "include/grpc++/byte_buffer.h",
807 "include/grpc++/channel_arguments.h",
808 "include/grpc++/channel_interface.h",
809 "include/grpc++/client_context.h",
810 "include/grpc++/completion_queue.h",
811 "include/grpc++/config.h",
yang-gadfed032015-06-23 13:01:22 -0700812 "include/grpc++/config_protobuf.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700813 "include/grpc++/create_channel.h",
814 "include/grpc++/credentials.h",
815 "include/grpc++/generic_stub.h",
816 "include/grpc++/impl/call.h",
817 "include/grpc++/impl/client_unary_call.h",
Yang Gao96de4842015-04-24 13:13:12 -0700818 "include/grpc++/impl/grpc_library.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700819 "include/grpc++/impl/internal_stub.h",
yang-gadfed032015-06-23 13:01:22 -0700820 "include/grpc++/impl/proto_utils.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700821 "include/grpc++/impl/rpc_method.h",
822 "include/grpc++/impl/rpc_service_method.h",
Craig Tiller6ef7f312015-06-05 10:15:10 -0700823 "include/grpc++/impl/serialization_traits.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700824 "include/grpc++/impl/service_type.h",
Nicolas "Pixel" Nobleb7c20352015-04-11 01:27:32 +0200825 "include/grpc++/impl/sync.h",
826 "include/grpc++/impl/sync_cxx11.h",
827 "include/grpc++/impl/sync_no_cxx11.h",
828 "include/grpc++/impl/thd.h",
829 "include/grpc++/impl/thd_cxx11.h",
830 "include/grpc++/impl/thd_no_cxx11.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700831 "include/grpc++/server.h",
832 "include/grpc++/server_builder.h",
833 "include/grpc++/server_context.h",
834 "include/grpc++/server_credentials.h",
835 "include/grpc++/slice.h",
836 "include/grpc++/status.h",
837 "include/grpc++/status_code_enum.h",
838 "include/grpc++/stream.h",
yang-g297a25b2015-08-03 16:43:46 -0700839 "include/grpc++/stub_options.h",
Nicolas "Pixel" Nobleb7c20352015-04-11 01:27:32 +0200840 "include/grpc++/time.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700841 ],
842 includes = [
843 "include",
844 ".",
845 ],
846 deps = [
847 "//external:protobuf_clib",
848 ":gpr",
849 ":grpc_unsecure",
850 ],
851)
852
853
854cc_library(
855 name = "grpc_plugin_support",
856 srcs = [
Craig Tillerf75fc122015-06-25 06:58:00 -0700857 "include/grpc++/config.h",
858 "include/grpc++/config_protobuf.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700859 "src/compiler/config.h",
860 "src/compiler/cpp_generator.h",
861 "src/compiler/cpp_generator_helpers.h",
Jan Tattermusch2d924952015-05-06 10:23:17 -0700862 "src/compiler/csharp_generator.h",
863 "src/compiler/csharp_generator_helpers.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700864 "src/compiler/generator_helpers.h",
865 "src/compiler/objective_c_generator.h",
866 "src/compiler/objective_c_generator_helpers.h",
867 "src/compiler/python_generator.h",
868 "src/compiler/ruby_generator.h",
869 "src/compiler/ruby_generator_helpers-inl.h",
870 "src/compiler/ruby_generator_map-inl.h",
871 "src/compiler/ruby_generator_string-inl.h",
872 "src/compiler/cpp_generator.cc",
Jan Tattermusch2d924952015-05-06 10:23:17 -0700873 "src/compiler/csharp_generator.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700874 "src/compiler/objective_c_generator.cc",
875 "src/compiler/python_generator.cc",
876 "src/compiler/ruby_generator.cc",
877 ],
878 hdrs = [
879 ],
880 includes = [
881 "include",
882 ".",
883 ],
884 deps = [
885 "//external:protobuf_compiler",
886 ],
887)
888
889
890cc_library(
891 name = "grpc_csharp_ext",
892 srcs = [
893 "src/csharp/ext/grpc_csharp_ext.c",
894 ],
895 hdrs = [
896 ],
897 includes = [
898 "include",
899 ".",
900 ],
901 deps = [
902 ":gpr",
903 ":grpc",
904 ],
905)
906
907
908
Jorge Canizales140bca82015-06-20 09:47:00 -0700909objc_library(
910 name = "gpr_objc",
911 srcs = [
912 "src/core/support/alloc.c",
Jorge Canizales140bca82015-06-20 09:47:00 -0700913 "src/core/support/cmdline.c",
914 "src/core/support/cpu_iphone.c",
915 "src/core/support/cpu_linux.c",
916 "src/core/support/cpu_posix.c",
917 "src/core/support/cpu_windows.c",
918 "src/core/support/env_linux.c",
919 "src/core/support/env_posix.c",
920 "src/core/support/env_win32.c",
921 "src/core/support/file.c",
922 "src/core/support/file_posix.c",
923 "src/core/support/file_win32.c",
924 "src/core/support/histogram.c",
925 "src/core/support/host_port.c",
926 "src/core/support/log.c",
927 "src/core/support/log_android.c",
928 "src/core/support/log_linux.c",
929 "src/core/support/log_posix.c",
930 "src/core/support/log_win32.c",
931 "src/core/support/murmur_hash.c",
932 "src/core/support/slice.c",
933 "src/core/support/slice_buffer.c",
Vijay Pai005e3052015-07-10 15:18:45 -0700934 "src/core/support/stack_lockfree.c",
Jorge Canizales140bca82015-06-20 09:47:00 -0700935 "src/core/support/string.c",
936 "src/core/support/string_posix.c",
937 "src/core/support/string_win32.c",
938 "src/core/support/subprocess_posix.c",
939 "src/core/support/sync.c",
940 "src/core/support/sync_posix.c",
941 "src/core/support/sync_win32.c",
942 "src/core/support/thd.c",
943 "src/core/support/thd_posix.c",
944 "src/core/support/thd_win32.c",
945 "src/core/support/time.c",
946 "src/core/support/time_posix.c",
947 "src/core/support/time_win32.c",
948 "src/core/support/tls_pthread.c",
949 ],
950 hdrs = [
951 "include/grpc/support/alloc.h",
952 "include/grpc/support/atm.h",
953 "include/grpc/support/atm_gcc_atomic.h",
954 "include/grpc/support/atm_gcc_sync.h",
955 "include/grpc/support/atm_win32.h",
Jorge Canizales140bca82015-06-20 09:47:00 -0700956 "include/grpc/support/cmdline.h",
957 "include/grpc/support/cpu.h",
958 "include/grpc/support/histogram.h",
959 "include/grpc/support/host_port.h",
960 "include/grpc/support/log.h",
961 "include/grpc/support/log_win32.h",
962 "include/grpc/support/port_platform.h",
963 "include/grpc/support/slice.h",
964 "include/grpc/support/slice_buffer.h",
965 "include/grpc/support/string_util.h",
966 "include/grpc/support/subprocess.h",
967 "include/grpc/support/sync.h",
968 "include/grpc/support/sync_generic.h",
969 "include/grpc/support/sync_posix.h",
970 "include/grpc/support/sync_win32.h",
971 "include/grpc/support/thd.h",
972 "include/grpc/support/time.h",
973 "include/grpc/support/tls.h",
974 "include/grpc/support/tls_gcc.h",
975 "include/grpc/support/tls_msvc.h",
976 "include/grpc/support/tls_pthread.h",
977 "include/grpc/support/useful.h",
978 "src/core/support/env.h",
979 "src/core/support/file.h",
980 "src/core/support/murmur_hash.h",
Vijay Pai005e3052015-07-10 15:18:45 -0700981 "src/core/support/stack_lockfree.h",
Jorge Canizales140bca82015-06-20 09:47:00 -0700982 "src/core/support/string.h",
983 "src/core/support/string_win32.h",
984 "src/core/support/thd_internal.h",
985 ],
986 includes = [
987 "include",
988 ".",
989 ],
990 deps = [
991 ],
992)
993
994
995objc_library(
Jorge Canizales7b1a0ca2015-06-26 21:49:42 -0700996 name = "grpc_objc",
Jorge Canizales140bca82015-06-20 09:47:00 -0700997 srcs = [
Jorge Canizales7b1a0ca2015-06-26 21:49:42 -0700998 "src/core/httpcli/httpcli_security_connector.c",
Jorge Canizales7b1a0ca2015-06-26 21:49:42 -0700999 "src/core/security/base64.c",
1000 "src/core/security/client_auth_filter.c",
1001 "src/core/security/credentials.c",
1002 "src/core/security/credentials_metadata.c",
1003 "src/core/security/credentials_posix.c",
1004 "src/core/security/credentials_win32.c",
1005 "src/core/security/google_default_credentials.c",
1006 "src/core/security/json_token.c",
Julien Boeuffeca1bf2015-06-22 16:46:20 +02001007 "src/core/security/jwt_verifier.c",
Jorge Canizales7b1a0ca2015-06-26 21:49:42 -07001008 "src/core/security/secure_endpoint.c",
1009 "src/core/security/secure_transport_setup.c",
1010 "src/core/security/security_connector.c",
1011 "src/core/security/security_context.c",
1012 "src/core/security/server_auth_filter.c",
1013 "src/core/security/server_secure_chttp2.c",
1014 "src/core/surface/init_secure.c",
1015 "src/core/surface/secure_channel_create.c",
1016 "src/core/tsi/fake_transport_security.c",
1017 "src/core/tsi/ssl_transport_security.c",
1018 "src/core/tsi/transport_security.c",
Jorge Canizales140bca82015-06-20 09:47:00 -07001019 "src/core/census/grpc_context.c",
1020 "src/core/channel/channel_args.c",
1021 "src/core/channel/channel_stack.c",
Jorge Canizales140bca82015-06-20 09:47:00 -07001022 "src/core/channel/client_channel.c",
David Garcia Quintas8a187092015-07-01 14:52:44 -07001023 "src/core/channel/compress_filter.c",
Jorge Canizales140bca82015-06-20 09:47:00 -07001024 "src/core/channel/connected_channel.c",
1025 "src/core/channel/http_client_filter.c",
1026 "src/core/channel/http_server_filter.c",
1027 "src/core/channel/noop_filter.c",
Craig Tillerc7b5f762015-06-27 11:48:42 -07001028 "src/core/client_config/client_config.c",
1029 "src/core/client_config/connector.c",
1030 "src/core/client_config/lb_policies/pick_first.c",
1031 "src/core/client_config/lb_policy.c",
1032 "src/core/client_config/resolver.c",
1033 "src/core/client_config/resolver_factory.c",
1034 "src/core/client_config/resolver_registry.c",
1035 "src/core/client_config/resolvers/dns_resolver.c",
Craig Tiller698d00c2015-07-20 12:32:58 -07001036 "src/core/client_config/resolvers/sockaddr_resolver.c",
Craig Tillerc7b5f762015-06-27 11:48:42 -07001037 "src/core/client_config/subchannel.c",
1038 "src/core/client_config/subchannel_factory.c",
Craig Tiller83f4d4e2015-07-29 18:14:41 -07001039 "src/core/client_config/subchannel_factory_decorators/add_channel_arg.c",
1040 "src/core/client_config/subchannel_factory_decorators/merge_channel_args.c",
Craig Tillerc7b5f762015-06-27 11:48:42 -07001041 "src/core/client_config/uri_parser.c",
Jorge Canizales140bca82015-06-20 09:47:00 -07001042 "src/core/compression/algorithm.c",
1043 "src/core/compression/message_compress.c",
1044 "src/core/debug/trace.c",
Craig Tillerf53d9c82015-08-04 14:19:43 -07001045 "src/core/httpcli/format_request.c",
1046 "src/core/httpcli/httpcli.c",
1047 "src/core/httpcli/parser.c",
Jorge Canizales140bca82015-06-20 09:47:00 -07001048 "src/core/iomgr/alarm.c",
1049 "src/core/iomgr/alarm_heap.c",
1050 "src/core/iomgr/endpoint.c",
1051 "src/core/iomgr/endpoint_pair_posix.c",
1052 "src/core/iomgr/endpoint_pair_windows.c",
1053 "src/core/iomgr/fd_posix.c",
1054 "src/core/iomgr/iocp_windows.c",
1055 "src/core/iomgr/iomgr.c",
1056 "src/core/iomgr/iomgr_posix.c",
1057 "src/core/iomgr/iomgr_windows.c",
Jorge Canizales140bca82015-06-20 09:47:00 -07001058 "src/core/iomgr/pollset_multipoller_with_epoll.c",
1059 "src/core/iomgr/pollset_multipoller_with_poll_posix.c",
1060 "src/core/iomgr/pollset_posix.c",
1061 "src/core/iomgr/pollset_set_posix.c",
1062 "src/core/iomgr/pollset_set_windows.c",
1063 "src/core/iomgr/pollset_windows.c",
1064 "src/core/iomgr/resolve_address_posix.c",
1065 "src/core/iomgr/resolve_address_windows.c",
1066 "src/core/iomgr/sockaddr_utils.c",
1067 "src/core/iomgr/socket_utils_common_posix.c",
1068 "src/core/iomgr/socket_utils_linux.c",
1069 "src/core/iomgr/socket_utils_posix.c",
1070 "src/core/iomgr/socket_windows.c",
1071 "src/core/iomgr/tcp_client_posix.c",
1072 "src/core/iomgr/tcp_client_windows.c",
1073 "src/core/iomgr/tcp_posix.c",
1074 "src/core/iomgr/tcp_server_posix.c",
1075 "src/core/iomgr/tcp_server_windows.c",
1076 "src/core/iomgr/tcp_windows.c",
1077 "src/core/iomgr/time_averaged_stats.c",
Robbie Shade69535292015-07-10 14:27:34 -04001078 "src/core/iomgr/udp_server.c",
Jorge Canizales140bca82015-06-20 09:47:00 -07001079 "src/core/iomgr/wakeup_fd_eventfd.c",
1080 "src/core/iomgr/wakeup_fd_nospecial.c",
1081 "src/core/iomgr/wakeup_fd_pipe.c",
1082 "src/core/iomgr/wakeup_fd_posix.c",
1083 "src/core/json/json.c",
1084 "src/core/json/json_reader.c",
1085 "src/core/json/json_string.c",
1086 "src/core/json/json_writer.c",
1087 "src/core/profiling/basic_timers.c",
1088 "src/core/profiling/stap_timers.c",
1089 "src/core/surface/byte_buffer.c",
1090 "src/core/surface/byte_buffer_queue.c",
1091 "src/core/surface/byte_buffer_reader.c",
1092 "src/core/surface/call.c",
1093 "src/core/surface/call_details.c",
1094 "src/core/surface/call_log_batch.c",
1095 "src/core/surface/channel.c",
Craig Tiller48cb07c2015-07-15 16:16:15 -07001096 "src/core/surface/channel_connectivity.c",
Jorge Canizales140bca82015-06-20 09:47:00 -07001097 "src/core/surface/channel_create.c",
Jorge Canizales140bca82015-06-20 09:47:00 -07001098 "src/core/surface/completion_queue.c",
1099 "src/core/surface/event_string.c",
1100 "src/core/surface/init.c",
1101 "src/core/surface/lame_client.c",
1102 "src/core/surface/metadata_array.c",
1103 "src/core/surface/server.c",
1104 "src/core/surface/server_chttp2.c",
1105 "src/core/surface/server_create.c",
1106 "src/core/surface/surface_trace.c",
Craig Tiller2e622bc2015-07-10 07:46:03 -07001107 "src/core/surface/version.c",
Jorge Canizales140bca82015-06-20 09:47:00 -07001108 "src/core/transport/chttp2/alpn.c",
1109 "src/core/transport/chttp2/bin_encoder.c",
1110 "src/core/transport/chttp2/frame_data.c",
1111 "src/core/transport/chttp2/frame_goaway.c",
1112 "src/core/transport/chttp2/frame_ping.c",
1113 "src/core/transport/chttp2/frame_rst_stream.c",
1114 "src/core/transport/chttp2/frame_settings.c",
1115 "src/core/transport/chttp2/frame_window_update.c",
1116 "src/core/transport/chttp2/hpack_parser.c",
1117 "src/core/transport/chttp2/hpack_table.c",
1118 "src/core/transport/chttp2/huffsyms.c",
Nicolas "Pixel" Nobled35f93d2015-06-27 00:57:29 +02001119 "src/core/transport/chttp2/incoming_metadata.c",
1120 "src/core/transport/chttp2/parsing.c",
Jorge Canizales140bca82015-06-20 09:47:00 -07001121 "src/core/transport/chttp2/status_conversion.c",
1122 "src/core/transport/chttp2/stream_encoder.c",
Nicolas "Pixel" Nobled35f93d2015-06-27 00:57:29 +02001123 "src/core/transport/chttp2/stream_lists.c",
Jorge Canizales140bca82015-06-20 09:47:00 -07001124 "src/core/transport/chttp2/stream_map.c",
1125 "src/core/transport/chttp2/timeout_encoding.c",
1126 "src/core/transport/chttp2/varint.c",
Nicolas "Pixel" Nobled35f93d2015-06-27 00:57:29 +02001127 "src/core/transport/chttp2/writing.c",
Jorge Canizales140bca82015-06-20 09:47:00 -07001128 "src/core/transport/chttp2_transport.c",
Craig Tiller08a1cf82015-06-29 09:37:52 -07001129 "src/core/transport/connectivity_state.c",
Jorge Canizales140bca82015-06-20 09:47:00 -07001130 "src/core/transport/metadata.c",
1131 "src/core/transport/stream_op.c",
1132 "src/core/transport/transport.c",
1133 "src/core/transport/transport_op_string.c",
1134 "src/core/census/context.c",
1135 "src/core/census/initialize.c",
Alistair Veitch635899d2015-07-17 16:02:24 -07001136 "src/core/census/record_stat.c",
Jorge Canizales140bca82015-06-20 09:47:00 -07001137 ],
1138 hdrs = [
Jorge Canizales7b1a0ca2015-06-26 21:49:42 -07001139 "include/grpc/grpc_security.h",
Jorge Canizales140bca82015-06-20 09:47:00 -07001140 "include/grpc/byte_buffer.h",
1141 "include/grpc/byte_buffer_reader.h",
1142 "include/grpc/compression.h",
1143 "include/grpc/grpc.h",
1144 "include/grpc/status.h",
1145 "include/grpc/census.h",
Jorge Canizales7b1a0ca2015-06-26 21:49:42 -07001146 "src/core/security/auth_filters.h",
1147 "src/core/security/base64.h",
1148 "src/core/security/credentials.h",
1149 "src/core/security/json_token.h",
Julien Boeuffeca1bf2015-06-22 16:46:20 +02001150 "src/core/security/jwt_verifier.h",
Jorge Canizales7b1a0ca2015-06-26 21:49:42 -07001151 "src/core/security/secure_endpoint.h",
1152 "src/core/security/secure_transport_setup.h",
1153 "src/core/security/security_connector.h",
1154 "src/core/security/security_context.h",
1155 "src/core/tsi/fake_transport_security.h",
1156 "src/core/tsi/ssl_transport_security.h",
1157 "src/core/tsi/transport_security.h",
1158 "src/core/tsi/transport_security_interface.h",
Jorge Canizales140bca82015-06-20 09:47:00 -07001159 "src/core/channel/census_filter.h",
1160 "src/core/channel/channel_args.h",
1161 "src/core/channel/channel_stack.h",
Jorge Canizales140bca82015-06-20 09:47:00 -07001162 "src/core/channel/client_channel.h",
David Garcia Quintas8a187092015-07-01 14:52:44 -07001163 "src/core/channel/compress_filter.h",
Jorge Canizales140bca82015-06-20 09:47:00 -07001164 "src/core/channel/connected_channel.h",
1165 "src/core/channel/context.h",
1166 "src/core/channel/http_client_filter.h",
1167 "src/core/channel/http_server_filter.h",
1168 "src/core/channel/noop_filter.h",
Craig Tillerc7b5f762015-06-27 11:48:42 -07001169 "src/core/client_config/client_config.h",
1170 "src/core/client_config/connector.h",
1171 "src/core/client_config/lb_policies/pick_first.h",
1172 "src/core/client_config/lb_policy.h",
1173 "src/core/client_config/resolver.h",
1174 "src/core/client_config/resolver_factory.h",
1175 "src/core/client_config/resolver_registry.h",
1176 "src/core/client_config/resolvers/dns_resolver.h",
Craig Tiller698d00c2015-07-20 12:32:58 -07001177 "src/core/client_config/resolvers/sockaddr_resolver.h",
Craig Tillerc7b5f762015-06-27 11:48:42 -07001178 "src/core/client_config/subchannel.h",
1179 "src/core/client_config/subchannel_factory.h",
Craig Tiller83f4d4e2015-07-29 18:14:41 -07001180 "src/core/client_config/subchannel_factory_decorators/add_channel_arg.h",
1181 "src/core/client_config/subchannel_factory_decorators/merge_channel_args.h",
Craig Tillerc7b5f762015-06-27 11:48:42 -07001182 "src/core/client_config/uri_parser.h",
Jorge Canizales140bca82015-06-20 09:47:00 -07001183 "src/core/compression/message_compress.h",
1184 "src/core/debug/trace.h",
Craig Tillerf53d9c82015-08-04 14:19:43 -07001185 "src/core/httpcli/format_request.h",
1186 "src/core/httpcli/httpcli.h",
1187 "src/core/httpcli/parser.h",
Jorge Canizales140bca82015-06-20 09:47:00 -07001188 "src/core/iomgr/alarm.h",
1189 "src/core/iomgr/alarm_heap.h",
1190 "src/core/iomgr/alarm_internal.h",
1191 "src/core/iomgr/endpoint.h",
1192 "src/core/iomgr/endpoint_pair.h",
1193 "src/core/iomgr/fd_posix.h",
1194 "src/core/iomgr/iocp_windows.h",
1195 "src/core/iomgr/iomgr.h",
1196 "src/core/iomgr/iomgr_internal.h",
1197 "src/core/iomgr/iomgr_posix.h",
1198 "src/core/iomgr/pollset.h",
Jorge Canizales140bca82015-06-20 09:47:00 -07001199 "src/core/iomgr/pollset_posix.h",
1200 "src/core/iomgr/pollset_set.h",
1201 "src/core/iomgr/pollset_set_posix.h",
1202 "src/core/iomgr/pollset_set_windows.h",
1203 "src/core/iomgr/pollset_windows.h",
1204 "src/core/iomgr/resolve_address.h",
1205 "src/core/iomgr/sockaddr.h",
1206 "src/core/iomgr/sockaddr_posix.h",
1207 "src/core/iomgr/sockaddr_utils.h",
1208 "src/core/iomgr/sockaddr_win32.h",
1209 "src/core/iomgr/socket_utils_posix.h",
1210 "src/core/iomgr/socket_windows.h",
1211 "src/core/iomgr/tcp_client.h",
1212 "src/core/iomgr/tcp_posix.h",
1213 "src/core/iomgr/tcp_server.h",
1214 "src/core/iomgr/tcp_windows.h",
1215 "src/core/iomgr/time_averaged_stats.h",
Robbie Shade69535292015-07-10 14:27:34 -04001216 "src/core/iomgr/udp_server.h",
Jorge Canizales140bca82015-06-20 09:47:00 -07001217 "src/core/iomgr/wakeup_fd_pipe.h",
1218 "src/core/iomgr/wakeup_fd_posix.h",
1219 "src/core/json/json.h",
1220 "src/core/json/json_common.h",
1221 "src/core/json/json_reader.h",
1222 "src/core/json/json_writer.h",
1223 "src/core/profiling/timers.h",
1224 "src/core/profiling/timers_preciseclock.h",
1225 "src/core/surface/byte_buffer_queue.h",
1226 "src/core/surface/call.h",
1227 "src/core/surface/channel.h",
Jorge Canizales140bca82015-06-20 09:47:00 -07001228 "src/core/surface/completion_queue.h",
1229 "src/core/surface/event_string.h",
1230 "src/core/surface/init.h",
1231 "src/core/surface/server.h",
1232 "src/core/surface/surface_trace.h",
1233 "src/core/transport/chttp2/alpn.h",
1234 "src/core/transport/chttp2/bin_encoder.h",
1235 "src/core/transport/chttp2/frame.h",
1236 "src/core/transport/chttp2/frame_data.h",
1237 "src/core/transport/chttp2/frame_goaway.h",
1238 "src/core/transport/chttp2/frame_ping.h",
1239 "src/core/transport/chttp2/frame_rst_stream.h",
1240 "src/core/transport/chttp2/frame_settings.h",
1241 "src/core/transport/chttp2/frame_window_update.h",
1242 "src/core/transport/chttp2/hpack_parser.h",
1243 "src/core/transport/chttp2/hpack_table.h",
1244 "src/core/transport/chttp2/http2_errors.h",
1245 "src/core/transport/chttp2/huffsyms.h",
Nicolas "Pixel" Nobled35f93d2015-06-27 00:57:29 +02001246 "src/core/transport/chttp2/incoming_metadata.h",
1247 "src/core/transport/chttp2/internal.h",
Jorge Canizales140bca82015-06-20 09:47:00 -07001248 "src/core/transport/chttp2/status_conversion.h",
1249 "src/core/transport/chttp2/stream_encoder.h",
1250 "src/core/transport/chttp2/stream_map.h",
1251 "src/core/transport/chttp2/timeout_encoding.h",
1252 "src/core/transport/chttp2/varint.h",
1253 "src/core/transport/chttp2_transport.h",
Craig Tiller08a1cf82015-06-29 09:37:52 -07001254 "src/core/transport/connectivity_state.h",
Jorge Canizales140bca82015-06-20 09:47:00 -07001255 "src/core/transport/metadata.h",
1256 "src/core/transport/stream_op.h",
1257 "src/core/transport/transport.h",
1258 "src/core/transport/transport_impl.h",
1259 "src/core/census/context.h",
Alistair Veitchb46f3f42015-07-20 13:34:10 -07001260 "src/core/census/rpc_stat_id.h",
Jorge Canizales140bca82015-06-20 09:47:00 -07001261 ],
1262 includes = [
1263 "include",
1264 ".",
1265 ],
1266 deps = [
1267 ":gpr_objc",
Jorge Canizales4dc4e3d2015-06-26 22:12:02 -07001268 "//external:libssl_objc",
Jorge Canizales140bca82015-06-20 09:47:00 -07001269 ],
Jorge Canizales8c1fd042015-06-22 19:11:36 -07001270 sdk_dylibs = ["libz"],
Jorge Canizales140bca82015-06-20 09:47:00 -07001271)
1272
1273
1274
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001275cc_binary(
1276 name = "grpc_cpp_plugin",
1277 srcs = [
1278 "src/compiler/cpp_plugin.cc",
1279 ],
1280 deps = [
1281 "//external:protobuf_compiler",
1282 ":grpc_plugin_support",
1283 ],
1284)
1285
1286
1287cc_binary(
Jan Tattermusch2d924952015-05-06 10:23:17 -07001288 name = "grpc_csharp_plugin",
1289 srcs = [
1290 "src/compiler/csharp_plugin.cc",
1291 ],
1292 deps = [
1293 "//external:protobuf_compiler",
1294 ":grpc_plugin_support",
1295 ],
1296)
1297
1298
1299cc_binary(
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001300 name = "grpc_objective_c_plugin",
1301 srcs = [
1302 "src/compiler/objective_c_plugin.cc",
1303 ],
1304 deps = [
1305 "//external:protobuf_compiler",
1306 ":grpc_plugin_support",
1307 ],
1308)
1309
1310
1311cc_binary(
1312 name = "grpc_python_plugin",
1313 srcs = [
1314 "src/compiler/python_plugin.cc",
1315 ],
1316 deps = [
1317 "//external:protobuf_compiler",
1318 ":grpc_plugin_support",
1319 ],
1320)
1321
1322
1323cc_binary(
1324 name = "grpc_ruby_plugin",
1325 srcs = [
1326 "src/compiler/ruby_plugin.cc",
1327 ],
1328 deps = [
1329 "//external:protobuf_compiler",
1330 ":grpc_plugin_support",
1331 ],
1332)
1333
1334
1335
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +02001336
1337
Jorge Canizales140bca82015-06-20 09:47:00 -07001338
Jorge Canizales91e67a22015-06-24 13:50:04 -07001339
1340
Jorge Canizales44dc4232015-06-19 16:30:31 -07001341objc_path = "src/objective-c"
Jorge Canizales140bca82015-06-20 09:47:00 -07001342
Jorge Canizales44dc4232015-06-19 16:30:31 -07001343rx_library_path = objc_path + "/RxLibrary"
1344
1345objc_library(
Jorge Canizalesbba80762015-06-26 23:25:48 -07001346 name = "rx_library",
1347 hdrs = glob([
1348 rx_library_path + "/*.h",
1349 rx_library_path + "/transformations/*.h",
1350 ]),
1351 srcs = glob([
1352 rx_library_path + "/*.m",
1353 rx_library_path + "/transformations/*.m",
1354 ]),
1355 includes = [objc_path],
1356 deps = [
1357 ":rx_library_private",
1358 ],
Jorge Canizales44dc4232015-06-19 16:30:31 -07001359)
1360
1361objc_library(
Jorge Canizalesbba80762015-06-26 23:25:48 -07001362 name = "rx_library_private",
1363 hdrs = glob([rx_library_path + "/private/*.h"]),
1364 srcs = glob([rx_library_path + "/private/*.m"]),
1365 visibility = ["//visibility:private"],
Jorge Canizales44dc4232015-06-19 16:30:31 -07001366)
Jorge Canizales866255e2015-06-20 18:58:38 -07001367
1368objc_client_path = objc_path + "/GRPCClient"
1369
1370objc_library(
1371 name = "grpc_client",
1372 hdrs = glob([
1373 objc_client_path + "/*.h",
1374 objc_client_path + "/private/*.h",
1375 ]),
1376 srcs = glob([
1377 objc_client_path + "/*.m",
1378 objc_client_path + "/private/*.m",
1379 ]),
1380 includes = [objc_path],
Jorge Canizalesbb54ae82015-06-28 06:50:58 -07001381 bundles = [":gRPCCertificates"],
Jorge Canizales866255e2015-06-20 18:58:38 -07001382 deps = [
1383 ":grpc_objc",
1384 ":rx_library",
1385 ],
1386)
Jorge Canizalesbb54ae82015-06-28 06:50:58 -07001387
1388objc_bundle_library(
1389 # The choice of name is signicant here, since it determines the bundle name.
1390 name = "gRPCCertificates",
1391 resources = ["etc/roots.pem"],
1392)
Jorge Canizales50f19822015-06-28 23:48:30 -07001393
1394proto_objc_rpc_path = objc_path + "/ProtoRPC"
1395
1396objc_library(
1397 name = "proto_objc_rpc",
1398 hdrs = glob([
1399 proto_objc_rpc_path + "/*.h",
1400 ]),
1401 srcs = glob([
1402 proto_objc_rpc_path + "/*.m",
1403 ]),
1404 includes = [objc_path],
1405 deps = [
1406 ":grpc_client",
1407 ":rx_library",
1408 "//external:protobuf_objc",
1409 ],
1410)