blob: 201d8449c883670a0bb414a31a4aa062ad311f8a [file] [log] [blame]
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +02001# GRPC Bazel BUILD file.
2# This currently builds C and C++ code.
Nicolas "Pixel" Nobled49893d2015-04-21 04:57:45 +02003# This file has been automatically generated from a template file.
4# Please look at the templates directory instead.
murgatroid99f680af02015-06-22 11:20:24 -07005# This file can be regenerated from the template by running
6# tools/buildgen/generate_projects.sh
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +02007
8# Copyright 2015, Google Inc.
9# All rights reserved.
10#
11# Redistribution and use in source and binary forms, with or without
12# modification, are permitted provided that the following conditions are
13# met:
14#
15# * Redistributions of source code must retain the above copyright
16# notice, this list of conditions and the following disclaimer.
17# * Redistributions in binary form must reproduce the above
18# copyright notice, this list of conditions and the following disclaimer
19# in the documentation and/or other materials provided with the
20# distribution.
21# * Neither the name of Google Inc. nor the names of its
22# contributors may be used to endorse or promote products derived from
23# this software without specific prior written permission.
24#
25# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
26# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
27# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
28# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
29# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
30# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
31# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
32# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
33# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
34# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
35# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
36
37licenses(["notice"]) # 3-clause BSD
38
Ming Zhao3c0ba0c2015-04-10 12:05:22 -070039package(default_visibility = ["//visibility:public"])
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +020040
41
42
43
44cc_library(
Ming Zhao3c0ba0c2015-04-10 12:05:22 -070045 name = "gpr",
46 srcs = [
47 "src/core/support/env.h",
48 "src/core/support/file.h",
49 "src/core/support/murmur_hash.h",
50 "src/core/support/string.h",
51 "src/core/support/string_win32.h",
52 "src/core/support/thd_internal.h",
53 "src/core/support/alloc.c",
54 "src/core/support/cancellable.c",
55 "src/core/support/cmdline.c",
56 "src/core/support/cpu_iphone.c",
57 "src/core/support/cpu_linux.c",
58 "src/core/support/cpu_posix.c",
59 "src/core/support/cpu_windows.c",
60 "src/core/support/env_linux.c",
61 "src/core/support/env_posix.c",
62 "src/core/support/env_win32.c",
63 "src/core/support/file.c",
64 "src/core/support/file_posix.c",
65 "src/core/support/file_win32.c",
66 "src/core/support/histogram.c",
67 "src/core/support/host_port.c",
68 "src/core/support/log.c",
69 "src/core/support/log_android.c",
70 "src/core/support/log_linux.c",
71 "src/core/support/log_posix.c",
72 "src/core/support/log_win32.c",
73 "src/core/support/murmur_hash.c",
74 "src/core/support/slice.c",
75 "src/core/support/slice_buffer.c",
76 "src/core/support/string.c",
77 "src/core/support/string_posix.c",
78 "src/core/support/string_win32.c",
Craig Tillerc21a8092015-05-15 10:03:40 -070079 "src/core/support/subprocess_posix.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -070080 "src/core/support/sync.c",
81 "src/core/support/sync_posix.c",
82 "src/core/support/sync_win32.c",
83 "src/core/support/thd.c",
84 "src/core/support/thd_posix.c",
85 "src/core/support/thd_win32.c",
86 "src/core/support/time.c",
87 "src/core/support/time_posix.c",
88 "src/core/support/time_win32.c",
Craig Tilleree210ab2015-05-15 10:32:28 -070089 "src/core/support/tls_pthread.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -070090 ],
91 hdrs = [
92 "include/grpc/support/alloc.h",
93 "include/grpc/support/atm.h",
94 "include/grpc/support/atm_gcc_atomic.h",
95 "include/grpc/support/atm_gcc_sync.h",
96 "include/grpc/support/atm_win32.h",
97 "include/grpc/support/cancellable_platform.h",
98 "include/grpc/support/cmdline.h",
99 "include/grpc/support/cpu.h",
100 "include/grpc/support/histogram.h",
101 "include/grpc/support/host_port.h",
102 "include/grpc/support/log.h",
103 "include/grpc/support/log_win32.h",
104 "include/grpc/support/port_platform.h",
105 "include/grpc/support/slice.h",
106 "include/grpc/support/slice_buffer.h",
Masood Malekghassemi701af602015-06-03 15:01:17 -0700107 "include/grpc/support/string_util.h",
Craig Tiller685f1e62015-05-15 11:40:59 -0700108 "include/grpc/support/subprocess.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700109 "include/grpc/support/sync.h",
110 "include/grpc/support/sync_generic.h",
111 "include/grpc/support/sync_posix.h",
112 "include/grpc/support/sync_win32.h",
113 "include/grpc/support/thd.h",
114 "include/grpc/support/time.h",
Yang Gaob0b518e2015-04-13 14:53:25 -0700115 "include/grpc/support/tls.h",
116 "include/grpc/support/tls_gcc.h",
117 "include/grpc/support/tls_msvc.h",
118 "include/grpc/support/tls_pthread.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700119 "include/grpc/support/useful.h",
120 ],
121 includes = [
122 "include",
123 ".",
124 ],
125 deps = [
126 ],
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +0200127)
128
129
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +0200130cc_library(
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700131 name = "grpc",
132 srcs = [
133 "src/core/httpcli/format_request.h",
134 "src/core/httpcli/httpcli.h",
Julien Boeuf7d1d9ca2015-04-17 14:38:48 -0700135 "src/core/httpcli/httpcli_security_connector.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700136 "src/core/httpcli/parser.h",
Julien Boeufc6f8d0a2015-05-11 22:40:02 -0700137 "src/core/security/auth_filters.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700138 "src/core/security/base64.h",
139 "src/core/security/credentials.h",
140 "src/core/security/json_token.h",
141 "src/core/security/secure_endpoint.h",
142 "src/core/security/secure_transport_setup.h",
Julien Boeuf7d1d9ca2015-04-17 14:38:48 -0700143 "src/core/security/security_connector.h",
Julien Boeufd7f768b2015-05-08 16:37:16 -0700144 "src/core/security/security_context.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700145 "src/core/tsi/fake_transport_security.h",
146 "src/core/tsi/ssl_transport_security.h",
147 "src/core/tsi/transport_security.h",
148 "src/core/tsi/transport_security_interface.h",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700149 "src/core/census/grpc_context.h",
murgatroid997da8b1a2015-06-17 12:37:34 -0700150 "src/core/channel/census_filter.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700151 "src/core/channel/channel_args.h",
152 "src/core/channel/channel_stack.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700153 "src/core/channel/client_channel.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700154 "src/core/channel/connected_channel.h",
Craig Tillerc7b5f762015-06-27 11:48:42 -0700155 "src/core/channel/connectivity_state.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 Tilleraf691802015-06-23 14:57:07 -0700168 "src/core/client_config/subchannel.h",
169 "src/core/client_config/subchannel_factory.h",
Craig Tiller3bc8ebd2015-06-24 15:41:15 -0700170 "src/core/client_config/uri_parser.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700171 "src/core/compression/message_compress.h",
172 "src/core/debug/trace.h",
173 "src/core/iomgr/alarm.h",
174 "src/core/iomgr/alarm_heap.h",
175 "src/core/iomgr/alarm_internal.h",
176 "src/core/iomgr/endpoint.h",
177 "src/core/iomgr/endpoint_pair.h",
178 "src/core/iomgr/fd_posix.h",
179 "src/core/iomgr/iocp_windows.h",
180 "src/core/iomgr/iomgr.h",
181 "src/core/iomgr/iomgr_internal.h",
182 "src/core/iomgr/iomgr_posix.h",
183 "src/core/iomgr/pollset.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700184 "src/core/iomgr/pollset_kick_posix.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700185 "src/core/iomgr/pollset_posix.h",
Jorge Canizalesfe8ad732015-06-20 19:53:59 -0700186 "src/core/iomgr/pollset_set.h",
Craig Tillerb7cf08f2015-05-07 07:58:30 -0700187 "src/core/iomgr/pollset_set_posix.h",
188 "src/core/iomgr/pollset_set_windows.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700189 "src/core/iomgr/pollset_windows.h",
190 "src/core/iomgr/resolve_address.h",
191 "src/core/iomgr/sockaddr.h",
192 "src/core/iomgr/sockaddr_posix.h",
193 "src/core/iomgr/sockaddr_utils.h",
194 "src/core/iomgr/sockaddr_win32.h",
195 "src/core/iomgr/socket_utils_posix.h",
196 "src/core/iomgr/socket_windows.h",
197 "src/core/iomgr/tcp_client.h",
198 "src/core/iomgr/tcp_posix.h",
199 "src/core/iomgr/tcp_server.h",
200 "src/core/iomgr/tcp_windows.h",
201 "src/core/iomgr/time_averaged_stats.h",
202 "src/core/iomgr/wakeup_fd_pipe.h",
203 "src/core/iomgr/wakeup_fd_posix.h",
204 "src/core/json/json.h",
205 "src/core/json/json_common.h",
206 "src/core/json/json_reader.h",
207 "src/core/json/json_writer.h",
Vijay Pai6dfa7e62015-04-13 10:41:40 -0700208 "src/core/profiling/timers.h",
Vijay Pai9cccb082015-04-13 13:04:06 -0700209 "src/core/profiling/timers_preciseclock.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700210 "src/core/surface/byte_buffer_queue.h",
211 "src/core/surface/call.h",
212 "src/core/surface/channel.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700213 "src/core/surface/completion_queue.h",
214 "src/core/surface/event_string.h",
215 "src/core/surface/init.h",
216 "src/core/surface/server.h",
217 "src/core/surface/surface_trace.h",
218 "src/core/transport/chttp2/alpn.h",
219 "src/core/transport/chttp2/bin_encoder.h",
220 "src/core/transport/chttp2/frame.h",
221 "src/core/transport/chttp2/frame_data.h",
222 "src/core/transport/chttp2/frame_goaway.h",
223 "src/core/transport/chttp2/frame_ping.h",
224 "src/core/transport/chttp2/frame_rst_stream.h",
225 "src/core/transport/chttp2/frame_settings.h",
226 "src/core/transport/chttp2/frame_window_update.h",
227 "src/core/transport/chttp2/hpack_parser.h",
228 "src/core/transport/chttp2/hpack_table.h",
229 "src/core/transport/chttp2/http2_errors.h",
230 "src/core/transport/chttp2/huffsyms.h",
Craig Tiller5dc3b302015-06-15 16:06:50 -0700231 "src/core/transport/chttp2/incoming_metadata.h",
Craig Tiller41527062015-06-12 07:51:05 -0700232 "src/core/transport/chttp2/internal.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700233 "src/core/transport/chttp2/status_conversion.h",
234 "src/core/transport/chttp2/stream_encoder.h",
235 "src/core/transport/chttp2/stream_map.h",
236 "src/core/transport/chttp2/timeout_encoding.h",
237 "src/core/transport/chttp2/varint.h",
238 "src/core/transport/chttp2_transport.h",
239 "src/core/transport/metadata.h",
240 "src/core/transport/stream_op.h",
241 "src/core/transport/transport.h",
242 "src/core/transport/transport_impl.h",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700243 "src/core/census/context.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700244 "src/core/httpcli/format_request.c",
245 "src/core/httpcli/httpcli.c",
Julien Boeuf7d1d9ca2015-04-17 14:38:48 -0700246 "src/core/httpcli/httpcli_security_connector.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700247 "src/core/httpcli/parser.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700248 "src/core/security/base64.c",
Julien Boeufc6f8d0a2015-05-11 22:40:02 -0700249 "src/core/security/client_auth_filter.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700250 "src/core/security/credentials.c",
Julien Boeuf75c9b6f2015-05-29 13:12:12 -0700251 "src/core/security/credentials_metadata.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700252 "src/core/security/credentials_posix.c",
253 "src/core/security/credentials_win32.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700254 "src/core/security/google_default_credentials.c",
255 "src/core/security/json_token.c",
256 "src/core/security/secure_endpoint.c",
257 "src/core/security/secure_transport_setup.c",
Julien Boeuf7d1d9ca2015-04-17 14:38:48 -0700258 "src/core/security/security_connector.c",
Julien Boeufd7f768b2015-05-08 16:37:16 -0700259 "src/core/security/security_context.c",
Julien Boeufc6f8d0a2015-05-11 22:40:02 -0700260 "src/core/security/server_auth_filter.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700261 "src/core/security/server_secure_chttp2.c",
262 "src/core/surface/init_secure.c",
263 "src/core/surface/secure_channel_create.c",
264 "src/core/tsi/fake_transport_security.c",
265 "src/core/tsi/ssl_transport_security.c",
266 "src/core/tsi/transport_security.c",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700267 "src/core/census/grpc_context.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700268 "src/core/channel/channel_args.c",
269 "src/core/channel/channel_stack.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700270 "src/core/channel/client_channel.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700271 "src/core/channel/connected_channel.c",
Craig Tillerc7b5f762015-06-27 11:48:42 -0700272 "src/core/channel/connectivity_state.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700273 "src/core/channel/http_client_filter.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700274 "src/core/channel/http_server_filter.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700275 "src/core/channel/noop_filter.c",
Craig Tilleraf691802015-06-23 14:57:07 -0700276 "src/core/client_config/client_config.c",
Craig Tiller91624662015-06-25 16:31:02 -0700277 "src/core/client_config/connector.c",
Craig Tiller3bc8ebd2015-06-24 15:41:15 -0700278 "src/core/client_config/lb_policies/pick_first.c",
Craig Tilleraf691802015-06-23 14:57:07 -0700279 "src/core/client_config/lb_policy.c",
280 "src/core/client_config/resolver.c",
Craig Tiller7df28a72015-06-24 09:23:52 -0700281 "src/core/client_config/resolver_factory.c",
Craig Tiller3bc8ebd2015-06-24 15:41:15 -0700282 "src/core/client_config/resolver_registry.c",
283 "src/core/client_config/resolvers/dns_resolver.c",
Craig Tilleraf691802015-06-23 14:57:07 -0700284 "src/core/client_config/subchannel.c",
285 "src/core/client_config/subchannel_factory.c",
Craig Tiller3bc8ebd2015-06-24 15:41:15 -0700286 "src/core/client_config/uri_parser.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700287 "src/core/compression/algorithm.c",
288 "src/core/compression/message_compress.c",
289 "src/core/debug/trace.c",
290 "src/core/iomgr/alarm.c",
291 "src/core/iomgr/alarm_heap.c",
292 "src/core/iomgr/endpoint.c",
293 "src/core/iomgr/endpoint_pair_posix.c",
Craig Tillerd180e032015-04-13 10:10:07 -0700294 "src/core/iomgr/endpoint_pair_windows.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700295 "src/core/iomgr/fd_posix.c",
296 "src/core/iomgr/iocp_windows.c",
297 "src/core/iomgr/iomgr.c",
298 "src/core/iomgr/iomgr_posix.c",
299 "src/core/iomgr/iomgr_windows.c",
Craig Tiller0c1d2782015-05-28 17:06:05 -0700300 "src/core/iomgr/pollset_kick_posix.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700301 "src/core/iomgr/pollset_multipoller_with_epoll.c",
302 "src/core/iomgr/pollset_multipoller_with_poll_posix.c",
303 "src/core/iomgr/pollset_posix.c",
Craig Tillerb7cf08f2015-05-07 07:58:30 -0700304 "src/core/iomgr/pollset_set_posix.c",
305 "src/core/iomgr/pollset_set_windows.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700306 "src/core/iomgr/pollset_windows.c",
307 "src/core/iomgr/resolve_address_posix.c",
308 "src/core/iomgr/resolve_address_windows.c",
309 "src/core/iomgr/sockaddr_utils.c",
310 "src/core/iomgr/socket_utils_common_posix.c",
311 "src/core/iomgr/socket_utils_linux.c",
312 "src/core/iomgr/socket_utils_posix.c",
313 "src/core/iomgr/socket_windows.c",
314 "src/core/iomgr/tcp_client_posix.c",
315 "src/core/iomgr/tcp_client_windows.c",
316 "src/core/iomgr/tcp_posix.c",
317 "src/core/iomgr/tcp_server_posix.c",
318 "src/core/iomgr/tcp_server_windows.c",
319 "src/core/iomgr/tcp_windows.c",
320 "src/core/iomgr/time_averaged_stats.c",
321 "src/core/iomgr/wakeup_fd_eventfd.c",
322 "src/core/iomgr/wakeup_fd_nospecial.c",
323 "src/core/iomgr/wakeup_fd_pipe.c",
324 "src/core/iomgr/wakeup_fd_posix.c",
325 "src/core/json/json.c",
326 "src/core/json/json_reader.c",
327 "src/core/json/json_string.c",
328 "src/core/json/json_writer.c",
David Garcia Quintas8954e902015-04-29 09:46:33 -0700329 "src/core/profiling/basic_timers.c",
330 "src/core/profiling/stap_timers.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700331 "src/core/surface/byte_buffer.c",
332 "src/core/surface/byte_buffer_queue.c",
333 "src/core/surface/byte_buffer_reader.c",
334 "src/core/surface/call.c",
335 "src/core/surface/call_details.c",
336 "src/core/surface/call_log_batch.c",
337 "src/core/surface/channel.c",
338 "src/core/surface/channel_create.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700339 "src/core/surface/completion_queue.c",
340 "src/core/surface/event_string.c",
341 "src/core/surface/init.c",
342 "src/core/surface/lame_client.c",
343 "src/core/surface/metadata_array.c",
344 "src/core/surface/server.c",
345 "src/core/surface/server_chttp2.c",
346 "src/core/surface/server_create.c",
347 "src/core/surface/surface_trace.c",
348 "src/core/transport/chttp2/alpn.c",
349 "src/core/transport/chttp2/bin_encoder.c",
350 "src/core/transport/chttp2/frame_data.c",
351 "src/core/transport/chttp2/frame_goaway.c",
352 "src/core/transport/chttp2/frame_ping.c",
353 "src/core/transport/chttp2/frame_rst_stream.c",
354 "src/core/transport/chttp2/frame_settings.c",
355 "src/core/transport/chttp2/frame_window_update.c",
356 "src/core/transport/chttp2/hpack_parser.c",
357 "src/core/transport/chttp2/hpack_table.c",
358 "src/core/transport/chttp2/huffsyms.c",
Craig Tiller5dc3b302015-06-15 16:06:50 -0700359 "src/core/transport/chttp2/incoming_metadata.c",
Craig Tillerd8df50c2015-06-12 07:53:56 -0700360 "src/core/transport/chttp2/parsing.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700361 "src/core/transport/chttp2/status_conversion.c",
362 "src/core/transport/chttp2/stream_encoder.c",
Craig Tiller6459db42015-06-15 17:11:45 -0700363 "src/core/transport/chttp2/stream_lists.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700364 "src/core/transport/chttp2/stream_map.c",
365 "src/core/transport/chttp2/timeout_encoding.c",
366 "src/core/transport/chttp2/varint.c",
Craig Tillerd8df50c2015-06-12 07:53:56 -0700367 "src/core/transport/chttp2/writing.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700368 "src/core/transport/chttp2_transport.c",
369 "src/core/transport/metadata.c",
370 "src/core/transport/stream_op.c",
371 "src/core/transport/transport.c",
Craig Tiller83f88d92015-04-21 16:02:05 -0700372 "src/core/transport/transport_op_string.c",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700373 "src/core/census/context.c",
374 "src/core/census/initialize.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700375 ],
376 hdrs = [
377 "include/grpc/grpc_security.h",
378 "include/grpc/byte_buffer.h",
379 "include/grpc/byte_buffer_reader.h",
David Garcia Quintas59f905d2015-06-08 16:31:19 -0700380 "include/grpc/compression.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700381 "include/grpc/grpc.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700382 "include/grpc/status.h",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700383 "include/grpc/census.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700384 ],
385 includes = [
386 "include",
387 ".",
388 ],
389 deps = [
390 "//external:libssl",
391 ":gpr",
392 ],
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +0200393)
394
395
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700396cc_library(
397 name = "grpc_unsecure",
398 srcs = [
Alistair Veitch9686dab2015-05-26 14:26:47 -0700399 "src/core/census/grpc_context.h",
murgatroid997da8b1a2015-06-17 12:37:34 -0700400 "src/core/channel/census_filter.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700401 "src/core/channel/channel_args.h",
402 "src/core/channel/channel_stack.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700403 "src/core/channel/client_channel.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700404 "src/core/channel/connected_channel.h",
Craig Tillerc7b5f762015-06-27 11:48:42 -0700405 "src/core/channel/connectivity_state.h",
murgatroid997da8b1a2015-06-17 12:37:34 -0700406 "src/core/channel/context.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700407 "src/core/channel/http_client_filter.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700408 "src/core/channel/http_server_filter.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700409 "src/core/channel/noop_filter.h",
Craig Tilleraf691802015-06-23 14:57:07 -0700410 "src/core/client_config/client_config.h",
Craig Tiller91624662015-06-25 16:31:02 -0700411 "src/core/client_config/connector.h",
Craig Tiller3bc8ebd2015-06-24 15:41:15 -0700412 "src/core/client_config/lb_policies/pick_first.h",
Craig Tilleraf691802015-06-23 14:57:07 -0700413 "src/core/client_config/lb_policy.h",
414 "src/core/client_config/resolver.h",
Craig Tiller7df28a72015-06-24 09:23:52 -0700415 "src/core/client_config/resolver_factory.h",
Craig Tiller3bc8ebd2015-06-24 15:41:15 -0700416 "src/core/client_config/resolver_registry.h",
417 "src/core/client_config/resolvers/dns_resolver.h",
Craig Tilleraf691802015-06-23 14:57:07 -0700418 "src/core/client_config/subchannel.h",
419 "src/core/client_config/subchannel_factory.h",
Craig Tiller3bc8ebd2015-06-24 15:41:15 -0700420 "src/core/client_config/uri_parser.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700421 "src/core/compression/message_compress.h",
422 "src/core/debug/trace.h",
423 "src/core/iomgr/alarm.h",
424 "src/core/iomgr/alarm_heap.h",
425 "src/core/iomgr/alarm_internal.h",
426 "src/core/iomgr/endpoint.h",
427 "src/core/iomgr/endpoint_pair.h",
428 "src/core/iomgr/fd_posix.h",
429 "src/core/iomgr/iocp_windows.h",
430 "src/core/iomgr/iomgr.h",
431 "src/core/iomgr/iomgr_internal.h",
432 "src/core/iomgr/iomgr_posix.h",
433 "src/core/iomgr/pollset.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700434 "src/core/iomgr/pollset_kick_posix.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700435 "src/core/iomgr/pollset_posix.h",
Jorge Canizalesfe8ad732015-06-20 19:53:59 -0700436 "src/core/iomgr/pollset_set.h",
Craig Tillerb7cf08f2015-05-07 07:58:30 -0700437 "src/core/iomgr/pollset_set_posix.h",
438 "src/core/iomgr/pollset_set_windows.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700439 "src/core/iomgr/pollset_windows.h",
440 "src/core/iomgr/resolve_address.h",
441 "src/core/iomgr/sockaddr.h",
442 "src/core/iomgr/sockaddr_posix.h",
443 "src/core/iomgr/sockaddr_utils.h",
444 "src/core/iomgr/sockaddr_win32.h",
445 "src/core/iomgr/socket_utils_posix.h",
446 "src/core/iomgr/socket_windows.h",
447 "src/core/iomgr/tcp_client.h",
448 "src/core/iomgr/tcp_posix.h",
449 "src/core/iomgr/tcp_server.h",
450 "src/core/iomgr/tcp_windows.h",
451 "src/core/iomgr/time_averaged_stats.h",
452 "src/core/iomgr/wakeup_fd_pipe.h",
453 "src/core/iomgr/wakeup_fd_posix.h",
454 "src/core/json/json.h",
455 "src/core/json/json_common.h",
456 "src/core/json/json_reader.h",
457 "src/core/json/json_writer.h",
Vijay Pai6dfa7e62015-04-13 10:41:40 -0700458 "src/core/profiling/timers.h",
Vijay Pai9cccb082015-04-13 13:04:06 -0700459 "src/core/profiling/timers_preciseclock.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700460 "src/core/surface/byte_buffer_queue.h",
461 "src/core/surface/call.h",
462 "src/core/surface/channel.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700463 "src/core/surface/completion_queue.h",
464 "src/core/surface/event_string.h",
465 "src/core/surface/init.h",
466 "src/core/surface/server.h",
467 "src/core/surface/surface_trace.h",
468 "src/core/transport/chttp2/alpn.h",
469 "src/core/transport/chttp2/bin_encoder.h",
470 "src/core/transport/chttp2/frame.h",
471 "src/core/transport/chttp2/frame_data.h",
472 "src/core/transport/chttp2/frame_goaway.h",
473 "src/core/transport/chttp2/frame_ping.h",
474 "src/core/transport/chttp2/frame_rst_stream.h",
475 "src/core/transport/chttp2/frame_settings.h",
476 "src/core/transport/chttp2/frame_window_update.h",
477 "src/core/transport/chttp2/hpack_parser.h",
478 "src/core/transport/chttp2/hpack_table.h",
479 "src/core/transport/chttp2/http2_errors.h",
480 "src/core/transport/chttp2/huffsyms.h",
Craig Tiller5dc3b302015-06-15 16:06:50 -0700481 "src/core/transport/chttp2/incoming_metadata.h",
Craig Tiller41527062015-06-12 07:51:05 -0700482 "src/core/transport/chttp2/internal.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700483 "src/core/transport/chttp2/status_conversion.h",
484 "src/core/transport/chttp2/stream_encoder.h",
485 "src/core/transport/chttp2/stream_map.h",
486 "src/core/transport/chttp2/timeout_encoding.h",
487 "src/core/transport/chttp2/varint.h",
488 "src/core/transport/chttp2_transport.h",
489 "src/core/transport/metadata.h",
490 "src/core/transport/stream_op.h",
491 "src/core/transport/transport.h",
492 "src/core/transport/transport_impl.h",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700493 "src/core/census/context.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700494 "src/core/surface/init_unsecure.c",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700495 "src/core/census/grpc_context.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700496 "src/core/channel/channel_args.c",
497 "src/core/channel/channel_stack.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700498 "src/core/channel/client_channel.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700499 "src/core/channel/connected_channel.c",
Craig Tillerc7b5f762015-06-27 11:48:42 -0700500 "src/core/channel/connectivity_state.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700501 "src/core/channel/http_client_filter.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700502 "src/core/channel/http_server_filter.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700503 "src/core/channel/noop_filter.c",
Craig Tilleraf691802015-06-23 14:57:07 -0700504 "src/core/client_config/client_config.c",
Craig Tiller91624662015-06-25 16:31:02 -0700505 "src/core/client_config/connector.c",
Craig Tiller3bc8ebd2015-06-24 15:41:15 -0700506 "src/core/client_config/lb_policies/pick_first.c",
Craig Tilleraf691802015-06-23 14:57:07 -0700507 "src/core/client_config/lb_policy.c",
508 "src/core/client_config/resolver.c",
Craig Tiller7df28a72015-06-24 09:23:52 -0700509 "src/core/client_config/resolver_factory.c",
Craig Tiller3bc8ebd2015-06-24 15:41:15 -0700510 "src/core/client_config/resolver_registry.c",
511 "src/core/client_config/resolvers/dns_resolver.c",
Craig Tilleraf691802015-06-23 14:57:07 -0700512 "src/core/client_config/subchannel.c",
513 "src/core/client_config/subchannel_factory.c",
Craig Tiller3bc8ebd2015-06-24 15:41:15 -0700514 "src/core/client_config/uri_parser.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700515 "src/core/compression/algorithm.c",
516 "src/core/compression/message_compress.c",
517 "src/core/debug/trace.c",
518 "src/core/iomgr/alarm.c",
519 "src/core/iomgr/alarm_heap.c",
520 "src/core/iomgr/endpoint.c",
521 "src/core/iomgr/endpoint_pair_posix.c",
Craig Tillerd180e032015-04-13 10:10:07 -0700522 "src/core/iomgr/endpoint_pair_windows.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700523 "src/core/iomgr/fd_posix.c",
524 "src/core/iomgr/iocp_windows.c",
525 "src/core/iomgr/iomgr.c",
526 "src/core/iomgr/iomgr_posix.c",
527 "src/core/iomgr/iomgr_windows.c",
Craig Tiller0c1d2782015-05-28 17:06:05 -0700528 "src/core/iomgr/pollset_kick_posix.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700529 "src/core/iomgr/pollset_multipoller_with_epoll.c",
530 "src/core/iomgr/pollset_multipoller_with_poll_posix.c",
531 "src/core/iomgr/pollset_posix.c",
Craig Tillerb7cf08f2015-05-07 07:58:30 -0700532 "src/core/iomgr/pollset_set_posix.c",
533 "src/core/iomgr/pollset_set_windows.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700534 "src/core/iomgr/pollset_windows.c",
535 "src/core/iomgr/resolve_address_posix.c",
536 "src/core/iomgr/resolve_address_windows.c",
537 "src/core/iomgr/sockaddr_utils.c",
538 "src/core/iomgr/socket_utils_common_posix.c",
539 "src/core/iomgr/socket_utils_linux.c",
540 "src/core/iomgr/socket_utils_posix.c",
541 "src/core/iomgr/socket_windows.c",
542 "src/core/iomgr/tcp_client_posix.c",
543 "src/core/iomgr/tcp_client_windows.c",
544 "src/core/iomgr/tcp_posix.c",
545 "src/core/iomgr/tcp_server_posix.c",
546 "src/core/iomgr/tcp_server_windows.c",
547 "src/core/iomgr/tcp_windows.c",
548 "src/core/iomgr/time_averaged_stats.c",
549 "src/core/iomgr/wakeup_fd_eventfd.c",
550 "src/core/iomgr/wakeup_fd_nospecial.c",
551 "src/core/iomgr/wakeup_fd_pipe.c",
552 "src/core/iomgr/wakeup_fd_posix.c",
553 "src/core/json/json.c",
554 "src/core/json/json_reader.c",
555 "src/core/json/json_string.c",
556 "src/core/json/json_writer.c",
David Garcia Quintas8954e902015-04-29 09:46:33 -0700557 "src/core/profiling/basic_timers.c",
558 "src/core/profiling/stap_timers.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700559 "src/core/surface/byte_buffer.c",
560 "src/core/surface/byte_buffer_queue.c",
561 "src/core/surface/byte_buffer_reader.c",
562 "src/core/surface/call.c",
563 "src/core/surface/call_details.c",
564 "src/core/surface/call_log_batch.c",
565 "src/core/surface/channel.c",
566 "src/core/surface/channel_create.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700567 "src/core/surface/completion_queue.c",
568 "src/core/surface/event_string.c",
569 "src/core/surface/init.c",
570 "src/core/surface/lame_client.c",
571 "src/core/surface/metadata_array.c",
572 "src/core/surface/server.c",
573 "src/core/surface/server_chttp2.c",
574 "src/core/surface/server_create.c",
575 "src/core/surface/surface_trace.c",
576 "src/core/transport/chttp2/alpn.c",
577 "src/core/transport/chttp2/bin_encoder.c",
578 "src/core/transport/chttp2/frame_data.c",
579 "src/core/transport/chttp2/frame_goaway.c",
580 "src/core/transport/chttp2/frame_ping.c",
581 "src/core/transport/chttp2/frame_rst_stream.c",
582 "src/core/transport/chttp2/frame_settings.c",
583 "src/core/transport/chttp2/frame_window_update.c",
584 "src/core/transport/chttp2/hpack_parser.c",
585 "src/core/transport/chttp2/hpack_table.c",
586 "src/core/transport/chttp2/huffsyms.c",
Craig Tiller5dc3b302015-06-15 16:06:50 -0700587 "src/core/transport/chttp2/incoming_metadata.c",
Craig Tillerd8df50c2015-06-12 07:53:56 -0700588 "src/core/transport/chttp2/parsing.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700589 "src/core/transport/chttp2/status_conversion.c",
590 "src/core/transport/chttp2/stream_encoder.c",
Craig Tiller6459db42015-06-15 17:11:45 -0700591 "src/core/transport/chttp2/stream_lists.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700592 "src/core/transport/chttp2/stream_map.c",
593 "src/core/transport/chttp2/timeout_encoding.c",
594 "src/core/transport/chttp2/varint.c",
Craig Tillerd8df50c2015-06-12 07:53:56 -0700595 "src/core/transport/chttp2/writing.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700596 "src/core/transport/chttp2_transport.c",
597 "src/core/transport/metadata.c",
598 "src/core/transport/stream_op.c",
599 "src/core/transport/transport.c",
Craig Tiller83f88d92015-04-21 16:02:05 -0700600 "src/core/transport/transport_op_string.c",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700601 "src/core/census/context.c",
602 "src/core/census/initialize.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700603 ],
604 hdrs = [
605 "include/grpc/byte_buffer.h",
606 "include/grpc/byte_buffer_reader.h",
David Garcia Quintas59f905d2015-06-08 16:31:19 -0700607 "include/grpc/compression.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700608 "include/grpc/grpc.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700609 "include/grpc/status.h",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700610 "include/grpc/census.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700611 ],
612 includes = [
613 "include",
614 ".",
615 ],
616 deps = [
617 ":gpr",
618 ],
619)
620
621
622cc_library(
623 name = "grpc++",
624 srcs = [
625 "src/cpp/client/secure_credentials.h",
626 "src/cpp/server/secure_server_credentials.h",
627 "src/cpp/client/channel.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700628 "src/cpp/server/thread_pool.h",
Craig Tillerf75fc122015-06-25 06:58:00 -0700629 "src/cpp/client/secure_channel_arguments.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700630 "src/cpp/client/secure_credentials.cc",
631 "src/cpp/server/secure_server_credentials.cc",
632 "src/cpp/client/channel.cc",
633 "src/cpp/client/channel_arguments.cc",
634 "src/cpp/client/client_context.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700635 "src/cpp/client/create_channel.cc",
636 "src/cpp/client/credentials.cc",
637 "src/cpp/client/generic_stub.cc",
638 "src/cpp/client/insecure_credentials.cc",
639 "src/cpp/client/internal_stub.cc",
640 "src/cpp/common/call.cc",
641 "src/cpp/common/completion_queue.cc",
642 "src/cpp/common/rpc_method.cc",
643 "src/cpp/proto/proto_utils.cc",
644 "src/cpp/server/async_generic_service.cc",
Yang Gao6f4fb3b2015-06-03 12:56:19 -0700645 "src/cpp/server/create_default_thread_pool.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700646 "src/cpp/server/insecure_server_credentials.cc",
647 "src/cpp/server/server.cc",
648 "src/cpp/server/server_builder.cc",
649 "src/cpp/server/server_context.cc",
650 "src/cpp/server/server_credentials.cc",
651 "src/cpp/server/thread_pool.cc",
652 "src/cpp/util/byte_buffer.cc",
653 "src/cpp/util/slice.cc",
654 "src/cpp/util/status.cc",
655 "src/cpp/util/time.cc",
656 ],
657 hdrs = [
658 "include/grpc++/async_generic_service.h",
659 "include/grpc++/async_unary_call.h",
660 "include/grpc++/byte_buffer.h",
661 "include/grpc++/channel_arguments.h",
662 "include/grpc++/channel_interface.h",
663 "include/grpc++/client_context.h",
664 "include/grpc++/completion_queue.h",
665 "include/grpc++/config.h",
yang-gadfed032015-06-23 13:01:22 -0700666 "include/grpc++/config_protobuf.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700667 "include/grpc++/create_channel.h",
668 "include/grpc++/credentials.h",
669 "include/grpc++/generic_stub.h",
670 "include/grpc++/impl/call.h",
671 "include/grpc++/impl/client_unary_call.h",
Yang Gao96de4842015-04-24 13:13:12 -0700672 "include/grpc++/impl/grpc_library.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700673 "include/grpc++/impl/internal_stub.h",
yang-gadfed032015-06-23 13:01:22 -0700674 "include/grpc++/impl/proto_utils.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700675 "include/grpc++/impl/rpc_method.h",
676 "include/grpc++/impl/rpc_service_method.h",
Craig Tiller6ef7f312015-06-05 10:15:10 -0700677 "include/grpc++/impl/serialization_traits.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700678 "include/grpc++/impl/service_type.h",
Nicolas "Pixel" Nobleb7c20352015-04-11 01:27:32 +0200679 "include/grpc++/impl/sync.h",
680 "include/grpc++/impl/sync_cxx11.h",
681 "include/grpc++/impl/sync_no_cxx11.h",
682 "include/grpc++/impl/thd.h",
683 "include/grpc++/impl/thd_cxx11.h",
684 "include/grpc++/impl/thd_no_cxx11.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700685 "include/grpc++/server.h",
686 "include/grpc++/server_builder.h",
687 "include/grpc++/server_context.h",
688 "include/grpc++/server_credentials.h",
689 "include/grpc++/slice.h",
690 "include/grpc++/status.h",
691 "include/grpc++/status_code_enum.h",
692 "include/grpc++/stream.h",
693 "include/grpc++/thread_pool_interface.h",
Nicolas "Pixel" Nobleb7c20352015-04-11 01:27:32 +0200694 "include/grpc++/time.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700695 ],
696 includes = [
697 "include",
698 ".",
699 ],
700 deps = [
701 "//external:protobuf_clib",
702 ":gpr",
703 ":grpc",
704 ],
705)
706
707
708cc_library(
709 name = "grpc++_unsecure",
710 srcs = [
711 "src/cpp/client/channel.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700712 "src/cpp/server/thread_pool.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700713 "src/cpp/client/channel.cc",
714 "src/cpp/client/channel_arguments.cc",
715 "src/cpp/client/client_context.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700716 "src/cpp/client/create_channel.cc",
717 "src/cpp/client/credentials.cc",
718 "src/cpp/client/generic_stub.cc",
719 "src/cpp/client/insecure_credentials.cc",
720 "src/cpp/client/internal_stub.cc",
721 "src/cpp/common/call.cc",
722 "src/cpp/common/completion_queue.cc",
723 "src/cpp/common/rpc_method.cc",
724 "src/cpp/proto/proto_utils.cc",
725 "src/cpp/server/async_generic_service.cc",
Yang Gao6f4fb3b2015-06-03 12:56:19 -0700726 "src/cpp/server/create_default_thread_pool.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700727 "src/cpp/server/insecure_server_credentials.cc",
728 "src/cpp/server/server.cc",
729 "src/cpp/server/server_builder.cc",
730 "src/cpp/server/server_context.cc",
731 "src/cpp/server/server_credentials.cc",
732 "src/cpp/server/thread_pool.cc",
733 "src/cpp/util/byte_buffer.cc",
734 "src/cpp/util/slice.cc",
735 "src/cpp/util/status.cc",
736 "src/cpp/util/time.cc",
737 ],
738 hdrs = [
739 "include/grpc++/async_generic_service.h",
740 "include/grpc++/async_unary_call.h",
741 "include/grpc++/byte_buffer.h",
742 "include/grpc++/channel_arguments.h",
743 "include/grpc++/channel_interface.h",
744 "include/grpc++/client_context.h",
745 "include/grpc++/completion_queue.h",
746 "include/grpc++/config.h",
yang-gadfed032015-06-23 13:01:22 -0700747 "include/grpc++/config_protobuf.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700748 "include/grpc++/create_channel.h",
749 "include/grpc++/credentials.h",
750 "include/grpc++/generic_stub.h",
751 "include/grpc++/impl/call.h",
752 "include/grpc++/impl/client_unary_call.h",
Yang Gao96de4842015-04-24 13:13:12 -0700753 "include/grpc++/impl/grpc_library.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700754 "include/grpc++/impl/internal_stub.h",
yang-gadfed032015-06-23 13:01:22 -0700755 "include/grpc++/impl/proto_utils.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700756 "include/grpc++/impl/rpc_method.h",
757 "include/grpc++/impl/rpc_service_method.h",
Craig Tiller6ef7f312015-06-05 10:15:10 -0700758 "include/grpc++/impl/serialization_traits.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700759 "include/grpc++/impl/service_type.h",
Nicolas "Pixel" Nobleb7c20352015-04-11 01:27:32 +0200760 "include/grpc++/impl/sync.h",
761 "include/grpc++/impl/sync_cxx11.h",
762 "include/grpc++/impl/sync_no_cxx11.h",
763 "include/grpc++/impl/thd.h",
764 "include/grpc++/impl/thd_cxx11.h",
765 "include/grpc++/impl/thd_no_cxx11.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700766 "include/grpc++/server.h",
767 "include/grpc++/server_builder.h",
768 "include/grpc++/server_context.h",
769 "include/grpc++/server_credentials.h",
770 "include/grpc++/slice.h",
771 "include/grpc++/status.h",
772 "include/grpc++/status_code_enum.h",
773 "include/grpc++/stream.h",
774 "include/grpc++/thread_pool_interface.h",
Nicolas "Pixel" Nobleb7c20352015-04-11 01:27:32 +0200775 "include/grpc++/time.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700776 ],
777 includes = [
778 "include",
779 ".",
780 ],
781 deps = [
782 "//external:protobuf_clib",
783 ":gpr",
784 ":grpc_unsecure",
785 ],
786)
787
788
789cc_library(
790 name = "grpc_plugin_support",
791 srcs = [
Craig Tillerf75fc122015-06-25 06:58:00 -0700792 "include/grpc++/config.h",
793 "include/grpc++/config_protobuf.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700794 "src/compiler/config.h",
795 "src/compiler/cpp_generator.h",
796 "src/compiler/cpp_generator_helpers.h",
Jan Tattermusch2d924952015-05-06 10:23:17 -0700797 "src/compiler/csharp_generator.h",
798 "src/compiler/csharp_generator_helpers.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700799 "src/compiler/generator_helpers.h",
800 "src/compiler/objective_c_generator.h",
801 "src/compiler/objective_c_generator_helpers.h",
802 "src/compiler/python_generator.h",
803 "src/compiler/ruby_generator.h",
804 "src/compiler/ruby_generator_helpers-inl.h",
805 "src/compiler/ruby_generator_map-inl.h",
806 "src/compiler/ruby_generator_string-inl.h",
807 "src/compiler/cpp_generator.cc",
Jan Tattermusch2d924952015-05-06 10:23:17 -0700808 "src/compiler/csharp_generator.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700809 "src/compiler/objective_c_generator.cc",
810 "src/compiler/python_generator.cc",
811 "src/compiler/ruby_generator.cc",
812 ],
813 hdrs = [
814 ],
815 includes = [
816 "include",
817 ".",
818 ],
819 deps = [
820 "//external:protobuf_compiler",
821 ],
822)
823
824
825cc_library(
826 name = "grpc_csharp_ext",
827 srcs = [
828 "src/csharp/ext/grpc_csharp_ext.c",
829 ],
830 hdrs = [
831 ],
832 includes = [
833 "include",
834 ".",
835 ],
836 deps = [
837 ":gpr",
838 ":grpc",
839 ],
840)
841
842
843
Jorge Canizales140bca82015-06-20 09:47:00 -0700844objc_library(
845 name = "gpr_objc",
846 srcs = [
847 "src/core/support/alloc.c",
848 "src/core/support/cancellable.c",
849 "src/core/support/cmdline.c",
850 "src/core/support/cpu_iphone.c",
851 "src/core/support/cpu_linux.c",
852 "src/core/support/cpu_posix.c",
853 "src/core/support/cpu_windows.c",
854 "src/core/support/env_linux.c",
855 "src/core/support/env_posix.c",
856 "src/core/support/env_win32.c",
857 "src/core/support/file.c",
858 "src/core/support/file_posix.c",
859 "src/core/support/file_win32.c",
860 "src/core/support/histogram.c",
861 "src/core/support/host_port.c",
862 "src/core/support/log.c",
863 "src/core/support/log_android.c",
864 "src/core/support/log_linux.c",
865 "src/core/support/log_posix.c",
866 "src/core/support/log_win32.c",
867 "src/core/support/murmur_hash.c",
868 "src/core/support/slice.c",
869 "src/core/support/slice_buffer.c",
870 "src/core/support/string.c",
871 "src/core/support/string_posix.c",
872 "src/core/support/string_win32.c",
873 "src/core/support/subprocess_posix.c",
874 "src/core/support/sync.c",
875 "src/core/support/sync_posix.c",
876 "src/core/support/sync_win32.c",
877 "src/core/support/thd.c",
878 "src/core/support/thd_posix.c",
879 "src/core/support/thd_win32.c",
880 "src/core/support/time.c",
881 "src/core/support/time_posix.c",
882 "src/core/support/time_win32.c",
883 "src/core/support/tls_pthread.c",
884 ],
885 hdrs = [
886 "include/grpc/support/alloc.h",
887 "include/grpc/support/atm.h",
888 "include/grpc/support/atm_gcc_atomic.h",
889 "include/grpc/support/atm_gcc_sync.h",
890 "include/grpc/support/atm_win32.h",
891 "include/grpc/support/cancellable_platform.h",
892 "include/grpc/support/cmdline.h",
893 "include/grpc/support/cpu.h",
894 "include/grpc/support/histogram.h",
895 "include/grpc/support/host_port.h",
896 "include/grpc/support/log.h",
897 "include/grpc/support/log_win32.h",
898 "include/grpc/support/port_platform.h",
899 "include/grpc/support/slice.h",
900 "include/grpc/support/slice_buffer.h",
901 "include/grpc/support/string_util.h",
902 "include/grpc/support/subprocess.h",
903 "include/grpc/support/sync.h",
904 "include/grpc/support/sync_generic.h",
905 "include/grpc/support/sync_posix.h",
906 "include/grpc/support/sync_win32.h",
907 "include/grpc/support/thd.h",
908 "include/grpc/support/time.h",
909 "include/grpc/support/tls.h",
910 "include/grpc/support/tls_gcc.h",
911 "include/grpc/support/tls_msvc.h",
912 "include/grpc/support/tls_pthread.h",
913 "include/grpc/support/useful.h",
914 "src/core/support/env.h",
915 "src/core/support/file.h",
916 "src/core/support/murmur_hash.h",
917 "src/core/support/string.h",
918 "src/core/support/string_win32.h",
919 "src/core/support/thd_internal.h",
920 ],
921 includes = [
922 "include",
923 ".",
924 ],
925 deps = [
926 ],
927)
928
929
930objc_library(
931 name = "grpc_unsecure_objc",
932 srcs = [
933 "src/core/surface/init_unsecure.c",
934 "src/core/census/grpc_context.c",
935 "src/core/channel/channel_args.c",
936 "src/core/channel/channel_stack.c",
Jorge Canizales140bca82015-06-20 09:47:00 -0700937 "src/core/channel/client_channel.c",
Jorge Canizales140bca82015-06-20 09:47:00 -0700938 "src/core/channel/connected_channel.c",
Craig Tillerc7b5f762015-06-27 11:48:42 -0700939 "src/core/channel/connectivity_state.c",
Jorge Canizales140bca82015-06-20 09:47:00 -0700940 "src/core/channel/http_client_filter.c",
941 "src/core/channel/http_server_filter.c",
942 "src/core/channel/noop_filter.c",
Craig Tillerc7b5f762015-06-27 11:48:42 -0700943 "src/core/client_config/client_config.c",
944 "src/core/client_config/connector.c",
945 "src/core/client_config/lb_policies/pick_first.c",
946 "src/core/client_config/lb_policy.c",
947 "src/core/client_config/resolver.c",
948 "src/core/client_config/resolver_factory.c",
949 "src/core/client_config/resolver_registry.c",
950 "src/core/client_config/resolvers/dns_resolver.c",
951 "src/core/client_config/subchannel.c",
952 "src/core/client_config/subchannel_factory.c",
953 "src/core/client_config/uri_parser.c",
Jorge Canizales140bca82015-06-20 09:47:00 -0700954 "src/core/compression/algorithm.c",
955 "src/core/compression/message_compress.c",
956 "src/core/debug/trace.c",
957 "src/core/iomgr/alarm.c",
958 "src/core/iomgr/alarm_heap.c",
959 "src/core/iomgr/endpoint.c",
960 "src/core/iomgr/endpoint_pair_posix.c",
961 "src/core/iomgr/endpoint_pair_windows.c",
962 "src/core/iomgr/fd_posix.c",
963 "src/core/iomgr/iocp_windows.c",
964 "src/core/iomgr/iomgr.c",
965 "src/core/iomgr/iomgr_posix.c",
966 "src/core/iomgr/iomgr_windows.c",
967 "src/core/iomgr/pollset_kick_posix.c",
968 "src/core/iomgr/pollset_multipoller_with_epoll.c",
969 "src/core/iomgr/pollset_multipoller_with_poll_posix.c",
970 "src/core/iomgr/pollset_posix.c",
971 "src/core/iomgr/pollset_set_posix.c",
972 "src/core/iomgr/pollset_set_windows.c",
973 "src/core/iomgr/pollset_windows.c",
974 "src/core/iomgr/resolve_address_posix.c",
975 "src/core/iomgr/resolve_address_windows.c",
976 "src/core/iomgr/sockaddr_utils.c",
977 "src/core/iomgr/socket_utils_common_posix.c",
978 "src/core/iomgr/socket_utils_linux.c",
979 "src/core/iomgr/socket_utils_posix.c",
980 "src/core/iomgr/socket_windows.c",
981 "src/core/iomgr/tcp_client_posix.c",
982 "src/core/iomgr/tcp_client_windows.c",
983 "src/core/iomgr/tcp_posix.c",
984 "src/core/iomgr/tcp_server_posix.c",
985 "src/core/iomgr/tcp_server_windows.c",
986 "src/core/iomgr/tcp_windows.c",
987 "src/core/iomgr/time_averaged_stats.c",
988 "src/core/iomgr/wakeup_fd_eventfd.c",
989 "src/core/iomgr/wakeup_fd_nospecial.c",
990 "src/core/iomgr/wakeup_fd_pipe.c",
991 "src/core/iomgr/wakeup_fd_posix.c",
992 "src/core/json/json.c",
993 "src/core/json/json_reader.c",
994 "src/core/json/json_string.c",
995 "src/core/json/json_writer.c",
996 "src/core/profiling/basic_timers.c",
997 "src/core/profiling/stap_timers.c",
998 "src/core/surface/byte_buffer.c",
999 "src/core/surface/byte_buffer_queue.c",
1000 "src/core/surface/byte_buffer_reader.c",
1001 "src/core/surface/call.c",
1002 "src/core/surface/call_details.c",
1003 "src/core/surface/call_log_batch.c",
1004 "src/core/surface/channel.c",
1005 "src/core/surface/channel_create.c",
Jorge Canizales140bca82015-06-20 09:47:00 -07001006 "src/core/surface/completion_queue.c",
1007 "src/core/surface/event_string.c",
1008 "src/core/surface/init.c",
1009 "src/core/surface/lame_client.c",
1010 "src/core/surface/metadata_array.c",
1011 "src/core/surface/server.c",
1012 "src/core/surface/server_chttp2.c",
1013 "src/core/surface/server_create.c",
1014 "src/core/surface/surface_trace.c",
1015 "src/core/transport/chttp2/alpn.c",
1016 "src/core/transport/chttp2/bin_encoder.c",
1017 "src/core/transport/chttp2/frame_data.c",
1018 "src/core/transport/chttp2/frame_goaway.c",
1019 "src/core/transport/chttp2/frame_ping.c",
1020 "src/core/transport/chttp2/frame_rst_stream.c",
1021 "src/core/transport/chttp2/frame_settings.c",
1022 "src/core/transport/chttp2/frame_window_update.c",
1023 "src/core/transport/chttp2/hpack_parser.c",
1024 "src/core/transport/chttp2/hpack_table.c",
1025 "src/core/transport/chttp2/huffsyms.c",
Craig Tillerc7b5f762015-06-27 11:48:42 -07001026 "src/core/transport/chttp2/incoming_metadata.c",
1027 "src/core/transport/chttp2/parsing.c",
Jorge Canizales140bca82015-06-20 09:47:00 -07001028 "src/core/transport/chttp2/status_conversion.c",
1029 "src/core/transport/chttp2/stream_encoder.c",
Craig Tillerc7b5f762015-06-27 11:48:42 -07001030 "src/core/transport/chttp2/stream_lists.c",
Jorge Canizales140bca82015-06-20 09:47:00 -07001031 "src/core/transport/chttp2/stream_map.c",
1032 "src/core/transport/chttp2/timeout_encoding.c",
1033 "src/core/transport/chttp2/varint.c",
Craig Tillerc7b5f762015-06-27 11:48:42 -07001034 "src/core/transport/chttp2/writing.c",
Jorge Canizales140bca82015-06-20 09:47:00 -07001035 "src/core/transport/chttp2_transport.c",
1036 "src/core/transport/metadata.c",
1037 "src/core/transport/stream_op.c",
1038 "src/core/transport/transport.c",
1039 "src/core/transport/transport_op_string.c",
1040 "src/core/census/context.c",
1041 "src/core/census/initialize.c",
1042 ],
1043 hdrs = [
1044 "include/grpc/byte_buffer.h",
1045 "include/grpc/byte_buffer_reader.h",
1046 "include/grpc/compression.h",
1047 "include/grpc/grpc.h",
1048 "include/grpc/status.h",
1049 "include/grpc/census.h",
1050 "src/core/census/grpc_context.h",
1051 "src/core/channel/census_filter.h",
1052 "src/core/channel/channel_args.h",
1053 "src/core/channel/channel_stack.h",
Jorge Canizales140bca82015-06-20 09:47:00 -07001054 "src/core/channel/client_channel.h",
Jorge Canizales140bca82015-06-20 09:47:00 -07001055 "src/core/channel/connected_channel.h",
Craig Tillerc7b5f762015-06-27 11:48:42 -07001056 "src/core/channel/connectivity_state.h",
Jorge Canizales140bca82015-06-20 09:47:00 -07001057 "src/core/channel/context.h",
1058 "src/core/channel/http_client_filter.h",
1059 "src/core/channel/http_server_filter.h",
1060 "src/core/channel/noop_filter.h",
Craig Tillerc7b5f762015-06-27 11:48:42 -07001061 "src/core/client_config/client_config.h",
1062 "src/core/client_config/connector.h",
1063 "src/core/client_config/lb_policies/pick_first.h",
1064 "src/core/client_config/lb_policy.h",
1065 "src/core/client_config/resolver.h",
1066 "src/core/client_config/resolver_factory.h",
1067 "src/core/client_config/resolver_registry.h",
1068 "src/core/client_config/resolvers/dns_resolver.h",
1069 "src/core/client_config/subchannel.h",
1070 "src/core/client_config/subchannel_factory.h",
1071 "src/core/client_config/uri_parser.h",
Jorge Canizales140bca82015-06-20 09:47:00 -07001072 "src/core/compression/message_compress.h",
1073 "src/core/debug/trace.h",
1074 "src/core/iomgr/alarm.h",
1075 "src/core/iomgr/alarm_heap.h",
1076 "src/core/iomgr/alarm_internal.h",
1077 "src/core/iomgr/endpoint.h",
1078 "src/core/iomgr/endpoint_pair.h",
1079 "src/core/iomgr/fd_posix.h",
1080 "src/core/iomgr/iocp_windows.h",
1081 "src/core/iomgr/iomgr.h",
1082 "src/core/iomgr/iomgr_internal.h",
1083 "src/core/iomgr/iomgr_posix.h",
1084 "src/core/iomgr/pollset.h",
1085 "src/core/iomgr/pollset_kick_posix.h",
1086 "src/core/iomgr/pollset_posix.h",
1087 "src/core/iomgr/pollset_set.h",
1088 "src/core/iomgr/pollset_set_posix.h",
1089 "src/core/iomgr/pollset_set_windows.h",
1090 "src/core/iomgr/pollset_windows.h",
1091 "src/core/iomgr/resolve_address.h",
1092 "src/core/iomgr/sockaddr.h",
1093 "src/core/iomgr/sockaddr_posix.h",
1094 "src/core/iomgr/sockaddr_utils.h",
1095 "src/core/iomgr/sockaddr_win32.h",
1096 "src/core/iomgr/socket_utils_posix.h",
1097 "src/core/iomgr/socket_windows.h",
1098 "src/core/iomgr/tcp_client.h",
1099 "src/core/iomgr/tcp_posix.h",
1100 "src/core/iomgr/tcp_server.h",
1101 "src/core/iomgr/tcp_windows.h",
1102 "src/core/iomgr/time_averaged_stats.h",
1103 "src/core/iomgr/wakeup_fd_pipe.h",
1104 "src/core/iomgr/wakeup_fd_posix.h",
1105 "src/core/json/json.h",
1106 "src/core/json/json_common.h",
1107 "src/core/json/json_reader.h",
1108 "src/core/json/json_writer.h",
1109 "src/core/profiling/timers.h",
1110 "src/core/profiling/timers_preciseclock.h",
1111 "src/core/surface/byte_buffer_queue.h",
1112 "src/core/surface/call.h",
1113 "src/core/surface/channel.h",
Jorge Canizales140bca82015-06-20 09:47:00 -07001114 "src/core/surface/completion_queue.h",
1115 "src/core/surface/event_string.h",
1116 "src/core/surface/init.h",
1117 "src/core/surface/server.h",
1118 "src/core/surface/surface_trace.h",
1119 "src/core/transport/chttp2/alpn.h",
1120 "src/core/transport/chttp2/bin_encoder.h",
1121 "src/core/transport/chttp2/frame.h",
1122 "src/core/transport/chttp2/frame_data.h",
1123 "src/core/transport/chttp2/frame_goaway.h",
1124 "src/core/transport/chttp2/frame_ping.h",
1125 "src/core/transport/chttp2/frame_rst_stream.h",
1126 "src/core/transport/chttp2/frame_settings.h",
1127 "src/core/transport/chttp2/frame_window_update.h",
1128 "src/core/transport/chttp2/hpack_parser.h",
1129 "src/core/transport/chttp2/hpack_table.h",
1130 "src/core/transport/chttp2/http2_errors.h",
1131 "src/core/transport/chttp2/huffsyms.h",
Craig Tillerc7b5f762015-06-27 11:48:42 -07001132 "src/core/transport/chttp2/incoming_metadata.h",
1133 "src/core/transport/chttp2/internal.h",
Jorge Canizales140bca82015-06-20 09:47:00 -07001134 "src/core/transport/chttp2/status_conversion.h",
1135 "src/core/transport/chttp2/stream_encoder.h",
1136 "src/core/transport/chttp2/stream_map.h",
1137 "src/core/transport/chttp2/timeout_encoding.h",
1138 "src/core/transport/chttp2/varint.h",
1139 "src/core/transport/chttp2_transport.h",
1140 "src/core/transport/metadata.h",
1141 "src/core/transport/stream_op.h",
1142 "src/core/transport/transport.h",
1143 "src/core/transport/transport_impl.h",
1144 "src/core/census/context.h",
1145 ],
1146 includes = [
1147 "include",
1148 ".",
1149 ],
1150 deps = [
1151 ":gpr_objc",
1152 ],
Jorge Canizales8c1fd042015-06-22 19:11:36 -07001153 sdk_dylibs = ["libz"],
Jorge Canizales140bca82015-06-20 09:47:00 -07001154)
1155
1156
1157
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001158cc_binary(
1159 name = "grpc_cpp_plugin",
1160 srcs = [
1161 "src/compiler/cpp_plugin.cc",
1162 ],
1163 deps = [
1164 "//external:protobuf_compiler",
1165 ":grpc_plugin_support",
1166 ],
1167)
1168
1169
1170cc_binary(
Jan Tattermusch2d924952015-05-06 10:23:17 -07001171 name = "grpc_csharp_plugin",
1172 srcs = [
1173 "src/compiler/csharp_plugin.cc",
1174 ],
1175 deps = [
1176 "//external:protobuf_compiler",
1177 ":grpc_plugin_support",
1178 ],
1179)
1180
1181
1182cc_binary(
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001183 name = "grpc_objective_c_plugin",
1184 srcs = [
1185 "src/compiler/objective_c_plugin.cc",
1186 ],
1187 deps = [
1188 "//external:protobuf_compiler",
1189 ":grpc_plugin_support",
1190 ],
1191)
1192
1193
1194cc_binary(
1195 name = "grpc_python_plugin",
1196 srcs = [
1197 "src/compiler/python_plugin.cc",
1198 ],
1199 deps = [
1200 "//external:protobuf_compiler",
1201 ":grpc_plugin_support",
1202 ],
1203)
1204
1205
1206cc_binary(
1207 name = "grpc_ruby_plugin",
1208 srcs = [
1209 "src/compiler/ruby_plugin.cc",
1210 ],
1211 deps = [
1212 "//external:protobuf_compiler",
1213 ":grpc_plugin_support",
1214 ],
1215)
1216
1217
1218
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +02001219
1220
Jorge Canizales44dc4232015-06-19 16:30:31 -07001221
Jorge Canizales91e67a22015-06-24 13:50:04 -07001222
1223
Jorge Canizales44dc4232015-06-19 16:30:31 -07001224objc_path = "src/objective-c"
1225
1226rx_library_path = objc_path + "/RxLibrary"
1227
1228objc_library(
1229 name = "rx_library",
1230 hdrs = glob([
1231 rx_library_path + "/*.h",
1232 rx_library_path + "/transformations/*.h",
1233 ]),
1234 srcs = glob([
1235 rx_library_path + "/*.m",
1236 rx_library_path + "/transformations/*.m",
1237 ]),
1238 includes = [objc_path],
1239 deps = [
1240 ":rx_library_private",
1241 ],
1242)
1243
1244objc_library(
1245 name = "rx_library_private",
1246 hdrs = glob([rx_library_path + "/private/*.h"]),
1247 srcs = glob([rx_library_path + "/private/*.m"]),
1248 visibility = ["//visibility:private"],
1249)