blob: fbe69f3a6dacaa2da31f9e9d2985410e4966685b [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
Rob Earhartb7b8d052016-03-29 11:35:29 -070044
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +020045cc_library(
Craig Tillerda179ce2016-02-09 12:01:53 -080046 name = "gpr",
47 srcs = [
Craig Tillerf23078c2016-03-25 17:07:29 -070048 "src/core/lib/profiling/timers.h",
49 "src/core/lib/support/backoff.h",
50 "src/core/lib/support/block_annotate.h",
51 "src/core/lib/support/env.h",
52 "src/core/lib/support/load_file.h",
53 "src/core/lib/support/murmur_hash.h",
54 "src/core/lib/support/stack_lockfree.h",
55 "src/core/lib/support/string.h",
56 "src/core/lib/support/string_win32.h",
57 "src/core/lib/support/thd_internal.h",
58 "src/core/lib/support/time_precise.h",
59 "src/core/lib/support/tmpfile.h",
60 "src/core/lib/profiling/basic_timers.c",
61 "src/core/lib/profiling/stap_timers.c",
62 "src/core/lib/support/alloc.c",
63 "src/core/lib/support/avl.c",
64 "src/core/lib/support/backoff.c",
65 "src/core/lib/support/cmdline.c",
66 "src/core/lib/support/cpu_iphone.c",
67 "src/core/lib/support/cpu_linux.c",
68 "src/core/lib/support/cpu_posix.c",
69 "src/core/lib/support/cpu_windows.c",
70 "src/core/lib/support/env_linux.c",
71 "src/core/lib/support/env_posix.c",
72 "src/core/lib/support/env_win32.c",
73 "src/core/lib/support/histogram.c",
74 "src/core/lib/support/host_port.c",
75 "src/core/lib/support/load_file.c",
76 "src/core/lib/support/log.c",
77 "src/core/lib/support/log_android.c",
78 "src/core/lib/support/log_linux.c",
79 "src/core/lib/support/log_posix.c",
80 "src/core/lib/support/log_win32.c",
81 "src/core/lib/support/murmur_hash.c",
82 "src/core/lib/support/slice.c",
83 "src/core/lib/support/slice_buffer.c",
84 "src/core/lib/support/stack_lockfree.c",
85 "src/core/lib/support/string.c",
86 "src/core/lib/support/string_posix.c",
87 "src/core/lib/support/string_win32.c",
88 "src/core/lib/support/subprocess_posix.c",
89 "src/core/lib/support/subprocess_windows.c",
90 "src/core/lib/support/sync.c",
91 "src/core/lib/support/sync_posix.c",
92 "src/core/lib/support/sync_win32.c",
93 "src/core/lib/support/thd.c",
94 "src/core/lib/support/thd_posix.c",
95 "src/core/lib/support/thd_win32.c",
96 "src/core/lib/support/time.c",
97 "src/core/lib/support/time_posix.c",
98 "src/core/lib/support/time_precise.c",
99 "src/core/lib/support/time_win32.c",
100 "src/core/lib/support/tls_pthread.c",
101 "src/core/lib/support/tmpfile_posix.c",
102 "src/core/lib/support/tmpfile_win32.c",
103 "src/core/lib/support/wrap_memcpy.c",
Craig Tillerda179ce2016-02-09 12:01:53 -0800104 ],
105 hdrs = [
Craig Tiller44cc10b2016-03-28 10:45:29 -0700106 "include/grpc/impl/codegen/alloc.h",
107 "include/grpc/impl/codegen/atm.h",
108 "include/grpc/impl/codegen/atm_gcc_atomic.h",
109 "include/grpc/impl/codegen/atm_gcc_sync.h",
110 "include/grpc/impl/codegen/atm_win32.h",
111 "include/grpc/impl/codegen/log.h",
112 "include/grpc/impl/codegen/port_platform.h",
113 "include/grpc/impl/codegen/slice.h",
114 "include/grpc/impl/codegen/slice_buffer.h",
115 "include/grpc/impl/codegen/sync.h",
116 "include/grpc/impl/codegen/sync_generic.h",
117 "include/grpc/impl/codegen/sync_posix.h",
118 "include/grpc/impl/codegen/sync_win32.h",
119 "include/grpc/impl/codegen/time.h",
Craig Tillerda179ce2016-02-09 12:01:53 -0800120 "include/grpc/support/alloc.h",
121 "include/grpc/support/atm.h",
122 "include/grpc/support/atm_gcc_atomic.h",
123 "include/grpc/support/atm_gcc_sync.h",
124 "include/grpc/support/atm_win32.h",
125 "include/grpc/support/avl.h",
126 "include/grpc/support/cmdline.h",
127 "include/grpc/support/cpu.h",
128 "include/grpc/support/histogram.h",
129 "include/grpc/support/host_port.h",
130 "include/grpc/support/log.h",
131 "include/grpc/support/log_win32.h",
132 "include/grpc/support/port_platform.h",
133 "include/grpc/support/slice.h",
134 "include/grpc/support/slice_buffer.h",
135 "include/grpc/support/string_util.h",
136 "include/grpc/support/subprocess.h",
137 "include/grpc/support/sync.h",
138 "include/grpc/support/sync_generic.h",
139 "include/grpc/support/sync_posix.h",
140 "include/grpc/support/sync_win32.h",
141 "include/grpc/support/thd.h",
142 "include/grpc/support/time.h",
143 "include/grpc/support/tls.h",
144 "include/grpc/support/tls_gcc.h",
145 "include/grpc/support/tls_msvc.h",
146 "include/grpc/support/tls_pthread.h",
147 "include/grpc/support/useful.h",
Craig Tillerda179ce2016-02-09 12:01:53 -0800148 ],
149 includes = [
150 "include",
151 ".",
152 ],
153 deps = [
154 ],
155)
156
157
Rob Earhartb7b8d052016-03-29 11:35:29 -0700158
Craig Tillerda179ce2016-02-09 12:01:53 -0800159cc_library(
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700160 name = "grpc",
161 srcs = [
Craig Tiller8f8e9f92016-03-29 09:41:28 -0700162 "src/core/ext/census/aggregation.h",
163 "src/core/ext/census/census_interface.h",
164 "src/core/ext/census/census_rpc_stats.h",
165 "src/core/ext/census/grpc_filter.h",
Craig Tiller8f8e9f92016-03-29 09:41:28 -0700166 "src/core/ext/census/mlog.h",
167 "src/core/ext/census/rpc_metric_id.h",
Craig Tiller023caf12016-03-29 08:00:30 -0700168 "src/core/ext/lb_policy/grpclb/load_balancer_api.h",
Craig Tiller943cdf92016-03-29 13:27:56 -0700169 "src/core/ext/lb_policy/grpclb/proto/grpc/lb/v0/load_balancer.pb.h",
Craig Tiller44cc10b2016-03-28 10:45:29 -0700170 "src/core/ext/transport/chttp2/transport/alpn.h",
171 "src/core/ext/transport/chttp2/transport/bin_encoder.h",
172 "src/core/ext/transport/chttp2/transport/chttp2_transport.h",
173 "src/core/ext/transport/chttp2/transport/frame.h",
174 "src/core/ext/transport/chttp2/transport/frame_data.h",
175 "src/core/ext/transport/chttp2/transport/frame_goaway.h",
176 "src/core/ext/transport/chttp2/transport/frame_ping.h",
177 "src/core/ext/transport/chttp2/transport/frame_rst_stream.h",
178 "src/core/ext/transport/chttp2/transport/frame_settings.h",
179 "src/core/ext/transport/chttp2/transport/frame_window_update.h",
180 "src/core/ext/transport/chttp2/transport/hpack_encoder.h",
181 "src/core/ext/transport/chttp2/transport/hpack_parser.h",
182 "src/core/ext/transport/chttp2/transport/hpack_table.h",
183 "src/core/ext/transport/chttp2/transport/http2_errors.h",
184 "src/core/ext/transport/chttp2/transport/huffsyms.h",
185 "src/core/ext/transport/chttp2/transport/incoming_metadata.h",
186 "src/core/ext/transport/chttp2/transport/internal.h",
187 "src/core/ext/transport/chttp2/transport/status_conversion.h",
188 "src/core/ext/transport/chttp2/transport/stream_map.h",
189 "src/core/ext/transport/chttp2/transport/timeout_encoding.h",
190 "src/core/ext/transport/chttp2/transport/varint.h",
Craig Tillerf23078c2016-03-25 17:07:29 -0700191 "src/core/lib/channel/channel_args.h",
192 "src/core/lib/channel/channel_stack.h",
193 "src/core/lib/channel/channel_stack_builder.h",
194 "src/core/lib/channel/client_channel.h",
195 "src/core/lib/channel/compress_filter.h",
196 "src/core/lib/channel/connected_channel.h",
197 "src/core/lib/channel/context.h",
198 "src/core/lib/channel/http_client_filter.h",
199 "src/core/lib/channel/http_server_filter.h",
200 "src/core/lib/channel/subchannel_call_holder.h",
201 "src/core/lib/client_config/client_config.h",
202 "src/core/lib/client_config/connector.h",
203 "src/core/lib/client_config/initial_connect_string.h",
Craig Tillerf23078c2016-03-25 17:07:29 -0700204 "src/core/lib/client_config/lb_policy.h",
205 "src/core/lib/client_config/lb_policy_factory.h",
206 "src/core/lib/client_config/lb_policy_registry.h",
207 "src/core/lib/client_config/resolver.h",
208 "src/core/lib/client_config/resolver_factory.h",
209 "src/core/lib/client_config/resolver_registry.h",
Craig Tillerf23078c2016-03-25 17:07:29 -0700210 "src/core/lib/client_config/subchannel.h",
211 "src/core/lib/client_config/subchannel_factory.h",
212 "src/core/lib/client_config/subchannel_index.h",
213 "src/core/lib/client_config/uri_parser.h",
214 "src/core/lib/compression/algorithm_metadata.h",
215 "src/core/lib/compression/message_compress.h",
216 "src/core/lib/debug/trace.h",
217 "src/core/lib/http/format_request.h",
218 "src/core/lib/http/httpcli.h",
219 "src/core/lib/http/parser.h",
220 "src/core/lib/iomgr/closure.h",
221 "src/core/lib/iomgr/endpoint.h",
222 "src/core/lib/iomgr/endpoint_pair.h",
Craig Tiller8a034482016-03-28 16:09:04 -0700223 "src/core/lib/iomgr/ev_poll_and_epoll_posix.h",
224 "src/core/lib/iomgr/ev_posix.h",
Craig Tillerf23078c2016-03-25 17:07:29 -0700225 "src/core/lib/iomgr/exec_ctx.h",
226 "src/core/lib/iomgr/executor.h",
Craig Tillerf23078c2016-03-25 17:07:29 -0700227 "src/core/lib/iomgr/iocp_windows.h",
228 "src/core/lib/iomgr/iomgr.h",
229 "src/core/lib/iomgr/iomgr_internal.h",
230 "src/core/lib/iomgr/iomgr_posix.h",
231 "src/core/lib/iomgr/pollset.h",
Craig Tillerf23078c2016-03-25 17:07:29 -0700232 "src/core/lib/iomgr/pollset_set.h",
Craig Tillerf23078c2016-03-25 17:07:29 -0700233 "src/core/lib/iomgr/pollset_set_windows.h",
234 "src/core/lib/iomgr/pollset_windows.h",
235 "src/core/lib/iomgr/resolve_address.h",
236 "src/core/lib/iomgr/sockaddr.h",
237 "src/core/lib/iomgr/sockaddr_posix.h",
238 "src/core/lib/iomgr/sockaddr_utils.h",
239 "src/core/lib/iomgr/sockaddr_win32.h",
240 "src/core/lib/iomgr/socket_utils_posix.h",
241 "src/core/lib/iomgr/socket_windows.h",
242 "src/core/lib/iomgr/tcp_client.h",
243 "src/core/lib/iomgr/tcp_posix.h",
244 "src/core/lib/iomgr/tcp_server.h",
245 "src/core/lib/iomgr/tcp_windows.h",
246 "src/core/lib/iomgr/time_averaged_stats.h",
247 "src/core/lib/iomgr/timer.h",
248 "src/core/lib/iomgr/timer_heap.h",
249 "src/core/lib/iomgr/udp_server.h",
250 "src/core/lib/iomgr/unix_sockets_posix.h",
251 "src/core/lib/iomgr/wakeup_fd_pipe.h",
252 "src/core/lib/iomgr/wakeup_fd_posix.h",
253 "src/core/lib/iomgr/workqueue.h",
254 "src/core/lib/iomgr/workqueue_posix.h",
255 "src/core/lib/iomgr/workqueue_windows.h",
256 "src/core/lib/json/json.h",
257 "src/core/lib/json/json_common.h",
258 "src/core/lib/json/json_reader.h",
259 "src/core/lib/json/json_writer.h",
Craig Tiller44cc10b2016-03-28 10:45:29 -0700260 "src/core/lib/security/auth_filters.h",
261 "src/core/lib/security/b64.h",
262 "src/core/lib/security/credentials.h",
263 "src/core/lib/security/handshake.h",
264 "src/core/lib/security/json_token.h",
265 "src/core/lib/security/jwt_verifier.h",
266 "src/core/lib/security/secure_endpoint.h",
267 "src/core/lib/security/security_connector.h",
268 "src/core/lib/security/security_context.h",
Craig Tillerf23078c2016-03-25 17:07:29 -0700269 "src/core/lib/surface/api_trace.h",
270 "src/core/lib/surface/call.h",
271 "src/core/lib/surface/call_test_only.h",
272 "src/core/lib/surface/channel.h",
273 "src/core/lib/surface/channel_init.h",
274 "src/core/lib/surface/channel_stack_type.h",
275 "src/core/lib/surface/completion_queue.h",
276 "src/core/lib/surface/event_string.h",
277 "src/core/lib/surface/init.h",
278 "src/core/lib/surface/lame_client.h",
279 "src/core/lib/surface/server.h",
280 "src/core/lib/surface/surface_trace.h",
281 "src/core/lib/transport/byte_stream.h",
Craig Tillerf23078c2016-03-25 17:07:29 -0700282 "src/core/lib/transport/connectivity_state.h",
283 "src/core/lib/transport/metadata.h",
284 "src/core/lib/transport/metadata_batch.h",
285 "src/core/lib/transport/static_metadata.h",
286 "src/core/lib/transport/transport.h",
287 "src/core/lib/transport/transport_impl.h",
Craig Tillerf23078c2016-03-25 17:07:29 -0700288 "src/core/lib/tsi/fake_transport_security.h",
289 "src/core/lib/tsi/ssl_transport_security.h",
290 "src/core/lib/tsi/ssl_types.h",
291 "src/core/lib/tsi/transport_security.h",
292 "src/core/lib/tsi/transport_security_interface.h",
Craig Tiller8f8e9f92016-03-29 09:41:28 -0700293 "src/core/ext/census/context.c",
294 "src/core/ext/census/grpc_context.c",
295 "src/core/ext/census/grpc_filter.c",
296 "src/core/ext/census/grpc_plugin.c",
297 "src/core/ext/census/initialize.c",
298 "src/core/ext/census/mlog.c",
299 "src/core/ext/census/operation.c",
300 "src/core/ext/census/placeholders.c",
301 "src/core/ext/census/tracing.c",
Craig Tiller023caf12016-03-29 08:00:30 -0700302 "src/core/ext/lb_policy/grpclb/load_balancer_api.c",
Craig Tiller943cdf92016-03-29 13:27:56 -0700303 "src/core/ext/lb_policy/grpclb/proto/grpc/lb/v0/load_balancer.pb.c",
Craig Tiller023caf12016-03-29 08:00:30 -0700304 "src/core/ext/lb_policy/pick_first/pick_first.c",
305 "src/core/ext/lb_policy/round_robin/round_robin.c",
Craig Tiller65938df2016-03-31 13:08:49 -0700306 "src/core/ext/resolver/dns/native/dns_resolver.c",
307 "src/core/ext/resolver/sockaddr/sockaddr_resolver.c",
Craig Tiller44cc10b2016-03-28 10:45:29 -0700308 "src/core/ext/transport/chttp2/client/insecure/channel_create.c",
309 "src/core/ext/transport/chttp2/client/secure/secure_channel_create.c",
310 "src/core/ext/transport/chttp2/server/insecure/server_chttp2.c",
311 "src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.c",
312 "src/core/ext/transport/chttp2/transport/alpn.c",
313 "src/core/ext/transport/chttp2/transport/bin_encoder.c",
314 "src/core/ext/transport/chttp2/transport/chttp2_transport.c",
315 "src/core/ext/transport/chttp2/transport/frame_data.c",
316 "src/core/ext/transport/chttp2/transport/frame_goaway.c",
317 "src/core/ext/transport/chttp2/transport/frame_ping.c",
318 "src/core/ext/transport/chttp2/transport/frame_rst_stream.c",
319 "src/core/ext/transport/chttp2/transport/frame_settings.c",
320 "src/core/ext/transport/chttp2/transport/frame_window_update.c",
321 "src/core/ext/transport/chttp2/transport/hpack_encoder.c",
322 "src/core/ext/transport/chttp2/transport/hpack_parser.c",
323 "src/core/ext/transport/chttp2/transport/hpack_table.c",
324 "src/core/ext/transport/chttp2/transport/huffsyms.c",
325 "src/core/ext/transport/chttp2/transport/incoming_metadata.c",
326 "src/core/ext/transport/chttp2/transport/parsing.c",
327 "src/core/ext/transport/chttp2/transport/status_conversion.c",
328 "src/core/ext/transport/chttp2/transport/stream_lists.c",
329 "src/core/ext/transport/chttp2/transport/stream_map.c",
330 "src/core/ext/transport/chttp2/transport/timeout_encoding.c",
331 "src/core/ext/transport/chttp2/transport/varint.c",
332 "src/core/ext/transport/chttp2/transport/writing.c",
Craig Tillerf23078c2016-03-25 17:07:29 -0700333 "src/core/lib/channel/channel_args.c",
334 "src/core/lib/channel/channel_stack.c",
335 "src/core/lib/channel/channel_stack_builder.c",
336 "src/core/lib/channel/client_channel.c",
337 "src/core/lib/channel/compress_filter.c",
338 "src/core/lib/channel/connected_channel.c",
339 "src/core/lib/channel/http_client_filter.c",
340 "src/core/lib/channel/http_server_filter.c",
341 "src/core/lib/channel/subchannel_call_holder.c",
342 "src/core/lib/client_config/client_config.c",
343 "src/core/lib/client_config/connector.c",
344 "src/core/lib/client_config/default_initial_connect_string.c",
345 "src/core/lib/client_config/initial_connect_string.c",
Craig Tillerf23078c2016-03-25 17:07:29 -0700346 "src/core/lib/client_config/lb_policy.c",
347 "src/core/lib/client_config/lb_policy_factory.c",
348 "src/core/lib/client_config/lb_policy_registry.c",
349 "src/core/lib/client_config/resolver.c",
350 "src/core/lib/client_config/resolver_factory.c",
351 "src/core/lib/client_config/resolver_registry.c",
Craig Tillerf23078c2016-03-25 17:07:29 -0700352 "src/core/lib/client_config/subchannel.c",
353 "src/core/lib/client_config/subchannel_factory.c",
354 "src/core/lib/client_config/subchannel_index.c",
355 "src/core/lib/client_config/uri_parser.c",
356 "src/core/lib/compression/compression_algorithm.c",
357 "src/core/lib/compression/message_compress.c",
358 "src/core/lib/debug/trace.c",
359 "src/core/lib/http/format_request.c",
360 "src/core/lib/http/httpcli.c",
Craig Tiller44cc10b2016-03-28 10:45:29 -0700361 "src/core/lib/http/httpcli_security_connector.c",
Craig Tillerf23078c2016-03-25 17:07:29 -0700362 "src/core/lib/http/parser.c",
363 "src/core/lib/iomgr/closure.c",
364 "src/core/lib/iomgr/endpoint.c",
365 "src/core/lib/iomgr/endpoint_pair_posix.c",
366 "src/core/lib/iomgr/endpoint_pair_windows.c",
Craig Tiller8a034482016-03-28 16:09:04 -0700367 "src/core/lib/iomgr/ev_poll_and_epoll_posix.c",
368 "src/core/lib/iomgr/ev_posix.c",
Craig Tillerf23078c2016-03-25 17:07:29 -0700369 "src/core/lib/iomgr/exec_ctx.c",
370 "src/core/lib/iomgr/executor.c",
Craig Tillerf23078c2016-03-25 17:07:29 -0700371 "src/core/lib/iomgr/iocp_windows.c",
372 "src/core/lib/iomgr/iomgr.c",
373 "src/core/lib/iomgr/iomgr_posix.c",
374 "src/core/lib/iomgr/iomgr_windows.c",
Craig Tillerf23078c2016-03-25 17:07:29 -0700375 "src/core/lib/iomgr/pollset_set_windows.c",
376 "src/core/lib/iomgr/pollset_windows.c",
377 "src/core/lib/iomgr/resolve_address_posix.c",
378 "src/core/lib/iomgr/resolve_address_windows.c",
379 "src/core/lib/iomgr/sockaddr_utils.c",
380 "src/core/lib/iomgr/socket_utils_common_posix.c",
381 "src/core/lib/iomgr/socket_utils_linux.c",
382 "src/core/lib/iomgr/socket_utils_posix.c",
383 "src/core/lib/iomgr/socket_windows.c",
384 "src/core/lib/iomgr/tcp_client_posix.c",
385 "src/core/lib/iomgr/tcp_client_windows.c",
386 "src/core/lib/iomgr/tcp_posix.c",
387 "src/core/lib/iomgr/tcp_server_posix.c",
388 "src/core/lib/iomgr/tcp_server_windows.c",
389 "src/core/lib/iomgr/tcp_windows.c",
390 "src/core/lib/iomgr/time_averaged_stats.c",
391 "src/core/lib/iomgr/timer.c",
392 "src/core/lib/iomgr/timer_heap.c",
393 "src/core/lib/iomgr/udp_server.c",
394 "src/core/lib/iomgr/unix_sockets_posix.c",
395 "src/core/lib/iomgr/unix_sockets_posix_noop.c",
396 "src/core/lib/iomgr/wakeup_fd_eventfd.c",
397 "src/core/lib/iomgr/wakeup_fd_nospecial.c",
398 "src/core/lib/iomgr/wakeup_fd_pipe.c",
399 "src/core/lib/iomgr/wakeup_fd_posix.c",
400 "src/core/lib/iomgr/workqueue_posix.c",
401 "src/core/lib/iomgr/workqueue_windows.c",
402 "src/core/lib/json/json.c",
403 "src/core/lib/json/json_reader.c",
404 "src/core/lib/json/json_string.c",
405 "src/core/lib/json/json_writer.c",
Craig Tiller44cc10b2016-03-28 10:45:29 -0700406 "src/core/lib/security/b64.c",
407 "src/core/lib/security/client_auth_filter.c",
408 "src/core/lib/security/credentials.c",
409 "src/core/lib/security/credentials_metadata.c",
410 "src/core/lib/security/credentials_posix.c",
411 "src/core/lib/security/credentials_win32.c",
412 "src/core/lib/security/google_default_credentials.c",
413 "src/core/lib/security/handshake.c",
414 "src/core/lib/security/json_token.c",
415 "src/core/lib/security/jwt_verifier.c",
416 "src/core/lib/security/secure_endpoint.c",
417 "src/core/lib/security/security_connector.c",
418 "src/core/lib/security/security_context.c",
419 "src/core/lib/security/server_auth_filter.c",
Craig Tillerf23078c2016-03-25 17:07:29 -0700420 "src/core/lib/surface/alarm.c",
421 "src/core/lib/surface/api_trace.c",
422 "src/core/lib/surface/byte_buffer.c",
423 "src/core/lib/surface/byte_buffer_reader.c",
424 "src/core/lib/surface/call.c",
425 "src/core/lib/surface/call_details.c",
426 "src/core/lib/surface/call_log_batch.c",
427 "src/core/lib/surface/channel.c",
428 "src/core/lib/surface/channel_connectivity.c",
Craig Tillerf23078c2016-03-25 17:07:29 -0700429 "src/core/lib/surface/channel_init.c",
430 "src/core/lib/surface/channel_ping.c",
431 "src/core/lib/surface/channel_stack_type.c",
432 "src/core/lib/surface/completion_queue.c",
433 "src/core/lib/surface/event_string.c",
434 "src/core/lib/surface/init.c",
Craig Tiller44cc10b2016-03-28 10:45:29 -0700435 "src/core/lib/surface/init_secure.c",
Craig Tillerf23078c2016-03-25 17:07:29 -0700436 "src/core/lib/surface/lame_client.c",
437 "src/core/lib/surface/metadata_array.c",
438 "src/core/lib/surface/server.c",
Craig Tillerf23078c2016-03-25 17:07:29 -0700439 "src/core/lib/surface/validate_metadata.c",
440 "src/core/lib/surface/version.c",
441 "src/core/lib/transport/byte_stream.c",
Craig Tillerf23078c2016-03-25 17:07:29 -0700442 "src/core/lib/transport/connectivity_state.c",
443 "src/core/lib/transport/metadata.c",
444 "src/core/lib/transport/metadata_batch.c",
445 "src/core/lib/transport/static_metadata.c",
446 "src/core/lib/transport/transport.c",
447 "src/core/lib/transport/transport_op_string.c",
Craig Tillerf23078c2016-03-25 17:07:29 -0700448 "src/core/lib/tsi/fake_transport_security.c",
449 "src/core/lib/tsi/ssl_transport_security.c",
450 "src/core/lib/tsi/transport_security.c",
Craig Tillerfb433852016-03-29 08:51:07 -0700451 "src/core/plugin_registry/grpc_plugin_registry.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700452 ],
453 hdrs = [
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700454 "include/grpc/byte_buffer.h",
455 "include/grpc/byte_buffer_reader.h",
Craig Tiller44cc10b2016-03-28 10:45:29 -0700456 "include/grpc/census.h",
David Garcia Quintas59f905d2015-06-08 16:31:19 -0700457 "include/grpc/compression.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700458 "include/grpc/grpc.h",
Craig Tiller44cc10b2016-03-28 10:45:29 -0700459 "include/grpc/grpc_security.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700460 "include/grpc/impl/codegen/byte_buffer.h",
461 "include/grpc/impl/codegen/compression_types.h",
462 "include/grpc/impl/codegen/connectivity_state.h",
463 "include/grpc/impl/codegen/grpc_types.h",
464 "include/grpc/impl/codegen/propagation_bits.h",
465 "include/grpc/impl/codegen/status.h",
Craig Tiller44cc10b2016-03-28 10:45:29 -0700466 "include/grpc/status.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700467 ],
468 includes = [
469 "include",
470 ".",
471 ],
472 deps = [
473 "//external:libssl",
Ming Zhaof2f24e22015-08-13 12:38:35 -0700474 "//external:zlib",
Craig Tillerda179ce2016-02-09 12:01:53 -0800475 ":gpr",
Rob Earhartb7b8d052016-03-29 11:35:29 -0700476 "//external:nanopb",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700477 ],
Rob Earhartaf379b22016-01-21 13:43:09 -0800478 copts = [
479 "-std=gnu99",
480 ],
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +0200481)
482
483
Rob Earhartb7b8d052016-03-29 11:35:29 -0700484
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700485cc_library(
Nicolas "Pixel" Noblee8fb8522016-03-14 19:46:57 +0100486 name = "grpc_codegen_lib",
487 srcs = [
488 ],
489 hdrs = [
490 "include/grpc/impl/codegen/alloc.h",
491 "include/grpc/impl/codegen/atm.h",
492 "include/grpc/impl/codegen/atm_gcc_atomic.h",
493 "include/grpc/impl/codegen/atm_gcc_sync.h",
494 "include/grpc/impl/codegen/atm_win32.h",
Craig Tiller44cc10b2016-03-28 10:45:29 -0700495 "include/grpc/impl/codegen/byte_buffer.h",
496 "include/grpc/impl/codegen/compression_types.h",
497 "include/grpc/impl/codegen/connectivity_state.h",
498 "include/grpc/impl/codegen/grpc_types.h",
Nicolas "Pixel" Noblee8fb8522016-03-14 19:46:57 +0100499 "include/grpc/impl/codegen/log.h",
500 "include/grpc/impl/codegen/port_platform.h",
Craig Tiller44cc10b2016-03-28 10:45:29 -0700501 "include/grpc/impl/codegen/propagation_bits.h",
Nicolas "Pixel" Noblee8fb8522016-03-14 19:46:57 +0100502 "include/grpc/impl/codegen/slice.h",
503 "include/grpc/impl/codegen/slice_buffer.h",
Craig Tiller44cc10b2016-03-28 10:45:29 -0700504 "include/grpc/impl/codegen/status.h",
Nicolas "Pixel" Noblee8fb8522016-03-14 19:46:57 +0100505 "include/grpc/impl/codegen/sync.h",
506 "include/grpc/impl/codegen/sync_generic.h",
507 "include/grpc/impl/codegen/sync_posix.h",
508 "include/grpc/impl/codegen/sync_win32.h",
509 "include/grpc/impl/codegen/time.h",
Nicolas "Pixel" Noblee8fb8522016-03-14 19:46:57 +0100510 ],
511 includes = [
512 "include",
513 ".",
514 ],
515 deps = [
516 "//external:protobuf_compiler",
517 ],
518)
519
520
Rob Earhartb7b8d052016-03-29 11:35:29 -0700521
Nicolas "Pixel" Noblee8fb8522016-03-14 19:46:57 +0100522cc_library(
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700523 name = "grpc_unsecure",
524 srcs = [
Craig Tiller8f8e9f92016-03-29 09:41:28 -0700525 "src/core/ext/census/aggregation.h",
526 "src/core/ext/census/census_interface.h",
527 "src/core/ext/census/census_rpc_stats.h",
528 "src/core/ext/census/grpc_filter.h",
Craig Tiller8f8e9f92016-03-29 09:41:28 -0700529 "src/core/ext/census/mlog.h",
530 "src/core/ext/census/rpc_metric_id.h",
Craig Tiller023caf12016-03-29 08:00:30 -0700531 "src/core/ext/lb_policy/grpclb/load_balancer_api.h",
Craig Tiller943cdf92016-03-29 13:27:56 -0700532 "src/core/ext/lb_policy/grpclb/proto/grpc/lb/v0/load_balancer.pb.h",
Craig Tiller44cc10b2016-03-28 10:45:29 -0700533 "src/core/ext/transport/chttp2/transport/alpn.h",
534 "src/core/ext/transport/chttp2/transport/bin_encoder.h",
535 "src/core/ext/transport/chttp2/transport/chttp2_transport.h",
536 "src/core/ext/transport/chttp2/transport/frame.h",
537 "src/core/ext/transport/chttp2/transport/frame_data.h",
538 "src/core/ext/transport/chttp2/transport/frame_goaway.h",
539 "src/core/ext/transport/chttp2/transport/frame_ping.h",
540 "src/core/ext/transport/chttp2/transport/frame_rst_stream.h",
541 "src/core/ext/transport/chttp2/transport/frame_settings.h",
542 "src/core/ext/transport/chttp2/transport/frame_window_update.h",
543 "src/core/ext/transport/chttp2/transport/hpack_encoder.h",
544 "src/core/ext/transport/chttp2/transport/hpack_parser.h",
545 "src/core/ext/transport/chttp2/transport/hpack_table.h",
546 "src/core/ext/transport/chttp2/transport/http2_errors.h",
547 "src/core/ext/transport/chttp2/transport/huffsyms.h",
548 "src/core/ext/transport/chttp2/transport/incoming_metadata.h",
549 "src/core/ext/transport/chttp2/transport/internal.h",
550 "src/core/ext/transport/chttp2/transport/status_conversion.h",
551 "src/core/ext/transport/chttp2/transport/stream_map.h",
552 "src/core/ext/transport/chttp2/transport/timeout_encoding.h",
553 "src/core/ext/transport/chttp2/transport/varint.h",
Craig Tillerf23078c2016-03-25 17:07:29 -0700554 "src/core/lib/channel/channel_args.h",
555 "src/core/lib/channel/channel_stack.h",
556 "src/core/lib/channel/channel_stack_builder.h",
557 "src/core/lib/channel/client_channel.h",
558 "src/core/lib/channel/compress_filter.h",
559 "src/core/lib/channel/connected_channel.h",
560 "src/core/lib/channel/context.h",
561 "src/core/lib/channel/http_client_filter.h",
562 "src/core/lib/channel/http_server_filter.h",
563 "src/core/lib/channel/subchannel_call_holder.h",
564 "src/core/lib/client_config/client_config.h",
565 "src/core/lib/client_config/connector.h",
566 "src/core/lib/client_config/initial_connect_string.h",
Craig Tillerf23078c2016-03-25 17:07:29 -0700567 "src/core/lib/client_config/lb_policy.h",
568 "src/core/lib/client_config/lb_policy_factory.h",
569 "src/core/lib/client_config/lb_policy_registry.h",
570 "src/core/lib/client_config/resolver.h",
571 "src/core/lib/client_config/resolver_factory.h",
572 "src/core/lib/client_config/resolver_registry.h",
Craig Tillerf23078c2016-03-25 17:07:29 -0700573 "src/core/lib/client_config/subchannel.h",
574 "src/core/lib/client_config/subchannel_factory.h",
575 "src/core/lib/client_config/subchannel_index.h",
576 "src/core/lib/client_config/uri_parser.h",
577 "src/core/lib/compression/algorithm_metadata.h",
578 "src/core/lib/compression/message_compress.h",
579 "src/core/lib/debug/trace.h",
580 "src/core/lib/http/format_request.h",
581 "src/core/lib/http/httpcli.h",
582 "src/core/lib/http/parser.h",
583 "src/core/lib/iomgr/closure.h",
584 "src/core/lib/iomgr/endpoint.h",
585 "src/core/lib/iomgr/endpoint_pair.h",
Craig Tiller8a034482016-03-28 16:09:04 -0700586 "src/core/lib/iomgr/ev_poll_and_epoll_posix.h",
587 "src/core/lib/iomgr/ev_posix.h",
Craig Tillerf23078c2016-03-25 17:07:29 -0700588 "src/core/lib/iomgr/exec_ctx.h",
589 "src/core/lib/iomgr/executor.h",
Craig Tillerf23078c2016-03-25 17:07:29 -0700590 "src/core/lib/iomgr/iocp_windows.h",
591 "src/core/lib/iomgr/iomgr.h",
592 "src/core/lib/iomgr/iomgr_internal.h",
593 "src/core/lib/iomgr/iomgr_posix.h",
594 "src/core/lib/iomgr/pollset.h",
Craig Tillerf23078c2016-03-25 17:07:29 -0700595 "src/core/lib/iomgr/pollset_set.h",
Craig Tillerf23078c2016-03-25 17:07:29 -0700596 "src/core/lib/iomgr/pollset_set_windows.h",
597 "src/core/lib/iomgr/pollset_windows.h",
598 "src/core/lib/iomgr/resolve_address.h",
599 "src/core/lib/iomgr/sockaddr.h",
600 "src/core/lib/iomgr/sockaddr_posix.h",
601 "src/core/lib/iomgr/sockaddr_utils.h",
602 "src/core/lib/iomgr/sockaddr_win32.h",
603 "src/core/lib/iomgr/socket_utils_posix.h",
604 "src/core/lib/iomgr/socket_windows.h",
605 "src/core/lib/iomgr/tcp_client.h",
606 "src/core/lib/iomgr/tcp_posix.h",
607 "src/core/lib/iomgr/tcp_server.h",
608 "src/core/lib/iomgr/tcp_windows.h",
609 "src/core/lib/iomgr/time_averaged_stats.h",
610 "src/core/lib/iomgr/timer.h",
611 "src/core/lib/iomgr/timer_heap.h",
612 "src/core/lib/iomgr/udp_server.h",
613 "src/core/lib/iomgr/unix_sockets_posix.h",
614 "src/core/lib/iomgr/wakeup_fd_pipe.h",
615 "src/core/lib/iomgr/wakeup_fd_posix.h",
616 "src/core/lib/iomgr/workqueue.h",
617 "src/core/lib/iomgr/workqueue_posix.h",
618 "src/core/lib/iomgr/workqueue_windows.h",
619 "src/core/lib/json/json.h",
620 "src/core/lib/json/json_common.h",
621 "src/core/lib/json/json_reader.h",
622 "src/core/lib/json/json_writer.h",
Craig Tillerf23078c2016-03-25 17:07:29 -0700623 "src/core/lib/surface/api_trace.h",
624 "src/core/lib/surface/call.h",
625 "src/core/lib/surface/call_test_only.h",
626 "src/core/lib/surface/channel.h",
627 "src/core/lib/surface/channel_init.h",
628 "src/core/lib/surface/channel_stack_type.h",
629 "src/core/lib/surface/completion_queue.h",
630 "src/core/lib/surface/event_string.h",
631 "src/core/lib/surface/init.h",
632 "src/core/lib/surface/lame_client.h",
633 "src/core/lib/surface/server.h",
634 "src/core/lib/surface/surface_trace.h",
635 "src/core/lib/transport/byte_stream.h",
Craig Tillerf23078c2016-03-25 17:07:29 -0700636 "src/core/lib/transport/connectivity_state.h",
637 "src/core/lib/transport/metadata.h",
638 "src/core/lib/transport/metadata_batch.h",
639 "src/core/lib/transport/static_metadata.h",
640 "src/core/lib/transport/transport.h",
641 "src/core/lib/transport/transport_impl.h",
Craig Tiller8f8e9f92016-03-29 09:41:28 -0700642 "src/core/ext/census/context.c",
643 "src/core/ext/census/grpc_context.c",
644 "src/core/ext/census/grpc_filter.c",
645 "src/core/ext/census/grpc_plugin.c",
646 "src/core/ext/census/initialize.c",
647 "src/core/ext/census/mlog.c",
648 "src/core/ext/census/operation.c",
649 "src/core/ext/census/placeholders.c",
650 "src/core/ext/census/tracing.c",
Craig Tiller023caf12016-03-29 08:00:30 -0700651 "src/core/ext/lb_policy/grpclb/load_balancer_api.c",
Craig Tiller943cdf92016-03-29 13:27:56 -0700652 "src/core/ext/lb_policy/grpclb/proto/grpc/lb/v0/load_balancer.pb.c",
Craig Tiller023caf12016-03-29 08:00:30 -0700653 "src/core/ext/lb_policy/pick_first/pick_first.c",
654 "src/core/ext/lb_policy/round_robin/round_robin.c",
Craig Tiller65938df2016-03-31 13:08:49 -0700655 "src/core/ext/resolver/dns/native/dns_resolver.c",
656 "src/core/ext/resolver/sockaddr/sockaddr_resolver.c",
Craig Tiller44cc10b2016-03-28 10:45:29 -0700657 "src/core/ext/transport/chttp2/client/insecure/channel_create.c",
658 "src/core/ext/transport/chttp2/server/insecure/server_chttp2.c",
659 "src/core/ext/transport/chttp2/transport/alpn.c",
660 "src/core/ext/transport/chttp2/transport/bin_encoder.c",
661 "src/core/ext/transport/chttp2/transport/chttp2_transport.c",
662 "src/core/ext/transport/chttp2/transport/frame_data.c",
663 "src/core/ext/transport/chttp2/transport/frame_goaway.c",
664 "src/core/ext/transport/chttp2/transport/frame_ping.c",
665 "src/core/ext/transport/chttp2/transport/frame_rst_stream.c",
666 "src/core/ext/transport/chttp2/transport/frame_settings.c",
667 "src/core/ext/transport/chttp2/transport/frame_window_update.c",
668 "src/core/ext/transport/chttp2/transport/hpack_encoder.c",
669 "src/core/ext/transport/chttp2/transport/hpack_parser.c",
670 "src/core/ext/transport/chttp2/transport/hpack_table.c",
671 "src/core/ext/transport/chttp2/transport/huffsyms.c",
672 "src/core/ext/transport/chttp2/transport/incoming_metadata.c",
673 "src/core/ext/transport/chttp2/transport/parsing.c",
674 "src/core/ext/transport/chttp2/transport/status_conversion.c",
675 "src/core/ext/transport/chttp2/transport/stream_lists.c",
676 "src/core/ext/transport/chttp2/transport/stream_map.c",
677 "src/core/ext/transport/chttp2/transport/timeout_encoding.c",
678 "src/core/ext/transport/chttp2/transport/varint.c",
679 "src/core/ext/transport/chttp2/transport/writing.c",
Craig Tillerf23078c2016-03-25 17:07:29 -0700680 "src/core/lib/channel/channel_args.c",
681 "src/core/lib/channel/channel_stack.c",
682 "src/core/lib/channel/channel_stack_builder.c",
683 "src/core/lib/channel/client_channel.c",
684 "src/core/lib/channel/compress_filter.c",
685 "src/core/lib/channel/connected_channel.c",
686 "src/core/lib/channel/http_client_filter.c",
687 "src/core/lib/channel/http_server_filter.c",
688 "src/core/lib/channel/subchannel_call_holder.c",
689 "src/core/lib/client_config/client_config.c",
690 "src/core/lib/client_config/connector.c",
691 "src/core/lib/client_config/default_initial_connect_string.c",
692 "src/core/lib/client_config/initial_connect_string.c",
Craig Tillerf23078c2016-03-25 17:07:29 -0700693 "src/core/lib/client_config/lb_policy.c",
694 "src/core/lib/client_config/lb_policy_factory.c",
695 "src/core/lib/client_config/lb_policy_registry.c",
696 "src/core/lib/client_config/resolver.c",
697 "src/core/lib/client_config/resolver_factory.c",
698 "src/core/lib/client_config/resolver_registry.c",
Craig Tillerf23078c2016-03-25 17:07:29 -0700699 "src/core/lib/client_config/subchannel.c",
700 "src/core/lib/client_config/subchannel_factory.c",
701 "src/core/lib/client_config/subchannel_index.c",
702 "src/core/lib/client_config/uri_parser.c",
703 "src/core/lib/compression/compression_algorithm.c",
704 "src/core/lib/compression/message_compress.c",
705 "src/core/lib/debug/trace.c",
706 "src/core/lib/http/format_request.c",
707 "src/core/lib/http/httpcli.c",
708 "src/core/lib/http/parser.c",
709 "src/core/lib/iomgr/closure.c",
710 "src/core/lib/iomgr/endpoint.c",
711 "src/core/lib/iomgr/endpoint_pair_posix.c",
712 "src/core/lib/iomgr/endpoint_pair_windows.c",
Craig Tiller8a034482016-03-28 16:09:04 -0700713 "src/core/lib/iomgr/ev_poll_and_epoll_posix.c",
714 "src/core/lib/iomgr/ev_posix.c",
Craig Tillerf23078c2016-03-25 17:07:29 -0700715 "src/core/lib/iomgr/exec_ctx.c",
716 "src/core/lib/iomgr/executor.c",
Craig Tillerf23078c2016-03-25 17:07:29 -0700717 "src/core/lib/iomgr/iocp_windows.c",
718 "src/core/lib/iomgr/iomgr.c",
719 "src/core/lib/iomgr/iomgr_posix.c",
720 "src/core/lib/iomgr/iomgr_windows.c",
Craig Tillerf23078c2016-03-25 17:07:29 -0700721 "src/core/lib/iomgr/pollset_set_windows.c",
722 "src/core/lib/iomgr/pollset_windows.c",
723 "src/core/lib/iomgr/resolve_address_posix.c",
724 "src/core/lib/iomgr/resolve_address_windows.c",
725 "src/core/lib/iomgr/sockaddr_utils.c",
726 "src/core/lib/iomgr/socket_utils_common_posix.c",
727 "src/core/lib/iomgr/socket_utils_linux.c",
728 "src/core/lib/iomgr/socket_utils_posix.c",
729 "src/core/lib/iomgr/socket_windows.c",
730 "src/core/lib/iomgr/tcp_client_posix.c",
731 "src/core/lib/iomgr/tcp_client_windows.c",
732 "src/core/lib/iomgr/tcp_posix.c",
733 "src/core/lib/iomgr/tcp_server_posix.c",
734 "src/core/lib/iomgr/tcp_server_windows.c",
735 "src/core/lib/iomgr/tcp_windows.c",
736 "src/core/lib/iomgr/time_averaged_stats.c",
737 "src/core/lib/iomgr/timer.c",
738 "src/core/lib/iomgr/timer_heap.c",
739 "src/core/lib/iomgr/udp_server.c",
740 "src/core/lib/iomgr/unix_sockets_posix.c",
741 "src/core/lib/iomgr/unix_sockets_posix_noop.c",
742 "src/core/lib/iomgr/wakeup_fd_eventfd.c",
743 "src/core/lib/iomgr/wakeup_fd_nospecial.c",
744 "src/core/lib/iomgr/wakeup_fd_pipe.c",
745 "src/core/lib/iomgr/wakeup_fd_posix.c",
746 "src/core/lib/iomgr/workqueue_posix.c",
747 "src/core/lib/iomgr/workqueue_windows.c",
748 "src/core/lib/json/json.c",
749 "src/core/lib/json/json_reader.c",
750 "src/core/lib/json/json_string.c",
751 "src/core/lib/json/json_writer.c",
Craig Tillerf23078c2016-03-25 17:07:29 -0700752 "src/core/lib/surface/alarm.c",
753 "src/core/lib/surface/api_trace.c",
754 "src/core/lib/surface/byte_buffer.c",
755 "src/core/lib/surface/byte_buffer_reader.c",
756 "src/core/lib/surface/call.c",
757 "src/core/lib/surface/call_details.c",
758 "src/core/lib/surface/call_log_batch.c",
759 "src/core/lib/surface/channel.c",
760 "src/core/lib/surface/channel_connectivity.c",
Craig Tillerf23078c2016-03-25 17:07:29 -0700761 "src/core/lib/surface/channel_init.c",
762 "src/core/lib/surface/channel_ping.c",
763 "src/core/lib/surface/channel_stack_type.c",
764 "src/core/lib/surface/completion_queue.c",
765 "src/core/lib/surface/event_string.c",
766 "src/core/lib/surface/init.c",
Craig Tiller44cc10b2016-03-28 10:45:29 -0700767 "src/core/lib/surface/init_unsecure.c",
Craig Tillerf23078c2016-03-25 17:07:29 -0700768 "src/core/lib/surface/lame_client.c",
769 "src/core/lib/surface/metadata_array.c",
770 "src/core/lib/surface/server.c",
Craig Tillerf23078c2016-03-25 17:07:29 -0700771 "src/core/lib/surface/validate_metadata.c",
772 "src/core/lib/surface/version.c",
773 "src/core/lib/transport/byte_stream.c",
Craig Tillerf23078c2016-03-25 17:07:29 -0700774 "src/core/lib/transport/connectivity_state.c",
775 "src/core/lib/transport/metadata.c",
776 "src/core/lib/transport/metadata_batch.c",
777 "src/core/lib/transport/static_metadata.c",
778 "src/core/lib/transport/transport.c",
779 "src/core/lib/transport/transport_op_string.c",
Craig Tillerfb433852016-03-29 08:51:07 -0700780 "src/core/plugin_registry/grpc_unsecure_plugin_registry.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700781 ],
782 hdrs = [
783 "include/grpc/byte_buffer.h",
784 "include/grpc/byte_buffer_reader.h",
Craig Tiller44cc10b2016-03-28 10:45:29 -0700785 "include/grpc/census.h",
David Garcia Quintas59f905d2015-06-08 16:31:19 -0700786 "include/grpc/compression.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700787 "include/grpc/grpc.h",
Craig Tillerad095982016-02-09 12:45:04 -0800788 "include/grpc/impl/codegen/byte_buffer.h",
789 "include/grpc/impl/codegen/compression_types.h",
790 "include/grpc/impl/codegen/connectivity_state.h",
791 "include/grpc/impl/codegen/grpc_types.h",
792 "include/grpc/impl/codegen/propagation_bits.h",
793 "include/grpc/impl/codegen/status.h",
Craig Tiller44cc10b2016-03-28 10:45:29 -0700794 "include/grpc/status.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700795 ],
796 includes = [
797 "include",
798 ".",
799 ],
800 deps = [
Craig Tillerda179ce2016-02-09 12:01:53 -0800801 ":gpr",
Rob Earhartb7b8d052016-03-29 11:35:29 -0700802 "//external:nanopb",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700803 ],
Rob Earhartaf379b22016-01-21 13:43:09 -0800804 copts = [
805 "-std=gnu99",
806 ],
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700807)
808
809
Rob Earhartb7b8d052016-03-29 11:35:29 -0700810
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700811cc_library(
Hongwei Wangda8858f2015-07-16 16:18:19 -0700812 name = "grpc_zookeeper",
813 srcs = [
Craig Tillerb11b34a2016-04-01 12:30:06 -0700814 "src/core/ext/resolver/zookeeper/zookeeper_resolver.c",
Hongwei Wangda8858f2015-07-16 16:18:19 -0700815 ],
816 hdrs = [
Hongwei Wanga3780a82015-07-17 15:27:18 -0700817 "include/grpc/grpc_zookeeper.h",
Hongwei Wangda8858f2015-07-16 16:18:19 -0700818 ],
819 includes = [
820 "include",
821 ".",
822 ],
823 deps = [
Craig Tillerda179ce2016-02-09 12:01:53 -0800824 ":gpr",
Hongwei Wangda8858f2015-07-16 16:18:19 -0700825 ":grpc",
826 ],
827)
828
829
Rob Earhartb7b8d052016-03-29 11:35:29 -0700830
Hongwei Wangda8858f2015-07-16 16:18:19 -0700831cc_library(
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700832 name = "grpc++",
833 srcs = [
Craig Tiller44cc10b2016-03-28 10:45:29 -0700834 "src/cpp/client/create_channel_internal.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700835 "src/cpp/client/secure_credentials.h",
David Garcia Quintas79d90962016-03-09 13:57:46 -0800836 "src/cpp/common/core_codegen.h",
yang-g3abe60b2015-07-06 14:00:36 -0700837 "src/cpp/common/create_auth_context.h",
Craig Tiller44cc10b2016-03-28 10:45:29 -0700838 "src/cpp/common/secure_auth_context.h",
Vijay Paie8a7e302015-08-24 10:52:33 -0700839 "src/cpp/server/dynamic_thread_pool.h",
Craig Tiller44cc10b2016-03-28 10:45:29 -0700840 "src/cpp/server/secure_server_credentials.h",
Vijay Paie8a7e302015-08-24 10:52:33 -0700841 "src/cpp/server/thread_pool_interface.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700842 "src/cpp/client/channel.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700843 "src/cpp/client/client_context.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700844 "src/cpp/client/create_channel.cc",
yang-gc317f072015-08-20 12:18:08 -0700845 "src/cpp/client/create_channel_internal.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700846 "src/cpp/client/credentials.cc",
847 "src/cpp/client/generic_stub.cc",
848 "src/cpp/client/insecure_credentials.cc",
Craig Tiller44cc10b2016-03-28 10:45:29 -0700849 "src/cpp/client/secure_credentials.cc",
850 "src/cpp/codegen/codegen_init.cc",
851 "src/cpp/common/auth_property_iterator.cc",
yang-g52705592015-11-25 11:45:33 -0800852 "src/cpp/common/channel_arguments.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700853 "src/cpp/common/completion_queue.cc",
Nicolas "Pixel" Noble42683182016-03-17 00:25:39 +0100854 "src/cpp/common/core_codegen.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700855 "src/cpp/common/rpc_method.cc",
Craig Tiller44cc10b2016-03-28 10:45:29 -0700856 "src/cpp/common/secure_auth_context.cc",
857 "src/cpp/common/secure_channel_arguments.cc",
858 "src/cpp/common/secure_create_auth_context.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700859 "src/cpp/server/async_generic_service.cc",
Yang Gao6f4fb3b2015-06-03 12:56:19 -0700860 "src/cpp/server/create_default_thread_pool.cc",
vjpaib28456b2015-07-23 14:17:10 -0700861 "src/cpp/server/dynamic_thread_pool.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700862 "src/cpp/server/insecure_server_credentials.cc",
Craig Tiller44cc10b2016-03-28 10:45:29 -0700863 "src/cpp/server/secure_server_credentials.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700864 "src/cpp/server/server.cc",
865 "src/cpp/server/server_builder.cc",
866 "src/cpp/server/server_context.cc",
867 "src/cpp/server/server_credentials.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700868 "src/cpp/util/byte_buffer.cc",
869 "src/cpp/util/slice.cc",
870 "src/cpp/util/status.cc",
Julien Boeuf8fd915a2015-08-19 21:18:14 -0700871 "src/cpp/util/string_ref.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700872 "src/cpp/util/time.cc",
873 ],
874 hdrs = [
vjpaif9f61cf2016-02-10 20:51:53 -0800875 "include/grpc++/alarm.h",
yang-g8c2be9f2015-08-19 16:28:09 -0700876 "include/grpc++/channel.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700877 "include/grpc++/client_context.h",
878 "include/grpc++/completion_queue.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700879 "include/grpc++/create_channel.h",
yang-g9e2f90c2015-08-21 15:35:03 -0700880 "include/grpc++/generic/async_generic_service.h",
881 "include/grpc++/generic/generic_stub.h",
Craig Tillerd136a5c2015-09-11 12:23:32 -0700882 "include/grpc++/grpc++.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700883 "include/grpc++/impl/call.h",
884 "include/grpc++/impl/client_unary_call.h",
Craig Tiller44cc10b2016-03-28 10:45:29 -0700885 "include/grpc++/impl/codegen/async_stream.h",
886 "include/grpc++/impl/codegen/async_unary_call.h",
887 "include/grpc++/impl/codegen/call.h",
888 "include/grpc++/impl/codegen/call_hook.h",
889 "include/grpc++/impl/codegen/channel_interface.h",
890 "include/grpc++/impl/codegen/client_context.h",
891 "include/grpc++/impl/codegen/client_unary_call.h",
892 "include/grpc++/impl/codegen/completion_queue.h",
893 "include/grpc++/impl/codegen/completion_queue_tag.h",
894 "include/grpc++/impl/codegen/config.h",
895 "include/grpc++/impl/codegen/config_protobuf.h",
896 "include/grpc++/impl/codegen/core_codegen_interface.h",
897 "include/grpc++/impl/codegen/grpc_library.h",
898 "include/grpc++/impl/codegen/method_handler_impl.h",
899 "include/grpc++/impl/codegen/proto_utils.h",
900 "include/grpc++/impl/codegen/rpc_method.h",
901 "include/grpc++/impl/codegen/rpc_service_method.h",
902 "include/grpc++/impl/codegen/security/auth_context.h",
903 "include/grpc++/impl/codegen/serialization_traits.h",
904 "include/grpc++/impl/codegen/server_context.h",
905 "include/grpc++/impl/codegen/server_interface.h",
906 "include/grpc++/impl/codegen/service_type.h",
907 "include/grpc++/impl/codegen/status.h",
908 "include/grpc++/impl/codegen/status_code_enum.h",
909 "include/grpc++/impl/codegen/string_ref.h",
910 "include/grpc++/impl/codegen/stub_options.h",
911 "include/grpc++/impl/codegen/sync.h",
912 "include/grpc++/impl/codegen/sync_cxx11.h",
913 "include/grpc++/impl/codegen/sync_no_cxx11.h",
914 "include/grpc++/impl/codegen/sync_stream.h",
915 "include/grpc++/impl/codegen/time.h",
Yang Gao96de4842015-04-24 13:13:12 -0700916 "include/grpc++/impl/grpc_library.h",
yang-g77c63332016-01-14 16:09:04 -0800917 "include/grpc++/impl/method_handler_impl.h",
yang-gadfed032015-06-23 13:01:22 -0700918 "include/grpc++/impl/proto_utils.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700919 "include/grpc++/impl/rpc_method.h",
920 "include/grpc++/impl/rpc_service_method.h",
Craig Tiller6ef7f312015-06-05 10:15:10 -0700921 "include/grpc++/impl/serialization_traits.h",
yang-ga23f17b2015-11-25 10:21:05 -0800922 "include/grpc++/impl/server_builder_option.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700923 "include/grpc++/impl/service_type.h",
Nicolas "Pixel" Nobleb7c20352015-04-11 01:27:32 +0200924 "include/grpc++/impl/sync.h",
925 "include/grpc++/impl/sync_cxx11.h",
926 "include/grpc++/impl/sync_no_cxx11.h",
927 "include/grpc++/impl/thd.h",
928 "include/grpc++/impl/thd_cxx11.h",
929 "include/grpc++/impl/thd_no_cxx11.h",
Julien Boeuf0d471922015-08-30 22:18:50 -0700930 "include/grpc++/security/auth_context.h",
931 "include/grpc++/security/auth_metadata_processor.h",
932 "include/grpc++/security/credentials.h",
933 "include/grpc++/security/server_credentials.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700934 "include/grpc++/server.h",
935 "include/grpc++/server_builder.h",
936 "include/grpc++/server_context.h",
yang-g9fb35a52015-08-21 15:49:35 -0700937 "include/grpc++/support/async_stream.h",
yang-g9e2f90c2015-08-21 15:35:03 -0700938 "include/grpc++/support/async_unary_call.h",
yang-g9e2f90c2015-08-21 15:35:03 -0700939 "include/grpc++/support/byte_buffer.h",
940 "include/grpc++/support/channel_arguments.h",
941 "include/grpc++/support/config.h",
942 "include/grpc++/support/config_protobuf.h",
yang-g9e2f90c2015-08-21 15:35:03 -0700943 "include/grpc++/support/slice.h",
944 "include/grpc++/support/status.h",
945 "include/grpc++/support/status_code_enum.h",
Julien Boeuf0382bfa2015-08-24 23:55:43 -0700946 "include/grpc++/support/string_ref.h",
yang-g9e2f90c2015-08-21 15:35:03 -0700947 "include/grpc++/support/stub_options.h",
yang-g9fb35a52015-08-21 15:49:35 -0700948 "include/grpc++/support/sync_stream.h",
yang-g9e2f90c2015-08-21 15:35:03 -0700949 "include/grpc++/support/time.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700950 ],
951 includes = [
952 "include",
953 ".",
954 ],
955 deps = [
Craig Tiller02a7bed2015-08-31 15:54:05 -0700956 "//external:libssl",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700957 "//external:protobuf_clib",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700958 ":grpc",
959 ],
960)
961
962
Rob Earhartb7b8d052016-03-29 11:35:29 -0700963
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700964cc_library(
Nicolas "Pixel" Noblee8fb8522016-03-14 19:46:57 +0100965 name = "grpc++_codegen_lib",
966 srcs = [
967 "src/cpp/codegen/codegen_init.cc",
968 ],
969 hdrs = [
Nicolas "Pixel" Noblee8fb8522016-03-14 19:46:57 +0100970 "include/grpc++/impl/codegen/async_stream.h",
971 "include/grpc++/impl/codegen/async_unary_call.h",
972 "include/grpc++/impl/codegen/call.h",
973 "include/grpc++/impl/codegen/call_hook.h",
974 "include/grpc++/impl/codegen/channel_interface.h",
975 "include/grpc++/impl/codegen/client_context.h",
976 "include/grpc++/impl/codegen/client_unary_call.h",
977 "include/grpc++/impl/codegen/completion_queue.h",
978 "include/grpc++/impl/codegen/completion_queue_tag.h",
979 "include/grpc++/impl/codegen/config.h",
980 "include/grpc++/impl/codegen/config_protobuf.h",
981 "include/grpc++/impl/codegen/core_codegen_interface.h",
982 "include/grpc++/impl/codegen/grpc_library.h",
983 "include/grpc++/impl/codegen/method_handler_impl.h",
984 "include/grpc++/impl/codegen/proto_utils.h",
985 "include/grpc++/impl/codegen/rpc_method.h",
986 "include/grpc++/impl/codegen/rpc_service_method.h",
987 "include/grpc++/impl/codegen/security/auth_context.h",
988 "include/grpc++/impl/codegen/serialization_traits.h",
989 "include/grpc++/impl/codegen/server_context.h",
990 "include/grpc++/impl/codegen/server_interface.h",
991 "include/grpc++/impl/codegen/service_type.h",
992 "include/grpc++/impl/codegen/status.h",
993 "include/grpc++/impl/codegen/status_code_enum.h",
994 "include/grpc++/impl/codegen/string_ref.h",
995 "include/grpc++/impl/codegen/stub_options.h",
996 "include/grpc++/impl/codegen/sync.h",
997 "include/grpc++/impl/codegen/sync_cxx11.h",
998 "include/grpc++/impl/codegen/sync_no_cxx11.h",
999 "include/grpc++/impl/codegen/sync_stream.h",
1000 "include/grpc++/impl/codegen/time.h",
Craig Tiller44cc10b2016-03-28 10:45:29 -07001001 "include/grpc/impl/codegen/alloc.h",
1002 "include/grpc/impl/codegen/atm.h",
1003 "include/grpc/impl/codegen/atm_gcc_atomic.h",
1004 "include/grpc/impl/codegen/atm_gcc_sync.h",
1005 "include/grpc/impl/codegen/atm_win32.h",
1006 "include/grpc/impl/codegen/byte_buffer.h",
1007 "include/grpc/impl/codegen/compression_types.h",
1008 "include/grpc/impl/codegen/connectivity_state.h",
1009 "include/grpc/impl/codegen/grpc_types.h",
1010 "include/grpc/impl/codegen/log.h",
1011 "include/grpc/impl/codegen/port_platform.h",
1012 "include/grpc/impl/codegen/propagation_bits.h",
1013 "include/grpc/impl/codegen/slice.h",
1014 "include/grpc/impl/codegen/slice_buffer.h",
1015 "include/grpc/impl/codegen/status.h",
1016 "include/grpc/impl/codegen/sync.h",
1017 "include/grpc/impl/codegen/sync_generic.h",
1018 "include/grpc/impl/codegen/sync_posix.h",
1019 "include/grpc/impl/codegen/sync_win32.h",
1020 "include/grpc/impl/codegen/time.h",
Nicolas "Pixel" Noblee8fb8522016-03-14 19:46:57 +01001021 ],
1022 includes = [
1023 "include",
1024 ".",
1025 ],
1026 deps = [
Rob Earhartff20c2b2016-03-29 11:39:04 -07001027 "//external:protobuf_clib",
David Garcia Quintasa8bb0bf2016-02-18 15:09:02 -08001028 ],
1029)
1030
1031
Rob Earhartb7b8d052016-03-29 11:35:29 -07001032
David Garcia Quintasa8bb0bf2016-02-18 15:09:02 -08001033cc_library(
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001034 name = "grpc++_unsecure",
1035 srcs = [
yang-gc317f072015-08-20 12:18:08 -07001036 "src/cpp/client/create_channel_internal.h",
David Garcia Quintas79d90962016-03-09 13:57:46 -08001037 "src/cpp/common/core_codegen.h",
yang-g3abe60b2015-07-06 14:00:36 -07001038 "src/cpp/common/create_auth_context.h",
Vijay Paie8a7e302015-08-24 10:52:33 -07001039 "src/cpp/server/dynamic_thread_pool.h",
Vijay Paie8a7e302015-08-24 10:52:33 -07001040 "src/cpp/server/thread_pool_interface.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001041 "src/cpp/client/channel.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001042 "src/cpp/client/client_context.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001043 "src/cpp/client/create_channel.cc",
yang-gc317f072015-08-20 12:18:08 -07001044 "src/cpp/client/create_channel_internal.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001045 "src/cpp/client/credentials.cc",
1046 "src/cpp/client/generic_stub.cc",
1047 "src/cpp/client/insecure_credentials.cc",
Craig Tiller44cc10b2016-03-28 10:45:29 -07001048 "src/cpp/codegen/codegen_init.cc",
yang-g52705592015-11-25 11:45:33 -08001049 "src/cpp/common/channel_arguments.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001050 "src/cpp/common/completion_queue.cc",
Nicolas "Pixel" Noble42683182016-03-17 00:25:39 +01001051 "src/cpp/common/core_codegen.cc",
Craig Tiller44cc10b2016-03-28 10:45:29 -07001052 "src/cpp/common/insecure_create_auth_context.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001053 "src/cpp/common/rpc_method.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001054 "src/cpp/server/async_generic_service.cc",
Yang Gao6f4fb3b2015-06-03 12:56:19 -07001055 "src/cpp/server/create_default_thread_pool.cc",
vjpaib28456b2015-07-23 14:17:10 -07001056 "src/cpp/server/dynamic_thread_pool.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001057 "src/cpp/server/insecure_server_credentials.cc",
1058 "src/cpp/server/server.cc",
1059 "src/cpp/server/server_builder.cc",
1060 "src/cpp/server/server_context.cc",
1061 "src/cpp/server/server_credentials.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001062 "src/cpp/util/byte_buffer.cc",
1063 "src/cpp/util/slice.cc",
1064 "src/cpp/util/status.cc",
Julien Boeuf8fd915a2015-08-19 21:18:14 -07001065 "src/cpp/util/string_ref.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001066 "src/cpp/util/time.cc",
1067 ],
1068 hdrs = [
vjpaif9f61cf2016-02-10 20:51:53 -08001069 "include/grpc++/alarm.h",
yang-g8c2be9f2015-08-19 16:28:09 -07001070 "include/grpc++/channel.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001071 "include/grpc++/client_context.h",
1072 "include/grpc++/completion_queue.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001073 "include/grpc++/create_channel.h",
yang-g9e2f90c2015-08-21 15:35:03 -07001074 "include/grpc++/generic/async_generic_service.h",
1075 "include/grpc++/generic/generic_stub.h",
Craig Tillerd136a5c2015-09-11 12:23:32 -07001076 "include/grpc++/grpc++.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001077 "include/grpc++/impl/call.h",
1078 "include/grpc++/impl/client_unary_call.h",
Craig Tiller44cc10b2016-03-28 10:45:29 -07001079 "include/grpc++/impl/codegen/async_stream.h",
1080 "include/grpc++/impl/codegen/async_unary_call.h",
1081 "include/grpc++/impl/codegen/call.h",
1082 "include/grpc++/impl/codegen/call_hook.h",
1083 "include/grpc++/impl/codegen/channel_interface.h",
1084 "include/grpc++/impl/codegen/client_context.h",
1085 "include/grpc++/impl/codegen/client_unary_call.h",
1086 "include/grpc++/impl/codegen/completion_queue.h",
1087 "include/grpc++/impl/codegen/completion_queue_tag.h",
1088 "include/grpc++/impl/codegen/config.h",
1089 "include/grpc++/impl/codegen/config_protobuf.h",
1090 "include/grpc++/impl/codegen/core_codegen_interface.h",
1091 "include/grpc++/impl/codegen/grpc_library.h",
1092 "include/grpc++/impl/codegen/method_handler_impl.h",
1093 "include/grpc++/impl/codegen/proto_utils.h",
1094 "include/grpc++/impl/codegen/rpc_method.h",
1095 "include/grpc++/impl/codegen/rpc_service_method.h",
1096 "include/grpc++/impl/codegen/security/auth_context.h",
1097 "include/grpc++/impl/codegen/serialization_traits.h",
1098 "include/grpc++/impl/codegen/server_context.h",
1099 "include/grpc++/impl/codegen/server_interface.h",
1100 "include/grpc++/impl/codegen/service_type.h",
1101 "include/grpc++/impl/codegen/status.h",
1102 "include/grpc++/impl/codegen/status_code_enum.h",
1103 "include/grpc++/impl/codegen/string_ref.h",
1104 "include/grpc++/impl/codegen/stub_options.h",
1105 "include/grpc++/impl/codegen/sync.h",
1106 "include/grpc++/impl/codegen/sync_cxx11.h",
1107 "include/grpc++/impl/codegen/sync_no_cxx11.h",
1108 "include/grpc++/impl/codegen/sync_stream.h",
1109 "include/grpc++/impl/codegen/time.h",
Yang Gao96de4842015-04-24 13:13:12 -07001110 "include/grpc++/impl/grpc_library.h",
yang-g77c63332016-01-14 16:09:04 -08001111 "include/grpc++/impl/method_handler_impl.h",
yang-gadfed032015-06-23 13:01:22 -07001112 "include/grpc++/impl/proto_utils.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001113 "include/grpc++/impl/rpc_method.h",
1114 "include/grpc++/impl/rpc_service_method.h",
Craig Tiller6ef7f312015-06-05 10:15:10 -07001115 "include/grpc++/impl/serialization_traits.h",
yang-ga23f17b2015-11-25 10:21:05 -08001116 "include/grpc++/impl/server_builder_option.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001117 "include/grpc++/impl/service_type.h",
Nicolas "Pixel" Nobleb7c20352015-04-11 01:27:32 +02001118 "include/grpc++/impl/sync.h",
1119 "include/grpc++/impl/sync_cxx11.h",
1120 "include/grpc++/impl/sync_no_cxx11.h",
1121 "include/grpc++/impl/thd.h",
1122 "include/grpc++/impl/thd_cxx11.h",
1123 "include/grpc++/impl/thd_no_cxx11.h",
Julien Boeuf0d471922015-08-30 22:18:50 -07001124 "include/grpc++/security/auth_context.h",
1125 "include/grpc++/security/auth_metadata_processor.h",
1126 "include/grpc++/security/credentials.h",
1127 "include/grpc++/security/server_credentials.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001128 "include/grpc++/server.h",
1129 "include/grpc++/server_builder.h",
1130 "include/grpc++/server_context.h",
yang-g9fb35a52015-08-21 15:49:35 -07001131 "include/grpc++/support/async_stream.h",
yang-g9e2f90c2015-08-21 15:35:03 -07001132 "include/grpc++/support/async_unary_call.h",
yang-g9e2f90c2015-08-21 15:35:03 -07001133 "include/grpc++/support/byte_buffer.h",
1134 "include/grpc++/support/channel_arguments.h",
1135 "include/grpc++/support/config.h",
1136 "include/grpc++/support/config_protobuf.h",
yang-g9e2f90c2015-08-21 15:35:03 -07001137 "include/grpc++/support/slice.h",
1138 "include/grpc++/support/status.h",
1139 "include/grpc++/support/status_code_enum.h",
Julien Boeuf0382bfa2015-08-24 23:55:43 -07001140 "include/grpc++/support/string_ref.h",
yang-g9e2f90c2015-08-21 15:35:03 -07001141 "include/grpc++/support/stub_options.h",
yang-g9fb35a52015-08-21 15:49:35 -07001142 "include/grpc++/support/sync_stream.h",
yang-g9e2f90c2015-08-21 15:35:03 -07001143 "include/grpc++/support/time.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001144 ],
1145 includes = [
1146 "include",
1147 ".",
1148 ],
1149 deps = [
1150 "//external:protobuf_clib",
Craig Tillerda179ce2016-02-09 12:01:53 -08001151 ":gpr",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001152 ":grpc_unsecure",
1153 ],
1154)
1155
1156
Rob Earhartb7b8d052016-03-29 11:35:29 -07001157
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001158cc_library(
1159 name = "grpc_plugin_support",
1160 srcs = [
yang-g9d1f0c42015-08-24 16:08:36 -07001161 "include/grpc++/support/config.h",
1162 "include/grpc++/support/config_protobuf.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001163 "src/compiler/config.h",
1164 "src/compiler/cpp_generator.h",
1165 "src/compiler/cpp_generator_helpers.h",
Jan Tattermusch2d924952015-05-06 10:23:17 -07001166 "src/compiler/csharp_generator.h",
1167 "src/compiler/csharp_generator_helpers.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001168 "src/compiler/generator_helpers.h",
1169 "src/compiler/objective_c_generator.h",
1170 "src/compiler/objective_c_generator_helpers.h",
1171 "src/compiler/python_generator.h",
1172 "src/compiler/ruby_generator.h",
1173 "src/compiler/ruby_generator_helpers-inl.h",
1174 "src/compiler/ruby_generator_map-inl.h",
1175 "src/compiler/ruby_generator_string-inl.h",
1176 "src/compiler/cpp_generator.cc",
Jan Tattermusch2d924952015-05-06 10:23:17 -07001177 "src/compiler/csharp_generator.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001178 "src/compiler/objective_c_generator.cc",
1179 "src/compiler/python_generator.cc",
1180 "src/compiler/ruby_generator.cc",
1181 ],
1182 hdrs = [
David Garcia Quintasb523c732016-01-25 18:22:28 -08001183 "include/grpc/impl/codegen/alloc.h",
David Garcia Quintas2425bbb2016-01-25 17:32:48 -08001184 "include/grpc/impl/codegen/atm.h",
1185 "include/grpc/impl/codegen/atm_gcc_atomic.h",
1186 "include/grpc/impl/codegen/atm_gcc_sync.h",
1187 "include/grpc/impl/codegen/atm_win32.h",
David Garcia Quintas2425bbb2016-01-25 17:32:48 -08001188 "include/grpc/impl/codegen/log.h",
David Garcia Quintasddcb53a2016-01-21 17:48:34 -08001189 "include/grpc/impl/codegen/port_platform.h",
David Garcia Quintas2425bbb2016-01-25 17:32:48 -08001190 "include/grpc/impl/codegen/slice.h",
1191 "include/grpc/impl/codegen/slice_buffer.h",
David Garcia Quintas2425bbb2016-01-25 17:32:48 -08001192 "include/grpc/impl/codegen/sync.h",
1193 "include/grpc/impl/codegen/sync_generic.h",
1194 "include/grpc/impl/codegen/sync_posix.h",
1195 "include/grpc/impl/codegen/sync_win32.h",
David Garcia Quintasddcb53a2016-01-21 17:48:34 -08001196 "include/grpc/impl/codegen/time.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001197 ],
1198 includes = [
1199 "include",
1200 ".",
1201 ],
1202 deps = [
1203 "//external:protobuf_compiler",
David Garcia Quintasa8bb0bf2016-02-18 15:09:02 -08001204 ":grpc++_codegen_lib",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001205 ],
1206)
1207
1208
Rob Earhartb7b8d052016-03-29 11:35:29 -07001209
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001210cc_library(
1211 name = "grpc_csharp_ext",
1212 srcs = [
1213 "src/csharp/ext/grpc_csharp_ext.c",
1214 ],
1215 hdrs = [
1216 ],
1217 includes = [
1218 "include",
1219 ".",
1220 ],
1221 deps = [
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001222 ":grpc",
Craig Tillerda179ce2016-02-09 12:01:53 -08001223 ":gpr",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001224 ],
1225)
1226
1227
1228
Rob Earhartb7b8d052016-03-29 11:35:29 -07001229
Jorge Canizales140bca82015-06-20 09:47:00 -07001230objc_library(
Craig Tillerda179ce2016-02-09 12:01:53 -08001231 name = "gpr_objc",
1232 srcs = [
Craig Tillerf23078c2016-03-25 17:07:29 -07001233 "src/core/lib/profiling/basic_timers.c",
1234 "src/core/lib/profiling/stap_timers.c",
1235 "src/core/lib/support/alloc.c",
1236 "src/core/lib/support/avl.c",
1237 "src/core/lib/support/backoff.c",
1238 "src/core/lib/support/cmdline.c",
1239 "src/core/lib/support/cpu_iphone.c",
1240 "src/core/lib/support/cpu_linux.c",
1241 "src/core/lib/support/cpu_posix.c",
1242 "src/core/lib/support/cpu_windows.c",
1243 "src/core/lib/support/env_linux.c",
1244 "src/core/lib/support/env_posix.c",
1245 "src/core/lib/support/env_win32.c",
1246 "src/core/lib/support/histogram.c",
1247 "src/core/lib/support/host_port.c",
1248 "src/core/lib/support/load_file.c",
1249 "src/core/lib/support/log.c",
1250 "src/core/lib/support/log_android.c",
1251 "src/core/lib/support/log_linux.c",
1252 "src/core/lib/support/log_posix.c",
1253 "src/core/lib/support/log_win32.c",
1254 "src/core/lib/support/murmur_hash.c",
1255 "src/core/lib/support/slice.c",
1256 "src/core/lib/support/slice_buffer.c",
1257 "src/core/lib/support/stack_lockfree.c",
1258 "src/core/lib/support/string.c",
1259 "src/core/lib/support/string_posix.c",
1260 "src/core/lib/support/string_win32.c",
1261 "src/core/lib/support/subprocess_posix.c",
1262 "src/core/lib/support/subprocess_windows.c",
1263 "src/core/lib/support/sync.c",
1264 "src/core/lib/support/sync_posix.c",
1265 "src/core/lib/support/sync_win32.c",
1266 "src/core/lib/support/thd.c",
1267 "src/core/lib/support/thd_posix.c",
1268 "src/core/lib/support/thd_win32.c",
1269 "src/core/lib/support/time.c",
1270 "src/core/lib/support/time_posix.c",
1271 "src/core/lib/support/time_precise.c",
1272 "src/core/lib/support/time_win32.c",
1273 "src/core/lib/support/tls_pthread.c",
1274 "src/core/lib/support/tmpfile_posix.c",
1275 "src/core/lib/support/tmpfile_win32.c",
1276 "src/core/lib/support/wrap_memcpy.c",
Craig Tillerda179ce2016-02-09 12:01:53 -08001277 ],
1278 hdrs = [
Craig Tiller44cc10b2016-03-28 10:45:29 -07001279 "include/grpc/impl/codegen/alloc.h",
1280 "include/grpc/impl/codegen/atm.h",
1281 "include/grpc/impl/codegen/atm_gcc_atomic.h",
1282 "include/grpc/impl/codegen/atm_gcc_sync.h",
1283 "include/grpc/impl/codegen/atm_win32.h",
1284 "include/grpc/impl/codegen/log.h",
1285 "include/grpc/impl/codegen/port_platform.h",
1286 "include/grpc/impl/codegen/slice.h",
1287 "include/grpc/impl/codegen/slice_buffer.h",
1288 "include/grpc/impl/codegen/sync.h",
1289 "include/grpc/impl/codegen/sync_generic.h",
1290 "include/grpc/impl/codegen/sync_posix.h",
1291 "include/grpc/impl/codegen/sync_win32.h",
1292 "include/grpc/impl/codegen/time.h",
Craig Tillerda179ce2016-02-09 12:01:53 -08001293 "include/grpc/support/alloc.h",
1294 "include/grpc/support/atm.h",
1295 "include/grpc/support/atm_gcc_atomic.h",
1296 "include/grpc/support/atm_gcc_sync.h",
1297 "include/grpc/support/atm_win32.h",
1298 "include/grpc/support/avl.h",
1299 "include/grpc/support/cmdline.h",
1300 "include/grpc/support/cpu.h",
1301 "include/grpc/support/histogram.h",
1302 "include/grpc/support/host_port.h",
1303 "include/grpc/support/log.h",
1304 "include/grpc/support/log_win32.h",
1305 "include/grpc/support/port_platform.h",
1306 "include/grpc/support/slice.h",
1307 "include/grpc/support/slice_buffer.h",
1308 "include/grpc/support/string_util.h",
1309 "include/grpc/support/subprocess.h",
1310 "include/grpc/support/sync.h",
1311 "include/grpc/support/sync_generic.h",
1312 "include/grpc/support/sync_posix.h",
1313 "include/grpc/support/sync_win32.h",
1314 "include/grpc/support/thd.h",
1315 "include/grpc/support/time.h",
1316 "include/grpc/support/tls.h",
1317 "include/grpc/support/tls_gcc.h",
1318 "include/grpc/support/tls_msvc.h",
1319 "include/grpc/support/tls_pthread.h",
1320 "include/grpc/support/useful.h",
Craig Tillerf23078c2016-03-25 17:07:29 -07001321 "src/core/lib/profiling/timers.h",
1322 "src/core/lib/support/backoff.h",
1323 "src/core/lib/support/block_annotate.h",
1324 "src/core/lib/support/env.h",
1325 "src/core/lib/support/load_file.h",
1326 "src/core/lib/support/murmur_hash.h",
1327 "src/core/lib/support/stack_lockfree.h",
1328 "src/core/lib/support/string.h",
1329 "src/core/lib/support/string_win32.h",
1330 "src/core/lib/support/thd_internal.h",
1331 "src/core/lib/support/time_precise.h",
1332 "src/core/lib/support/tmpfile.h",
Craig Tillerda179ce2016-02-09 12:01:53 -08001333 ],
1334 includes = [
1335 "include",
1336 ".",
1337 ],
1338 deps = [
1339 ],
1340)
1341
1342
Rob Earhartb7b8d052016-03-29 11:35:29 -07001343
Craig Tillerda179ce2016-02-09 12:01:53 -08001344objc_library(
Jorge Canizales7b1a0ca2015-06-26 21:49:42 -07001345 name = "grpc_objc",
Jorge Canizales140bca82015-06-20 09:47:00 -07001346 srcs = [
Craig Tiller8f8e9f92016-03-29 09:41:28 -07001347 "src/core/ext/census/context.c",
1348 "src/core/ext/census/grpc_context.c",
1349 "src/core/ext/census/grpc_filter.c",
1350 "src/core/ext/census/grpc_plugin.c",
1351 "src/core/ext/census/initialize.c",
1352 "src/core/ext/census/mlog.c",
1353 "src/core/ext/census/operation.c",
1354 "src/core/ext/census/placeholders.c",
1355 "src/core/ext/census/tracing.c",
Craig Tiller023caf12016-03-29 08:00:30 -07001356 "src/core/ext/lb_policy/grpclb/load_balancer_api.c",
Craig Tiller943cdf92016-03-29 13:27:56 -07001357 "src/core/ext/lb_policy/grpclb/proto/grpc/lb/v0/load_balancer.pb.c",
Craig Tiller023caf12016-03-29 08:00:30 -07001358 "src/core/ext/lb_policy/pick_first/pick_first.c",
1359 "src/core/ext/lb_policy/round_robin/round_robin.c",
Craig Tiller65938df2016-03-31 13:08:49 -07001360 "src/core/ext/resolver/dns/native/dns_resolver.c",
1361 "src/core/ext/resolver/sockaddr/sockaddr_resolver.c",
Craig Tiller44cc10b2016-03-28 10:45:29 -07001362 "src/core/ext/transport/chttp2/client/insecure/channel_create.c",
1363 "src/core/ext/transport/chttp2/client/secure/secure_channel_create.c",
1364 "src/core/ext/transport/chttp2/server/insecure/server_chttp2.c",
1365 "src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.c",
1366 "src/core/ext/transport/chttp2/transport/alpn.c",
1367 "src/core/ext/transport/chttp2/transport/bin_encoder.c",
1368 "src/core/ext/transport/chttp2/transport/chttp2_transport.c",
1369 "src/core/ext/transport/chttp2/transport/frame_data.c",
1370 "src/core/ext/transport/chttp2/transport/frame_goaway.c",
1371 "src/core/ext/transport/chttp2/transport/frame_ping.c",
1372 "src/core/ext/transport/chttp2/transport/frame_rst_stream.c",
1373 "src/core/ext/transport/chttp2/transport/frame_settings.c",
1374 "src/core/ext/transport/chttp2/transport/frame_window_update.c",
1375 "src/core/ext/transport/chttp2/transport/hpack_encoder.c",
1376 "src/core/ext/transport/chttp2/transport/hpack_parser.c",
1377 "src/core/ext/transport/chttp2/transport/hpack_table.c",
1378 "src/core/ext/transport/chttp2/transport/huffsyms.c",
1379 "src/core/ext/transport/chttp2/transport/incoming_metadata.c",
1380 "src/core/ext/transport/chttp2/transport/parsing.c",
1381 "src/core/ext/transport/chttp2/transport/status_conversion.c",
1382 "src/core/ext/transport/chttp2/transport/stream_lists.c",
1383 "src/core/ext/transport/chttp2/transport/stream_map.c",
1384 "src/core/ext/transport/chttp2/transport/timeout_encoding.c",
1385 "src/core/ext/transport/chttp2/transport/varint.c",
1386 "src/core/ext/transport/chttp2/transport/writing.c",
Craig Tillerf23078c2016-03-25 17:07:29 -07001387 "src/core/lib/channel/channel_args.c",
1388 "src/core/lib/channel/channel_stack.c",
1389 "src/core/lib/channel/channel_stack_builder.c",
1390 "src/core/lib/channel/client_channel.c",
1391 "src/core/lib/channel/compress_filter.c",
1392 "src/core/lib/channel/connected_channel.c",
1393 "src/core/lib/channel/http_client_filter.c",
1394 "src/core/lib/channel/http_server_filter.c",
1395 "src/core/lib/channel/subchannel_call_holder.c",
1396 "src/core/lib/client_config/client_config.c",
1397 "src/core/lib/client_config/connector.c",
1398 "src/core/lib/client_config/default_initial_connect_string.c",
1399 "src/core/lib/client_config/initial_connect_string.c",
Craig Tillerf23078c2016-03-25 17:07:29 -07001400 "src/core/lib/client_config/lb_policy.c",
1401 "src/core/lib/client_config/lb_policy_factory.c",
1402 "src/core/lib/client_config/lb_policy_registry.c",
1403 "src/core/lib/client_config/resolver.c",
1404 "src/core/lib/client_config/resolver_factory.c",
1405 "src/core/lib/client_config/resolver_registry.c",
Craig Tillerf23078c2016-03-25 17:07:29 -07001406 "src/core/lib/client_config/subchannel.c",
1407 "src/core/lib/client_config/subchannel_factory.c",
1408 "src/core/lib/client_config/subchannel_index.c",
1409 "src/core/lib/client_config/uri_parser.c",
1410 "src/core/lib/compression/compression_algorithm.c",
1411 "src/core/lib/compression/message_compress.c",
1412 "src/core/lib/debug/trace.c",
1413 "src/core/lib/http/format_request.c",
1414 "src/core/lib/http/httpcli.c",
Craig Tiller44cc10b2016-03-28 10:45:29 -07001415 "src/core/lib/http/httpcli_security_connector.c",
Craig Tillerf23078c2016-03-25 17:07:29 -07001416 "src/core/lib/http/parser.c",
1417 "src/core/lib/iomgr/closure.c",
1418 "src/core/lib/iomgr/endpoint.c",
1419 "src/core/lib/iomgr/endpoint_pair_posix.c",
1420 "src/core/lib/iomgr/endpoint_pair_windows.c",
Craig Tiller8a034482016-03-28 16:09:04 -07001421 "src/core/lib/iomgr/ev_poll_and_epoll_posix.c",
1422 "src/core/lib/iomgr/ev_posix.c",
Craig Tillerf23078c2016-03-25 17:07:29 -07001423 "src/core/lib/iomgr/exec_ctx.c",
1424 "src/core/lib/iomgr/executor.c",
Craig Tillerf23078c2016-03-25 17:07:29 -07001425 "src/core/lib/iomgr/iocp_windows.c",
1426 "src/core/lib/iomgr/iomgr.c",
1427 "src/core/lib/iomgr/iomgr_posix.c",
1428 "src/core/lib/iomgr/iomgr_windows.c",
Craig Tillerf23078c2016-03-25 17:07:29 -07001429 "src/core/lib/iomgr/pollset_set_windows.c",
1430 "src/core/lib/iomgr/pollset_windows.c",
1431 "src/core/lib/iomgr/resolve_address_posix.c",
1432 "src/core/lib/iomgr/resolve_address_windows.c",
1433 "src/core/lib/iomgr/sockaddr_utils.c",
1434 "src/core/lib/iomgr/socket_utils_common_posix.c",
1435 "src/core/lib/iomgr/socket_utils_linux.c",
1436 "src/core/lib/iomgr/socket_utils_posix.c",
1437 "src/core/lib/iomgr/socket_windows.c",
1438 "src/core/lib/iomgr/tcp_client_posix.c",
1439 "src/core/lib/iomgr/tcp_client_windows.c",
1440 "src/core/lib/iomgr/tcp_posix.c",
1441 "src/core/lib/iomgr/tcp_server_posix.c",
1442 "src/core/lib/iomgr/tcp_server_windows.c",
1443 "src/core/lib/iomgr/tcp_windows.c",
1444 "src/core/lib/iomgr/time_averaged_stats.c",
1445 "src/core/lib/iomgr/timer.c",
1446 "src/core/lib/iomgr/timer_heap.c",
1447 "src/core/lib/iomgr/udp_server.c",
1448 "src/core/lib/iomgr/unix_sockets_posix.c",
1449 "src/core/lib/iomgr/unix_sockets_posix_noop.c",
1450 "src/core/lib/iomgr/wakeup_fd_eventfd.c",
1451 "src/core/lib/iomgr/wakeup_fd_nospecial.c",
1452 "src/core/lib/iomgr/wakeup_fd_pipe.c",
1453 "src/core/lib/iomgr/wakeup_fd_posix.c",
1454 "src/core/lib/iomgr/workqueue_posix.c",
1455 "src/core/lib/iomgr/workqueue_windows.c",
1456 "src/core/lib/json/json.c",
1457 "src/core/lib/json/json_reader.c",
1458 "src/core/lib/json/json_string.c",
1459 "src/core/lib/json/json_writer.c",
Craig Tiller44cc10b2016-03-28 10:45:29 -07001460 "src/core/lib/security/b64.c",
1461 "src/core/lib/security/client_auth_filter.c",
1462 "src/core/lib/security/credentials.c",
1463 "src/core/lib/security/credentials_metadata.c",
1464 "src/core/lib/security/credentials_posix.c",
1465 "src/core/lib/security/credentials_win32.c",
1466 "src/core/lib/security/google_default_credentials.c",
1467 "src/core/lib/security/handshake.c",
1468 "src/core/lib/security/json_token.c",
1469 "src/core/lib/security/jwt_verifier.c",
1470 "src/core/lib/security/secure_endpoint.c",
1471 "src/core/lib/security/security_connector.c",
1472 "src/core/lib/security/security_context.c",
1473 "src/core/lib/security/server_auth_filter.c",
Craig Tillerf23078c2016-03-25 17:07:29 -07001474 "src/core/lib/surface/alarm.c",
1475 "src/core/lib/surface/api_trace.c",
1476 "src/core/lib/surface/byte_buffer.c",
1477 "src/core/lib/surface/byte_buffer_reader.c",
1478 "src/core/lib/surface/call.c",
1479 "src/core/lib/surface/call_details.c",
1480 "src/core/lib/surface/call_log_batch.c",
1481 "src/core/lib/surface/channel.c",
1482 "src/core/lib/surface/channel_connectivity.c",
Craig Tillerf23078c2016-03-25 17:07:29 -07001483 "src/core/lib/surface/channel_init.c",
1484 "src/core/lib/surface/channel_ping.c",
1485 "src/core/lib/surface/channel_stack_type.c",
1486 "src/core/lib/surface/completion_queue.c",
1487 "src/core/lib/surface/event_string.c",
1488 "src/core/lib/surface/init.c",
Craig Tiller44cc10b2016-03-28 10:45:29 -07001489 "src/core/lib/surface/init_secure.c",
Craig Tillerf23078c2016-03-25 17:07:29 -07001490 "src/core/lib/surface/lame_client.c",
1491 "src/core/lib/surface/metadata_array.c",
1492 "src/core/lib/surface/server.c",
Craig Tillerf23078c2016-03-25 17:07:29 -07001493 "src/core/lib/surface/validate_metadata.c",
1494 "src/core/lib/surface/version.c",
1495 "src/core/lib/transport/byte_stream.c",
Craig Tillerf23078c2016-03-25 17:07:29 -07001496 "src/core/lib/transport/connectivity_state.c",
1497 "src/core/lib/transport/metadata.c",
1498 "src/core/lib/transport/metadata_batch.c",
1499 "src/core/lib/transport/static_metadata.c",
1500 "src/core/lib/transport/transport.c",
1501 "src/core/lib/transport/transport_op_string.c",
Craig Tillerf23078c2016-03-25 17:07:29 -07001502 "src/core/lib/tsi/fake_transport_security.c",
1503 "src/core/lib/tsi/ssl_transport_security.c",
1504 "src/core/lib/tsi/transport_security.c",
Craig Tillerfb433852016-03-29 08:51:07 -07001505 "src/core/plugin_registry/grpc_plugin_registry.c",
Jorge Canizales140bca82015-06-20 09:47:00 -07001506 ],
1507 hdrs = [
1508 "include/grpc/byte_buffer.h",
1509 "include/grpc/byte_buffer_reader.h",
Craig Tiller44cc10b2016-03-28 10:45:29 -07001510 "include/grpc/census.h",
Jorge Canizales140bca82015-06-20 09:47:00 -07001511 "include/grpc/compression.h",
1512 "include/grpc/grpc.h",
Craig Tiller44cc10b2016-03-28 10:45:29 -07001513 "include/grpc/grpc_security.h",
Jorge Canizales140bca82015-06-20 09:47:00 -07001514 "include/grpc/impl/codegen/byte_buffer.h",
1515 "include/grpc/impl/codegen/compression_types.h",
1516 "include/grpc/impl/codegen/connectivity_state.h",
1517 "include/grpc/impl/codegen/grpc_types.h",
1518 "include/grpc/impl/codegen/propagation_bits.h",
1519 "include/grpc/impl/codegen/status.h",
Craig Tiller44cc10b2016-03-28 10:45:29 -07001520 "include/grpc/status.h",
Craig Tiller8f8e9f92016-03-29 09:41:28 -07001521 "src/core/ext/census/aggregation.h",
1522 "src/core/ext/census/census_interface.h",
1523 "src/core/ext/census/census_rpc_stats.h",
1524 "src/core/ext/census/grpc_filter.h",
Craig Tiller8f8e9f92016-03-29 09:41:28 -07001525 "src/core/ext/census/mlog.h",
1526 "src/core/ext/census/rpc_metric_id.h",
Craig Tiller023caf12016-03-29 08:00:30 -07001527 "src/core/ext/lb_policy/grpclb/load_balancer_api.h",
Craig Tiller943cdf92016-03-29 13:27:56 -07001528 "src/core/ext/lb_policy/grpclb/proto/grpc/lb/v0/load_balancer.pb.h",
Craig Tiller44cc10b2016-03-28 10:45:29 -07001529 "src/core/ext/transport/chttp2/transport/alpn.h",
1530 "src/core/ext/transport/chttp2/transport/bin_encoder.h",
1531 "src/core/ext/transport/chttp2/transport/chttp2_transport.h",
1532 "src/core/ext/transport/chttp2/transport/frame.h",
1533 "src/core/ext/transport/chttp2/transport/frame_data.h",
1534 "src/core/ext/transport/chttp2/transport/frame_goaway.h",
1535 "src/core/ext/transport/chttp2/transport/frame_ping.h",
1536 "src/core/ext/transport/chttp2/transport/frame_rst_stream.h",
1537 "src/core/ext/transport/chttp2/transport/frame_settings.h",
1538 "src/core/ext/transport/chttp2/transport/frame_window_update.h",
1539 "src/core/ext/transport/chttp2/transport/hpack_encoder.h",
1540 "src/core/ext/transport/chttp2/transport/hpack_parser.h",
1541 "src/core/ext/transport/chttp2/transport/hpack_table.h",
1542 "src/core/ext/transport/chttp2/transport/http2_errors.h",
1543 "src/core/ext/transport/chttp2/transport/huffsyms.h",
1544 "src/core/ext/transport/chttp2/transport/incoming_metadata.h",
1545 "src/core/ext/transport/chttp2/transport/internal.h",
1546 "src/core/ext/transport/chttp2/transport/status_conversion.h",
1547 "src/core/ext/transport/chttp2/transport/stream_map.h",
1548 "src/core/ext/transport/chttp2/transport/timeout_encoding.h",
1549 "src/core/ext/transport/chttp2/transport/varint.h",
Craig Tillerf23078c2016-03-25 17:07:29 -07001550 "src/core/lib/channel/channel_args.h",
1551 "src/core/lib/channel/channel_stack.h",
1552 "src/core/lib/channel/channel_stack_builder.h",
1553 "src/core/lib/channel/client_channel.h",
1554 "src/core/lib/channel/compress_filter.h",
1555 "src/core/lib/channel/connected_channel.h",
1556 "src/core/lib/channel/context.h",
1557 "src/core/lib/channel/http_client_filter.h",
1558 "src/core/lib/channel/http_server_filter.h",
1559 "src/core/lib/channel/subchannel_call_holder.h",
1560 "src/core/lib/client_config/client_config.h",
1561 "src/core/lib/client_config/connector.h",
1562 "src/core/lib/client_config/initial_connect_string.h",
Craig Tillerf23078c2016-03-25 17:07:29 -07001563 "src/core/lib/client_config/lb_policy.h",
1564 "src/core/lib/client_config/lb_policy_factory.h",
1565 "src/core/lib/client_config/lb_policy_registry.h",
1566 "src/core/lib/client_config/resolver.h",
1567 "src/core/lib/client_config/resolver_factory.h",
1568 "src/core/lib/client_config/resolver_registry.h",
Craig Tillerf23078c2016-03-25 17:07:29 -07001569 "src/core/lib/client_config/subchannel.h",
1570 "src/core/lib/client_config/subchannel_factory.h",
1571 "src/core/lib/client_config/subchannel_index.h",
1572 "src/core/lib/client_config/uri_parser.h",
1573 "src/core/lib/compression/algorithm_metadata.h",
1574 "src/core/lib/compression/message_compress.h",
1575 "src/core/lib/debug/trace.h",
1576 "src/core/lib/http/format_request.h",
1577 "src/core/lib/http/httpcli.h",
1578 "src/core/lib/http/parser.h",
1579 "src/core/lib/iomgr/closure.h",
1580 "src/core/lib/iomgr/endpoint.h",
1581 "src/core/lib/iomgr/endpoint_pair.h",
Craig Tiller8a034482016-03-28 16:09:04 -07001582 "src/core/lib/iomgr/ev_poll_and_epoll_posix.h",
1583 "src/core/lib/iomgr/ev_posix.h",
Craig Tillerf23078c2016-03-25 17:07:29 -07001584 "src/core/lib/iomgr/exec_ctx.h",
1585 "src/core/lib/iomgr/executor.h",
Craig Tillerf23078c2016-03-25 17:07:29 -07001586 "src/core/lib/iomgr/iocp_windows.h",
1587 "src/core/lib/iomgr/iomgr.h",
1588 "src/core/lib/iomgr/iomgr_internal.h",
1589 "src/core/lib/iomgr/iomgr_posix.h",
1590 "src/core/lib/iomgr/pollset.h",
Craig Tillerf23078c2016-03-25 17:07:29 -07001591 "src/core/lib/iomgr/pollset_set.h",
Craig Tillerf23078c2016-03-25 17:07:29 -07001592 "src/core/lib/iomgr/pollset_set_windows.h",
1593 "src/core/lib/iomgr/pollset_windows.h",
1594 "src/core/lib/iomgr/resolve_address.h",
1595 "src/core/lib/iomgr/sockaddr.h",
1596 "src/core/lib/iomgr/sockaddr_posix.h",
1597 "src/core/lib/iomgr/sockaddr_utils.h",
1598 "src/core/lib/iomgr/sockaddr_win32.h",
1599 "src/core/lib/iomgr/socket_utils_posix.h",
1600 "src/core/lib/iomgr/socket_windows.h",
1601 "src/core/lib/iomgr/tcp_client.h",
1602 "src/core/lib/iomgr/tcp_posix.h",
1603 "src/core/lib/iomgr/tcp_server.h",
1604 "src/core/lib/iomgr/tcp_windows.h",
1605 "src/core/lib/iomgr/time_averaged_stats.h",
1606 "src/core/lib/iomgr/timer.h",
1607 "src/core/lib/iomgr/timer_heap.h",
1608 "src/core/lib/iomgr/udp_server.h",
1609 "src/core/lib/iomgr/unix_sockets_posix.h",
1610 "src/core/lib/iomgr/wakeup_fd_pipe.h",
1611 "src/core/lib/iomgr/wakeup_fd_posix.h",
1612 "src/core/lib/iomgr/workqueue.h",
1613 "src/core/lib/iomgr/workqueue_posix.h",
1614 "src/core/lib/iomgr/workqueue_windows.h",
1615 "src/core/lib/json/json.h",
1616 "src/core/lib/json/json_common.h",
1617 "src/core/lib/json/json_reader.h",
1618 "src/core/lib/json/json_writer.h",
Craig Tiller44cc10b2016-03-28 10:45:29 -07001619 "src/core/lib/security/auth_filters.h",
1620 "src/core/lib/security/b64.h",
1621 "src/core/lib/security/credentials.h",
1622 "src/core/lib/security/handshake.h",
1623 "src/core/lib/security/json_token.h",
1624 "src/core/lib/security/jwt_verifier.h",
1625 "src/core/lib/security/secure_endpoint.h",
1626 "src/core/lib/security/security_connector.h",
1627 "src/core/lib/security/security_context.h",
Craig Tillerf23078c2016-03-25 17:07:29 -07001628 "src/core/lib/surface/api_trace.h",
1629 "src/core/lib/surface/call.h",
1630 "src/core/lib/surface/call_test_only.h",
1631 "src/core/lib/surface/channel.h",
1632 "src/core/lib/surface/channel_init.h",
1633 "src/core/lib/surface/channel_stack_type.h",
1634 "src/core/lib/surface/completion_queue.h",
1635 "src/core/lib/surface/event_string.h",
1636 "src/core/lib/surface/init.h",
1637 "src/core/lib/surface/lame_client.h",
1638 "src/core/lib/surface/server.h",
1639 "src/core/lib/surface/surface_trace.h",
1640 "src/core/lib/transport/byte_stream.h",
Craig Tillerf23078c2016-03-25 17:07:29 -07001641 "src/core/lib/transport/connectivity_state.h",
1642 "src/core/lib/transport/metadata.h",
1643 "src/core/lib/transport/metadata_batch.h",
1644 "src/core/lib/transport/static_metadata.h",
1645 "src/core/lib/transport/transport.h",
1646 "src/core/lib/transport/transport_impl.h",
Craig Tillerf23078c2016-03-25 17:07:29 -07001647 "src/core/lib/tsi/fake_transport_security.h",
1648 "src/core/lib/tsi/ssl_transport_security.h",
1649 "src/core/lib/tsi/ssl_types.h",
1650 "src/core/lib/tsi/transport_security.h",
1651 "src/core/lib/tsi/transport_security_interface.h",
Jorge Canizales140bca82015-06-20 09:47:00 -07001652 ],
1653 includes = [
1654 "include",
1655 ".",
1656 ],
1657 deps = [
Craig Tillerda179ce2016-02-09 12:01:53 -08001658 ":gpr_objc",
Jorge Canizales4dc4e3d2015-06-26 22:12:02 -07001659 "//external:libssl_objc",
Rob Earhartb7b8d052016-03-29 11:35:29 -07001660 "//external:nanopb",
Jorge Canizales140bca82015-06-20 09:47:00 -07001661 ],
Jorge Canizales8c1fd042015-06-22 19:11:36 -07001662 sdk_dylibs = ["libz"],
Jorge Canizales140bca82015-06-20 09:47:00 -07001663)
1664
1665
1666
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001667cc_binary(
1668 name = "grpc_cpp_plugin",
1669 srcs = [
1670 "src/compiler/cpp_plugin.cc",
1671 ],
1672 deps = [
1673 "//external:protobuf_compiler",
1674 ":grpc_plugin_support",
1675 ],
1676)
1677
1678
1679cc_binary(
Jan Tattermusch2d924952015-05-06 10:23:17 -07001680 name = "grpc_csharp_plugin",
1681 srcs = [
1682 "src/compiler/csharp_plugin.cc",
1683 ],
1684 deps = [
1685 "//external:protobuf_compiler",
1686 ":grpc_plugin_support",
1687 ],
1688)
1689
1690
1691cc_binary(
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001692 name = "grpc_objective_c_plugin",
1693 srcs = [
1694 "src/compiler/objective_c_plugin.cc",
1695 ],
1696 deps = [
1697 "//external:protobuf_compiler",
1698 ":grpc_plugin_support",
1699 ],
1700)
1701
1702
1703cc_binary(
1704 name = "grpc_python_plugin",
1705 srcs = [
1706 "src/compiler/python_plugin.cc",
1707 ],
1708 deps = [
1709 "//external:protobuf_compiler",
1710 ":grpc_plugin_support",
1711 ],
1712)
1713
1714
1715cc_binary(
1716 name = "grpc_ruby_plugin",
1717 srcs = [
1718 "src/compiler/ruby_plugin.cc",
1719 ],
1720 deps = [
1721 "//external:protobuf_compiler",
1722 ":grpc_plugin_support",
1723 ],
1724)
1725
1726
1727
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +02001728
1729
Jorge Canizales140bca82015-06-20 09:47:00 -07001730
Jorge Canizales91e67a22015-06-24 13:50:04 -07001731
1732
Jorge Canizales44dc4232015-06-19 16:30:31 -07001733objc_path = "src/objective-c"
Jorge Canizales140bca82015-06-20 09:47:00 -07001734
Jorge Canizales44dc4232015-06-19 16:30:31 -07001735rx_library_path = objc_path + "/RxLibrary"
1736
1737objc_library(
Jorge Canizalesbba80762015-06-26 23:25:48 -07001738 name = "rx_library",
1739 hdrs = glob([
1740 rx_library_path + "/*.h",
1741 rx_library_path + "/transformations/*.h",
1742 ]),
1743 srcs = glob([
1744 rx_library_path + "/*.m",
1745 rx_library_path + "/transformations/*.m",
1746 ]),
1747 includes = [objc_path],
1748 deps = [
1749 ":rx_library_private",
1750 ],
Jorge Canizales44dc4232015-06-19 16:30:31 -07001751)
1752
1753objc_library(
Jorge Canizalesbba80762015-06-26 23:25:48 -07001754 name = "rx_library_private",
1755 hdrs = glob([rx_library_path + "/private/*.h"]),
1756 srcs = glob([rx_library_path + "/private/*.m"]),
1757 visibility = ["//visibility:private"],
Jorge Canizales44dc4232015-06-19 16:30:31 -07001758)
Jorge Canizales866255e2015-06-20 18:58:38 -07001759
1760objc_client_path = objc_path + "/GRPCClient"
1761
1762objc_library(
1763 name = "grpc_client",
1764 hdrs = glob([
1765 objc_client_path + "/*.h",
1766 objc_client_path + "/private/*.h",
1767 ]),
1768 srcs = glob([
1769 objc_client_path + "/*.m",
1770 objc_client_path + "/private/*.m",
1771 ]),
1772 includes = [objc_path],
Jorge Canizalesbb54ae82015-06-28 06:50:58 -07001773 bundles = [":gRPCCertificates"],
Jorge Canizales866255e2015-06-20 18:58:38 -07001774 deps = [
1775 ":grpc_objc",
1776 ":rx_library",
1777 ],
1778)
Jorge Canizalesbb54ae82015-06-28 06:50:58 -07001779
1780objc_bundle_library(
1781 # The choice of name is signicant here, since it determines the bundle name.
1782 name = "gRPCCertificates",
1783 resources = ["etc/roots.pem"],
1784)
Jorge Canizales50f19822015-06-28 23:48:30 -07001785
1786proto_objc_rpc_path = objc_path + "/ProtoRPC"
1787
1788objc_library(
1789 name = "proto_objc_rpc",
1790 hdrs = glob([
1791 proto_objc_rpc_path + "/*.h",
1792 ]),
1793 srcs = glob([
1794 proto_objc_rpc_path + "/*.m",
1795 ]),
1796 includes = [objc_path],
1797 deps = [
1798 ":grpc_client",
1799 ":rx_library",
1800 "//external:protobuf_objc",
1801 ],
1802)