blob: e6087a0fd74cc31511c8e40b79cd1321a204aade [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",
murgatroid997da8b1a2015-06-17 12:37:34 -0700155 "src/core/channel/context.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700156 "src/core/channel/http_client_filter.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700157 "src/core/channel/http_server_filter.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700158 "src/core/channel/noop_filter.h",
Craig Tilleraf691802015-06-23 14:57:07 -0700159 "src/core/client_config/client_config.h",
Craig Tiller91624662015-06-25 16:31:02 -0700160 "src/core/client_config/connector.h",
Craig Tiller3bc8ebd2015-06-24 15:41:15 -0700161 "src/core/client_config/lb_policies/pick_first.h",
Craig Tilleraf691802015-06-23 14:57:07 -0700162 "src/core/client_config/lb_policy.h",
163 "src/core/client_config/resolver.h",
Craig Tiller7df28a72015-06-24 09:23:52 -0700164 "src/core/client_config/resolver_factory.h",
Craig Tiller3bc8ebd2015-06-24 15:41:15 -0700165 "src/core/client_config/resolver_registry.h",
166 "src/core/client_config/resolvers/dns_resolver.h",
Craig Tilleraf691802015-06-23 14:57:07 -0700167 "src/core/client_config/subchannel.h",
168 "src/core/client_config/subchannel_factory.h",
Craig Tiller3bc8ebd2015-06-24 15:41:15 -0700169 "src/core/client_config/uri_parser.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700170 "src/core/compression/message_compress.h",
171 "src/core/debug/trace.h",
172 "src/core/iomgr/alarm.h",
173 "src/core/iomgr/alarm_heap.h",
174 "src/core/iomgr/alarm_internal.h",
175 "src/core/iomgr/endpoint.h",
176 "src/core/iomgr/endpoint_pair.h",
177 "src/core/iomgr/fd_posix.h",
178 "src/core/iomgr/iocp_windows.h",
179 "src/core/iomgr/iomgr.h",
180 "src/core/iomgr/iomgr_internal.h",
181 "src/core/iomgr/iomgr_posix.h",
182 "src/core/iomgr/pollset.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700183 "src/core/iomgr/pollset_kick_posix.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700184 "src/core/iomgr/pollset_posix.h",
Jorge Canizalesfe8ad732015-06-20 19:53:59 -0700185 "src/core/iomgr/pollset_set.h",
Craig Tillerb7cf08f2015-05-07 07:58:30 -0700186 "src/core/iomgr/pollset_set_posix.h",
187 "src/core/iomgr/pollset_set_windows.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700188 "src/core/iomgr/pollset_windows.h",
189 "src/core/iomgr/resolve_address.h",
190 "src/core/iomgr/sockaddr.h",
191 "src/core/iomgr/sockaddr_posix.h",
192 "src/core/iomgr/sockaddr_utils.h",
193 "src/core/iomgr/sockaddr_win32.h",
194 "src/core/iomgr/socket_utils_posix.h",
195 "src/core/iomgr/socket_windows.h",
196 "src/core/iomgr/tcp_client.h",
197 "src/core/iomgr/tcp_posix.h",
198 "src/core/iomgr/tcp_server.h",
199 "src/core/iomgr/tcp_windows.h",
200 "src/core/iomgr/time_averaged_stats.h",
201 "src/core/iomgr/wakeup_fd_pipe.h",
202 "src/core/iomgr/wakeup_fd_posix.h",
203 "src/core/json/json.h",
204 "src/core/json/json_common.h",
205 "src/core/json/json_reader.h",
206 "src/core/json/json_writer.h",
Vijay Pai6dfa7e62015-04-13 10:41:40 -0700207 "src/core/profiling/timers.h",
Vijay Pai9cccb082015-04-13 13:04:06 -0700208 "src/core/profiling/timers_preciseclock.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700209 "src/core/surface/byte_buffer_queue.h",
210 "src/core/surface/call.h",
211 "src/core/surface/channel.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700212 "src/core/surface/completion_queue.h",
213 "src/core/surface/event_string.h",
214 "src/core/surface/init.h",
215 "src/core/surface/server.h",
216 "src/core/surface/surface_trace.h",
217 "src/core/transport/chttp2/alpn.h",
218 "src/core/transport/chttp2/bin_encoder.h",
219 "src/core/transport/chttp2/frame.h",
220 "src/core/transport/chttp2/frame_data.h",
221 "src/core/transport/chttp2/frame_goaway.h",
222 "src/core/transport/chttp2/frame_ping.h",
223 "src/core/transport/chttp2/frame_rst_stream.h",
224 "src/core/transport/chttp2/frame_settings.h",
225 "src/core/transport/chttp2/frame_window_update.h",
226 "src/core/transport/chttp2/hpack_parser.h",
227 "src/core/transport/chttp2/hpack_table.h",
228 "src/core/transport/chttp2/http2_errors.h",
229 "src/core/transport/chttp2/huffsyms.h",
Craig Tiller5dc3b302015-06-15 16:06:50 -0700230 "src/core/transport/chttp2/incoming_metadata.h",
Craig Tiller41527062015-06-12 07:51:05 -0700231 "src/core/transport/chttp2/internal.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700232 "src/core/transport/chttp2/status_conversion.h",
233 "src/core/transport/chttp2/stream_encoder.h",
234 "src/core/transport/chttp2/stream_map.h",
235 "src/core/transport/chttp2/timeout_encoding.h",
236 "src/core/transport/chttp2/varint.h",
237 "src/core/transport/chttp2_transport.h",
238 "src/core/transport/metadata.h",
239 "src/core/transport/stream_op.h",
240 "src/core/transport/transport.h",
241 "src/core/transport/transport_impl.h",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700242 "src/core/census/context.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700243 "src/core/httpcli/format_request.c",
244 "src/core/httpcli/httpcli.c",
Julien Boeuf7d1d9ca2015-04-17 14:38:48 -0700245 "src/core/httpcli/httpcli_security_connector.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700246 "src/core/httpcli/parser.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700247 "src/core/security/base64.c",
Julien Boeufc6f8d0a2015-05-11 22:40:02 -0700248 "src/core/security/client_auth_filter.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700249 "src/core/security/credentials.c",
Julien Boeuf75c9b6f2015-05-29 13:12:12 -0700250 "src/core/security/credentials_metadata.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700251 "src/core/security/credentials_posix.c",
252 "src/core/security/credentials_win32.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700253 "src/core/security/google_default_credentials.c",
254 "src/core/security/json_token.c",
255 "src/core/security/secure_endpoint.c",
256 "src/core/security/secure_transport_setup.c",
Julien Boeuf7d1d9ca2015-04-17 14:38:48 -0700257 "src/core/security/security_connector.c",
Julien Boeufd7f768b2015-05-08 16:37:16 -0700258 "src/core/security/security_context.c",
Julien Boeufc6f8d0a2015-05-11 22:40:02 -0700259 "src/core/security/server_auth_filter.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700260 "src/core/security/server_secure_chttp2.c",
261 "src/core/surface/init_secure.c",
262 "src/core/surface/secure_channel_create.c",
263 "src/core/tsi/fake_transport_security.c",
264 "src/core/tsi/ssl_transport_security.c",
265 "src/core/tsi/transport_security.c",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700266 "src/core/census/grpc_context.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700267 "src/core/channel/channel_args.c",
268 "src/core/channel/channel_stack.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700269 "src/core/channel/client_channel.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700270 "src/core/channel/connected_channel.c",
271 "src/core/channel/http_client_filter.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700272 "src/core/channel/http_server_filter.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700273 "src/core/channel/noop_filter.c",
Craig Tilleraf691802015-06-23 14:57:07 -0700274 "src/core/client_config/client_config.c",
Craig Tiller91624662015-06-25 16:31:02 -0700275 "src/core/client_config/connector.c",
Craig Tiller3bc8ebd2015-06-24 15:41:15 -0700276 "src/core/client_config/lb_policies/pick_first.c",
Craig Tilleraf691802015-06-23 14:57:07 -0700277 "src/core/client_config/lb_policy.c",
278 "src/core/client_config/resolver.c",
Craig Tiller7df28a72015-06-24 09:23:52 -0700279 "src/core/client_config/resolver_factory.c",
Craig Tiller3bc8ebd2015-06-24 15:41:15 -0700280 "src/core/client_config/resolver_registry.c",
281 "src/core/client_config/resolvers/dns_resolver.c",
Craig Tilleraf691802015-06-23 14:57:07 -0700282 "src/core/client_config/subchannel.c",
283 "src/core/client_config/subchannel_factory.c",
Craig Tiller3bc8ebd2015-06-24 15:41:15 -0700284 "src/core/client_config/uri_parser.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700285 "src/core/compression/algorithm.c",
286 "src/core/compression/message_compress.c",
287 "src/core/debug/trace.c",
288 "src/core/iomgr/alarm.c",
289 "src/core/iomgr/alarm_heap.c",
290 "src/core/iomgr/endpoint.c",
291 "src/core/iomgr/endpoint_pair_posix.c",
Craig Tillerd180e032015-04-13 10:10:07 -0700292 "src/core/iomgr/endpoint_pair_windows.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700293 "src/core/iomgr/fd_posix.c",
294 "src/core/iomgr/iocp_windows.c",
295 "src/core/iomgr/iomgr.c",
296 "src/core/iomgr/iomgr_posix.c",
297 "src/core/iomgr/iomgr_windows.c",
Craig Tiller0c1d2782015-05-28 17:06:05 -0700298 "src/core/iomgr/pollset_kick_posix.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700299 "src/core/iomgr/pollset_multipoller_with_epoll.c",
300 "src/core/iomgr/pollset_multipoller_with_poll_posix.c",
301 "src/core/iomgr/pollset_posix.c",
Craig Tillerb7cf08f2015-05-07 07:58:30 -0700302 "src/core/iomgr/pollset_set_posix.c",
303 "src/core/iomgr/pollset_set_windows.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700304 "src/core/iomgr/pollset_windows.c",
305 "src/core/iomgr/resolve_address_posix.c",
306 "src/core/iomgr/resolve_address_windows.c",
307 "src/core/iomgr/sockaddr_utils.c",
308 "src/core/iomgr/socket_utils_common_posix.c",
309 "src/core/iomgr/socket_utils_linux.c",
310 "src/core/iomgr/socket_utils_posix.c",
311 "src/core/iomgr/socket_windows.c",
312 "src/core/iomgr/tcp_client_posix.c",
313 "src/core/iomgr/tcp_client_windows.c",
314 "src/core/iomgr/tcp_posix.c",
315 "src/core/iomgr/tcp_server_posix.c",
316 "src/core/iomgr/tcp_server_windows.c",
317 "src/core/iomgr/tcp_windows.c",
318 "src/core/iomgr/time_averaged_stats.c",
319 "src/core/iomgr/wakeup_fd_eventfd.c",
320 "src/core/iomgr/wakeup_fd_nospecial.c",
321 "src/core/iomgr/wakeup_fd_pipe.c",
322 "src/core/iomgr/wakeup_fd_posix.c",
323 "src/core/json/json.c",
324 "src/core/json/json_reader.c",
325 "src/core/json/json_string.c",
326 "src/core/json/json_writer.c",
David Garcia Quintas8954e902015-04-29 09:46:33 -0700327 "src/core/profiling/basic_timers.c",
328 "src/core/profiling/stap_timers.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700329 "src/core/surface/byte_buffer.c",
330 "src/core/surface/byte_buffer_queue.c",
331 "src/core/surface/byte_buffer_reader.c",
332 "src/core/surface/call.c",
333 "src/core/surface/call_details.c",
334 "src/core/surface/call_log_batch.c",
335 "src/core/surface/channel.c",
336 "src/core/surface/channel_create.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700337 "src/core/surface/completion_queue.c",
338 "src/core/surface/event_string.c",
339 "src/core/surface/init.c",
340 "src/core/surface/lame_client.c",
341 "src/core/surface/metadata_array.c",
342 "src/core/surface/server.c",
343 "src/core/surface/server_chttp2.c",
344 "src/core/surface/server_create.c",
345 "src/core/surface/surface_trace.c",
346 "src/core/transport/chttp2/alpn.c",
347 "src/core/transport/chttp2/bin_encoder.c",
348 "src/core/transport/chttp2/frame_data.c",
349 "src/core/transport/chttp2/frame_goaway.c",
350 "src/core/transport/chttp2/frame_ping.c",
351 "src/core/transport/chttp2/frame_rst_stream.c",
352 "src/core/transport/chttp2/frame_settings.c",
353 "src/core/transport/chttp2/frame_window_update.c",
354 "src/core/transport/chttp2/hpack_parser.c",
355 "src/core/transport/chttp2/hpack_table.c",
356 "src/core/transport/chttp2/huffsyms.c",
Craig Tiller5dc3b302015-06-15 16:06:50 -0700357 "src/core/transport/chttp2/incoming_metadata.c",
Craig Tillerd8df50c2015-06-12 07:53:56 -0700358 "src/core/transport/chttp2/parsing.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700359 "src/core/transport/chttp2/status_conversion.c",
360 "src/core/transport/chttp2/stream_encoder.c",
Craig Tiller6459db42015-06-15 17:11:45 -0700361 "src/core/transport/chttp2/stream_lists.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700362 "src/core/transport/chttp2/stream_map.c",
363 "src/core/transport/chttp2/timeout_encoding.c",
364 "src/core/transport/chttp2/varint.c",
Craig Tillerd8df50c2015-06-12 07:53:56 -0700365 "src/core/transport/chttp2/writing.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700366 "src/core/transport/chttp2_transport.c",
367 "src/core/transport/metadata.c",
368 "src/core/transport/stream_op.c",
369 "src/core/transport/transport.c",
Craig Tiller83f88d92015-04-21 16:02:05 -0700370 "src/core/transport/transport_op_string.c",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700371 "src/core/census/context.c",
372 "src/core/census/initialize.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700373 ],
374 hdrs = [
375 "include/grpc/grpc_security.h",
376 "include/grpc/byte_buffer.h",
377 "include/grpc/byte_buffer_reader.h",
David Garcia Quintas59f905d2015-06-08 16:31:19 -0700378 "include/grpc/compression.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700379 "include/grpc/grpc.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700380 "include/grpc/status.h",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700381 "include/grpc/census.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700382 ],
383 includes = [
384 "include",
385 ".",
386 ],
387 deps = [
388 "//external:libssl",
389 ":gpr",
390 ],
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +0200391)
392
393
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700394cc_library(
395 name = "grpc_unsecure",
396 srcs = [
Alistair Veitch9686dab2015-05-26 14:26:47 -0700397 "src/core/census/grpc_context.h",
murgatroid997da8b1a2015-06-17 12:37:34 -0700398 "src/core/channel/census_filter.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700399 "src/core/channel/channel_args.h",
400 "src/core/channel/channel_stack.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700401 "src/core/channel/client_channel.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700402 "src/core/channel/connected_channel.h",
murgatroid997da8b1a2015-06-17 12:37:34 -0700403 "src/core/channel/context.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700404 "src/core/channel/http_client_filter.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700405 "src/core/channel/http_server_filter.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700406 "src/core/channel/noop_filter.h",
Craig Tilleraf691802015-06-23 14:57:07 -0700407 "src/core/client_config/client_config.h",
Craig Tiller91624662015-06-25 16:31:02 -0700408 "src/core/client_config/connector.h",
Craig Tiller3bc8ebd2015-06-24 15:41:15 -0700409 "src/core/client_config/lb_policies/pick_first.h",
Craig Tilleraf691802015-06-23 14:57:07 -0700410 "src/core/client_config/lb_policy.h",
411 "src/core/client_config/resolver.h",
Craig Tiller7df28a72015-06-24 09:23:52 -0700412 "src/core/client_config/resolver_factory.h",
Craig Tiller3bc8ebd2015-06-24 15:41:15 -0700413 "src/core/client_config/resolver_registry.h",
414 "src/core/client_config/resolvers/dns_resolver.h",
Craig Tilleraf691802015-06-23 14:57:07 -0700415 "src/core/client_config/subchannel.h",
416 "src/core/client_config/subchannel_factory.h",
Craig Tiller3bc8ebd2015-06-24 15:41:15 -0700417 "src/core/client_config/uri_parser.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700418 "src/core/compression/message_compress.h",
419 "src/core/debug/trace.h",
420 "src/core/iomgr/alarm.h",
421 "src/core/iomgr/alarm_heap.h",
422 "src/core/iomgr/alarm_internal.h",
423 "src/core/iomgr/endpoint.h",
424 "src/core/iomgr/endpoint_pair.h",
425 "src/core/iomgr/fd_posix.h",
426 "src/core/iomgr/iocp_windows.h",
427 "src/core/iomgr/iomgr.h",
428 "src/core/iomgr/iomgr_internal.h",
429 "src/core/iomgr/iomgr_posix.h",
430 "src/core/iomgr/pollset.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700431 "src/core/iomgr/pollset_kick_posix.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700432 "src/core/iomgr/pollset_posix.h",
Jorge Canizalesfe8ad732015-06-20 19:53:59 -0700433 "src/core/iomgr/pollset_set.h",
Craig Tillerb7cf08f2015-05-07 07:58:30 -0700434 "src/core/iomgr/pollset_set_posix.h",
435 "src/core/iomgr/pollset_set_windows.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700436 "src/core/iomgr/pollset_windows.h",
437 "src/core/iomgr/resolve_address.h",
438 "src/core/iomgr/sockaddr.h",
439 "src/core/iomgr/sockaddr_posix.h",
440 "src/core/iomgr/sockaddr_utils.h",
441 "src/core/iomgr/sockaddr_win32.h",
442 "src/core/iomgr/socket_utils_posix.h",
443 "src/core/iomgr/socket_windows.h",
444 "src/core/iomgr/tcp_client.h",
445 "src/core/iomgr/tcp_posix.h",
446 "src/core/iomgr/tcp_server.h",
447 "src/core/iomgr/tcp_windows.h",
448 "src/core/iomgr/time_averaged_stats.h",
449 "src/core/iomgr/wakeup_fd_pipe.h",
450 "src/core/iomgr/wakeup_fd_posix.h",
451 "src/core/json/json.h",
452 "src/core/json/json_common.h",
453 "src/core/json/json_reader.h",
454 "src/core/json/json_writer.h",
Vijay Pai6dfa7e62015-04-13 10:41:40 -0700455 "src/core/profiling/timers.h",
Vijay Pai9cccb082015-04-13 13:04:06 -0700456 "src/core/profiling/timers_preciseclock.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700457 "src/core/surface/byte_buffer_queue.h",
458 "src/core/surface/call.h",
459 "src/core/surface/channel.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700460 "src/core/surface/completion_queue.h",
461 "src/core/surface/event_string.h",
462 "src/core/surface/init.h",
463 "src/core/surface/server.h",
464 "src/core/surface/surface_trace.h",
465 "src/core/transport/chttp2/alpn.h",
466 "src/core/transport/chttp2/bin_encoder.h",
467 "src/core/transport/chttp2/frame.h",
468 "src/core/transport/chttp2/frame_data.h",
469 "src/core/transport/chttp2/frame_goaway.h",
470 "src/core/transport/chttp2/frame_ping.h",
471 "src/core/transport/chttp2/frame_rst_stream.h",
472 "src/core/transport/chttp2/frame_settings.h",
473 "src/core/transport/chttp2/frame_window_update.h",
474 "src/core/transport/chttp2/hpack_parser.h",
475 "src/core/transport/chttp2/hpack_table.h",
476 "src/core/transport/chttp2/http2_errors.h",
477 "src/core/transport/chttp2/huffsyms.h",
Craig Tiller5dc3b302015-06-15 16:06:50 -0700478 "src/core/transport/chttp2/incoming_metadata.h",
Craig Tiller41527062015-06-12 07:51:05 -0700479 "src/core/transport/chttp2/internal.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700480 "src/core/transport/chttp2/status_conversion.h",
481 "src/core/transport/chttp2/stream_encoder.h",
482 "src/core/transport/chttp2/stream_map.h",
483 "src/core/transport/chttp2/timeout_encoding.h",
484 "src/core/transport/chttp2/varint.h",
485 "src/core/transport/chttp2_transport.h",
486 "src/core/transport/metadata.h",
487 "src/core/transport/stream_op.h",
488 "src/core/transport/transport.h",
489 "src/core/transport/transport_impl.h",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700490 "src/core/census/context.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700491 "src/core/surface/init_unsecure.c",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700492 "src/core/census/grpc_context.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700493 "src/core/channel/channel_args.c",
494 "src/core/channel/channel_stack.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700495 "src/core/channel/client_channel.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700496 "src/core/channel/connected_channel.c",
497 "src/core/channel/http_client_filter.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700498 "src/core/channel/http_server_filter.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700499 "src/core/channel/noop_filter.c",
Craig Tilleraf691802015-06-23 14:57:07 -0700500 "src/core/client_config/client_config.c",
Craig Tiller91624662015-06-25 16:31:02 -0700501 "src/core/client_config/connector.c",
Craig Tiller3bc8ebd2015-06-24 15:41:15 -0700502 "src/core/client_config/lb_policies/pick_first.c",
Craig Tilleraf691802015-06-23 14:57:07 -0700503 "src/core/client_config/lb_policy.c",
504 "src/core/client_config/resolver.c",
Craig Tiller7df28a72015-06-24 09:23:52 -0700505 "src/core/client_config/resolver_factory.c",
Craig Tiller3bc8ebd2015-06-24 15:41:15 -0700506 "src/core/client_config/resolver_registry.c",
507 "src/core/client_config/resolvers/dns_resolver.c",
Craig Tilleraf691802015-06-23 14:57:07 -0700508 "src/core/client_config/subchannel.c",
509 "src/core/client_config/subchannel_factory.c",
Craig Tiller3bc8ebd2015-06-24 15:41:15 -0700510 "src/core/client_config/uri_parser.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700511 "src/core/compression/algorithm.c",
512 "src/core/compression/message_compress.c",
513 "src/core/debug/trace.c",
514 "src/core/iomgr/alarm.c",
515 "src/core/iomgr/alarm_heap.c",
516 "src/core/iomgr/endpoint.c",
517 "src/core/iomgr/endpoint_pair_posix.c",
Craig Tillerd180e032015-04-13 10:10:07 -0700518 "src/core/iomgr/endpoint_pair_windows.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700519 "src/core/iomgr/fd_posix.c",
520 "src/core/iomgr/iocp_windows.c",
521 "src/core/iomgr/iomgr.c",
522 "src/core/iomgr/iomgr_posix.c",
523 "src/core/iomgr/iomgr_windows.c",
Craig Tiller0c1d2782015-05-28 17:06:05 -0700524 "src/core/iomgr/pollset_kick_posix.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700525 "src/core/iomgr/pollset_multipoller_with_epoll.c",
526 "src/core/iomgr/pollset_multipoller_with_poll_posix.c",
527 "src/core/iomgr/pollset_posix.c",
Craig Tillerb7cf08f2015-05-07 07:58:30 -0700528 "src/core/iomgr/pollset_set_posix.c",
529 "src/core/iomgr/pollset_set_windows.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700530 "src/core/iomgr/pollset_windows.c",
531 "src/core/iomgr/resolve_address_posix.c",
532 "src/core/iomgr/resolve_address_windows.c",
533 "src/core/iomgr/sockaddr_utils.c",
534 "src/core/iomgr/socket_utils_common_posix.c",
535 "src/core/iomgr/socket_utils_linux.c",
536 "src/core/iomgr/socket_utils_posix.c",
537 "src/core/iomgr/socket_windows.c",
538 "src/core/iomgr/tcp_client_posix.c",
539 "src/core/iomgr/tcp_client_windows.c",
540 "src/core/iomgr/tcp_posix.c",
541 "src/core/iomgr/tcp_server_posix.c",
542 "src/core/iomgr/tcp_server_windows.c",
543 "src/core/iomgr/tcp_windows.c",
544 "src/core/iomgr/time_averaged_stats.c",
545 "src/core/iomgr/wakeup_fd_eventfd.c",
546 "src/core/iomgr/wakeup_fd_nospecial.c",
547 "src/core/iomgr/wakeup_fd_pipe.c",
548 "src/core/iomgr/wakeup_fd_posix.c",
549 "src/core/json/json.c",
550 "src/core/json/json_reader.c",
551 "src/core/json/json_string.c",
552 "src/core/json/json_writer.c",
David Garcia Quintas8954e902015-04-29 09:46:33 -0700553 "src/core/profiling/basic_timers.c",
554 "src/core/profiling/stap_timers.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700555 "src/core/surface/byte_buffer.c",
556 "src/core/surface/byte_buffer_queue.c",
557 "src/core/surface/byte_buffer_reader.c",
558 "src/core/surface/call.c",
559 "src/core/surface/call_details.c",
560 "src/core/surface/call_log_batch.c",
561 "src/core/surface/channel.c",
562 "src/core/surface/channel_create.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700563 "src/core/surface/completion_queue.c",
564 "src/core/surface/event_string.c",
565 "src/core/surface/init.c",
566 "src/core/surface/lame_client.c",
567 "src/core/surface/metadata_array.c",
568 "src/core/surface/server.c",
569 "src/core/surface/server_chttp2.c",
570 "src/core/surface/server_create.c",
571 "src/core/surface/surface_trace.c",
572 "src/core/transport/chttp2/alpn.c",
573 "src/core/transport/chttp2/bin_encoder.c",
574 "src/core/transport/chttp2/frame_data.c",
575 "src/core/transport/chttp2/frame_goaway.c",
576 "src/core/transport/chttp2/frame_ping.c",
577 "src/core/transport/chttp2/frame_rst_stream.c",
578 "src/core/transport/chttp2/frame_settings.c",
579 "src/core/transport/chttp2/frame_window_update.c",
580 "src/core/transport/chttp2/hpack_parser.c",
581 "src/core/transport/chttp2/hpack_table.c",
582 "src/core/transport/chttp2/huffsyms.c",
Craig Tiller5dc3b302015-06-15 16:06:50 -0700583 "src/core/transport/chttp2/incoming_metadata.c",
Craig Tillerd8df50c2015-06-12 07:53:56 -0700584 "src/core/transport/chttp2/parsing.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700585 "src/core/transport/chttp2/status_conversion.c",
586 "src/core/transport/chttp2/stream_encoder.c",
Craig Tiller6459db42015-06-15 17:11:45 -0700587 "src/core/transport/chttp2/stream_lists.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700588 "src/core/transport/chttp2/stream_map.c",
589 "src/core/transport/chttp2/timeout_encoding.c",
590 "src/core/transport/chttp2/varint.c",
Craig Tillerd8df50c2015-06-12 07:53:56 -0700591 "src/core/transport/chttp2/writing.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700592 "src/core/transport/chttp2_transport.c",
593 "src/core/transport/metadata.c",
594 "src/core/transport/stream_op.c",
595 "src/core/transport/transport.c",
Craig Tiller83f88d92015-04-21 16:02:05 -0700596 "src/core/transport/transport_op_string.c",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700597 "src/core/census/context.c",
598 "src/core/census/initialize.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700599 ],
600 hdrs = [
601 "include/grpc/byte_buffer.h",
602 "include/grpc/byte_buffer_reader.h",
David Garcia Quintas59f905d2015-06-08 16:31:19 -0700603 "include/grpc/compression.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700604 "include/grpc/grpc.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700605 "include/grpc/status.h",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700606 "include/grpc/census.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700607 ],
608 includes = [
609 "include",
610 ".",
611 ],
612 deps = [
613 ":gpr",
614 ],
615)
616
617
618cc_library(
619 name = "grpc++",
620 srcs = [
621 "src/cpp/client/secure_credentials.h",
622 "src/cpp/server/secure_server_credentials.h",
623 "src/cpp/client/channel.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700624 "src/cpp/server/thread_pool.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700625 "src/cpp/client/secure_credentials.cc",
626 "src/cpp/server/secure_server_credentials.cc",
627 "src/cpp/client/channel.cc",
628 "src/cpp/client/channel_arguments.cc",
629 "src/cpp/client/client_context.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700630 "src/cpp/client/create_channel.cc",
631 "src/cpp/client/credentials.cc",
632 "src/cpp/client/generic_stub.cc",
633 "src/cpp/client/insecure_credentials.cc",
634 "src/cpp/client/internal_stub.cc",
635 "src/cpp/common/call.cc",
636 "src/cpp/common/completion_queue.cc",
637 "src/cpp/common/rpc_method.cc",
638 "src/cpp/proto/proto_utils.cc",
639 "src/cpp/server/async_generic_service.cc",
Yang Gao6f4fb3b2015-06-03 12:56:19 -0700640 "src/cpp/server/create_default_thread_pool.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700641 "src/cpp/server/insecure_server_credentials.cc",
642 "src/cpp/server/server.cc",
643 "src/cpp/server/server_builder.cc",
644 "src/cpp/server/server_context.cc",
645 "src/cpp/server/server_credentials.cc",
646 "src/cpp/server/thread_pool.cc",
647 "src/cpp/util/byte_buffer.cc",
648 "src/cpp/util/slice.cc",
649 "src/cpp/util/status.cc",
650 "src/cpp/util/time.cc",
651 ],
652 hdrs = [
653 "include/grpc++/async_generic_service.h",
654 "include/grpc++/async_unary_call.h",
655 "include/grpc++/byte_buffer.h",
656 "include/grpc++/channel_arguments.h",
657 "include/grpc++/channel_interface.h",
658 "include/grpc++/client_context.h",
659 "include/grpc++/completion_queue.h",
660 "include/grpc++/config.h",
yang-gadfed032015-06-23 13:01:22 -0700661 "include/grpc++/config_protobuf.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700662 "include/grpc++/create_channel.h",
663 "include/grpc++/credentials.h",
664 "include/grpc++/generic_stub.h",
665 "include/grpc++/impl/call.h",
666 "include/grpc++/impl/client_unary_call.h",
Yang Gao96de4842015-04-24 13:13:12 -0700667 "include/grpc++/impl/grpc_library.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700668 "include/grpc++/impl/internal_stub.h",
yang-gadfed032015-06-23 13:01:22 -0700669 "include/grpc++/impl/proto_utils.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700670 "include/grpc++/impl/rpc_method.h",
671 "include/grpc++/impl/rpc_service_method.h",
Craig Tiller6ef7f312015-06-05 10:15:10 -0700672 "include/grpc++/impl/serialization_traits.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700673 "include/grpc++/impl/service_type.h",
Nicolas "Pixel" Nobleb7c20352015-04-11 01:27:32 +0200674 "include/grpc++/impl/sync.h",
675 "include/grpc++/impl/sync_cxx11.h",
676 "include/grpc++/impl/sync_no_cxx11.h",
677 "include/grpc++/impl/thd.h",
678 "include/grpc++/impl/thd_cxx11.h",
679 "include/grpc++/impl/thd_no_cxx11.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700680 "include/grpc++/server.h",
681 "include/grpc++/server_builder.h",
682 "include/grpc++/server_context.h",
683 "include/grpc++/server_credentials.h",
684 "include/grpc++/slice.h",
685 "include/grpc++/status.h",
686 "include/grpc++/status_code_enum.h",
687 "include/grpc++/stream.h",
688 "include/grpc++/thread_pool_interface.h",
Nicolas "Pixel" Nobleb7c20352015-04-11 01:27:32 +0200689 "include/grpc++/time.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700690 ],
691 includes = [
692 "include",
693 ".",
694 ],
695 deps = [
696 "//external:protobuf_clib",
697 ":gpr",
698 ":grpc",
699 ],
700)
701
702
703cc_library(
704 name = "grpc++_unsecure",
705 srcs = [
706 "src/cpp/client/channel.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700707 "src/cpp/server/thread_pool.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700708 "src/cpp/client/channel.cc",
709 "src/cpp/client/channel_arguments.cc",
710 "src/cpp/client/client_context.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700711 "src/cpp/client/create_channel.cc",
712 "src/cpp/client/credentials.cc",
713 "src/cpp/client/generic_stub.cc",
714 "src/cpp/client/insecure_credentials.cc",
715 "src/cpp/client/internal_stub.cc",
716 "src/cpp/common/call.cc",
717 "src/cpp/common/completion_queue.cc",
718 "src/cpp/common/rpc_method.cc",
719 "src/cpp/proto/proto_utils.cc",
720 "src/cpp/server/async_generic_service.cc",
Yang Gao6f4fb3b2015-06-03 12:56:19 -0700721 "src/cpp/server/create_default_thread_pool.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700722 "src/cpp/server/insecure_server_credentials.cc",
723 "src/cpp/server/server.cc",
724 "src/cpp/server/server_builder.cc",
725 "src/cpp/server/server_context.cc",
726 "src/cpp/server/server_credentials.cc",
727 "src/cpp/server/thread_pool.cc",
728 "src/cpp/util/byte_buffer.cc",
729 "src/cpp/util/slice.cc",
730 "src/cpp/util/status.cc",
731 "src/cpp/util/time.cc",
732 ],
733 hdrs = [
734 "include/grpc++/async_generic_service.h",
735 "include/grpc++/async_unary_call.h",
736 "include/grpc++/byte_buffer.h",
737 "include/grpc++/channel_arguments.h",
738 "include/grpc++/channel_interface.h",
739 "include/grpc++/client_context.h",
740 "include/grpc++/completion_queue.h",
741 "include/grpc++/config.h",
yang-gadfed032015-06-23 13:01:22 -0700742 "include/grpc++/config_protobuf.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700743 "include/grpc++/create_channel.h",
744 "include/grpc++/credentials.h",
745 "include/grpc++/generic_stub.h",
746 "include/grpc++/impl/call.h",
747 "include/grpc++/impl/client_unary_call.h",
Yang Gao96de4842015-04-24 13:13:12 -0700748 "include/grpc++/impl/grpc_library.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700749 "include/grpc++/impl/internal_stub.h",
yang-gadfed032015-06-23 13:01:22 -0700750 "include/grpc++/impl/proto_utils.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700751 "include/grpc++/impl/rpc_method.h",
752 "include/grpc++/impl/rpc_service_method.h",
Craig Tiller6ef7f312015-06-05 10:15:10 -0700753 "include/grpc++/impl/serialization_traits.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700754 "include/grpc++/impl/service_type.h",
Nicolas "Pixel" Nobleb7c20352015-04-11 01:27:32 +0200755 "include/grpc++/impl/sync.h",
756 "include/grpc++/impl/sync_cxx11.h",
757 "include/grpc++/impl/sync_no_cxx11.h",
758 "include/grpc++/impl/thd.h",
759 "include/grpc++/impl/thd_cxx11.h",
760 "include/grpc++/impl/thd_no_cxx11.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700761 "include/grpc++/server.h",
762 "include/grpc++/server_builder.h",
763 "include/grpc++/server_context.h",
764 "include/grpc++/server_credentials.h",
765 "include/grpc++/slice.h",
766 "include/grpc++/status.h",
767 "include/grpc++/status_code_enum.h",
768 "include/grpc++/stream.h",
769 "include/grpc++/thread_pool_interface.h",
Nicolas "Pixel" Nobleb7c20352015-04-11 01:27:32 +0200770 "include/grpc++/time.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700771 ],
772 includes = [
773 "include",
774 ".",
775 ],
776 deps = [
777 "//external:protobuf_clib",
778 ":gpr",
779 ":grpc_unsecure",
780 ],
781)
782
783
784cc_library(
785 name = "grpc_plugin_support",
786 srcs = [
787 "src/compiler/config.h",
788 "src/compiler/cpp_generator.h",
789 "src/compiler/cpp_generator_helpers.h",
Jan Tattermusch2d924952015-05-06 10:23:17 -0700790 "src/compiler/csharp_generator.h",
791 "src/compiler/csharp_generator_helpers.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700792 "src/compiler/generator_helpers.h",
793 "src/compiler/objective_c_generator.h",
794 "src/compiler/objective_c_generator_helpers.h",
795 "src/compiler/python_generator.h",
796 "src/compiler/ruby_generator.h",
797 "src/compiler/ruby_generator_helpers-inl.h",
798 "src/compiler/ruby_generator_map-inl.h",
799 "src/compiler/ruby_generator_string-inl.h",
800 "src/compiler/cpp_generator.cc",
Jan Tattermusch2d924952015-05-06 10:23:17 -0700801 "src/compiler/csharp_generator.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700802 "src/compiler/objective_c_generator.cc",
803 "src/compiler/python_generator.cc",
804 "src/compiler/ruby_generator.cc",
805 ],
806 hdrs = [
807 ],
808 includes = [
809 "include",
810 ".",
811 ],
812 deps = [
813 "//external:protobuf_compiler",
814 ],
815)
816
817
818cc_library(
819 name = "grpc_csharp_ext",
820 srcs = [
821 "src/csharp/ext/grpc_csharp_ext.c",
822 ],
823 hdrs = [
824 ],
825 includes = [
826 "include",
827 ".",
828 ],
829 deps = [
830 ":gpr",
831 ":grpc",
832 ],
833)
834
835
836
837cc_binary(
838 name = "grpc_cpp_plugin",
839 srcs = [
840 "src/compiler/cpp_plugin.cc",
841 ],
842 deps = [
843 "//external:protobuf_compiler",
844 ":grpc_plugin_support",
845 ],
846)
847
848
849cc_binary(
Jan Tattermusch2d924952015-05-06 10:23:17 -0700850 name = "grpc_csharp_plugin",
851 srcs = [
852 "src/compiler/csharp_plugin.cc",
853 ],
854 deps = [
855 "//external:protobuf_compiler",
856 ":grpc_plugin_support",
857 ],
858)
859
860
861cc_binary(
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700862 name = "grpc_objective_c_plugin",
863 srcs = [
864 "src/compiler/objective_c_plugin.cc",
865 ],
866 deps = [
867 "//external:protobuf_compiler",
868 ":grpc_plugin_support",
869 ],
870)
871
872
873cc_binary(
874 name = "grpc_python_plugin",
875 srcs = [
876 "src/compiler/python_plugin.cc",
877 ],
878 deps = [
879 "//external:protobuf_compiler",
880 ":grpc_plugin_support",
881 ],
882)
883
884
885cc_binary(
886 name = "grpc_ruby_plugin",
887 srcs = [
888 "src/compiler/ruby_plugin.cc",
889 ],
890 deps = [
891 "//external:protobuf_compiler",
892 ":grpc_plugin_support",
893 ],
894)
895
896
897
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +0200898
899
Jorge Canizales44dc4232015-06-19 16:30:31 -0700900
901objc_path = "src/objective-c"
902
903rx_library_path = objc_path + "/RxLibrary"
904
905objc_library(
906 name = "rx_library",
907 hdrs = glob([
908 rx_library_path + "/*.h",
909 rx_library_path + "/transformations/*.h",
910 ]),
911 srcs = glob([
912 rx_library_path + "/*.m",
913 rx_library_path + "/transformations/*.m",
914 ]),
915 includes = [objc_path],
916 deps = [
917 ":rx_library_private",
918 ],
919)
920
921objc_library(
922 name = "rx_library_private",
923 hdrs = glob([rx_library_path + "/private/*.h"]),
924 srcs = glob([rx_library_path + "/private/*.m"]),
925 visibility = ["//visibility:private"],
926)