blob: 336074a9d861ae89b216688989a0b870b6b04a05 [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",
50 "src/core/support/string.h",
51 "src/core/support/string_win32.h",
52 "src/core/support/thd_internal.h",
53 "src/core/support/alloc.c",
54 "src/core/support/cancellable.c",
55 "src/core/support/cmdline.c",
56 "src/core/support/cpu_iphone.c",
57 "src/core/support/cpu_linux.c",
58 "src/core/support/cpu_posix.c",
59 "src/core/support/cpu_windows.c",
60 "src/core/support/env_linux.c",
61 "src/core/support/env_posix.c",
62 "src/core/support/env_win32.c",
63 "src/core/support/file.c",
64 "src/core/support/file_posix.c",
65 "src/core/support/file_win32.c",
66 "src/core/support/histogram.c",
67 "src/core/support/host_port.c",
68 "src/core/support/log.c",
69 "src/core/support/log_android.c",
70 "src/core/support/log_linux.c",
71 "src/core/support/log_posix.c",
72 "src/core/support/log_win32.c",
73 "src/core/support/murmur_hash.c",
74 "src/core/support/slice.c",
75 "src/core/support/slice_buffer.c",
76 "src/core/support/string.c",
77 "src/core/support/string_posix.c",
78 "src/core/support/string_win32.c",
Craig Tillerc21a8092015-05-15 10:03:40 -070079 "src/core/support/subprocess_posix.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -070080 "src/core/support/sync.c",
81 "src/core/support/sync_posix.c",
82 "src/core/support/sync_win32.c",
83 "src/core/support/thd.c",
84 "src/core/support/thd_posix.c",
85 "src/core/support/thd_win32.c",
86 "src/core/support/time.c",
87 "src/core/support/time_posix.c",
88 "src/core/support/time_win32.c",
Craig Tilleree210ab2015-05-15 10:32:28 -070089 "src/core/support/tls_pthread.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -070090 ],
91 hdrs = [
92 "include/grpc/support/alloc.h",
93 "include/grpc/support/atm.h",
94 "include/grpc/support/atm_gcc_atomic.h",
95 "include/grpc/support/atm_gcc_sync.h",
96 "include/grpc/support/atm_win32.h",
97 "include/grpc/support/cancellable_platform.h",
98 "include/grpc/support/cmdline.h",
99 "include/grpc/support/cpu.h",
100 "include/grpc/support/histogram.h",
101 "include/grpc/support/host_port.h",
102 "include/grpc/support/log.h",
103 "include/grpc/support/log_win32.h",
104 "include/grpc/support/port_platform.h",
105 "include/grpc/support/slice.h",
106 "include/grpc/support/slice_buffer.h",
Masood Malekghassemi701af602015-06-03 15:01:17 -0700107 "include/grpc/support/string_util.h",
Craig Tiller685f1e62015-05-15 11:40:59 -0700108 "include/grpc/support/subprocess.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700109 "include/grpc/support/sync.h",
110 "include/grpc/support/sync_generic.h",
111 "include/grpc/support/sync_posix.h",
112 "include/grpc/support/sync_win32.h",
113 "include/grpc/support/thd.h",
114 "include/grpc/support/time.h",
Yang Gaob0b518e2015-04-13 14:53:25 -0700115 "include/grpc/support/tls.h",
116 "include/grpc/support/tls_gcc.h",
117 "include/grpc/support/tls_msvc.h",
118 "include/grpc/support/tls_pthread.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700119 "include/grpc/support/useful.h",
120 ],
121 includes = [
122 "include",
123 ".",
124 ],
125 deps = [
126 ],
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +0200127)
128
129
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +0200130cc_library(
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700131 name = "grpc",
132 srcs = [
133 "src/core/httpcli/format_request.h",
134 "src/core/httpcli/httpcli.h",
Julien Boeuf7d1d9ca2015-04-17 14:38:48 -0700135 "src/core/httpcli/httpcli_security_connector.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700136 "src/core/httpcli/parser.h",
Julien Boeufc6f8d0a2015-05-11 22:40:02 -0700137 "src/core/security/auth_filters.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700138 "src/core/security/base64.h",
139 "src/core/security/credentials.h",
140 "src/core/security/json_token.h",
Julien Boeuffeca1bf2015-06-22 16:46:20 +0200141 "src/core/security/jwt_verifier.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700142 "src/core/security/secure_endpoint.h",
143 "src/core/security/secure_transport_setup.h",
Julien Boeuf7d1d9ca2015-04-17 14:38:48 -0700144 "src/core/security/security_connector.h",
Julien Boeufd7f768b2015-05-08 16:37:16 -0700145 "src/core/security/security_context.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700146 "src/core/tsi/fake_transport_security.h",
147 "src/core/tsi/ssl_transport_security.h",
148 "src/core/tsi/transport_security.h",
149 "src/core/tsi/transport_security_interface.h",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700150 "src/core/census/grpc_context.h",
murgatroid997da8b1a2015-06-17 12:37:34 -0700151 "src/core/channel/census_filter.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700152 "src/core/channel/channel_args.h",
153 "src/core/channel/channel_stack.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700154 "src/core/channel/client_channel.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700155 "src/core/channel/connected_channel.h",
murgatroid997da8b1a2015-06-17 12:37:34 -0700156 "src/core/channel/context.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700157 "src/core/channel/http_client_filter.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700158 "src/core/channel/http_server_filter.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700159 "src/core/channel/noop_filter.h",
Craig Tilleraf691802015-06-23 14:57:07 -0700160 "src/core/client_config/client_config.h",
Craig Tiller91624662015-06-25 16:31:02 -0700161 "src/core/client_config/connector.h",
Craig Tiller3bc8ebd2015-06-24 15:41:15 -0700162 "src/core/client_config/lb_policies/pick_first.h",
Craig Tilleraf691802015-06-23 14:57:07 -0700163 "src/core/client_config/lb_policy.h",
164 "src/core/client_config/resolver.h",
Craig Tiller7df28a72015-06-24 09:23:52 -0700165 "src/core/client_config/resolver_factory.h",
Craig Tiller3bc8ebd2015-06-24 15:41:15 -0700166 "src/core/client_config/resolver_registry.h",
167 "src/core/client_config/resolvers/dns_resolver.h",
Craig Tilleracf0f072015-06-29 08:24:16 -0700168 "src/core/client_config/resolvers/unix_resolver_posix.h",
Craig Tilleraf691802015-06-23 14:57:07 -0700169 "src/core/client_config/subchannel.h",
170 "src/core/client_config/subchannel_factory.h",
Craig Tiller3bc8ebd2015-06-24 15:41:15 -0700171 "src/core/client_config/uri_parser.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700172 "src/core/compression/message_compress.h",
173 "src/core/debug/trace.h",
174 "src/core/iomgr/alarm.h",
175 "src/core/iomgr/alarm_heap.h",
176 "src/core/iomgr/alarm_internal.h",
177 "src/core/iomgr/endpoint.h",
178 "src/core/iomgr/endpoint_pair.h",
179 "src/core/iomgr/fd_posix.h",
180 "src/core/iomgr/iocp_windows.h",
181 "src/core/iomgr/iomgr.h",
182 "src/core/iomgr/iomgr_internal.h",
183 "src/core/iomgr/iomgr_posix.h",
184 "src/core/iomgr/pollset.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700185 "src/core/iomgr/pollset_kick_posix.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",
203 "src/core/iomgr/wakeup_fd_pipe.h",
204 "src/core/iomgr/wakeup_fd_posix.h",
205 "src/core/json/json.h",
206 "src/core/json/json_common.h",
207 "src/core/json/json_reader.h",
208 "src/core/json/json_writer.h",
Vijay Pai6dfa7e62015-04-13 10:41:40 -0700209 "src/core/profiling/timers.h",
Vijay Pai9cccb082015-04-13 13:04:06 -0700210 "src/core/profiling/timers_preciseclock.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700211 "src/core/surface/byte_buffer_queue.h",
212 "src/core/surface/call.h",
213 "src/core/surface/channel.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700214 "src/core/surface/completion_queue.h",
215 "src/core/surface/event_string.h",
216 "src/core/surface/init.h",
217 "src/core/surface/server.h",
218 "src/core/surface/surface_trace.h",
219 "src/core/transport/chttp2/alpn.h",
220 "src/core/transport/chttp2/bin_encoder.h",
221 "src/core/transport/chttp2/frame.h",
222 "src/core/transport/chttp2/frame_data.h",
223 "src/core/transport/chttp2/frame_goaway.h",
224 "src/core/transport/chttp2/frame_ping.h",
225 "src/core/transport/chttp2/frame_rst_stream.h",
226 "src/core/transport/chttp2/frame_settings.h",
227 "src/core/transport/chttp2/frame_window_update.h",
228 "src/core/transport/chttp2/hpack_parser.h",
229 "src/core/transport/chttp2/hpack_table.h",
230 "src/core/transport/chttp2/http2_errors.h",
231 "src/core/transport/chttp2/huffsyms.h",
Craig Tiller5dc3b302015-06-15 16:06:50 -0700232 "src/core/transport/chttp2/incoming_metadata.h",
Craig Tiller41527062015-06-12 07:51:05 -0700233 "src/core/transport/chttp2/internal.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700234 "src/core/transport/chttp2/status_conversion.h",
235 "src/core/transport/chttp2/stream_encoder.h",
236 "src/core/transport/chttp2/stream_map.h",
237 "src/core/transport/chttp2/timeout_encoding.h",
238 "src/core/transport/chttp2/varint.h",
239 "src/core/transport/chttp2_transport.h",
Craig Tiller08a1cf82015-06-29 09:37:52 -0700240 "src/core/transport/connectivity_state.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700241 "src/core/transport/metadata.h",
242 "src/core/transport/stream_op.h",
243 "src/core/transport/transport.h",
244 "src/core/transport/transport_impl.h",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700245 "src/core/census/context.h",
Alistair Veitchb46f3f42015-07-20 13:34:10 -0700246 "src/core/census/rpc_stat_id.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700247 "src/core/httpcli/format_request.c",
248 "src/core/httpcli/httpcli.c",
Julien Boeuf7d1d9ca2015-04-17 14:38:48 -0700249 "src/core/httpcli/httpcli_security_connector.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700250 "src/core/httpcli/parser.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700251 "src/core/security/base64.c",
Julien Boeufc6f8d0a2015-05-11 22:40:02 -0700252 "src/core/security/client_auth_filter.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700253 "src/core/security/credentials.c",
Julien Boeuf75c9b6f2015-05-29 13:12:12 -0700254 "src/core/security/credentials_metadata.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700255 "src/core/security/credentials_posix.c",
256 "src/core/security/credentials_win32.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700257 "src/core/security/google_default_credentials.c",
258 "src/core/security/json_token.c",
Julien Boeuffeca1bf2015-06-22 16:46:20 +0200259 "src/core/security/jwt_verifier.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700260 "src/core/security/secure_endpoint.c",
261 "src/core/security/secure_transport_setup.c",
Julien Boeuf7d1d9ca2015-04-17 14:38:48 -0700262 "src/core/security/security_connector.c",
Julien Boeufd7f768b2015-05-08 16:37:16 -0700263 "src/core/security/security_context.c",
Julien Boeufc6f8d0a2015-05-11 22:40:02 -0700264 "src/core/security/server_auth_filter.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700265 "src/core/security/server_secure_chttp2.c",
266 "src/core/surface/init_secure.c",
267 "src/core/surface/secure_channel_create.c",
268 "src/core/tsi/fake_transport_security.c",
269 "src/core/tsi/ssl_transport_security.c",
270 "src/core/tsi/transport_security.c",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700271 "src/core/census/grpc_context.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700272 "src/core/channel/channel_args.c",
273 "src/core/channel/channel_stack.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700274 "src/core/channel/client_channel.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700275 "src/core/channel/connected_channel.c",
276 "src/core/channel/http_client_filter.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700277 "src/core/channel/http_server_filter.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700278 "src/core/channel/noop_filter.c",
Craig Tilleraf691802015-06-23 14:57:07 -0700279 "src/core/client_config/client_config.c",
Craig Tiller91624662015-06-25 16:31:02 -0700280 "src/core/client_config/connector.c",
Craig Tiller3bc8ebd2015-06-24 15:41:15 -0700281 "src/core/client_config/lb_policies/pick_first.c",
Craig Tilleraf691802015-06-23 14:57:07 -0700282 "src/core/client_config/lb_policy.c",
283 "src/core/client_config/resolver.c",
Craig Tiller7df28a72015-06-24 09:23:52 -0700284 "src/core/client_config/resolver_factory.c",
Craig Tiller3bc8ebd2015-06-24 15:41:15 -0700285 "src/core/client_config/resolver_registry.c",
286 "src/core/client_config/resolvers/dns_resolver.c",
Craig Tilleracf0f072015-06-29 08:24:16 -0700287 "src/core/client_config/resolvers/unix_resolver_posix.c",
Craig Tilleraf691802015-06-23 14:57:07 -0700288 "src/core/client_config/subchannel.c",
289 "src/core/client_config/subchannel_factory.c",
Craig Tiller3bc8ebd2015-06-24 15:41:15 -0700290 "src/core/client_config/uri_parser.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700291 "src/core/compression/algorithm.c",
292 "src/core/compression/message_compress.c",
293 "src/core/debug/trace.c",
294 "src/core/iomgr/alarm.c",
295 "src/core/iomgr/alarm_heap.c",
296 "src/core/iomgr/endpoint.c",
297 "src/core/iomgr/endpoint_pair_posix.c",
Craig Tillerd180e032015-04-13 10:10:07 -0700298 "src/core/iomgr/endpoint_pair_windows.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700299 "src/core/iomgr/fd_posix.c",
300 "src/core/iomgr/iocp_windows.c",
301 "src/core/iomgr/iomgr.c",
302 "src/core/iomgr/iomgr_posix.c",
303 "src/core/iomgr/iomgr_windows.c",
Craig Tiller0c1d2782015-05-28 17:06:05 -0700304 "src/core/iomgr/pollset_kick_posix.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700305 "src/core/iomgr/pollset_multipoller_with_epoll.c",
306 "src/core/iomgr/pollset_multipoller_with_poll_posix.c",
307 "src/core/iomgr/pollset_posix.c",
Craig Tillerb7cf08f2015-05-07 07:58:30 -0700308 "src/core/iomgr/pollset_set_posix.c",
309 "src/core/iomgr/pollset_set_windows.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700310 "src/core/iomgr/pollset_windows.c",
311 "src/core/iomgr/resolve_address_posix.c",
312 "src/core/iomgr/resolve_address_windows.c",
313 "src/core/iomgr/sockaddr_utils.c",
314 "src/core/iomgr/socket_utils_common_posix.c",
315 "src/core/iomgr/socket_utils_linux.c",
316 "src/core/iomgr/socket_utils_posix.c",
317 "src/core/iomgr/socket_windows.c",
318 "src/core/iomgr/tcp_client_posix.c",
319 "src/core/iomgr/tcp_client_windows.c",
320 "src/core/iomgr/tcp_posix.c",
321 "src/core/iomgr/tcp_server_posix.c",
322 "src/core/iomgr/tcp_server_windows.c",
323 "src/core/iomgr/tcp_windows.c",
324 "src/core/iomgr/time_averaged_stats.c",
325 "src/core/iomgr/wakeup_fd_eventfd.c",
326 "src/core/iomgr/wakeup_fd_nospecial.c",
327 "src/core/iomgr/wakeup_fd_pipe.c",
328 "src/core/iomgr/wakeup_fd_posix.c",
329 "src/core/json/json.c",
330 "src/core/json/json_reader.c",
331 "src/core/json/json_string.c",
332 "src/core/json/json_writer.c",
David Garcia Quintas8954e902015-04-29 09:46:33 -0700333 "src/core/profiling/basic_timers.c",
334 "src/core/profiling/stap_timers.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700335 "src/core/surface/byte_buffer.c",
336 "src/core/surface/byte_buffer_queue.c",
337 "src/core/surface/byte_buffer_reader.c",
338 "src/core/surface/call.c",
339 "src/core/surface/call_details.c",
340 "src/core/surface/call_log_batch.c",
341 "src/core/surface/channel.c",
342 "src/core/surface/channel_create.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700343 "src/core/surface/completion_queue.c",
344 "src/core/surface/event_string.c",
345 "src/core/surface/init.c",
346 "src/core/surface/lame_client.c",
347 "src/core/surface/metadata_array.c",
348 "src/core/surface/server.c",
349 "src/core/surface/server_chttp2.c",
350 "src/core/surface/server_create.c",
351 "src/core/surface/surface_trace.c",
Craig Tiller2e622bc2015-07-10 07:46:03 -0700352 "src/core/surface/version.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700353 "src/core/transport/chttp2/alpn.c",
354 "src/core/transport/chttp2/bin_encoder.c",
355 "src/core/transport/chttp2/frame_data.c",
356 "src/core/transport/chttp2/frame_goaway.c",
357 "src/core/transport/chttp2/frame_ping.c",
358 "src/core/transport/chttp2/frame_rst_stream.c",
359 "src/core/transport/chttp2/frame_settings.c",
360 "src/core/transport/chttp2/frame_window_update.c",
361 "src/core/transport/chttp2/hpack_parser.c",
362 "src/core/transport/chttp2/hpack_table.c",
363 "src/core/transport/chttp2/huffsyms.c",
Craig Tiller5dc3b302015-06-15 16:06:50 -0700364 "src/core/transport/chttp2/incoming_metadata.c",
Craig Tillerd8df50c2015-06-12 07:53:56 -0700365 "src/core/transport/chttp2/parsing.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700366 "src/core/transport/chttp2/status_conversion.c",
367 "src/core/transport/chttp2/stream_encoder.c",
Craig Tiller6459db42015-06-15 17:11:45 -0700368 "src/core/transport/chttp2/stream_lists.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700369 "src/core/transport/chttp2/stream_map.c",
370 "src/core/transport/chttp2/timeout_encoding.c",
371 "src/core/transport/chttp2/varint.c",
Craig Tillerd8df50c2015-06-12 07:53:56 -0700372 "src/core/transport/chttp2/writing.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700373 "src/core/transport/chttp2_transport.c",
Craig Tiller08a1cf82015-06-29 09:37:52 -0700374 "src/core/transport/connectivity_state.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700375 "src/core/transport/metadata.c",
376 "src/core/transport/stream_op.c",
377 "src/core/transport/transport.c",
Craig Tiller83f88d92015-04-21 16:02:05 -0700378 "src/core/transport/transport_op_string.c",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700379 "src/core/census/context.c",
380 "src/core/census/initialize.c",
Alistair Veitch635899d2015-07-17 16:02:24 -0700381 "src/core/census/record_stat.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700382 ],
383 hdrs = [
384 "include/grpc/grpc_security.h",
385 "include/grpc/byte_buffer.h",
386 "include/grpc/byte_buffer_reader.h",
David Garcia Quintas59f905d2015-06-08 16:31:19 -0700387 "include/grpc/compression.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700388 "include/grpc/grpc.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700389 "include/grpc/status.h",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700390 "include/grpc/census.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700391 ],
392 includes = [
393 "include",
394 ".",
395 ],
396 deps = [
397 "//external:libssl",
398 ":gpr",
399 ],
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +0200400)
401
402
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700403cc_library(
404 name = "grpc_unsecure",
405 srcs = [
Alistair Veitch9686dab2015-05-26 14:26:47 -0700406 "src/core/census/grpc_context.h",
murgatroid997da8b1a2015-06-17 12:37:34 -0700407 "src/core/channel/census_filter.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700408 "src/core/channel/channel_args.h",
409 "src/core/channel/channel_stack.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700410 "src/core/channel/client_channel.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700411 "src/core/channel/connected_channel.h",
murgatroid997da8b1a2015-06-17 12:37:34 -0700412 "src/core/channel/context.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700413 "src/core/channel/http_client_filter.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700414 "src/core/channel/http_server_filter.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700415 "src/core/channel/noop_filter.h",
Craig Tilleraf691802015-06-23 14:57:07 -0700416 "src/core/client_config/client_config.h",
Craig Tiller91624662015-06-25 16:31:02 -0700417 "src/core/client_config/connector.h",
Craig Tiller3bc8ebd2015-06-24 15:41:15 -0700418 "src/core/client_config/lb_policies/pick_first.h",
Craig Tilleraf691802015-06-23 14:57:07 -0700419 "src/core/client_config/lb_policy.h",
420 "src/core/client_config/resolver.h",
Craig Tiller7df28a72015-06-24 09:23:52 -0700421 "src/core/client_config/resolver_factory.h",
Craig Tiller3bc8ebd2015-06-24 15:41:15 -0700422 "src/core/client_config/resolver_registry.h",
423 "src/core/client_config/resolvers/dns_resolver.h",
Craig Tilleracf0f072015-06-29 08:24:16 -0700424 "src/core/client_config/resolvers/unix_resolver_posix.h",
Craig Tilleraf691802015-06-23 14:57:07 -0700425 "src/core/client_config/subchannel.h",
426 "src/core/client_config/subchannel_factory.h",
Craig Tiller3bc8ebd2015-06-24 15:41:15 -0700427 "src/core/client_config/uri_parser.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700428 "src/core/compression/message_compress.h",
429 "src/core/debug/trace.h",
430 "src/core/iomgr/alarm.h",
431 "src/core/iomgr/alarm_heap.h",
432 "src/core/iomgr/alarm_internal.h",
433 "src/core/iomgr/endpoint.h",
434 "src/core/iomgr/endpoint_pair.h",
435 "src/core/iomgr/fd_posix.h",
436 "src/core/iomgr/iocp_windows.h",
437 "src/core/iomgr/iomgr.h",
438 "src/core/iomgr/iomgr_internal.h",
439 "src/core/iomgr/iomgr_posix.h",
440 "src/core/iomgr/pollset.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700441 "src/core/iomgr/pollset_kick_posix.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700442 "src/core/iomgr/pollset_posix.h",
Jorge Canizalesfe8ad732015-06-20 19:53:59 -0700443 "src/core/iomgr/pollset_set.h",
Craig Tillerb7cf08f2015-05-07 07:58:30 -0700444 "src/core/iomgr/pollset_set_posix.h",
445 "src/core/iomgr/pollset_set_windows.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700446 "src/core/iomgr/pollset_windows.h",
447 "src/core/iomgr/resolve_address.h",
448 "src/core/iomgr/sockaddr.h",
449 "src/core/iomgr/sockaddr_posix.h",
450 "src/core/iomgr/sockaddr_utils.h",
451 "src/core/iomgr/sockaddr_win32.h",
452 "src/core/iomgr/socket_utils_posix.h",
453 "src/core/iomgr/socket_windows.h",
454 "src/core/iomgr/tcp_client.h",
455 "src/core/iomgr/tcp_posix.h",
456 "src/core/iomgr/tcp_server.h",
457 "src/core/iomgr/tcp_windows.h",
458 "src/core/iomgr/time_averaged_stats.h",
459 "src/core/iomgr/wakeup_fd_pipe.h",
460 "src/core/iomgr/wakeup_fd_posix.h",
461 "src/core/json/json.h",
462 "src/core/json/json_common.h",
463 "src/core/json/json_reader.h",
464 "src/core/json/json_writer.h",
Vijay Pai6dfa7e62015-04-13 10:41:40 -0700465 "src/core/profiling/timers.h",
Vijay Pai9cccb082015-04-13 13:04:06 -0700466 "src/core/profiling/timers_preciseclock.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700467 "src/core/surface/byte_buffer_queue.h",
468 "src/core/surface/call.h",
469 "src/core/surface/channel.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700470 "src/core/surface/completion_queue.h",
471 "src/core/surface/event_string.h",
472 "src/core/surface/init.h",
473 "src/core/surface/server.h",
474 "src/core/surface/surface_trace.h",
475 "src/core/transport/chttp2/alpn.h",
476 "src/core/transport/chttp2/bin_encoder.h",
477 "src/core/transport/chttp2/frame.h",
478 "src/core/transport/chttp2/frame_data.h",
479 "src/core/transport/chttp2/frame_goaway.h",
480 "src/core/transport/chttp2/frame_ping.h",
481 "src/core/transport/chttp2/frame_rst_stream.h",
482 "src/core/transport/chttp2/frame_settings.h",
483 "src/core/transport/chttp2/frame_window_update.h",
484 "src/core/transport/chttp2/hpack_parser.h",
485 "src/core/transport/chttp2/hpack_table.h",
486 "src/core/transport/chttp2/http2_errors.h",
487 "src/core/transport/chttp2/huffsyms.h",
Craig Tiller5dc3b302015-06-15 16:06:50 -0700488 "src/core/transport/chttp2/incoming_metadata.h",
Craig Tiller41527062015-06-12 07:51:05 -0700489 "src/core/transport/chttp2/internal.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700490 "src/core/transport/chttp2/status_conversion.h",
491 "src/core/transport/chttp2/stream_encoder.h",
492 "src/core/transport/chttp2/stream_map.h",
493 "src/core/transport/chttp2/timeout_encoding.h",
494 "src/core/transport/chttp2/varint.h",
495 "src/core/transport/chttp2_transport.h",
Craig Tiller08a1cf82015-06-29 09:37:52 -0700496 "src/core/transport/connectivity_state.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700497 "src/core/transport/metadata.h",
498 "src/core/transport/stream_op.h",
499 "src/core/transport/transport.h",
500 "src/core/transport/transport_impl.h",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700501 "src/core/census/context.h",
Alistair Veitchb46f3f42015-07-20 13:34:10 -0700502 "src/core/census/rpc_stat_id.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700503 "src/core/surface/init_unsecure.c",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700504 "src/core/census/grpc_context.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700505 "src/core/channel/channel_args.c",
506 "src/core/channel/channel_stack.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700507 "src/core/channel/client_channel.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700508 "src/core/channel/connected_channel.c",
509 "src/core/channel/http_client_filter.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700510 "src/core/channel/http_server_filter.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700511 "src/core/channel/noop_filter.c",
Craig Tilleraf691802015-06-23 14:57:07 -0700512 "src/core/client_config/client_config.c",
Craig Tiller91624662015-06-25 16:31:02 -0700513 "src/core/client_config/connector.c",
Craig Tiller3bc8ebd2015-06-24 15:41:15 -0700514 "src/core/client_config/lb_policies/pick_first.c",
Craig Tilleraf691802015-06-23 14:57:07 -0700515 "src/core/client_config/lb_policy.c",
516 "src/core/client_config/resolver.c",
Craig Tiller7df28a72015-06-24 09:23:52 -0700517 "src/core/client_config/resolver_factory.c",
Craig Tiller3bc8ebd2015-06-24 15:41:15 -0700518 "src/core/client_config/resolver_registry.c",
519 "src/core/client_config/resolvers/dns_resolver.c",
Craig Tilleracf0f072015-06-29 08:24:16 -0700520 "src/core/client_config/resolvers/unix_resolver_posix.c",
Craig Tilleraf691802015-06-23 14:57:07 -0700521 "src/core/client_config/subchannel.c",
522 "src/core/client_config/subchannel_factory.c",
Craig Tiller3bc8ebd2015-06-24 15:41:15 -0700523 "src/core/client_config/uri_parser.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700524 "src/core/compression/algorithm.c",
525 "src/core/compression/message_compress.c",
526 "src/core/debug/trace.c",
527 "src/core/iomgr/alarm.c",
528 "src/core/iomgr/alarm_heap.c",
529 "src/core/iomgr/endpoint.c",
530 "src/core/iomgr/endpoint_pair_posix.c",
Craig Tillerd180e032015-04-13 10:10:07 -0700531 "src/core/iomgr/endpoint_pair_windows.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700532 "src/core/iomgr/fd_posix.c",
533 "src/core/iomgr/iocp_windows.c",
534 "src/core/iomgr/iomgr.c",
535 "src/core/iomgr/iomgr_posix.c",
536 "src/core/iomgr/iomgr_windows.c",
Craig Tiller0c1d2782015-05-28 17:06:05 -0700537 "src/core/iomgr/pollset_kick_posix.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700538 "src/core/iomgr/pollset_multipoller_with_epoll.c",
539 "src/core/iomgr/pollset_multipoller_with_poll_posix.c",
540 "src/core/iomgr/pollset_posix.c",
Craig Tillerb7cf08f2015-05-07 07:58:30 -0700541 "src/core/iomgr/pollset_set_posix.c",
542 "src/core/iomgr/pollset_set_windows.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700543 "src/core/iomgr/pollset_windows.c",
544 "src/core/iomgr/resolve_address_posix.c",
545 "src/core/iomgr/resolve_address_windows.c",
546 "src/core/iomgr/sockaddr_utils.c",
547 "src/core/iomgr/socket_utils_common_posix.c",
548 "src/core/iomgr/socket_utils_linux.c",
549 "src/core/iomgr/socket_utils_posix.c",
550 "src/core/iomgr/socket_windows.c",
551 "src/core/iomgr/tcp_client_posix.c",
552 "src/core/iomgr/tcp_client_windows.c",
553 "src/core/iomgr/tcp_posix.c",
554 "src/core/iomgr/tcp_server_posix.c",
555 "src/core/iomgr/tcp_server_windows.c",
556 "src/core/iomgr/tcp_windows.c",
557 "src/core/iomgr/time_averaged_stats.c",
558 "src/core/iomgr/wakeup_fd_eventfd.c",
559 "src/core/iomgr/wakeup_fd_nospecial.c",
560 "src/core/iomgr/wakeup_fd_pipe.c",
561 "src/core/iomgr/wakeup_fd_posix.c",
562 "src/core/json/json.c",
563 "src/core/json/json_reader.c",
564 "src/core/json/json_string.c",
565 "src/core/json/json_writer.c",
David Garcia Quintas8954e902015-04-29 09:46:33 -0700566 "src/core/profiling/basic_timers.c",
567 "src/core/profiling/stap_timers.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700568 "src/core/surface/byte_buffer.c",
569 "src/core/surface/byte_buffer_queue.c",
570 "src/core/surface/byte_buffer_reader.c",
571 "src/core/surface/call.c",
572 "src/core/surface/call_details.c",
573 "src/core/surface/call_log_batch.c",
574 "src/core/surface/channel.c",
575 "src/core/surface/channel_create.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700576 "src/core/surface/completion_queue.c",
577 "src/core/surface/event_string.c",
578 "src/core/surface/init.c",
579 "src/core/surface/lame_client.c",
580 "src/core/surface/metadata_array.c",
581 "src/core/surface/server.c",
582 "src/core/surface/server_chttp2.c",
583 "src/core/surface/server_create.c",
584 "src/core/surface/surface_trace.c",
Craig Tiller2e622bc2015-07-10 07:46:03 -0700585 "src/core/surface/version.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700586 "src/core/transport/chttp2/alpn.c",
587 "src/core/transport/chttp2/bin_encoder.c",
588 "src/core/transport/chttp2/frame_data.c",
589 "src/core/transport/chttp2/frame_goaway.c",
590 "src/core/transport/chttp2/frame_ping.c",
591 "src/core/transport/chttp2/frame_rst_stream.c",
592 "src/core/transport/chttp2/frame_settings.c",
593 "src/core/transport/chttp2/frame_window_update.c",
594 "src/core/transport/chttp2/hpack_parser.c",
595 "src/core/transport/chttp2/hpack_table.c",
596 "src/core/transport/chttp2/huffsyms.c",
Craig Tiller5dc3b302015-06-15 16:06:50 -0700597 "src/core/transport/chttp2/incoming_metadata.c",
Craig Tillerd8df50c2015-06-12 07:53:56 -0700598 "src/core/transport/chttp2/parsing.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700599 "src/core/transport/chttp2/status_conversion.c",
600 "src/core/transport/chttp2/stream_encoder.c",
Craig Tiller6459db42015-06-15 17:11:45 -0700601 "src/core/transport/chttp2/stream_lists.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700602 "src/core/transport/chttp2/stream_map.c",
603 "src/core/transport/chttp2/timeout_encoding.c",
604 "src/core/transport/chttp2/varint.c",
Craig Tillerd8df50c2015-06-12 07:53:56 -0700605 "src/core/transport/chttp2/writing.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700606 "src/core/transport/chttp2_transport.c",
Craig Tiller08a1cf82015-06-29 09:37:52 -0700607 "src/core/transport/connectivity_state.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700608 "src/core/transport/metadata.c",
609 "src/core/transport/stream_op.c",
610 "src/core/transport/transport.c",
Craig Tiller83f88d92015-04-21 16:02:05 -0700611 "src/core/transport/transport_op_string.c",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700612 "src/core/census/context.c",
613 "src/core/census/initialize.c",
Alistair Veitch635899d2015-07-17 16:02:24 -0700614 "src/core/census/record_stat.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700615 ],
616 hdrs = [
617 "include/grpc/byte_buffer.h",
618 "include/grpc/byte_buffer_reader.h",
David Garcia Quintas59f905d2015-06-08 16:31:19 -0700619 "include/grpc/compression.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700620 "include/grpc/grpc.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700621 "include/grpc/status.h",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700622 "include/grpc/census.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700623 ],
624 includes = [
625 "include",
626 ".",
627 ],
628 deps = [
629 ":gpr",
630 ],
631)
632
633
634cc_library(
635 name = "grpc++",
636 srcs = [
637 "src/cpp/client/secure_credentials.h",
yang-g3abe60b2015-07-06 14:00:36 -0700638 "src/cpp/common/secure_auth_context.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700639 "src/cpp/server/secure_server_credentials.h",
640 "src/cpp/client/channel.h",
yang-g3abe60b2015-07-06 14:00:36 -0700641 "src/cpp/common/create_auth_context.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700642 "src/cpp/server/thread_pool.h",
Craig Tillerf75fc122015-06-25 06:58:00 -0700643 "src/cpp/client/secure_channel_arguments.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700644 "src/cpp/client/secure_credentials.cc",
yang-g3abe60b2015-07-06 14:00:36 -0700645 "src/cpp/common/secure_auth_context.cc",
646 "src/cpp/common/secure_create_auth_context.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700647 "src/cpp/server/secure_server_credentials.cc",
648 "src/cpp/client/channel.cc",
649 "src/cpp/client/channel_arguments.cc",
650 "src/cpp/client/client_context.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700651 "src/cpp/client/create_channel.cc",
652 "src/cpp/client/credentials.cc",
653 "src/cpp/client/generic_stub.cc",
654 "src/cpp/client/insecure_credentials.cc",
655 "src/cpp/client/internal_stub.cc",
656 "src/cpp/common/call.cc",
657 "src/cpp/common/completion_queue.cc",
658 "src/cpp/common/rpc_method.cc",
659 "src/cpp/proto/proto_utils.cc",
660 "src/cpp/server/async_generic_service.cc",
Yang Gao6f4fb3b2015-06-03 12:56:19 -0700661 "src/cpp/server/create_default_thread_pool.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700662 "src/cpp/server/insecure_server_credentials.cc",
663 "src/cpp/server/server.cc",
664 "src/cpp/server/server_builder.cc",
665 "src/cpp/server/server_context.cc",
666 "src/cpp/server/server_credentials.cc",
667 "src/cpp/server/thread_pool.cc",
668 "src/cpp/util/byte_buffer.cc",
669 "src/cpp/util/slice.cc",
670 "src/cpp/util/status.cc",
671 "src/cpp/util/time.cc",
672 ],
673 hdrs = [
674 "include/grpc++/async_generic_service.h",
675 "include/grpc++/async_unary_call.h",
yang-g3abe60b2015-07-06 14:00:36 -0700676 "include/grpc++/auth_context.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700677 "include/grpc++/byte_buffer.h",
678 "include/grpc++/channel_arguments.h",
679 "include/grpc++/channel_interface.h",
680 "include/grpc++/client_context.h",
681 "include/grpc++/completion_queue.h",
682 "include/grpc++/config.h",
yang-gadfed032015-06-23 13:01:22 -0700683 "include/grpc++/config_protobuf.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700684 "include/grpc++/create_channel.h",
685 "include/grpc++/credentials.h",
686 "include/grpc++/generic_stub.h",
687 "include/grpc++/impl/call.h",
688 "include/grpc++/impl/client_unary_call.h",
Yang Gao96de4842015-04-24 13:13:12 -0700689 "include/grpc++/impl/grpc_library.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700690 "include/grpc++/impl/internal_stub.h",
yang-gadfed032015-06-23 13:01:22 -0700691 "include/grpc++/impl/proto_utils.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700692 "include/grpc++/impl/rpc_method.h",
693 "include/grpc++/impl/rpc_service_method.h",
Craig Tiller6ef7f312015-06-05 10:15:10 -0700694 "include/grpc++/impl/serialization_traits.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700695 "include/grpc++/impl/service_type.h",
Nicolas "Pixel" Nobleb7c20352015-04-11 01:27:32 +0200696 "include/grpc++/impl/sync.h",
697 "include/grpc++/impl/sync_cxx11.h",
698 "include/grpc++/impl/sync_no_cxx11.h",
699 "include/grpc++/impl/thd.h",
700 "include/grpc++/impl/thd_cxx11.h",
701 "include/grpc++/impl/thd_no_cxx11.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700702 "include/grpc++/server.h",
703 "include/grpc++/server_builder.h",
704 "include/grpc++/server_context.h",
705 "include/grpc++/server_credentials.h",
706 "include/grpc++/slice.h",
707 "include/grpc++/status.h",
708 "include/grpc++/status_code_enum.h",
709 "include/grpc++/stream.h",
710 "include/grpc++/thread_pool_interface.h",
Nicolas "Pixel" Nobleb7c20352015-04-11 01:27:32 +0200711 "include/grpc++/time.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700712 ],
713 includes = [
714 "include",
715 ".",
716 ],
717 deps = [
718 "//external:protobuf_clib",
719 ":gpr",
720 ":grpc",
721 ],
722)
723
724
725cc_library(
726 name = "grpc++_unsecure",
727 srcs = [
728 "src/cpp/client/channel.h",
yang-g3abe60b2015-07-06 14:00:36 -0700729 "src/cpp/common/create_auth_context.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700730 "src/cpp/server/thread_pool.h",
yang-g3abe60b2015-07-06 14:00:36 -0700731 "src/cpp/common/insecure_create_auth_context.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700732 "src/cpp/client/channel.cc",
733 "src/cpp/client/channel_arguments.cc",
734 "src/cpp/client/client_context.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700735 "src/cpp/client/create_channel.cc",
736 "src/cpp/client/credentials.cc",
737 "src/cpp/client/generic_stub.cc",
738 "src/cpp/client/insecure_credentials.cc",
739 "src/cpp/client/internal_stub.cc",
740 "src/cpp/common/call.cc",
741 "src/cpp/common/completion_queue.cc",
742 "src/cpp/common/rpc_method.cc",
743 "src/cpp/proto/proto_utils.cc",
744 "src/cpp/server/async_generic_service.cc",
Yang Gao6f4fb3b2015-06-03 12:56:19 -0700745 "src/cpp/server/create_default_thread_pool.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700746 "src/cpp/server/insecure_server_credentials.cc",
747 "src/cpp/server/server.cc",
748 "src/cpp/server/server_builder.cc",
749 "src/cpp/server/server_context.cc",
750 "src/cpp/server/server_credentials.cc",
751 "src/cpp/server/thread_pool.cc",
752 "src/cpp/util/byte_buffer.cc",
753 "src/cpp/util/slice.cc",
754 "src/cpp/util/status.cc",
755 "src/cpp/util/time.cc",
756 ],
757 hdrs = [
758 "include/grpc++/async_generic_service.h",
759 "include/grpc++/async_unary_call.h",
yang-g3abe60b2015-07-06 14:00:36 -0700760 "include/grpc++/auth_context.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700761 "include/grpc++/byte_buffer.h",
762 "include/grpc++/channel_arguments.h",
763 "include/grpc++/channel_interface.h",
764 "include/grpc++/client_context.h",
765 "include/grpc++/completion_queue.h",
766 "include/grpc++/config.h",
yang-gadfed032015-06-23 13:01:22 -0700767 "include/grpc++/config_protobuf.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700768 "include/grpc++/create_channel.h",
769 "include/grpc++/credentials.h",
770 "include/grpc++/generic_stub.h",
771 "include/grpc++/impl/call.h",
772 "include/grpc++/impl/client_unary_call.h",
Yang Gao96de4842015-04-24 13:13:12 -0700773 "include/grpc++/impl/grpc_library.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700774 "include/grpc++/impl/internal_stub.h",
yang-gadfed032015-06-23 13:01:22 -0700775 "include/grpc++/impl/proto_utils.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700776 "include/grpc++/impl/rpc_method.h",
777 "include/grpc++/impl/rpc_service_method.h",
Craig Tiller6ef7f312015-06-05 10:15:10 -0700778 "include/grpc++/impl/serialization_traits.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700779 "include/grpc++/impl/service_type.h",
Nicolas "Pixel" Nobleb7c20352015-04-11 01:27:32 +0200780 "include/grpc++/impl/sync.h",
781 "include/grpc++/impl/sync_cxx11.h",
782 "include/grpc++/impl/sync_no_cxx11.h",
783 "include/grpc++/impl/thd.h",
784 "include/grpc++/impl/thd_cxx11.h",
785 "include/grpc++/impl/thd_no_cxx11.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700786 "include/grpc++/server.h",
787 "include/grpc++/server_builder.h",
788 "include/grpc++/server_context.h",
789 "include/grpc++/server_credentials.h",
790 "include/grpc++/slice.h",
791 "include/grpc++/status.h",
792 "include/grpc++/status_code_enum.h",
793 "include/grpc++/stream.h",
794 "include/grpc++/thread_pool_interface.h",
Nicolas "Pixel" Nobleb7c20352015-04-11 01:27:32 +0200795 "include/grpc++/time.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700796 ],
797 includes = [
798 "include",
799 ".",
800 ],
801 deps = [
802 "//external:protobuf_clib",
803 ":gpr",
804 ":grpc_unsecure",
805 ],
806)
807
808
809cc_library(
810 name = "grpc_plugin_support",
811 srcs = [
Craig Tillerf75fc122015-06-25 06:58:00 -0700812 "include/grpc++/config.h",
813 "include/grpc++/config_protobuf.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700814 "src/compiler/config.h",
815 "src/compiler/cpp_generator.h",
816 "src/compiler/cpp_generator_helpers.h",
Jan Tattermusch2d924952015-05-06 10:23:17 -0700817 "src/compiler/csharp_generator.h",
818 "src/compiler/csharp_generator_helpers.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700819 "src/compiler/generator_helpers.h",
820 "src/compiler/objective_c_generator.h",
821 "src/compiler/objective_c_generator_helpers.h",
822 "src/compiler/python_generator.h",
823 "src/compiler/ruby_generator.h",
824 "src/compiler/ruby_generator_helpers-inl.h",
825 "src/compiler/ruby_generator_map-inl.h",
826 "src/compiler/ruby_generator_string-inl.h",
827 "src/compiler/cpp_generator.cc",
Jan Tattermusch2d924952015-05-06 10:23:17 -0700828 "src/compiler/csharp_generator.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700829 "src/compiler/objective_c_generator.cc",
830 "src/compiler/python_generator.cc",
831 "src/compiler/ruby_generator.cc",
832 ],
833 hdrs = [
834 ],
835 includes = [
836 "include",
837 ".",
838 ],
839 deps = [
840 "//external:protobuf_compiler",
841 ],
842)
843
844
845cc_library(
846 name = "grpc_csharp_ext",
847 srcs = [
848 "src/csharp/ext/grpc_csharp_ext.c",
849 ],
850 hdrs = [
851 ],
852 includes = [
853 "include",
854 ".",
855 ],
856 deps = [
857 ":gpr",
858 ":grpc",
859 ],
860)
861
862
863
Jorge Canizales140bca82015-06-20 09:47:00 -0700864objc_library(
865 name = "gpr_objc",
866 srcs = [
867 "src/core/support/alloc.c",
868 "src/core/support/cancellable.c",
869 "src/core/support/cmdline.c",
870 "src/core/support/cpu_iphone.c",
871 "src/core/support/cpu_linux.c",
872 "src/core/support/cpu_posix.c",
873 "src/core/support/cpu_windows.c",
874 "src/core/support/env_linux.c",
875 "src/core/support/env_posix.c",
876 "src/core/support/env_win32.c",
877 "src/core/support/file.c",
878 "src/core/support/file_posix.c",
879 "src/core/support/file_win32.c",
880 "src/core/support/histogram.c",
881 "src/core/support/host_port.c",
882 "src/core/support/log.c",
883 "src/core/support/log_android.c",
884 "src/core/support/log_linux.c",
885 "src/core/support/log_posix.c",
886 "src/core/support/log_win32.c",
887 "src/core/support/murmur_hash.c",
888 "src/core/support/slice.c",
889 "src/core/support/slice_buffer.c",
890 "src/core/support/string.c",
891 "src/core/support/string_posix.c",
892 "src/core/support/string_win32.c",
893 "src/core/support/subprocess_posix.c",
894 "src/core/support/sync.c",
895 "src/core/support/sync_posix.c",
896 "src/core/support/sync_win32.c",
897 "src/core/support/thd.c",
898 "src/core/support/thd_posix.c",
899 "src/core/support/thd_win32.c",
900 "src/core/support/time.c",
901 "src/core/support/time_posix.c",
902 "src/core/support/time_win32.c",
903 "src/core/support/tls_pthread.c",
904 ],
905 hdrs = [
906 "include/grpc/support/alloc.h",
907 "include/grpc/support/atm.h",
908 "include/grpc/support/atm_gcc_atomic.h",
909 "include/grpc/support/atm_gcc_sync.h",
910 "include/grpc/support/atm_win32.h",
911 "include/grpc/support/cancellable_platform.h",
912 "include/grpc/support/cmdline.h",
913 "include/grpc/support/cpu.h",
914 "include/grpc/support/histogram.h",
915 "include/grpc/support/host_port.h",
916 "include/grpc/support/log.h",
917 "include/grpc/support/log_win32.h",
918 "include/grpc/support/port_platform.h",
919 "include/grpc/support/slice.h",
920 "include/grpc/support/slice_buffer.h",
921 "include/grpc/support/string_util.h",
922 "include/grpc/support/subprocess.h",
923 "include/grpc/support/sync.h",
924 "include/grpc/support/sync_generic.h",
925 "include/grpc/support/sync_posix.h",
926 "include/grpc/support/sync_win32.h",
927 "include/grpc/support/thd.h",
928 "include/grpc/support/time.h",
929 "include/grpc/support/tls.h",
930 "include/grpc/support/tls_gcc.h",
931 "include/grpc/support/tls_msvc.h",
932 "include/grpc/support/tls_pthread.h",
933 "include/grpc/support/useful.h",
934 "src/core/support/env.h",
935 "src/core/support/file.h",
936 "src/core/support/murmur_hash.h",
937 "src/core/support/string.h",
938 "src/core/support/string_win32.h",
939 "src/core/support/thd_internal.h",
940 ],
941 includes = [
942 "include",
943 ".",
944 ],
945 deps = [
946 ],
947)
948
949
950objc_library(
Jorge Canizales7b1a0ca2015-06-26 21:49:42 -0700951 name = "grpc_objc",
Jorge Canizales140bca82015-06-20 09:47:00 -0700952 srcs = [
Jorge Canizales7b1a0ca2015-06-26 21:49:42 -0700953 "src/core/httpcli/format_request.c",
954 "src/core/httpcli/httpcli.c",
955 "src/core/httpcli/httpcli_security_connector.c",
956 "src/core/httpcli/parser.c",
957 "src/core/security/base64.c",
958 "src/core/security/client_auth_filter.c",
959 "src/core/security/credentials.c",
960 "src/core/security/credentials_metadata.c",
961 "src/core/security/credentials_posix.c",
962 "src/core/security/credentials_win32.c",
963 "src/core/security/google_default_credentials.c",
964 "src/core/security/json_token.c",
Julien Boeuffeca1bf2015-06-22 16:46:20 +0200965 "src/core/security/jwt_verifier.c",
Jorge Canizales7b1a0ca2015-06-26 21:49:42 -0700966 "src/core/security/secure_endpoint.c",
967 "src/core/security/secure_transport_setup.c",
968 "src/core/security/security_connector.c",
969 "src/core/security/security_context.c",
970 "src/core/security/server_auth_filter.c",
971 "src/core/security/server_secure_chttp2.c",
972 "src/core/surface/init_secure.c",
973 "src/core/surface/secure_channel_create.c",
974 "src/core/tsi/fake_transport_security.c",
975 "src/core/tsi/ssl_transport_security.c",
976 "src/core/tsi/transport_security.c",
Jorge Canizales140bca82015-06-20 09:47:00 -0700977 "src/core/census/grpc_context.c",
978 "src/core/channel/channel_args.c",
979 "src/core/channel/channel_stack.c",
Jorge Canizales140bca82015-06-20 09:47:00 -0700980 "src/core/channel/client_channel.c",
Jorge Canizales140bca82015-06-20 09:47:00 -0700981 "src/core/channel/connected_channel.c",
982 "src/core/channel/http_client_filter.c",
983 "src/core/channel/http_server_filter.c",
984 "src/core/channel/noop_filter.c",
Craig Tillerc7b5f762015-06-27 11:48:42 -0700985 "src/core/client_config/client_config.c",
986 "src/core/client_config/connector.c",
987 "src/core/client_config/lb_policies/pick_first.c",
988 "src/core/client_config/lb_policy.c",
989 "src/core/client_config/resolver.c",
990 "src/core/client_config/resolver_factory.c",
991 "src/core/client_config/resolver_registry.c",
992 "src/core/client_config/resolvers/dns_resolver.c",
Craig Tilleracf0f072015-06-29 08:24:16 -0700993 "src/core/client_config/resolvers/unix_resolver_posix.c",
Craig Tillerc7b5f762015-06-27 11:48:42 -0700994 "src/core/client_config/subchannel.c",
995 "src/core/client_config/subchannel_factory.c",
996 "src/core/client_config/uri_parser.c",
Jorge Canizales140bca82015-06-20 09:47:00 -0700997 "src/core/compression/algorithm.c",
998 "src/core/compression/message_compress.c",
999 "src/core/debug/trace.c",
1000 "src/core/iomgr/alarm.c",
1001 "src/core/iomgr/alarm_heap.c",
1002 "src/core/iomgr/endpoint.c",
1003 "src/core/iomgr/endpoint_pair_posix.c",
1004 "src/core/iomgr/endpoint_pair_windows.c",
1005 "src/core/iomgr/fd_posix.c",
1006 "src/core/iomgr/iocp_windows.c",
1007 "src/core/iomgr/iomgr.c",
1008 "src/core/iomgr/iomgr_posix.c",
1009 "src/core/iomgr/iomgr_windows.c",
1010 "src/core/iomgr/pollset_kick_posix.c",
1011 "src/core/iomgr/pollset_multipoller_with_epoll.c",
1012 "src/core/iomgr/pollset_multipoller_with_poll_posix.c",
1013 "src/core/iomgr/pollset_posix.c",
1014 "src/core/iomgr/pollset_set_posix.c",
1015 "src/core/iomgr/pollset_set_windows.c",
1016 "src/core/iomgr/pollset_windows.c",
1017 "src/core/iomgr/resolve_address_posix.c",
1018 "src/core/iomgr/resolve_address_windows.c",
1019 "src/core/iomgr/sockaddr_utils.c",
1020 "src/core/iomgr/socket_utils_common_posix.c",
1021 "src/core/iomgr/socket_utils_linux.c",
1022 "src/core/iomgr/socket_utils_posix.c",
1023 "src/core/iomgr/socket_windows.c",
1024 "src/core/iomgr/tcp_client_posix.c",
1025 "src/core/iomgr/tcp_client_windows.c",
1026 "src/core/iomgr/tcp_posix.c",
1027 "src/core/iomgr/tcp_server_posix.c",
1028 "src/core/iomgr/tcp_server_windows.c",
1029 "src/core/iomgr/tcp_windows.c",
1030 "src/core/iomgr/time_averaged_stats.c",
1031 "src/core/iomgr/wakeup_fd_eventfd.c",
1032 "src/core/iomgr/wakeup_fd_nospecial.c",
1033 "src/core/iomgr/wakeup_fd_pipe.c",
1034 "src/core/iomgr/wakeup_fd_posix.c",
1035 "src/core/json/json.c",
1036 "src/core/json/json_reader.c",
1037 "src/core/json/json_string.c",
1038 "src/core/json/json_writer.c",
1039 "src/core/profiling/basic_timers.c",
1040 "src/core/profiling/stap_timers.c",
1041 "src/core/surface/byte_buffer.c",
1042 "src/core/surface/byte_buffer_queue.c",
1043 "src/core/surface/byte_buffer_reader.c",
1044 "src/core/surface/call.c",
1045 "src/core/surface/call_details.c",
1046 "src/core/surface/call_log_batch.c",
1047 "src/core/surface/channel.c",
1048 "src/core/surface/channel_create.c",
Jorge Canizales140bca82015-06-20 09:47:00 -07001049 "src/core/surface/completion_queue.c",
1050 "src/core/surface/event_string.c",
1051 "src/core/surface/init.c",
1052 "src/core/surface/lame_client.c",
1053 "src/core/surface/metadata_array.c",
1054 "src/core/surface/server.c",
1055 "src/core/surface/server_chttp2.c",
1056 "src/core/surface/server_create.c",
1057 "src/core/surface/surface_trace.c",
Craig Tiller2e622bc2015-07-10 07:46:03 -07001058 "src/core/surface/version.c",
Jorge Canizales140bca82015-06-20 09:47:00 -07001059 "src/core/transport/chttp2/alpn.c",
1060 "src/core/transport/chttp2/bin_encoder.c",
1061 "src/core/transport/chttp2/frame_data.c",
1062 "src/core/transport/chttp2/frame_goaway.c",
1063 "src/core/transport/chttp2/frame_ping.c",
1064 "src/core/transport/chttp2/frame_rst_stream.c",
1065 "src/core/transport/chttp2/frame_settings.c",
1066 "src/core/transport/chttp2/frame_window_update.c",
1067 "src/core/transport/chttp2/hpack_parser.c",
1068 "src/core/transport/chttp2/hpack_table.c",
1069 "src/core/transport/chttp2/huffsyms.c",
Nicolas "Pixel" Nobled35f93d2015-06-27 00:57:29 +02001070 "src/core/transport/chttp2/incoming_metadata.c",
1071 "src/core/transport/chttp2/parsing.c",
Jorge Canizales140bca82015-06-20 09:47:00 -07001072 "src/core/transport/chttp2/status_conversion.c",
1073 "src/core/transport/chttp2/stream_encoder.c",
Nicolas "Pixel" Nobled35f93d2015-06-27 00:57:29 +02001074 "src/core/transport/chttp2/stream_lists.c",
Jorge Canizales140bca82015-06-20 09:47:00 -07001075 "src/core/transport/chttp2/stream_map.c",
1076 "src/core/transport/chttp2/timeout_encoding.c",
1077 "src/core/transport/chttp2/varint.c",
Nicolas "Pixel" Nobled35f93d2015-06-27 00:57:29 +02001078 "src/core/transport/chttp2/writing.c",
Jorge Canizales140bca82015-06-20 09:47:00 -07001079 "src/core/transport/chttp2_transport.c",
Craig Tiller08a1cf82015-06-29 09:37:52 -07001080 "src/core/transport/connectivity_state.c",
Jorge Canizales140bca82015-06-20 09:47:00 -07001081 "src/core/transport/metadata.c",
1082 "src/core/transport/stream_op.c",
1083 "src/core/transport/transport.c",
1084 "src/core/transport/transport_op_string.c",
1085 "src/core/census/context.c",
1086 "src/core/census/initialize.c",
Alistair Veitch635899d2015-07-17 16:02:24 -07001087 "src/core/census/record_stat.c",
Jorge Canizales140bca82015-06-20 09:47:00 -07001088 ],
1089 hdrs = [
Jorge Canizales7b1a0ca2015-06-26 21:49:42 -07001090 "include/grpc/grpc_security.h",
Jorge Canizales140bca82015-06-20 09:47:00 -07001091 "include/grpc/byte_buffer.h",
1092 "include/grpc/byte_buffer_reader.h",
1093 "include/grpc/compression.h",
1094 "include/grpc/grpc.h",
1095 "include/grpc/status.h",
1096 "include/grpc/census.h",
Jorge Canizales7b1a0ca2015-06-26 21:49:42 -07001097 "src/core/httpcli/format_request.h",
1098 "src/core/httpcli/httpcli.h",
1099 "src/core/httpcli/httpcli_security_connector.h",
1100 "src/core/httpcli/parser.h",
1101 "src/core/security/auth_filters.h",
1102 "src/core/security/base64.h",
1103 "src/core/security/credentials.h",
1104 "src/core/security/json_token.h",
Julien Boeuffeca1bf2015-06-22 16:46:20 +02001105 "src/core/security/jwt_verifier.h",
Jorge Canizales7b1a0ca2015-06-26 21:49:42 -07001106 "src/core/security/secure_endpoint.h",
1107 "src/core/security/secure_transport_setup.h",
1108 "src/core/security/security_connector.h",
1109 "src/core/security/security_context.h",
1110 "src/core/tsi/fake_transport_security.h",
1111 "src/core/tsi/ssl_transport_security.h",
1112 "src/core/tsi/transport_security.h",
1113 "src/core/tsi/transport_security_interface.h",
Jorge Canizales140bca82015-06-20 09:47:00 -07001114 "src/core/census/grpc_context.h",
1115 "src/core/channel/census_filter.h",
1116 "src/core/channel/channel_args.h",
1117 "src/core/channel/channel_stack.h",
Jorge Canizales140bca82015-06-20 09:47:00 -07001118 "src/core/channel/client_channel.h",
Jorge Canizales140bca82015-06-20 09:47:00 -07001119 "src/core/channel/connected_channel.h",
1120 "src/core/channel/context.h",
1121 "src/core/channel/http_client_filter.h",
1122 "src/core/channel/http_server_filter.h",
1123 "src/core/channel/noop_filter.h",
Craig Tillerc7b5f762015-06-27 11:48:42 -07001124 "src/core/client_config/client_config.h",
1125 "src/core/client_config/connector.h",
1126 "src/core/client_config/lb_policies/pick_first.h",
1127 "src/core/client_config/lb_policy.h",
1128 "src/core/client_config/resolver.h",
1129 "src/core/client_config/resolver_factory.h",
1130 "src/core/client_config/resolver_registry.h",
1131 "src/core/client_config/resolvers/dns_resolver.h",
Craig Tilleracf0f072015-06-29 08:24:16 -07001132 "src/core/client_config/resolvers/unix_resolver_posix.h",
Craig Tillerc7b5f762015-06-27 11:48:42 -07001133 "src/core/client_config/subchannel.h",
1134 "src/core/client_config/subchannel_factory.h",
1135 "src/core/client_config/uri_parser.h",
Jorge Canizales140bca82015-06-20 09:47:00 -07001136 "src/core/compression/message_compress.h",
1137 "src/core/debug/trace.h",
1138 "src/core/iomgr/alarm.h",
1139 "src/core/iomgr/alarm_heap.h",
1140 "src/core/iomgr/alarm_internal.h",
1141 "src/core/iomgr/endpoint.h",
1142 "src/core/iomgr/endpoint_pair.h",
1143 "src/core/iomgr/fd_posix.h",
1144 "src/core/iomgr/iocp_windows.h",
1145 "src/core/iomgr/iomgr.h",
1146 "src/core/iomgr/iomgr_internal.h",
1147 "src/core/iomgr/iomgr_posix.h",
1148 "src/core/iomgr/pollset.h",
1149 "src/core/iomgr/pollset_kick_posix.h",
1150 "src/core/iomgr/pollset_posix.h",
1151 "src/core/iomgr/pollset_set.h",
1152 "src/core/iomgr/pollset_set_posix.h",
1153 "src/core/iomgr/pollset_set_windows.h",
1154 "src/core/iomgr/pollset_windows.h",
1155 "src/core/iomgr/resolve_address.h",
1156 "src/core/iomgr/sockaddr.h",
1157 "src/core/iomgr/sockaddr_posix.h",
1158 "src/core/iomgr/sockaddr_utils.h",
1159 "src/core/iomgr/sockaddr_win32.h",
1160 "src/core/iomgr/socket_utils_posix.h",
1161 "src/core/iomgr/socket_windows.h",
1162 "src/core/iomgr/tcp_client.h",
1163 "src/core/iomgr/tcp_posix.h",
1164 "src/core/iomgr/tcp_server.h",
1165 "src/core/iomgr/tcp_windows.h",
1166 "src/core/iomgr/time_averaged_stats.h",
1167 "src/core/iomgr/wakeup_fd_pipe.h",
1168 "src/core/iomgr/wakeup_fd_posix.h",
1169 "src/core/json/json.h",
1170 "src/core/json/json_common.h",
1171 "src/core/json/json_reader.h",
1172 "src/core/json/json_writer.h",
1173 "src/core/profiling/timers.h",
1174 "src/core/profiling/timers_preciseclock.h",
1175 "src/core/surface/byte_buffer_queue.h",
1176 "src/core/surface/call.h",
1177 "src/core/surface/channel.h",
Jorge Canizales140bca82015-06-20 09:47:00 -07001178 "src/core/surface/completion_queue.h",
1179 "src/core/surface/event_string.h",
1180 "src/core/surface/init.h",
1181 "src/core/surface/server.h",
1182 "src/core/surface/surface_trace.h",
1183 "src/core/transport/chttp2/alpn.h",
1184 "src/core/transport/chttp2/bin_encoder.h",
1185 "src/core/transport/chttp2/frame.h",
1186 "src/core/transport/chttp2/frame_data.h",
1187 "src/core/transport/chttp2/frame_goaway.h",
1188 "src/core/transport/chttp2/frame_ping.h",
1189 "src/core/transport/chttp2/frame_rst_stream.h",
1190 "src/core/transport/chttp2/frame_settings.h",
1191 "src/core/transport/chttp2/frame_window_update.h",
1192 "src/core/transport/chttp2/hpack_parser.h",
1193 "src/core/transport/chttp2/hpack_table.h",
1194 "src/core/transport/chttp2/http2_errors.h",
1195 "src/core/transport/chttp2/huffsyms.h",
Nicolas "Pixel" Nobled35f93d2015-06-27 00:57:29 +02001196 "src/core/transport/chttp2/incoming_metadata.h",
1197 "src/core/transport/chttp2/internal.h",
Jorge Canizales140bca82015-06-20 09:47:00 -07001198 "src/core/transport/chttp2/status_conversion.h",
1199 "src/core/transport/chttp2/stream_encoder.h",
1200 "src/core/transport/chttp2/stream_map.h",
1201 "src/core/transport/chttp2/timeout_encoding.h",
1202 "src/core/transport/chttp2/varint.h",
1203 "src/core/transport/chttp2_transport.h",
Craig Tiller08a1cf82015-06-29 09:37:52 -07001204 "src/core/transport/connectivity_state.h",
Jorge Canizales140bca82015-06-20 09:47:00 -07001205 "src/core/transport/metadata.h",
1206 "src/core/transport/stream_op.h",
1207 "src/core/transport/transport.h",
1208 "src/core/transport/transport_impl.h",
1209 "src/core/census/context.h",
Alistair Veitchb46f3f42015-07-20 13:34:10 -07001210 "src/core/census/rpc_stat_id.h",
Jorge Canizales140bca82015-06-20 09:47:00 -07001211 ],
1212 includes = [
1213 "include",
1214 ".",
1215 ],
1216 deps = [
1217 ":gpr_objc",
Jorge Canizales4dc4e3d2015-06-26 22:12:02 -07001218 "//external:libssl_objc",
Jorge Canizales140bca82015-06-20 09:47:00 -07001219 ],
Jorge Canizales8c1fd042015-06-22 19:11:36 -07001220 sdk_dylibs = ["libz"],
Jorge Canizales140bca82015-06-20 09:47:00 -07001221)
1222
1223
1224
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001225cc_binary(
1226 name = "grpc_cpp_plugin",
1227 srcs = [
1228 "src/compiler/cpp_plugin.cc",
1229 ],
1230 deps = [
1231 "//external:protobuf_compiler",
1232 ":grpc_plugin_support",
1233 ],
1234)
1235
1236
1237cc_binary(
Jan Tattermusch2d924952015-05-06 10:23:17 -07001238 name = "grpc_csharp_plugin",
1239 srcs = [
1240 "src/compiler/csharp_plugin.cc",
1241 ],
1242 deps = [
1243 "//external:protobuf_compiler",
1244 ":grpc_plugin_support",
1245 ],
1246)
1247
1248
1249cc_binary(
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001250 name = "grpc_objective_c_plugin",
1251 srcs = [
1252 "src/compiler/objective_c_plugin.cc",
1253 ],
1254 deps = [
1255 "//external:protobuf_compiler",
1256 ":grpc_plugin_support",
1257 ],
1258)
1259
1260
1261cc_binary(
1262 name = "grpc_python_plugin",
1263 srcs = [
1264 "src/compiler/python_plugin.cc",
1265 ],
1266 deps = [
1267 "//external:protobuf_compiler",
1268 ":grpc_plugin_support",
1269 ],
1270)
1271
1272
1273cc_binary(
1274 name = "grpc_ruby_plugin",
1275 srcs = [
1276 "src/compiler/ruby_plugin.cc",
1277 ],
1278 deps = [
1279 "//external:protobuf_compiler",
1280 ":grpc_plugin_support",
1281 ],
1282)
1283
1284
1285
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +02001286
1287
Jorge Canizales140bca82015-06-20 09:47:00 -07001288
Jorge Canizales91e67a22015-06-24 13:50:04 -07001289
1290
Jorge Canizales44dc4232015-06-19 16:30:31 -07001291objc_path = "src/objective-c"
Jorge Canizales140bca82015-06-20 09:47:00 -07001292
Jorge Canizales44dc4232015-06-19 16:30:31 -07001293rx_library_path = objc_path + "/RxLibrary"
1294
1295objc_library(
Jorge Canizalesbba80762015-06-26 23:25:48 -07001296 name = "rx_library",
1297 hdrs = glob([
1298 rx_library_path + "/*.h",
1299 rx_library_path + "/transformations/*.h",
1300 ]),
1301 srcs = glob([
1302 rx_library_path + "/*.m",
1303 rx_library_path + "/transformations/*.m",
1304 ]),
1305 includes = [objc_path],
1306 deps = [
1307 ":rx_library_private",
1308 ],
Jorge Canizales44dc4232015-06-19 16:30:31 -07001309)
1310
1311objc_library(
Jorge Canizalesbba80762015-06-26 23:25:48 -07001312 name = "rx_library_private",
1313 hdrs = glob([rx_library_path + "/private/*.h"]),
1314 srcs = glob([rx_library_path + "/private/*.m"]),
1315 visibility = ["//visibility:private"],
Jorge Canizales44dc4232015-06-19 16:30:31 -07001316)
Jorge Canizales866255e2015-06-20 18:58:38 -07001317
1318objc_client_path = objc_path + "/GRPCClient"
1319
1320objc_library(
1321 name = "grpc_client",
1322 hdrs = glob([
1323 objc_client_path + "/*.h",
1324 objc_client_path + "/private/*.h",
1325 ]),
1326 srcs = glob([
1327 objc_client_path + "/*.m",
1328 objc_client_path + "/private/*.m",
1329 ]),
1330 includes = [objc_path],
Jorge Canizalesbb54ae82015-06-28 06:50:58 -07001331 bundles = [":gRPCCertificates"],
Jorge Canizales866255e2015-06-20 18:58:38 -07001332 deps = [
1333 ":grpc_objc",
1334 ":rx_library",
1335 ],
1336)
Jorge Canizalesbb54ae82015-06-28 06:50:58 -07001337
1338objc_bundle_library(
1339 # The choice of name is signicant here, since it determines the bundle name.
1340 name = "gRPCCertificates",
1341 resources = ["etc/roots.pem"],
1342)
Jorge Canizales50f19822015-06-28 23:48:30 -07001343
1344proto_objc_rpc_path = objc_path + "/ProtoRPC"
1345
1346objc_library(
1347 name = "proto_objc_rpc",
1348 hdrs = glob([
1349 proto_objc_rpc_path + "/*.h",
1350 ]),
1351 srcs = glob([
1352 proto_objc_rpc_path + "/*.m",
1353 ]),
1354 includes = [objc_path],
1355 deps = [
1356 ":grpc_client",
1357 ":rx_library",
1358 "//external:protobuf_objc",
1359 ],
1360)