blob: 7511320a4ce09e44b7f7a463a2b48d7ffbf08c5e [file] [log] [blame]
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +02001# GRPC Bazel BUILD file.
Jorge Canizales3beb2402015-07-02 01:30:33 -07002# This currently builds C, C++ and Objective-C code.
Nicolas "Pixel" Nobled49893d2015-04-21 04:57:45 +02003# This file has been automatically generated from a template file.
4# Please look at the templates directory instead.
murgatroid99f680af02015-06-22 11:20:24 -07005# This file can be regenerated from the template by running
6# tools/buildgen/generate_projects.sh
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +02007
8# Copyright 2015, Google Inc.
9# All rights reserved.
10#
11# Redistribution and use in source and binary forms, with or without
12# modification, are permitted provided that the following conditions are
13# met:
14#
15# * Redistributions of source code must retain the above copyright
16# notice, this list of conditions and the following disclaimer.
17# * Redistributions in binary form must reproduce the above
18# copyright notice, this list of conditions and the following disclaimer
19# in the documentation and/or other materials provided with the
20# distribution.
21# * Neither the name of Google Inc. nor the names of its
22# contributors may be used to endorse or promote products derived from
23# this software without specific prior written permission.
24#
25# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
26# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
27# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
28# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
29# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
30# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
31# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
32# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
33# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
34# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
35# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
36
37licenses(["notice"]) # 3-clause BSD
38
Ming Zhao3c0ba0c2015-04-10 12:05:22 -070039package(default_visibility = ["//visibility:public"])
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +020040
41
42
43
44cc_library(
Ming Zhao3c0ba0c2015-04-10 12:05:22 -070045 name = "gpr",
46 srcs = [
47 "src/core/support/env.h",
48 "src/core/support/file.h",
49 "src/core/support/murmur_hash.h",
Vijay Pai005e3052015-07-10 15:18:45 -070050 "src/core/support/stack_lockfree.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -070051 "src/core/support/string.h",
52 "src/core/support/string_win32.h",
53 "src/core/support/thd_internal.h",
Hongyu Chena0f149e2015-08-24 16:27:19 -070054 "src/core/support/time_precise.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -070055 "src/core/support/alloc.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -070056 "src/core/support/cmdline.c",
57 "src/core/support/cpu_iphone.c",
58 "src/core/support/cpu_linux.c",
59 "src/core/support/cpu_posix.c",
60 "src/core/support/cpu_windows.c",
61 "src/core/support/env_linux.c",
62 "src/core/support/env_posix.c",
63 "src/core/support/env_win32.c",
64 "src/core/support/file.c",
65 "src/core/support/file_posix.c",
66 "src/core/support/file_win32.c",
67 "src/core/support/histogram.c",
68 "src/core/support/host_port.c",
69 "src/core/support/log.c",
70 "src/core/support/log_android.c",
71 "src/core/support/log_linux.c",
72 "src/core/support/log_posix.c",
73 "src/core/support/log_win32.c",
74 "src/core/support/murmur_hash.c",
75 "src/core/support/slice.c",
76 "src/core/support/slice_buffer.c",
Vijay Pai005e3052015-07-10 15:18:45 -070077 "src/core/support/stack_lockfree.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -070078 "src/core/support/string.c",
79 "src/core/support/string_posix.c",
80 "src/core/support/string_win32.c",
Craig Tillerc21a8092015-05-15 10:03:40 -070081 "src/core/support/subprocess_posix.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -070082 "src/core/support/sync.c",
83 "src/core/support/sync_posix.c",
84 "src/core/support/sync_win32.c",
85 "src/core/support/thd.c",
86 "src/core/support/thd_posix.c",
87 "src/core/support/thd_win32.c",
88 "src/core/support/time.c",
89 "src/core/support/time_posix.c",
90 "src/core/support/time_win32.c",
Craig Tilleree210ab2015-05-15 10:32:28 -070091 "src/core/support/tls_pthread.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -070092 ],
93 hdrs = [
94 "include/grpc/support/alloc.h",
95 "include/grpc/support/atm.h",
96 "include/grpc/support/atm_gcc_atomic.h",
97 "include/grpc/support/atm_gcc_sync.h",
98 "include/grpc/support/atm_win32.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -070099 "include/grpc/support/cmdline.h",
100 "include/grpc/support/cpu.h",
101 "include/grpc/support/histogram.h",
102 "include/grpc/support/host_port.h",
103 "include/grpc/support/log.h",
104 "include/grpc/support/log_win32.h",
105 "include/grpc/support/port_platform.h",
106 "include/grpc/support/slice.h",
107 "include/grpc/support/slice_buffer.h",
Masood Malekghassemi701af602015-06-03 15:01:17 -0700108 "include/grpc/support/string_util.h",
Craig Tiller685f1e62015-05-15 11:40:59 -0700109 "include/grpc/support/subprocess.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700110 "include/grpc/support/sync.h",
111 "include/grpc/support/sync_generic.h",
112 "include/grpc/support/sync_posix.h",
113 "include/grpc/support/sync_win32.h",
114 "include/grpc/support/thd.h",
115 "include/grpc/support/time.h",
Yang Gaob0b518e2015-04-13 14:53:25 -0700116 "include/grpc/support/tls.h",
117 "include/grpc/support/tls_gcc.h",
118 "include/grpc/support/tls_msvc.h",
119 "include/grpc/support/tls_pthread.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700120 "include/grpc/support/useful.h",
121 ],
122 includes = [
123 "include",
124 ".",
125 ],
126 deps = [
127 ],
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +0200128)
129
130
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +0200131cc_library(
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700132 name = "grpc",
133 srcs = [
Julien Boeufc6f8d0a2015-05-11 22:40:02 -0700134 "src/core/security/auth_filters.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700135 "src/core/security/base64.h",
136 "src/core/security/credentials.h",
137 "src/core/security/json_token.h",
Julien Boeuffeca1bf2015-06-22 16:46:20 +0200138 "src/core/security/jwt_verifier.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700139 "src/core/security/secure_endpoint.h",
140 "src/core/security/secure_transport_setup.h",
Julien Boeuf7d1d9ca2015-04-17 14:38:48 -0700141 "src/core/security/security_connector.h",
Julien Boeufd7f768b2015-05-08 16:37:16 -0700142 "src/core/security/security_context.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700143 "src/core/tsi/fake_transport_security.h",
144 "src/core/tsi/ssl_transport_security.h",
145 "src/core/tsi/transport_security.h",
146 "src/core/tsi/transport_security_interface.h",
Hongyu Chene09dc782015-08-21 11:28:33 -0700147 "src/core/census/grpc_filter.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700148 "src/core/channel/channel_args.h",
149 "src/core/channel/channel_stack.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700150 "src/core/channel/client_channel.h",
David Garcia Quintas55b4ea12015-06-16 14:27:32 -0700151 "src/core/channel/compress_filter.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700152 "src/core/channel/connected_channel.h",
murgatroid997da8b1a2015-06-17 12:37:34 -0700153 "src/core/channel/context.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700154 "src/core/channel/http_client_filter.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700155 "src/core/channel/http_server_filter.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700156 "src/core/channel/noop_filter.h",
Craig Tilleraf691802015-06-23 14:57:07 -0700157 "src/core/client_config/client_config.h",
Craig Tiller91624662015-06-25 16:31:02 -0700158 "src/core/client_config/connector.h",
Craig Tiller3bc8ebd2015-06-24 15:41:15 -0700159 "src/core/client_config/lb_policies/pick_first.h",
Craig Tilleraf691802015-06-23 14:57:07 -0700160 "src/core/client_config/lb_policy.h",
161 "src/core/client_config/resolver.h",
Craig Tiller7df28a72015-06-24 09:23:52 -0700162 "src/core/client_config/resolver_factory.h",
Craig Tiller3bc8ebd2015-06-24 15:41:15 -0700163 "src/core/client_config/resolver_registry.h",
164 "src/core/client_config/resolvers/dns_resolver.h",
Craig Tiller698d00c2015-07-20 12:32:58 -0700165 "src/core/client_config/resolvers/sockaddr_resolver.h",
Craig Tilleraf691802015-06-23 14:57:07 -0700166 "src/core/client_config/subchannel.h",
167 "src/core/client_config/subchannel_factory.h",
Craig Tiller83f4d4e2015-07-29 18:14:41 -0700168 "src/core/client_config/subchannel_factory_decorators/add_channel_arg.h",
169 "src/core/client_config/subchannel_factory_decorators/merge_channel_args.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",
Craig Tillerf53d9c82015-08-04 14:19:43 -0700173 "src/core/httpcli/format_request.h",
174 "src/core/httpcli/httpcli.h",
175 "src/core/httpcli/parser.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700176 "src/core/iomgr/alarm.h",
177 "src/core/iomgr/alarm_heap.h",
178 "src/core/iomgr/alarm_internal.h",
179 "src/core/iomgr/endpoint.h",
180 "src/core/iomgr/endpoint_pair.h",
181 "src/core/iomgr/fd_posix.h",
182 "src/core/iomgr/iocp_windows.h",
183 "src/core/iomgr/iomgr.h",
184 "src/core/iomgr/iomgr_internal.h",
185 "src/core/iomgr/iomgr_posix.h",
186 "src/core/iomgr/pollset.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700187 "src/core/iomgr/pollset_posix.h",
Jorge Canizalesfe8ad732015-06-20 19:53:59 -0700188 "src/core/iomgr/pollset_set.h",
Craig Tillerb7cf08f2015-05-07 07:58:30 -0700189 "src/core/iomgr/pollset_set_posix.h",
190 "src/core/iomgr/pollset_set_windows.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700191 "src/core/iomgr/pollset_windows.h",
192 "src/core/iomgr/resolve_address.h",
193 "src/core/iomgr/sockaddr.h",
194 "src/core/iomgr/sockaddr_posix.h",
195 "src/core/iomgr/sockaddr_utils.h",
196 "src/core/iomgr/sockaddr_win32.h",
197 "src/core/iomgr/socket_utils_posix.h",
198 "src/core/iomgr/socket_windows.h",
199 "src/core/iomgr/tcp_client.h",
200 "src/core/iomgr/tcp_posix.h",
201 "src/core/iomgr/tcp_server.h",
202 "src/core/iomgr/tcp_windows.h",
203 "src/core/iomgr/time_averaged_stats.h",
Robbie Shade69535292015-07-10 14:27:34 -0400204 "src/core/iomgr/udp_server.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700205 "src/core/iomgr/wakeup_fd_pipe.h",
206 "src/core/iomgr/wakeup_fd_posix.h",
207 "src/core/json/json.h",
208 "src/core/json/json_common.h",
209 "src/core/json/json_reader.h",
210 "src/core/json/json_writer.h",
Vijay Pai6dfa7e62015-04-13 10:41:40 -0700211 "src/core/profiling/timers.h",
Hongyu Chenbeb580b2015-08-25 16:19:33 -0700212 "src/core/statistics/census_interface.h",
213 "src/core/statistics/census_rpc_stats.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700214 "src/core/surface/byte_buffer_queue.h",
215 "src/core/surface/call.h",
216 "src/core/surface/channel.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700217 "src/core/surface/completion_queue.h",
218 "src/core/surface/event_string.h",
219 "src/core/surface/init.h",
220 "src/core/surface/server.h",
221 "src/core/surface/surface_trace.h",
222 "src/core/transport/chttp2/alpn.h",
223 "src/core/transport/chttp2/bin_encoder.h",
224 "src/core/transport/chttp2/frame.h",
225 "src/core/transport/chttp2/frame_data.h",
226 "src/core/transport/chttp2/frame_goaway.h",
227 "src/core/transport/chttp2/frame_ping.h",
228 "src/core/transport/chttp2/frame_rst_stream.h",
229 "src/core/transport/chttp2/frame_settings.h",
230 "src/core/transport/chttp2/frame_window_update.h",
231 "src/core/transport/chttp2/hpack_parser.h",
232 "src/core/transport/chttp2/hpack_table.h",
233 "src/core/transport/chttp2/http2_errors.h",
234 "src/core/transport/chttp2/huffsyms.h",
Craig Tiller5dc3b302015-06-15 16:06:50 -0700235 "src/core/transport/chttp2/incoming_metadata.h",
Craig Tiller41527062015-06-12 07:51:05 -0700236 "src/core/transport/chttp2/internal.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700237 "src/core/transport/chttp2/status_conversion.h",
238 "src/core/transport/chttp2/stream_encoder.h",
239 "src/core/transport/chttp2/stream_map.h",
240 "src/core/transport/chttp2/timeout_encoding.h",
241 "src/core/transport/chttp2/varint.h",
242 "src/core/transport/chttp2_transport.h",
Craig Tiller08a1cf82015-06-29 09:37:52 -0700243 "src/core/transport/connectivity_state.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700244 "src/core/transport/metadata.h",
245 "src/core/transport/stream_op.h",
246 "src/core/transport/transport.h",
247 "src/core/transport/transport_impl.h",
Alistair Veitch1c09acc2015-08-31 16:57:32 -0700248 "src/core/census/aggregation.h",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700249 "src/core/census/context.h",
Alistair Veitch9a099822015-08-27 13:16:00 -0700250 "src/core/census/rpc_metric_id.h",
Julien Boeuf7d1d9ca2015-04-17 14:38:48 -0700251 "src/core/httpcli/httpcli_security_connector.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700252 "src/core/security/base64.c",
Julien Boeufc6f8d0a2015-05-11 22:40:02 -0700253 "src/core/security/client_auth_filter.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700254 "src/core/security/credentials.c",
Julien Boeuf75c9b6f2015-05-29 13:12:12 -0700255 "src/core/security/credentials_metadata.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700256 "src/core/security/credentials_posix.c",
257 "src/core/security/credentials_win32.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700258 "src/core/security/google_default_credentials.c",
259 "src/core/security/json_token.c",
Julien Boeuffeca1bf2015-06-22 16:46:20 +0200260 "src/core/security/jwt_verifier.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700261 "src/core/security/secure_endpoint.c",
262 "src/core/security/secure_transport_setup.c",
Julien Boeuf7d1d9ca2015-04-17 14:38:48 -0700263 "src/core/security/security_connector.c",
Julien Boeufd7f768b2015-05-08 16:37:16 -0700264 "src/core/security/security_context.c",
Julien Boeufc6f8d0a2015-05-11 22:40:02 -0700265 "src/core/security/server_auth_filter.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700266 "src/core/security/server_secure_chttp2.c",
267 "src/core/surface/init_secure.c",
268 "src/core/surface/secure_channel_create.c",
269 "src/core/tsi/fake_transport_security.c",
270 "src/core/tsi/ssl_transport_security.c",
271 "src/core/tsi/transport_security.c",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700272 "src/core/census/grpc_context.c",
Hongyu Chene09dc782015-08-21 11:28:33 -0700273 "src/core/census/grpc_filter.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700274 "src/core/channel/channel_args.c",
275 "src/core/channel/channel_stack.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700276 "src/core/channel/client_channel.c",
David Garcia Quintas55b4ea12015-06-16 14:27:32 -0700277 "src/core/channel/compress_filter.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700278 "src/core/channel/connected_channel.c",
279 "src/core/channel/http_client_filter.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700280 "src/core/channel/http_server_filter.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700281 "src/core/channel/noop_filter.c",
Craig Tilleraf691802015-06-23 14:57:07 -0700282 "src/core/client_config/client_config.c",
Craig Tiller91624662015-06-25 16:31:02 -0700283 "src/core/client_config/connector.c",
Craig Tiller3bc8ebd2015-06-24 15:41:15 -0700284 "src/core/client_config/lb_policies/pick_first.c",
Craig Tilleraf691802015-06-23 14:57:07 -0700285 "src/core/client_config/lb_policy.c",
286 "src/core/client_config/resolver.c",
Craig Tiller7df28a72015-06-24 09:23:52 -0700287 "src/core/client_config/resolver_factory.c",
Craig Tiller3bc8ebd2015-06-24 15:41:15 -0700288 "src/core/client_config/resolver_registry.c",
289 "src/core/client_config/resolvers/dns_resolver.c",
Craig Tiller698d00c2015-07-20 12:32:58 -0700290 "src/core/client_config/resolvers/sockaddr_resolver.c",
Craig Tilleraf691802015-06-23 14:57:07 -0700291 "src/core/client_config/subchannel.c",
292 "src/core/client_config/subchannel_factory.c",
Craig Tiller83f4d4e2015-07-29 18:14:41 -0700293 "src/core/client_config/subchannel_factory_decorators/add_channel_arg.c",
294 "src/core/client_config/subchannel_factory_decorators/merge_channel_args.c",
Craig Tiller3bc8ebd2015-06-24 15:41:15 -0700295 "src/core/client_config/uri_parser.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700296 "src/core/compression/algorithm.c",
297 "src/core/compression/message_compress.c",
298 "src/core/debug/trace.c",
Craig Tillerf53d9c82015-08-04 14:19:43 -0700299 "src/core/httpcli/format_request.c",
300 "src/core/httpcli/httpcli.c",
301 "src/core/httpcli/parser.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700302 "src/core/iomgr/alarm.c",
303 "src/core/iomgr/alarm_heap.c",
304 "src/core/iomgr/endpoint.c",
305 "src/core/iomgr/endpoint_pair_posix.c",
Craig Tillerd180e032015-04-13 10:10:07 -0700306 "src/core/iomgr/endpoint_pair_windows.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700307 "src/core/iomgr/fd_posix.c",
308 "src/core/iomgr/iocp_windows.c",
309 "src/core/iomgr/iomgr.c",
310 "src/core/iomgr/iomgr_posix.c",
311 "src/core/iomgr/iomgr_windows.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700312 "src/core/iomgr/pollset_multipoller_with_epoll.c",
313 "src/core/iomgr/pollset_multipoller_with_poll_posix.c",
314 "src/core/iomgr/pollset_posix.c",
Craig Tillerb7cf08f2015-05-07 07:58:30 -0700315 "src/core/iomgr/pollset_set_posix.c",
316 "src/core/iomgr/pollset_set_windows.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700317 "src/core/iomgr/pollset_windows.c",
318 "src/core/iomgr/resolve_address_posix.c",
319 "src/core/iomgr/resolve_address_windows.c",
320 "src/core/iomgr/sockaddr_utils.c",
321 "src/core/iomgr/socket_utils_common_posix.c",
322 "src/core/iomgr/socket_utils_linux.c",
323 "src/core/iomgr/socket_utils_posix.c",
324 "src/core/iomgr/socket_windows.c",
325 "src/core/iomgr/tcp_client_posix.c",
326 "src/core/iomgr/tcp_client_windows.c",
327 "src/core/iomgr/tcp_posix.c",
328 "src/core/iomgr/tcp_server_posix.c",
329 "src/core/iomgr/tcp_server_windows.c",
330 "src/core/iomgr/tcp_windows.c",
331 "src/core/iomgr/time_averaged_stats.c",
Robbie Shade69535292015-07-10 14:27:34 -0400332 "src/core/iomgr/udp_server.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700333 "src/core/iomgr/wakeup_fd_eventfd.c",
334 "src/core/iomgr/wakeup_fd_nospecial.c",
335 "src/core/iomgr/wakeup_fd_pipe.c",
336 "src/core/iomgr/wakeup_fd_posix.c",
337 "src/core/json/json.c",
338 "src/core/json/json_reader.c",
339 "src/core/json/json_string.c",
340 "src/core/json/json_writer.c",
David Garcia Quintas8954e902015-04-29 09:46:33 -0700341 "src/core/profiling/basic_timers.c",
342 "src/core/profiling/stap_timers.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700343 "src/core/surface/byte_buffer.c",
344 "src/core/surface/byte_buffer_queue.c",
345 "src/core/surface/byte_buffer_reader.c",
346 "src/core/surface/call.c",
347 "src/core/surface/call_details.c",
348 "src/core/surface/call_log_batch.c",
349 "src/core/surface/channel.c",
Craig Tiller48cb07c2015-07-15 16:16:15 -0700350 "src/core/surface/channel_connectivity.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700351 "src/core/surface/channel_create.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700352 "src/core/surface/completion_queue.c",
353 "src/core/surface/event_string.c",
354 "src/core/surface/init.c",
355 "src/core/surface/lame_client.c",
356 "src/core/surface/metadata_array.c",
357 "src/core/surface/server.c",
358 "src/core/surface/server_chttp2.c",
359 "src/core/surface/server_create.c",
360 "src/core/surface/surface_trace.c",
Craig Tiller2e622bc2015-07-10 07:46:03 -0700361 "src/core/surface/version.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700362 "src/core/transport/chttp2/alpn.c",
363 "src/core/transport/chttp2/bin_encoder.c",
364 "src/core/transport/chttp2/frame_data.c",
365 "src/core/transport/chttp2/frame_goaway.c",
366 "src/core/transport/chttp2/frame_ping.c",
367 "src/core/transport/chttp2/frame_rst_stream.c",
368 "src/core/transport/chttp2/frame_settings.c",
369 "src/core/transport/chttp2/frame_window_update.c",
370 "src/core/transport/chttp2/hpack_parser.c",
371 "src/core/transport/chttp2/hpack_table.c",
372 "src/core/transport/chttp2/huffsyms.c",
Craig Tiller5dc3b302015-06-15 16:06:50 -0700373 "src/core/transport/chttp2/incoming_metadata.c",
Craig Tillerd8df50c2015-06-12 07:53:56 -0700374 "src/core/transport/chttp2/parsing.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700375 "src/core/transport/chttp2/status_conversion.c",
376 "src/core/transport/chttp2/stream_encoder.c",
Craig Tiller6459db42015-06-15 17:11:45 -0700377 "src/core/transport/chttp2/stream_lists.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700378 "src/core/transport/chttp2/stream_map.c",
379 "src/core/transport/chttp2/timeout_encoding.c",
380 "src/core/transport/chttp2/varint.c",
Craig Tillerd8df50c2015-06-12 07:53:56 -0700381 "src/core/transport/chttp2/writing.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700382 "src/core/transport/chttp2_transport.c",
Craig Tiller08a1cf82015-06-29 09:37:52 -0700383 "src/core/transport/connectivity_state.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700384 "src/core/transport/metadata.c",
385 "src/core/transport/stream_op.c",
386 "src/core/transport/transport.c",
Craig Tiller83f88d92015-04-21 16:02:05 -0700387 "src/core/transport/transport_op_string.c",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700388 "src/core/census/context.c",
389 "src/core/census/initialize.c",
Alistair Veitche6d0ad32015-08-13 09:59:48 -0700390 "src/core/census/operation.c",
Alistair Veitch0383d492015-07-26 15:29:00 -0700391 "src/core/census/tracing.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700392 ],
393 hdrs = [
394 "include/grpc/grpc_security.h",
395 "include/grpc/byte_buffer.h",
396 "include/grpc/byte_buffer_reader.h",
David Garcia Quintas59f905d2015-06-08 16:31:19 -0700397 "include/grpc/compression.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700398 "include/grpc/grpc.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700399 "include/grpc/status.h",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700400 "include/grpc/census.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700401 ],
402 includes = [
403 "include",
404 ".",
405 ],
406 deps = [
407 "//external:libssl",
Ming Zhaof2f24e22015-08-13 12:38:35 -0700408 "//external:zlib",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700409 ":gpr",
410 ],
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +0200411)
412
413
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700414cc_library(
415 name = "grpc_unsecure",
416 srcs = [
Hongyu Chene09dc782015-08-21 11:28:33 -0700417 "src/core/census/grpc_filter.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700418 "src/core/channel/channel_args.h",
419 "src/core/channel/channel_stack.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700420 "src/core/channel/client_channel.h",
David Garcia Quintas55b4ea12015-06-16 14:27:32 -0700421 "src/core/channel/compress_filter.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700422 "src/core/channel/connected_channel.h",
murgatroid997da8b1a2015-06-17 12:37:34 -0700423 "src/core/channel/context.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700424 "src/core/channel/http_client_filter.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700425 "src/core/channel/http_server_filter.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700426 "src/core/channel/noop_filter.h",
Craig Tilleraf691802015-06-23 14:57:07 -0700427 "src/core/client_config/client_config.h",
Craig Tiller91624662015-06-25 16:31:02 -0700428 "src/core/client_config/connector.h",
Craig Tiller3bc8ebd2015-06-24 15:41:15 -0700429 "src/core/client_config/lb_policies/pick_first.h",
Craig Tilleraf691802015-06-23 14:57:07 -0700430 "src/core/client_config/lb_policy.h",
431 "src/core/client_config/resolver.h",
Craig Tiller7df28a72015-06-24 09:23:52 -0700432 "src/core/client_config/resolver_factory.h",
Craig Tiller3bc8ebd2015-06-24 15:41:15 -0700433 "src/core/client_config/resolver_registry.h",
434 "src/core/client_config/resolvers/dns_resolver.h",
Craig Tiller698d00c2015-07-20 12:32:58 -0700435 "src/core/client_config/resolvers/sockaddr_resolver.h",
Craig Tilleraf691802015-06-23 14:57:07 -0700436 "src/core/client_config/subchannel.h",
437 "src/core/client_config/subchannel_factory.h",
Craig Tiller83f4d4e2015-07-29 18:14:41 -0700438 "src/core/client_config/subchannel_factory_decorators/add_channel_arg.h",
439 "src/core/client_config/subchannel_factory_decorators/merge_channel_args.h",
Craig Tiller3bc8ebd2015-06-24 15:41:15 -0700440 "src/core/client_config/uri_parser.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700441 "src/core/compression/message_compress.h",
442 "src/core/debug/trace.h",
Craig Tillerf53d9c82015-08-04 14:19:43 -0700443 "src/core/httpcli/format_request.h",
444 "src/core/httpcli/httpcli.h",
445 "src/core/httpcli/parser.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700446 "src/core/iomgr/alarm.h",
447 "src/core/iomgr/alarm_heap.h",
448 "src/core/iomgr/alarm_internal.h",
449 "src/core/iomgr/endpoint.h",
450 "src/core/iomgr/endpoint_pair.h",
451 "src/core/iomgr/fd_posix.h",
452 "src/core/iomgr/iocp_windows.h",
453 "src/core/iomgr/iomgr.h",
454 "src/core/iomgr/iomgr_internal.h",
455 "src/core/iomgr/iomgr_posix.h",
456 "src/core/iomgr/pollset.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700457 "src/core/iomgr/pollset_posix.h",
Jorge Canizalesfe8ad732015-06-20 19:53:59 -0700458 "src/core/iomgr/pollset_set.h",
Craig Tillerb7cf08f2015-05-07 07:58:30 -0700459 "src/core/iomgr/pollset_set_posix.h",
460 "src/core/iomgr/pollset_set_windows.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700461 "src/core/iomgr/pollset_windows.h",
462 "src/core/iomgr/resolve_address.h",
463 "src/core/iomgr/sockaddr.h",
464 "src/core/iomgr/sockaddr_posix.h",
465 "src/core/iomgr/sockaddr_utils.h",
466 "src/core/iomgr/sockaddr_win32.h",
467 "src/core/iomgr/socket_utils_posix.h",
468 "src/core/iomgr/socket_windows.h",
469 "src/core/iomgr/tcp_client.h",
470 "src/core/iomgr/tcp_posix.h",
471 "src/core/iomgr/tcp_server.h",
472 "src/core/iomgr/tcp_windows.h",
473 "src/core/iomgr/time_averaged_stats.h",
Robbie Shade69535292015-07-10 14:27:34 -0400474 "src/core/iomgr/udp_server.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700475 "src/core/iomgr/wakeup_fd_pipe.h",
476 "src/core/iomgr/wakeup_fd_posix.h",
477 "src/core/json/json.h",
478 "src/core/json/json_common.h",
479 "src/core/json/json_reader.h",
480 "src/core/json/json_writer.h",
Vijay Pai6dfa7e62015-04-13 10:41:40 -0700481 "src/core/profiling/timers.h",
Hongyu Chenbeb580b2015-08-25 16:19:33 -0700482 "src/core/statistics/census_interface.h",
483 "src/core/statistics/census_rpc_stats.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700484 "src/core/surface/byte_buffer_queue.h",
485 "src/core/surface/call.h",
486 "src/core/surface/channel.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700487 "src/core/surface/completion_queue.h",
488 "src/core/surface/event_string.h",
489 "src/core/surface/init.h",
490 "src/core/surface/server.h",
491 "src/core/surface/surface_trace.h",
492 "src/core/transport/chttp2/alpn.h",
493 "src/core/transport/chttp2/bin_encoder.h",
494 "src/core/transport/chttp2/frame.h",
495 "src/core/transport/chttp2/frame_data.h",
496 "src/core/transport/chttp2/frame_goaway.h",
497 "src/core/transport/chttp2/frame_ping.h",
498 "src/core/transport/chttp2/frame_rst_stream.h",
499 "src/core/transport/chttp2/frame_settings.h",
500 "src/core/transport/chttp2/frame_window_update.h",
501 "src/core/transport/chttp2/hpack_parser.h",
502 "src/core/transport/chttp2/hpack_table.h",
503 "src/core/transport/chttp2/http2_errors.h",
504 "src/core/transport/chttp2/huffsyms.h",
Craig Tiller5dc3b302015-06-15 16:06:50 -0700505 "src/core/transport/chttp2/incoming_metadata.h",
Craig Tiller41527062015-06-12 07:51:05 -0700506 "src/core/transport/chttp2/internal.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700507 "src/core/transport/chttp2/status_conversion.h",
508 "src/core/transport/chttp2/stream_encoder.h",
509 "src/core/transport/chttp2/stream_map.h",
510 "src/core/transport/chttp2/timeout_encoding.h",
511 "src/core/transport/chttp2/varint.h",
512 "src/core/transport/chttp2_transport.h",
Craig Tiller08a1cf82015-06-29 09:37:52 -0700513 "src/core/transport/connectivity_state.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700514 "src/core/transport/metadata.h",
515 "src/core/transport/stream_op.h",
516 "src/core/transport/transport.h",
517 "src/core/transport/transport_impl.h",
Alistair Veitch1c09acc2015-08-31 16:57:32 -0700518 "src/core/census/aggregation.h",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700519 "src/core/census/context.h",
Alistair Veitch9a099822015-08-27 13:16:00 -0700520 "src/core/census/rpc_metric_id.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700521 "src/core/surface/init_unsecure.c",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700522 "src/core/census/grpc_context.c",
Hongyu Chene09dc782015-08-21 11:28:33 -0700523 "src/core/census/grpc_filter.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700524 "src/core/channel/channel_args.c",
525 "src/core/channel/channel_stack.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700526 "src/core/channel/client_channel.c",
David Garcia Quintas55b4ea12015-06-16 14:27:32 -0700527 "src/core/channel/compress_filter.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700528 "src/core/channel/connected_channel.c",
529 "src/core/channel/http_client_filter.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700530 "src/core/channel/http_server_filter.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700531 "src/core/channel/noop_filter.c",
Craig Tilleraf691802015-06-23 14:57:07 -0700532 "src/core/client_config/client_config.c",
Craig Tiller91624662015-06-25 16:31:02 -0700533 "src/core/client_config/connector.c",
Craig Tiller3bc8ebd2015-06-24 15:41:15 -0700534 "src/core/client_config/lb_policies/pick_first.c",
Craig Tilleraf691802015-06-23 14:57:07 -0700535 "src/core/client_config/lb_policy.c",
536 "src/core/client_config/resolver.c",
Craig Tiller7df28a72015-06-24 09:23:52 -0700537 "src/core/client_config/resolver_factory.c",
Craig Tiller3bc8ebd2015-06-24 15:41:15 -0700538 "src/core/client_config/resolver_registry.c",
539 "src/core/client_config/resolvers/dns_resolver.c",
Craig Tiller698d00c2015-07-20 12:32:58 -0700540 "src/core/client_config/resolvers/sockaddr_resolver.c",
Craig Tilleraf691802015-06-23 14:57:07 -0700541 "src/core/client_config/subchannel.c",
542 "src/core/client_config/subchannel_factory.c",
Craig Tiller83f4d4e2015-07-29 18:14:41 -0700543 "src/core/client_config/subchannel_factory_decorators/add_channel_arg.c",
544 "src/core/client_config/subchannel_factory_decorators/merge_channel_args.c",
Craig Tiller3bc8ebd2015-06-24 15:41:15 -0700545 "src/core/client_config/uri_parser.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700546 "src/core/compression/algorithm.c",
547 "src/core/compression/message_compress.c",
548 "src/core/debug/trace.c",
Craig Tillerf53d9c82015-08-04 14:19:43 -0700549 "src/core/httpcli/format_request.c",
550 "src/core/httpcli/httpcli.c",
551 "src/core/httpcli/parser.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700552 "src/core/iomgr/alarm.c",
553 "src/core/iomgr/alarm_heap.c",
554 "src/core/iomgr/endpoint.c",
555 "src/core/iomgr/endpoint_pair_posix.c",
Craig Tillerd180e032015-04-13 10:10:07 -0700556 "src/core/iomgr/endpoint_pair_windows.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700557 "src/core/iomgr/fd_posix.c",
558 "src/core/iomgr/iocp_windows.c",
559 "src/core/iomgr/iomgr.c",
560 "src/core/iomgr/iomgr_posix.c",
561 "src/core/iomgr/iomgr_windows.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700562 "src/core/iomgr/pollset_multipoller_with_epoll.c",
563 "src/core/iomgr/pollset_multipoller_with_poll_posix.c",
564 "src/core/iomgr/pollset_posix.c",
Craig Tillerb7cf08f2015-05-07 07:58:30 -0700565 "src/core/iomgr/pollset_set_posix.c",
566 "src/core/iomgr/pollset_set_windows.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700567 "src/core/iomgr/pollset_windows.c",
568 "src/core/iomgr/resolve_address_posix.c",
569 "src/core/iomgr/resolve_address_windows.c",
570 "src/core/iomgr/sockaddr_utils.c",
571 "src/core/iomgr/socket_utils_common_posix.c",
572 "src/core/iomgr/socket_utils_linux.c",
573 "src/core/iomgr/socket_utils_posix.c",
574 "src/core/iomgr/socket_windows.c",
575 "src/core/iomgr/tcp_client_posix.c",
576 "src/core/iomgr/tcp_client_windows.c",
577 "src/core/iomgr/tcp_posix.c",
578 "src/core/iomgr/tcp_server_posix.c",
579 "src/core/iomgr/tcp_server_windows.c",
580 "src/core/iomgr/tcp_windows.c",
581 "src/core/iomgr/time_averaged_stats.c",
Robbie Shade69535292015-07-10 14:27:34 -0400582 "src/core/iomgr/udp_server.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700583 "src/core/iomgr/wakeup_fd_eventfd.c",
584 "src/core/iomgr/wakeup_fd_nospecial.c",
585 "src/core/iomgr/wakeup_fd_pipe.c",
586 "src/core/iomgr/wakeup_fd_posix.c",
587 "src/core/json/json.c",
588 "src/core/json/json_reader.c",
589 "src/core/json/json_string.c",
590 "src/core/json/json_writer.c",
David Garcia Quintas8954e902015-04-29 09:46:33 -0700591 "src/core/profiling/basic_timers.c",
592 "src/core/profiling/stap_timers.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700593 "src/core/surface/byte_buffer.c",
594 "src/core/surface/byte_buffer_queue.c",
595 "src/core/surface/byte_buffer_reader.c",
596 "src/core/surface/call.c",
597 "src/core/surface/call_details.c",
598 "src/core/surface/call_log_batch.c",
599 "src/core/surface/channel.c",
Craig Tiller48cb07c2015-07-15 16:16:15 -0700600 "src/core/surface/channel_connectivity.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700601 "src/core/surface/channel_create.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700602 "src/core/surface/completion_queue.c",
603 "src/core/surface/event_string.c",
604 "src/core/surface/init.c",
605 "src/core/surface/lame_client.c",
606 "src/core/surface/metadata_array.c",
607 "src/core/surface/server.c",
608 "src/core/surface/server_chttp2.c",
609 "src/core/surface/server_create.c",
610 "src/core/surface/surface_trace.c",
Craig Tiller2e622bc2015-07-10 07:46:03 -0700611 "src/core/surface/version.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700612 "src/core/transport/chttp2/alpn.c",
613 "src/core/transport/chttp2/bin_encoder.c",
614 "src/core/transport/chttp2/frame_data.c",
615 "src/core/transport/chttp2/frame_goaway.c",
616 "src/core/transport/chttp2/frame_ping.c",
617 "src/core/transport/chttp2/frame_rst_stream.c",
618 "src/core/transport/chttp2/frame_settings.c",
619 "src/core/transport/chttp2/frame_window_update.c",
620 "src/core/transport/chttp2/hpack_parser.c",
621 "src/core/transport/chttp2/hpack_table.c",
622 "src/core/transport/chttp2/huffsyms.c",
Craig Tiller5dc3b302015-06-15 16:06:50 -0700623 "src/core/transport/chttp2/incoming_metadata.c",
Craig Tillerd8df50c2015-06-12 07:53:56 -0700624 "src/core/transport/chttp2/parsing.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700625 "src/core/transport/chttp2/status_conversion.c",
626 "src/core/transport/chttp2/stream_encoder.c",
Craig Tiller6459db42015-06-15 17:11:45 -0700627 "src/core/transport/chttp2/stream_lists.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700628 "src/core/transport/chttp2/stream_map.c",
629 "src/core/transport/chttp2/timeout_encoding.c",
630 "src/core/transport/chttp2/varint.c",
Craig Tillerd8df50c2015-06-12 07:53:56 -0700631 "src/core/transport/chttp2/writing.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700632 "src/core/transport/chttp2_transport.c",
Craig Tiller08a1cf82015-06-29 09:37:52 -0700633 "src/core/transport/connectivity_state.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700634 "src/core/transport/metadata.c",
635 "src/core/transport/stream_op.c",
636 "src/core/transport/transport.c",
Craig Tiller83f88d92015-04-21 16:02:05 -0700637 "src/core/transport/transport_op_string.c",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700638 "src/core/census/context.c",
639 "src/core/census/initialize.c",
Alistair Veitche6d0ad32015-08-13 09:59:48 -0700640 "src/core/census/operation.c",
Alistair Veitch0383d492015-07-26 15:29:00 -0700641 "src/core/census/tracing.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700642 ],
643 hdrs = [
644 "include/grpc/byte_buffer.h",
645 "include/grpc/byte_buffer_reader.h",
David Garcia Quintas59f905d2015-06-08 16:31:19 -0700646 "include/grpc/compression.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700647 "include/grpc/grpc.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700648 "include/grpc/status.h",
Alistair Veitch9686dab2015-05-26 14:26:47 -0700649 "include/grpc/census.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700650 ],
651 includes = [
652 "include",
653 ".",
654 ],
655 deps = [
656 ":gpr",
657 ],
658)
659
660
661cc_library(
Hongwei Wangda8858f2015-07-16 16:18:19 -0700662 name = "grpc_zookeeper",
663 srcs = [
664 "src/core/client_config/resolvers/zookeeper_resolver.h",
665 "src/core/client_config/resolvers/zookeeper_resolver.c",
666 ],
667 hdrs = [
Hongwei Wanga3780a82015-07-17 15:27:18 -0700668 "include/grpc/grpc_zookeeper.h",
Hongwei Wangda8858f2015-07-16 16:18:19 -0700669 ],
670 includes = [
671 "include",
672 ".",
673 ],
674 deps = [
675 ":gpr",
676 ":grpc",
677 ],
678)
679
680
681cc_library(
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700682 name = "grpc++",
683 srcs = [
684 "src/cpp/client/secure_credentials.h",
yang-g3abe60b2015-07-06 14:00:36 -0700685 "src/cpp/common/secure_auth_context.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700686 "src/cpp/server/secure_server_credentials.h",
yang-gc317f072015-08-20 12:18:08 -0700687 "src/cpp/client/create_channel_internal.h",
yang-g3abe60b2015-07-06 14:00:36 -0700688 "src/cpp/common/create_auth_context.h",
Vijay Paie8a7e302015-08-24 10:52:33 -0700689 "src/cpp/server/dynamic_thread_pool.h",
690 "src/cpp/server/fixed_size_thread_pool.h",
691 "src/cpp/server/thread_pool_interface.h",
Craig Tillerf75fc122015-06-25 06:58:00 -0700692 "src/cpp/client/secure_channel_arguments.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700693 "src/cpp/client/secure_credentials.cc",
yang-g7ef72322015-07-16 21:00:51 -0700694 "src/cpp/common/auth_property_iterator.cc",
yang-g3abe60b2015-07-06 14:00:36 -0700695 "src/cpp/common/secure_auth_context.cc",
696 "src/cpp/common/secure_create_auth_context.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700697 "src/cpp/server/secure_server_credentials.cc",
698 "src/cpp/client/channel.cc",
699 "src/cpp/client/channel_arguments.cc",
700 "src/cpp/client/client_context.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700701 "src/cpp/client/create_channel.cc",
yang-gc317f072015-08-20 12:18:08 -0700702 "src/cpp/client/create_channel_internal.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700703 "src/cpp/client/credentials.cc",
704 "src/cpp/client/generic_stub.cc",
705 "src/cpp/client/insecure_credentials.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700706 "src/cpp/common/call.cc",
707 "src/cpp/common/completion_queue.cc",
708 "src/cpp/common/rpc_method.cc",
709 "src/cpp/proto/proto_utils.cc",
710 "src/cpp/server/async_generic_service.cc",
Yang Gao6f4fb3b2015-06-03 12:56:19 -0700711 "src/cpp/server/create_default_thread_pool.cc",
vjpaib28456b2015-07-23 14:17:10 -0700712 "src/cpp/server/dynamic_thread_pool.cc",
vjpaia2e1bb12015-07-15 16:49:49 -0700713 "src/cpp/server/fixed_size_thread_pool.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700714 "src/cpp/server/insecure_server_credentials.cc",
715 "src/cpp/server/server.cc",
716 "src/cpp/server/server_builder.cc",
717 "src/cpp/server/server_context.cc",
718 "src/cpp/server/server_credentials.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700719 "src/cpp/util/byte_buffer.cc",
720 "src/cpp/util/slice.cc",
721 "src/cpp/util/status.cc",
Julien Boeuf8fd915a2015-08-19 21:18:14 -0700722 "src/cpp/util/string_ref.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700723 "src/cpp/util/time.cc",
724 ],
725 hdrs = [
yang-g8c2be9f2015-08-19 16:28:09 -0700726 "include/grpc++/channel.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700727 "include/grpc++/client_context.h",
728 "include/grpc++/completion_queue.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700729 "include/grpc++/create_channel.h",
yang-g9e2f90c2015-08-21 15:35:03 -0700730 "include/grpc++/generic/async_generic_service.h",
731 "include/grpc++/generic/generic_stub.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700732 "include/grpc++/impl/call.h",
733 "include/grpc++/impl/client_unary_call.h",
Yang Gao96de4842015-04-24 13:13:12 -0700734 "include/grpc++/impl/grpc_library.h",
yang-gadfed032015-06-23 13:01:22 -0700735 "include/grpc++/impl/proto_utils.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700736 "include/grpc++/impl/rpc_method.h",
737 "include/grpc++/impl/rpc_service_method.h",
Craig Tiller6ef7f312015-06-05 10:15:10 -0700738 "include/grpc++/impl/serialization_traits.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700739 "include/grpc++/impl/service_type.h",
Nicolas "Pixel" Nobleb7c20352015-04-11 01:27:32 +0200740 "include/grpc++/impl/sync.h",
741 "include/grpc++/impl/sync_cxx11.h",
742 "include/grpc++/impl/sync_no_cxx11.h",
743 "include/grpc++/impl/thd.h",
744 "include/grpc++/impl/thd_cxx11.h",
745 "include/grpc++/impl/thd_no_cxx11.h",
Julien Boeuf0d471922015-08-30 22:18:50 -0700746 "include/grpc++/security/auth_context.h",
747 "include/grpc++/security/auth_metadata_processor.h",
748 "include/grpc++/security/credentials.h",
749 "include/grpc++/security/server_credentials.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700750 "include/grpc++/server.h",
751 "include/grpc++/server_builder.h",
752 "include/grpc++/server_context.h",
yang-g9fb35a52015-08-21 15:49:35 -0700753 "include/grpc++/support/async_stream.h",
yang-g9e2f90c2015-08-21 15:35:03 -0700754 "include/grpc++/support/async_unary_call.h",
yang-g9e2f90c2015-08-21 15:35:03 -0700755 "include/grpc++/support/byte_buffer.h",
756 "include/grpc++/support/channel_arguments.h",
757 "include/grpc++/support/config.h",
758 "include/grpc++/support/config_protobuf.h",
yang-g9e2f90c2015-08-21 15:35:03 -0700759 "include/grpc++/support/slice.h",
760 "include/grpc++/support/status.h",
761 "include/grpc++/support/status_code_enum.h",
Julien Boeuf0382bfa2015-08-24 23:55:43 -0700762 "include/grpc++/support/string_ref.h",
yang-g9e2f90c2015-08-21 15:35:03 -0700763 "include/grpc++/support/stub_options.h",
yang-g9fb35a52015-08-21 15:49:35 -0700764 "include/grpc++/support/sync_stream.h",
yang-g9e2f90c2015-08-21 15:35:03 -0700765 "include/grpc++/support/time.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700766 ],
767 includes = [
768 "include",
769 ".",
770 ],
771 deps = [
Craig Tiller02a7bed2015-08-31 15:54:05 -0700772 "//external:libssl",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700773 "//external:protobuf_clib",
774 ":gpr",
775 ":grpc",
776 ],
777)
778
779
780cc_library(
781 name = "grpc++_unsecure",
782 srcs = [
yang-gc317f072015-08-20 12:18:08 -0700783 "src/cpp/client/create_channel_internal.h",
yang-g3abe60b2015-07-06 14:00:36 -0700784 "src/cpp/common/create_auth_context.h",
Vijay Paie8a7e302015-08-24 10:52:33 -0700785 "src/cpp/server/dynamic_thread_pool.h",
786 "src/cpp/server/fixed_size_thread_pool.h",
787 "src/cpp/server/thread_pool_interface.h",
yang-g3abe60b2015-07-06 14:00:36 -0700788 "src/cpp/common/insecure_create_auth_context.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700789 "src/cpp/client/channel.cc",
790 "src/cpp/client/channel_arguments.cc",
791 "src/cpp/client/client_context.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700792 "src/cpp/client/create_channel.cc",
yang-gc317f072015-08-20 12:18:08 -0700793 "src/cpp/client/create_channel_internal.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700794 "src/cpp/client/credentials.cc",
795 "src/cpp/client/generic_stub.cc",
796 "src/cpp/client/insecure_credentials.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700797 "src/cpp/common/call.cc",
798 "src/cpp/common/completion_queue.cc",
799 "src/cpp/common/rpc_method.cc",
800 "src/cpp/proto/proto_utils.cc",
801 "src/cpp/server/async_generic_service.cc",
Yang Gao6f4fb3b2015-06-03 12:56:19 -0700802 "src/cpp/server/create_default_thread_pool.cc",
vjpaib28456b2015-07-23 14:17:10 -0700803 "src/cpp/server/dynamic_thread_pool.cc",
vjpaia2e1bb12015-07-15 16:49:49 -0700804 "src/cpp/server/fixed_size_thread_pool.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700805 "src/cpp/server/insecure_server_credentials.cc",
806 "src/cpp/server/server.cc",
807 "src/cpp/server/server_builder.cc",
808 "src/cpp/server/server_context.cc",
809 "src/cpp/server/server_credentials.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700810 "src/cpp/util/byte_buffer.cc",
811 "src/cpp/util/slice.cc",
812 "src/cpp/util/status.cc",
Julien Boeuf8fd915a2015-08-19 21:18:14 -0700813 "src/cpp/util/string_ref.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700814 "src/cpp/util/time.cc",
815 ],
816 hdrs = [
yang-g8c2be9f2015-08-19 16:28:09 -0700817 "include/grpc++/channel.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700818 "include/grpc++/client_context.h",
819 "include/grpc++/completion_queue.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700820 "include/grpc++/create_channel.h",
yang-g9e2f90c2015-08-21 15:35:03 -0700821 "include/grpc++/generic/async_generic_service.h",
822 "include/grpc++/generic/generic_stub.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700823 "include/grpc++/impl/call.h",
824 "include/grpc++/impl/client_unary_call.h",
Yang Gao96de4842015-04-24 13:13:12 -0700825 "include/grpc++/impl/grpc_library.h",
yang-gadfed032015-06-23 13:01:22 -0700826 "include/grpc++/impl/proto_utils.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700827 "include/grpc++/impl/rpc_method.h",
828 "include/grpc++/impl/rpc_service_method.h",
Craig Tiller6ef7f312015-06-05 10:15:10 -0700829 "include/grpc++/impl/serialization_traits.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700830 "include/grpc++/impl/service_type.h",
Nicolas "Pixel" Nobleb7c20352015-04-11 01:27:32 +0200831 "include/grpc++/impl/sync.h",
832 "include/grpc++/impl/sync_cxx11.h",
833 "include/grpc++/impl/sync_no_cxx11.h",
834 "include/grpc++/impl/thd.h",
835 "include/grpc++/impl/thd_cxx11.h",
836 "include/grpc++/impl/thd_no_cxx11.h",
Julien Boeuf0d471922015-08-30 22:18:50 -0700837 "include/grpc++/security/auth_context.h",
838 "include/grpc++/security/auth_metadata_processor.h",
839 "include/grpc++/security/credentials.h",
840 "include/grpc++/security/server_credentials.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700841 "include/grpc++/server.h",
842 "include/grpc++/server_builder.h",
843 "include/grpc++/server_context.h",
yang-g9fb35a52015-08-21 15:49:35 -0700844 "include/grpc++/support/async_stream.h",
yang-g9e2f90c2015-08-21 15:35:03 -0700845 "include/grpc++/support/async_unary_call.h",
yang-g9e2f90c2015-08-21 15:35:03 -0700846 "include/grpc++/support/byte_buffer.h",
847 "include/grpc++/support/channel_arguments.h",
848 "include/grpc++/support/config.h",
849 "include/grpc++/support/config_protobuf.h",
yang-g9e2f90c2015-08-21 15:35:03 -0700850 "include/grpc++/support/slice.h",
851 "include/grpc++/support/status.h",
852 "include/grpc++/support/status_code_enum.h",
Julien Boeuf0382bfa2015-08-24 23:55:43 -0700853 "include/grpc++/support/string_ref.h",
yang-g9e2f90c2015-08-21 15:35:03 -0700854 "include/grpc++/support/stub_options.h",
yang-g9fb35a52015-08-21 15:49:35 -0700855 "include/grpc++/support/sync_stream.h",
yang-g9e2f90c2015-08-21 15:35:03 -0700856 "include/grpc++/support/time.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700857 ],
858 includes = [
859 "include",
860 ".",
861 ],
862 deps = [
863 "//external:protobuf_clib",
864 ":gpr",
865 ":grpc_unsecure",
866 ],
867)
868
869
870cc_library(
871 name = "grpc_plugin_support",
872 srcs = [
yang-g9d1f0c42015-08-24 16:08:36 -0700873 "include/grpc++/support/config.h",
874 "include/grpc++/support/config_protobuf.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700875 "src/compiler/config.h",
876 "src/compiler/cpp_generator.h",
877 "src/compiler/cpp_generator_helpers.h",
Jan Tattermusch2d924952015-05-06 10:23:17 -0700878 "src/compiler/csharp_generator.h",
879 "src/compiler/csharp_generator_helpers.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700880 "src/compiler/generator_helpers.h",
881 "src/compiler/objective_c_generator.h",
882 "src/compiler/objective_c_generator_helpers.h",
883 "src/compiler/python_generator.h",
884 "src/compiler/ruby_generator.h",
885 "src/compiler/ruby_generator_helpers-inl.h",
886 "src/compiler/ruby_generator_map-inl.h",
887 "src/compiler/ruby_generator_string-inl.h",
888 "src/compiler/cpp_generator.cc",
Jan Tattermusch2d924952015-05-06 10:23:17 -0700889 "src/compiler/csharp_generator.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700890 "src/compiler/objective_c_generator.cc",
891 "src/compiler/python_generator.cc",
892 "src/compiler/ruby_generator.cc",
893 ],
894 hdrs = [
895 ],
896 includes = [
897 "include",
898 ".",
899 ],
900 deps = [
901 "//external:protobuf_compiler",
902 ],
903)
904
905
906cc_library(
907 name = "grpc_csharp_ext",
908 srcs = [
909 "src/csharp/ext/grpc_csharp_ext.c",
910 ],
911 hdrs = [
912 ],
913 includes = [
914 "include",
915 ".",
916 ],
917 deps = [
918 ":gpr",
919 ":grpc",
920 ],
921)
922
923
924
Jorge Canizales140bca82015-06-20 09:47:00 -0700925objc_library(
926 name = "gpr_objc",
927 srcs = [
928 "src/core/support/alloc.c",
Jorge Canizales140bca82015-06-20 09:47:00 -0700929 "src/core/support/cmdline.c",
930 "src/core/support/cpu_iphone.c",
931 "src/core/support/cpu_linux.c",
932 "src/core/support/cpu_posix.c",
933 "src/core/support/cpu_windows.c",
934 "src/core/support/env_linux.c",
935 "src/core/support/env_posix.c",
936 "src/core/support/env_win32.c",
937 "src/core/support/file.c",
938 "src/core/support/file_posix.c",
939 "src/core/support/file_win32.c",
940 "src/core/support/histogram.c",
941 "src/core/support/host_port.c",
942 "src/core/support/log.c",
943 "src/core/support/log_android.c",
944 "src/core/support/log_linux.c",
945 "src/core/support/log_posix.c",
946 "src/core/support/log_win32.c",
947 "src/core/support/murmur_hash.c",
948 "src/core/support/slice.c",
949 "src/core/support/slice_buffer.c",
Vijay Pai005e3052015-07-10 15:18:45 -0700950 "src/core/support/stack_lockfree.c",
Jorge Canizales140bca82015-06-20 09:47:00 -0700951 "src/core/support/string.c",
952 "src/core/support/string_posix.c",
953 "src/core/support/string_win32.c",
954 "src/core/support/subprocess_posix.c",
955 "src/core/support/sync.c",
956 "src/core/support/sync_posix.c",
957 "src/core/support/sync_win32.c",
958 "src/core/support/thd.c",
959 "src/core/support/thd_posix.c",
960 "src/core/support/thd_win32.c",
961 "src/core/support/time.c",
962 "src/core/support/time_posix.c",
963 "src/core/support/time_win32.c",
964 "src/core/support/tls_pthread.c",
965 ],
966 hdrs = [
967 "include/grpc/support/alloc.h",
968 "include/grpc/support/atm.h",
969 "include/grpc/support/atm_gcc_atomic.h",
970 "include/grpc/support/atm_gcc_sync.h",
971 "include/grpc/support/atm_win32.h",
Jorge Canizales140bca82015-06-20 09:47:00 -0700972 "include/grpc/support/cmdline.h",
973 "include/grpc/support/cpu.h",
974 "include/grpc/support/histogram.h",
975 "include/grpc/support/host_port.h",
976 "include/grpc/support/log.h",
977 "include/grpc/support/log_win32.h",
978 "include/grpc/support/port_platform.h",
979 "include/grpc/support/slice.h",
980 "include/grpc/support/slice_buffer.h",
981 "include/grpc/support/string_util.h",
982 "include/grpc/support/subprocess.h",
983 "include/grpc/support/sync.h",
984 "include/grpc/support/sync_generic.h",
985 "include/grpc/support/sync_posix.h",
986 "include/grpc/support/sync_win32.h",
987 "include/grpc/support/thd.h",
988 "include/grpc/support/time.h",
989 "include/grpc/support/tls.h",
990 "include/grpc/support/tls_gcc.h",
991 "include/grpc/support/tls_msvc.h",
992 "include/grpc/support/tls_pthread.h",
993 "include/grpc/support/useful.h",
994 "src/core/support/env.h",
995 "src/core/support/file.h",
996 "src/core/support/murmur_hash.h",
Vijay Pai005e3052015-07-10 15:18:45 -0700997 "src/core/support/stack_lockfree.h",
Jorge Canizales140bca82015-06-20 09:47:00 -0700998 "src/core/support/string.h",
999 "src/core/support/string_win32.h",
1000 "src/core/support/thd_internal.h",
Hongyu Chena0f149e2015-08-24 16:27:19 -07001001 "src/core/support/time_precise.h",
Jorge Canizales140bca82015-06-20 09:47:00 -07001002 ],
1003 includes = [
1004 "include",
1005 ".",
1006 ],
1007 deps = [
1008 ],
1009)
1010
1011
1012objc_library(
Jorge Canizales7b1a0ca2015-06-26 21:49:42 -07001013 name = "grpc_objc",
Jorge Canizales140bca82015-06-20 09:47:00 -07001014 srcs = [
Jorge Canizales7b1a0ca2015-06-26 21:49:42 -07001015 "src/core/httpcli/httpcli_security_connector.c",
Jorge Canizales7b1a0ca2015-06-26 21:49:42 -07001016 "src/core/security/base64.c",
1017 "src/core/security/client_auth_filter.c",
1018 "src/core/security/credentials.c",
1019 "src/core/security/credentials_metadata.c",
1020 "src/core/security/credentials_posix.c",
1021 "src/core/security/credentials_win32.c",
1022 "src/core/security/google_default_credentials.c",
1023 "src/core/security/json_token.c",
Julien Boeuffeca1bf2015-06-22 16:46:20 +02001024 "src/core/security/jwt_verifier.c",
Jorge Canizales7b1a0ca2015-06-26 21:49:42 -07001025 "src/core/security/secure_endpoint.c",
1026 "src/core/security/secure_transport_setup.c",
1027 "src/core/security/security_connector.c",
1028 "src/core/security/security_context.c",
1029 "src/core/security/server_auth_filter.c",
1030 "src/core/security/server_secure_chttp2.c",
1031 "src/core/surface/init_secure.c",
1032 "src/core/surface/secure_channel_create.c",
1033 "src/core/tsi/fake_transport_security.c",
1034 "src/core/tsi/ssl_transport_security.c",
1035 "src/core/tsi/transport_security.c",
Jorge Canizales140bca82015-06-20 09:47:00 -07001036 "src/core/census/grpc_context.c",
Hongyu Chene09dc782015-08-21 11:28:33 -07001037 "src/core/census/grpc_filter.c",
Jorge Canizales140bca82015-06-20 09:47:00 -07001038 "src/core/channel/channel_args.c",
1039 "src/core/channel/channel_stack.c",
Jorge Canizales140bca82015-06-20 09:47:00 -07001040 "src/core/channel/client_channel.c",
David Garcia Quintas8a187092015-07-01 14:52:44 -07001041 "src/core/channel/compress_filter.c",
Jorge Canizales140bca82015-06-20 09:47:00 -07001042 "src/core/channel/connected_channel.c",
1043 "src/core/channel/http_client_filter.c",
1044 "src/core/channel/http_server_filter.c",
1045 "src/core/channel/noop_filter.c",
Craig Tillerc7b5f762015-06-27 11:48:42 -07001046 "src/core/client_config/client_config.c",
1047 "src/core/client_config/connector.c",
1048 "src/core/client_config/lb_policies/pick_first.c",
1049 "src/core/client_config/lb_policy.c",
1050 "src/core/client_config/resolver.c",
1051 "src/core/client_config/resolver_factory.c",
1052 "src/core/client_config/resolver_registry.c",
1053 "src/core/client_config/resolvers/dns_resolver.c",
Craig Tiller698d00c2015-07-20 12:32:58 -07001054 "src/core/client_config/resolvers/sockaddr_resolver.c",
Craig Tillerc7b5f762015-06-27 11:48:42 -07001055 "src/core/client_config/subchannel.c",
1056 "src/core/client_config/subchannel_factory.c",
Craig Tiller83f4d4e2015-07-29 18:14:41 -07001057 "src/core/client_config/subchannel_factory_decorators/add_channel_arg.c",
1058 "src/core/client_config/subchannel_factory_decorators/merge_channel_args.c",
Craig Tillerc7b5f762015-06-27 11:48:42 -07001059 "src/core/client_config/uri_parser.c",
Jorge Canizales140bca82015-06-20 09:47:00 -07001060 "src/core/compression/algorithm.c",
1061 "src/core/compression/message_compress.c",
1062 "src/core/debug/trace.c",
Craig Tillerf53d9c82015-08-04 14:19:43 -07001063 "src/core/httpcli/format_request.c",
1064 "src/core/httpcli/httpcli.c",
1065 "src/core/httpcli/parser.c",
Jorge Canizales140bca82015-06-20 09:47:00 -07001066 "src/core/iomgr/alarm.c",
1067 "src/core/iomgr/alarm_heap.c",
1068 "src/core/iomgr/endpoint.c",
1069 "src/core/iomgr/endpoint_pair_posix.c",
1070 "src/core/iomgr/endpoint_pair_windows.c",
1071 "src/core/iomgr/fd_posix.c",
1072 "src/core/iomgr/iocp_windows.c",
1073 "src/core/iomgr/iomgr.c",
1074 "src/core/iomgr/iomgr_posix.c",
1075 "src/core/iomgr/iomgr_windows.c",
Jorge Canizales140bca82015-06-20 09:47:00 -07001076 "src/core/iomgr/pollset_multipoller_with_epoll.c",
1077 "src/core/iomgr/pollset_multipoller_with_poll_posix.c",
1078 "src/core/iomgr/pollset_posix.c",
1079 "src/core/iomgr/pollset_set_posix.c",
1080 "src/core/iomgr/pollset_set_windows.c",
1081 "src/core/iomgr/pollset_windows.c",
1082 "src/core/iomgr/resolve_address_posix.c",
1083 "src/core/iomgr/resolve_address_windows.c",
1084 "src/core/iomgr/sockaddr_utils.c",
1085 "src/core/iomgr/socket_utils_common_posix.c",
1086 "src/core/iomgr/socket_utils_linux.c",
1087 "src/core/iomgr/socket_utils_posix.c",
1088 "src/core/iomgr/socket_windows.c",
1089 "src/core/iomgr/tcp_client_posix.c",
1090 "src/core/iomgr/tcp_client_windows.c",
1091 "src/core/iomgr/tcp_posix.c",
1092 "src/core/iomgr/tcp_server_posix.c",
1093 "src/core/iomgr/tcp_server_windows.c",
1094 "src/core/iomgr/tcp_windows.c",
1095 "src/core/iomgr/time_averaged_stats.c",
Robbie Shade69535292015-07-10 14:27:34 -04001096 "src/core/iomgr/udp_server.c",
Jorge Canizales140bca82015-06-20 09:47:00 -07001097 "src/core/iomgr/wakeup_fd_eventfd.c",
1098 "src/core/iomgr/wakeup_fd_nospecial.c",
1099 "src/core/iomgr/wakeup_fd_pipe.c",
1100 "src/core/iomgr/wakeup_fd_posix.c",
1101 "src/core/json/json.c",
1102 "src/core/json/json_reader.c",
1103 "src/core/json/json_string.c",
1104 "src/core/json/json_writer.c",
1105 "src/core/profiling/basic_timers.c",
1106 "src/core/profiling/stap_timers.c",
1107 "src/core/surface/byte_buffer.c",
1108 "src/core/surface/byte_buffer_queue.c",
1109 "src/core/surface/byte_buffer_reader.c",
1110 "src/core/surface/call.c",
1111 "src/core/surface/call_details.c",
1112 "src/core/surface/call_log_batch.c",
1113 "src/core/surface/channel.c",
Craig Tiller48cb07c2015-07-15 16:16:15 -07001114 "src/core/surface/channel_connectivity.c",
Jorge Canizales140bca82015-06-20 09:47:00 -07001115 "src/core/surface/channel_create.c",
Jorge Canizales140bca82015-06-20 09:47:00 -07001116 "src/core/surface/completion_queue.c",
1117 "src/core/surface/event_string.c",
1118 "src/core/surface/init.c",
1119 "src/core/surface/lame_client.c",
1120 "src/core/surface/metadata_array.c",
1121 "src/core/surface/server.c",
1122 "src/core/surface/server_chttp2.c",
1123 "src/core/surface/server_create.c",
1124 "src/core/surface/surface_trace.c",
Craig Tiller2e622bc2015-07-10 07:46:03 -07001125 "src/core/surface/version.c",
Jorge Canizales140bca82015-06-20 09:47:00 -07001126 "src/core/transport/chttp2/alpn.c",
1127 "src/core/transport/chttp2/bin_encoder.c",
1128 "src/core/transport/chttp2/frame_data.c",
1129 "src/core/transport/chttp2/frame_goaway.c",
1130 "src/core/transport/chttp2/frame_ping.c",
1131 "src/core/transport/chttp2/frame_rst_stream.c",
1132 "src/core/transport/chttp2/frame_settings.c",
1133 "src/core/transport/chttp2/frame_window_update.c",
1134 "src/core/transport/chttp2/hpack_parser.c",
1135 "src/core/transport/chttp2/hpack_table.c",
1136 "src/core/transport/chttp2/huffsyms.c",
Nicolas "Pixel" Nobled35f93d2015-06-27 00:57:29 +02001137 "src/core/transport/chttp2/incoming_metadata.c",
1138 "src/core/transport/chttp2/parsing.c",
Jorge Canizales140bca82015-06-20 09:47:00 -07001139 "src/core/transport/chttp2/status_conversion.c",
1140 "src/core/transport/chttp2/stream_encoder.c",
Nicolas "Pixel" Nobled35f93d2015-06-27 00:57:29 +02001141 "src/core/transport/chttp2/stream_lists.c",
Jorge Canizales140bca82015-06-20 09:47:00 -07001142 "src/core/transport/chttp2/stream_map.c",
1143 "src/core/transport/chttp2/timeout_encoding.c",
1144 "src/core/transport/chttp2/varint.c",
Nicolas "Pixel" Nobled35f93d2015-06-27 00:57:29 +02001145 "src/core/transport/chttp2/writing.c",
Jorge Canizales140bca82015-06-20 09:47:00 -07001146 "src/core/transport/chttp2_transport.c",
Craig Tiller08a1cf82015-06-29 09:37:52 -07001147 "src/core/transport/connectivity_state.c",
Jorge Canizales140bca82015-06-20 09:47:00 -07001148 "src/core/transport/metadata.c",
1149 "src/core/transport/stream_op.c",
1150 "src/core/transport/transport.c",
1151 "src/core/transport/transport_op_string.c",
1152 "src/core/census/context.c",
1153 "src/core/census/initialize.c",
Alistair Veitche6d0ad32015-08-13 09:59:48 -07001154 "src/core/census/operation.c",
Alistair Veitch0383d492015-07-26 15:29:00 -07001155 "src/core/census/tracing.c",
Jorge Canizales140bca82015-06-20 09:47:00 -07001156 ],
1157 hdrs = [
Jorge Canizales7b1a0ca2015-06-26 21:49:42 -07001158 "include/grpc/grpc_security.h",
Jorge Canizales140bca82015-06-20 09:47:00 -07001159 "include/grpc/byte_buffer.h",
1160 "include/grpc/byte_buffer_reader.h",
1161 "include/grpc/compression.h",
1162 "include/grpc/grpc.h",
1163 "include/grpc/status.h",
1164 "include/grpc/census.h",
Jorge Canizales7b1a0ca2015-06-26 21:49:42 -07001165 "src/core/security/auth_filters.h",
1166 "src/core/security/base64.h",
1167 "src/core/security/credentials.h",
1168 "src/core/security/json_token.h",
Julien Boeuffeca1bf2015-06-22 16:46:20 +02001169 "src/core/security/jwt_verifier.h",
Jorge Canizales7b1a0ca2015-06-26 21:49:42 -07001170 "src/core/security/secure_endpoint.h",
1171 "src/core/security/secure_transport_setup.h",
1172 "src/core/security/security_connector.h",
1173 "src/core/security/security_context.h",
1174 "src/core/tsi/fake_transport_security.h",
1175 "src/core/tsi/ssl_transport_security.h",
1176 "src/core/tsi/transport_security.h",
1177 "src/core/tsi/transport_security_interface.h",
Hongyu Chene09dc782015-08-21 11:28:33 -07001178 "src/core/census/grpc_filter.h",
Jorge Canizales140bca82015-06-20 09:47:00 -07001179 "src/core/channel/channel_args.h",
1180 "src/core/channel/channel_stack.h",
Jorge Canizales140bca82015-06-20 09:47:00 -07001181 "src/core/channel/client_channel.h",
David Garcia Quintas8a187092015-07-01 14:52:44 -07001182 "src/core/channel/compress_filter.h",
Jorge Canizales140bca82015-06-20 09:47:00 -07001183 "src/core/channel/connected_channel.h",
1184 "src/core/channel/context.h",
1185 "src/core/channel/http_client_filter.h",
1186 "src/core/channel/http_server_filter.h",
1187 "src/core/channel/noop_filter.h",
Craig Tillerc7b5f762015-06-27 11:48:42 -07001188 "src/core/client_config/client_config.h",
1189 "src/core/client_config/connector.h",
1190 "src/core/client_config/lb_policies/pick_first.h",
1191 "src/core/client_config/lb_policy.h",
1192 "src/core/client_config/resolver.h",
1193 "src/core/client_config/resolver_factory.h",
1194 "src/core/client_config/resolver_registry.h",
1195 "src/core/client_config/resolvers/dns_resolver.h",
Craig Tiller698d00c2015-07-20 12:32:58 -07001196 "src/core/client_config/resolvers/sockaddr_resolver.h",
Craig Tillerc7b5f762015-06-27 11:48:42 -07001197 "src/core/client_config/subchannel.h",
1198 "src/core/client_config/subchannel_factory.h",
Craig Tiller83f4d4e2015-07-29 18:14:41 -07001199 "src/core/client_config/subchannel_factory_decorators/add_channel_arg.h",
1200 "src/core/client_config/subchannel_factory_decorators/merge_channel_args.h",
Craig Tillerc7b5f762015-06-27 11:48:42 -07001201 "src/core/client_config/uri_parser.h",
Jorge Canizales140bca82015-06-20 09:47:00 -07001202 "src/core/compression/message_compress.h",
1203 "src/core/debug/trace.h",
Craig Tillerf53d9c82015-08-04 14:19:43 -07001204 "src/core/httpcli/format_request.h",
1205 "src/core/httpcli/httpcli.h",
1206 "src/core/httpcli/parser.h",
Jorge Canizales140bca82015-06-20 09:47:00 -07001207 "src/core/iomgr/alarm.h",
1208 "src/core/iomgr/alarm_heap.h",
1209 "src/core/iomgr/alarm_internal.h",
1210 "src/core/iomgr/endpoint.h",
1211 "src/core/iomgr/endpoint_pair.h",
1212 "src/core/iomgr/fd_posix.h",
1213 "src/core/iomgr/iocp_windows.h",
1214 "src/core/iomgr/iomgr.h",
1215 "src/core/iomgr/iomgr_internal.h",
1216 "src/core/iomgr/iomgr_posix.h",
1217 "src/core/iomgr/pollset.h",
Jorge Canizales140bca82015-06-20 09:47:00 -07001218 "src/core/iomgr/pollset_posix.h",
1219 "src/core/iomgr/pollset_set.h",
1220 "src/core/iomgr/pollset_set_posix.h",
1221 "src/core/iomgr/pollset_set_windows.h",
1222 "src/core/iomgr/pollset_windows.h",
1223 "src/core/iomgr/resolve_address.h",
1224 "src/core/iomgr/sockaddr.h",
1225 "src/core/iomgr/sockaddr_posix.h",
1226 "src/core/iomgr/sockaddr_utils.h",
1227 "src/core/iomgr/sockaddr_win32.h",
1228 "src/core/iomgr/socket_utils_posix.h",
1229 "src/core/iomgr/socket_windows.h",
1230 "src/core/iomgr/tcp_client.h",
1231 "src/core/iomgr/tcp_posix.h",
1232 "src/core/iomgr/tcp_server.h",
1233 "src/core/iomgr/tcp_windows.h",
1234 "src/core/iomgr/time_averaged_stats.h",
Robbie Shade69535292015-07-10 14:27:34 -04001235 "src/core/iomgr/udp_server.h",
Jorge Canizales140bca82015-06-20 09:47:00 -07001236 "src/core/iomgr/wakeup_fd_pipe.h",
1237 "src/core/iomgr/wakeup_fd_posix.h",
1238 "src/core/json/json.h",
1239 "src/core/json/json_common.h",
1240 "src/core/json/json_reader.h",
1241 "src/core/json/json_writer.h",
1242 "src/core/profiling/timers.h",
Hongyu Chenbeb580b2015-08-25 16:19:33 -07001243 "src/core/statistics/census_interface.h",
1244 "src/core/statistics/census_rpc_stats.h",
Jorge Canizales140bca82015-06-20 09:47:00 -07001245 "src/core/surface/byte_buffer_queue.h",
1246 "src/core/surface/call.h",
1247 "src/core/surface/channel.h",
Jorge Canizales140bca82015-06-20 09:47:00 -07001248 "src/core/surface/completion_queue.h",
1249 "src/core/surface/event_string.h",
1250 "src/core/surface/init.h",
1251 "src/core/surface/server.h",
1252 "src/core/surface/surface_trace.h",
1253 "src/core/transport/chttp2/alpn.h",
1254 "src/core/transport/chttp2/bin_encoder.h",
1255 "src/core/transport/chttp2/frame.h",
1256 "src/core/transport/chttp2/frame_data.h",
1257 "src/core/transport/chttp2/frame_goaway.h",
1258 "src/core/transport/chttp2/frame_ping.h",
1259 "src/core/transport/chttp2/frame_rst_stream.h",
1260 "src/core/transport/chttp2/frame_settings.h",
1261 "src/core/transport/chttp2/frame_window_update.h",
1262 "src/core/transport/chttp2/hpack_parser.h",
1263 "src/core/transport/chttp2/hpack_table.h",
1264 "src/core/transport/chttp2/http2_errors.h",
1265 "src/core/transport/chttp2/huffsyms.h",
Nicolas "Pixel" Nobled35f93d2015-06-27 00:57:29 +02001266 "src/core/transport/chttp2/incoming_metadata.h",
1267 "src/core/transport/chttp2/internal.h",
Jorge Canizales140bca82015-06-20 09:47:00 -07001268 "src/core/transport/chttp2/status_conversion.h",
1269 "src/core/transport/chttp2/stream_encoder.h",
1270 "src/core/transport/chttp2/stream_map.h",
1271 "src/core/transport/chttp2/timeout_encoding.h",
1272 "src/core/transport/chttp2/varint.h",
1273 "src/core/transport/chttp2_transport.h",
Craig Tiller08a1cf82015-06-29 09:37:52 -07001274 "src/core/transport/connectivity_state.h",
Jorge Canizales140bca82015-06-20 09:47:00 -07001275 "src/core/transport/metadata.h",
1276 "src/core/transport/stream_op.h",
1277 "src/core/transport/transport.h",
1278 "src/core/transport/transport_impl.h",
Alistair Veitch1c09acc2015-08-31 16:57:32 -07001279 "src/core/census/aggregation.h",
Jorge Canizales140bca82015-06-20 09:47:00 -07001280 "src/core/census/context.h",
Alistair Veitch9a099822015-08-27 13:16:00 -07001281 "src/core/census/rpc_metric_id.h",
Jorge Canizales140bca82015-06-20 09:47:00 -07001282 ],
1283 includes = [
1284 "include",
1285 ".",
1286 ],
1287 deps = [
1288 ":gpr_objc",
Jorge Canizales4dc4e3d2015-06-26 22:12:02 -07001289 "//external:libssl_objc",
Jorge Canizales140bca82015-06-20 09:47:00 -07001290 ],
Jorge Canizales8c1fd042015-06-22 19:11:36 -07001291 sdk_dylibs = ["libz"],
Jorge Canizales140bca82015-06-20 09:47:00 -07001292)
1293
1294
1295
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001296cc_binary(
1297 name = "grpc_cpp_plugin",
1298 srcs = [
1299 "src/compiler/cpp_plugin.cc",
1300 ],
1301 deps = [
1302 "//external:protobuf_compiler",
1303 ":grpc_plugin_support",
1304 ],
1305)
1306
1307
1308cc_binary(
Jan Tattermusch2d924952015-05-06 10:23:17 -07001309 name = "grpc_csharp_plugin",
1310 srcs = [
1311 "src/compiler/csharp_plugin.cc",
1312 ],
1313 deps = [
1314 "//external:protobuf_compiler",
1315 ":grpc_plugin_support",
1316 ],
1317)
1318
1319
1320cc_binary(
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001321 name = "grpc_objective_c_plugin",
1322 srcs = [
1323 "src/compiler/objective_c_plugin.cc",
1324 ],
1325 deps = [
1326 "//external:protobuf_compiler",
1327 ":grpc_plugin_support",
1328 ],
1329)
1330
1331
1332cc_binary(
1333 name = "grpc_python_plugin",
1334 srcs = [
1335 "src/compiler/python_plugin.cc",
1336 ],
1337 deps = [
1338 "//external:protobuf_compiler",
1339 ":grpc_plugin_support",
1340 ],
1341)
1342
1343
1344cc_binary(
1345 name = "grpc_ruby_plugin",
1346 srcs = [
1347 "src/compiler/ruby_plugin.cc",
1348 ],
1349 deps = [
1350 "//external:protobuf_compiler",
1351 ":grpc_plugin_support",
1352 ],
1353)
1354
1355
1356
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +02001357
1358
Jorge Canizales140bca82015-06-20 09:47:00 -07001359
Jorge Canizales91e67a22015-06-24 13:50:04 -07001360
1361
Jorge Canizales44dc4232015-06-19 16:30:31 -07001362objc_path = "src/objective-c"
Jorge Canizales140bca82015-06-20 09:47:00 -07001363
Jorge Canizales44dc4232015-06-19 16:30:31 -07001364rx_library_path = objc_path + "/RxLibrary"
1365
1366objc_library(
Jorge Canizalesbba80762015-06-26 23:25:48 -07001367 name = "rx_library",
1368 hdrs = glob([
1369 rx_library_path + "/*.h",
1370 rx_library_path + "/transformations/*.h",
1371 ]),
1372 srcs = glob([
1373 rx_library_path + "/*.m",
1374 rx_library_path + "/transformations/*.m",
1375 ]),
1376 includes = [objc_path],
1377 deps = [
1378 ":rx_library_private",
1379 ],
Jorge Canizales44dc4232015-06-19 16:30:31 -07001380)
1381
1382objc_library(
Jorge Canizalesbba80762015-06-26 23:25:48 -07001383 name = "rx_library_private",
1384 hdrs = glob([rx_library_path + "/private/*.h"]),
1385 srcs = glob([rx_library_path + "/private/*.m"]),
1386 visibility = ["//visibility:private"],
Jorge Canizales44dc4232015-06-19 16:30:31 -07001387)
Jorge Canizales866255e2015-06-20 18:58:38 -07001388
1389objc_client_path = objc_path + "/GRPCClient"
1390
1391objc_library(
1392 name = "grpc_client",
1393 hdrs = glob([
1394 objc_client_path + "/*.h",
1395 objc_client_path + "/private/*.h",
1396 ]),
1397 srcs = glob([
1398 objc_client_path + "/*.m",
1399 objc_client_path + "/private/*.m",
1400 ]),
1401 includes = [objc_path],
Jorge Canizalesbb54ae82015-06-28 06:50:58 -07001402 bundles = [":gRPCCertificates"],
Jorge Canizales866255e2015-06-20 18:58:38 -07001403 deps = [
1404 ":grpc_objc",
1405 ":rx_library",
1406 ],
1407)
Jorge Canizalesbb54ae82015-06-28 06:50:58 -07001408
1409objc_bundle_library(
1410 # The choice of name is signicant here, since it determines the bundle name.
1411 name = "gRPCCertificates",
1412 resources = ["etc/roots.pem"],
1413)
Jorge Canizales50f19822015-06-28 23:48:30 -07001414
1415proto_objc_rpc_path = objc_path + "/ProtoRPC"
1416
1417objc_library(
1418 name = "proto_objc_rpc",
1419 hdrs = glob([
1420 proto_objc_rpc_path + "/*.h",
1421 ]),
1422 srcs = glob([
1423 proto_objc_rpc_path + "/*.m",
1424 ]),
1425 includes = [objc_path],
1426 deps = [
1427 ":grpc_client",
1428 ":rx_library",
1429 "//external:protobuf_objc",
1430 ],
1431)