blob: fa9a1209899b08aa8f09f0308cfc2b55c78c6a90 [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 = [
106 "include/grpc/support/alloc.h",
107 "include/grpc/support/atm.h",
108 "include/grpc/support/atm_gcc_atomic.h",
109 "include/grpc/support/atm_gcc_sync.h",
110 "include/grpc/support/atm_win32.h",
111 "include/grpc/support/avl.h",
112 "include/grpc/support/cmdline.h",
113 "include/grpc/support/cpu.h",
114 "include/grpc/support/histogram.h",
115 "include/grpc/support/host_port.h",
116 "include/grpc/support/log.h",
117 "include/grpc/support/log_win32.h",
118 "include/grpc/support/port_platform.h",
119 "include/grpc/support/slice.h",
120 "include/grpc/support/slice_buffer.h",
121 "include/grpc/support/string_util.h",
122 "include/grpc/support/subprocess.h",
123 "include/grpc/support/sync.h",
124 "include/grpc/support/sync_generic.h",
125 "include/grpc/support/sync_posix.h",
126 "include/grpc/support/sync_win32.h",
127 "include/grpc/support/thd.h",
128 "include/grpc/support/time.h",
129 "include/grpc/support/tls.h",
130 "include/grpc/support/tls_gcc.h",
131 "include/grpc/support/tls_msvc.h",
132 "include/grpc/support/tls_pthread.h",
133 "include/grpc/support/useful.h",
Craig Tiller03915e52016-04-07 09:15:10 -0700134 "include/grpc/impl/codegen/alloc.h",
135 "include/grpc/impl/codegen/atm.h",
136 "include/grpc/impl/codegen/atm_gcc_atomic.h",
137 "include/grpc/impl/codegen/atm_gcc_sync.h",
138 "include/grpc/impl/codegen/atm_win32.h",
139 "include/grpc/impl/codegen/log.h",
140 "include/grpc/impl/codegen/port_platform.h",
141 "include/grpc/impl/codegen/slice.h",
142 "include/grpc/impl/codegen/slice_buffer.h",
143 "include/grpc/impl/codegen/sync.h",
144 "include/grpc/impl/codegen/sync_generic.h",
145 "include/grpc/impl/codegen/sync_posix.h",
146 "include/grpc/impl/codegen/sync_win32.h",
147 "include/grpc/impl/codegen/time.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 Tillerf23078c2016-03-25 17:07:29 -0700162 "src/core/lib/channel/channel_args.h",
163 "src/core/lib/channel/channel_stack.h",
164 "src/core/lib/channel/channel_stack_builder.h",
Craig Tillerf23078c2016-03-25 17:07:29 -0700165 "src/core/lib/channel/compress_filter.h",
166 "src/core/lib/channel/connected_channel.h",
167 "src/core/lib/channel/context.h",
168 "src/core/lib/channel/http_client_filter.h",
169 "src/core/lib/channel/http_server_filter.h",
Craig Tillerf23078c2016-03-25 17:07:29 -0700170 "src/core/lib/compression/algorithm_metadata.h",
171 "src/core/lib/compression/message_compress.h",
172 "src/core/lib/debug/trace.h",
173 "src/core/lib/http/format_request.h",
174 "src/core/lib/http/httpcli.h",
175 "src/core/lib/http/parser.h",
176 "src/core/lib/iomgr/closure.h",
177 "src/core/lib/iomgr/endpoint.h",
178 "src/core/lib/iomgr/endpoint_pair.h",
Craig Tiller8a034482016-03-28 16:09:04 -0700179 "src/core/lib/iomgr/ev_poll_and_epoll_posix.h",
180 "src/core/lib/iomgr/ev_posix.h",
Craig Tillerf23078c2016-03-25 17:07:29 -0700181 "src/core/lib/iomgr/exec_ctx.h",
182 "src/core/lib/iomgr/executor.h",
Craig Tillerf23078c2016-03-25 17:07:29 -0700183 "src/core/lib/iomgr/iocp_windows.h",
184 "src/core/lib/iomgr/iomgr.h",
185 "src/core/lib/iomgr/iomgr_internal.h",
186 "src/core/lib/iomgr/iomgr_posix.h",
187 "src/core/lib/iomgr/pollset.h",
Craig Tillerf23078c2016-03-25 17:07:29 -0700188 "src/core/lib/iomgr/pollset_set.h",
Craig Tillerf23078c2016-03-25 17:07:29 -0700189 "src/core/lib/iomgr/pollset_set_windows.h",
190 "src/core/lib/iomgr/pollset_windows.h",
191 "src/core/lib/iomgr/resolve_address.h",
192 "src/core/lib/iomgr/sockaddr.h",
193 "src/core/lib/iomgr/sockaddr_posix.h",
194 "src/core/lib/iomgr/sockaddr_utils.h",
195 "src/core/lib/iomgr/sockaddr_win32.h",
196 "src/core/lib/iomgr/socket_utils_posix.h",
197 "src/core/lib/iomgr/socket_windows.h",
198 "src/core/lib/iomgr/tcp_client.h",
199 "src/core/lib/iomgr/tcp_posix.h",
200 "src/core/lib/iomgr/tcp_server.h",
201 "src/core/lib/iomgr/tcp_windows.h",
202 "src/core/lib/iomgr/time_averaged_stats.h",
203 "src/core/lib/iomgr/timer.h",
204 "src/core/lib/iomgr/timer_heap.h",
205 "src/core/lib/iomgr/udp_server.h",
206 "src/core/lib/iomgr/unix_sockets_posix.h",
207 "src/core/lib/iomgr/wakeup_fd_pipe.h",
208 "src/core/lib/iomgr/wakeup_fd_posix.h",
209 "src/core/lib/iomgr/workqueue.h",
210 "src/core/lib/iomgr/workqueue_posix.h",
211 "src/core/lib/iomgr/workqueue_windows.h",
212 "src/core/lib/json/json.h",
213 "src/core/lib/json/json_common.h",
214 "src/core/lib/json/json_reader.h",
215 "src/core/lib/json/json_writer.h",
Craig Tillerf23078c2016-03-25 17:07:29 -0700216 "src/core/lib/surface/api_trace.h",
217 "src/core/lib/surface/call.h",
218 "src/core/lib/surface/call_test_only.h",
219 "src/core/lib/surface/channel.h",
220 "src/core/lib/surface/channel_init.h",
221 "src/core/lib/surface/channel_stack_type.h",
222 "src/core/lib/surface/completion_queue.h",
223 "src/core/lib/surface/event_string.h",
224 "src/core/lib/surface/init.h",
225 "src/core/lib/surface/lame_client.h",
226 "src/core/lib/surface/server.h",
227 "src/core/lib/surface/surface_trace.h",
228 "src/core/lib/transport/byte_stream.h",
Craig Tillerf23078c2016-03-25 17:07:29 -0700229 "src/core/lib/transport/connectivity_state.h",
230 "src/core/lib/transport/metadata.h",
231 "src/core/lib/transport/metadata_batch.h",
232 "src/core/lib/transport/static_metadata.h",
233 "src/core/lib/transport/transport.h",
234 "src/core/lib/transport/transport_impl.h",
Craig Tiller03915e52016-04-07 09:15:10 -0700235 "src/core/ext/transport/chttp2/transport/bin_encoder.h",
236 "src/core/ext/transport/chttp2/transport/chttp2_transport.h",
237 "src/core/ext/transport/chttp2/transport/frame.h",
238 "src/core/ext/transport/chttp2/transport/frame_data.h",
239 "src/core/ext/transport/chttp2/transport/frame_goaway.h",
240 "src/core/ext/transport/chttp2/transport/frame_ping.h",
241 "src/core/ext/transport/chttp2/transport/frame_rst_stream.h",
242 "src/core/ext/transport/chttp2/transport/frame_settings.h",
243 "src/core/ext/transport/chttp2/transport/frame_window_update.h",
244 "src/core/ext/transport/chttp2/transport/hpack_encoder.h",
245 "src/core/ext/transport/chttp2/transport/hpack_parser.h",
246 "src/core/ext/transport/chttp2/transport/hpack_table.h",
247 "src/core/ext/transport/chttp2/transport/http2_errors.h",
248 "src/core/ext/transport/chttp2/transport/huffsyms.h",
249 "src/core/ext/transport/chttp2/transport/incoming_metadata.h",
250 "src/core/ext/transport/chttp2/transport/internal.h",
251 "src/core/ext/transport/chttp2/transport/status_conversion.h",
252 "src/core/ext/transport/chttp2/transport/stream_map.h",
253 "src/core/ext/transport/chttp2/transport/timeout_encoding.h",
254 "src/core/ext/transport/chttp2/transport/varint.h",
255 "src/core/ext/transport/chttp2/alpn/alpn.h",
256 "src/core/lib/security/auth_filters.h",
257 "src/core/lib/security/b64.h",
258 "src/core/lib/security/credentials.h",
259 "src/core/lib/security/handshake.h",
260 "src/core/lib/security/json_token.h",
261 "src/core/lib/security/jwt_verifier.h",
262 "src/core/lib/security/secure_endpoint.h",
263 "src/core/lib/security/security_connector.h",
264 "src/core/lib/security/security_context.h",
Craig Tillerf23078c2016-03-25 17:07:29 -0700265 "src/core/lib/tsi/fake_transport_security.h",
266 "src/core/lib/tsi/ssl_transport_security.h",
267 "src/core/lib/tsi/ssl_types.h",
268 "src/core/lib/tsi/transport_security.h",
269 "src/core/lib/tsi/transport_security_interface.h",
Craig Tiller03915e52016-04-07 09:15:10 -0700270 "src/core/ext/client_config/client_channel.h",
271 "src/core/ext/client_config/client_channel_factory.h",
272 "src/core/ext/client_config/client_config.h",
273 "src/core/ext/client_config/connector.h",
274 "src/core/ext/client_config/initial_connect_string.h",
275 "src/core/ext/client_config/lb_policy.h",
276 "src/core/ext/client_config/lb_policy_factory.h",
277 "src/core/ext/client_config/lb_policy_registry.h",
278 "src/core/ext/client_config/resolver.h",
279 "src/core/ext/client_config/resolver_factory.h",
280 "src/core/ext/client_config/resolver_registry.h",
281 "src/core/ext/client_config/subchannel.h",
282 "src/core/ext/client_config/subchannel_call_holder.h",
283 "src/core/ext/client_config/subchannel_index.h",
284 "src/core/ext/client_config/uri_parser.h",
285 "src/core/ext/lb_policy/grpclb/load_balancer_api.h",
286 "src/core/ext/lb_policy/grpclb/proto/grpc/lb/v0/load_balancer.pb.h",
287 "src/core/ext/census/aggregation.h",
288 "src/core/ext/census/census_interface.h",
289 "src/core/ext/census/census_rpc_stats.h",
290 "src/core/ext/census/grpc_filter.h",
291 "src/core/ext/census/mlog.h",
292 "src/core/ext/census/rpc_metric_id.h",
293 "src/core/lib/channel/channel_args.c",
294 "src/core/lib/channel/channel_stack.c",
295 "src/core/lib/channel/channel_stack_builder.c",
296 "src/core/lib/channel/compress_filter.c",
297 "src/core/lib/channel/connected_channel.c",
298 "src/core/lib/channel/http_client_filter.c",
299 "src/core/lib/channel/http_server_filter.c",
300 "src/core/lib/compression/compression_algorithm.c",
301 "src/core/lib/compression/message_compress.c",
302 "src/core/lib/debug/trace.c",
303 "src/core/lib/http/format_request.c",
304 "src/core/lib/http/httpcli.c",
305 "src/core/lib/http/parser.c",
306 "src/core/lib/iomgr/closure.c",
307 "src/core/lib/iomgr/endpoint.c",
308 "src/core/lib/iomgr/endpoint_pair_posix.c",
309 "src/core/lib/iomgr/endpoint_pair_windows.c",
310 "src/core/lib/iomgr/ev_poll_and_epoll_posix.c",
311 "src/core/lib/iomgr/ev_posix.c",
312 "src/core/lib/iomgr/exec_ctx.c",
313 "src/core/lib/iomgr/executor.c",
314 "src/core/lib/iomgr/iocp_windows.c",
315 "src/core/lib/iomgr/iomgr.c",
316 "src/core/lib/iomgr/iomgr_posix.c",
317 "src/core/lib/iomgr/iomgr_windows.c",
318 "src/core/lib/iomgr/pollset_set_windows.c",
319 "src/core/lib/iomgr/pollset_windows.c",
320 "src/core/lib/iomgr/resolve_address_posix.c",
321 "src/core/lib/iomgr/resolve_address_windows.c",
322 "src/core/lib/iomgr/sockaddr_utils.c",
323 "src/core/lib/iomgr/socket_utils_common_posix.c",
324 "src/core/lib/iomgr/socket_utils_linux.c",
325 "src/core/lib/iomgr/socket_utils_posix.c",
326 "src/core/lib/iomgr/socket_windows.c",
327 "src/core/lib/iomgr/tcp_client_posix.c",
328 "src/core/lib/iomgr/tcp_client_windows.c",
329 "src/core/lib/iomgr/tcp_posix.c",
330 "src/core/lib/iomgr/tcp_server_posix.c",
331 "src/core/lib/iomgr/tcp_server_windows.c",
332 "src/core/lib/iomgr/tcp_windows.c",
333 "src/core/lib/iomgr/time_averaged_stats.c",
334 "src/core/lib/iomgr/timer.c",
335 "src/core/lib/iomgr/timer_heap.c",
336 "src/core/lib/iomgr/udp_server.c",
337 "src/core/lib/iomgr/unix_sockets_posix.c",
338 "src/core/lib/iomgr/unix_sockets_posix_noop.c",
339 "src/core/lib/iomgr/wakeup_fd_eventfd.c",
340 "src/core/lib/iomgr/wakeup_fd_nospecial.c",
341 "src/core/lib/iomgr/wakeup_fd_pipe.c",
342 "src/core/lib/iomgr/wakeup_fd_posix.c",
343 "src/core/lib/iomgr/workqueue_posix.c",
344 "src/core/lib/iomgr/workqueue_windows.c",
345 "src/core/lib/json/json.c",
346 "src/core/lib/json/json_reader.c",
347 "src/core/lib/json/json_string.c",
348 "src/core/lib/json/json_writer.c",
349 "src/core/lib/surface/alarm.c",
350 "src/core/lib/surface/api_trace.c",
351 "src/core/lib/surface/byte_buffer.c",
352 "src/core/lib/surface/byte_buffer_reader.c",
353 "src/core/lib/surface/call.c",
354 "src/core/lib/surface/call_details.c",
355 "src/core/lib/surface/call_log_batch.c",
356 "src/core/lib/surface/channel.c",
357 "src/core/lib/surface/channel_init.c",
358 "src/core/lib/surface/channel_ping.c",
359 "src/core/lib/surface/channel_stack_type.c",
360 "src/core/lib/surface/completion_queue.c",
361 "src/core/lib/surface/event_string.c",
362 "src/core/lib/surface/init.c",
363 "src/core/lib/surface/lame_client.c",
364 "src/core/lib/surface/metadata_array.c",
365 "src/core/lib/surface/server.c",
366 "src/core/lib/surface/validate_metadata.c",
367 "src/core/lib/surface/version.c",
368 "src/core/lib/transport/byte_stream.c",
369 "src/core/lib/transport/connectivity_state.c",
370 "src/core/lib/transport/metadata.c",
371 "src/core/lib/transport/metadata_batch.c",
372 "src/core/lib/transport/static_metadata.c",
373 "src/core/lib/transport/transport.c",
374 "src/core/lib/transport/transport_op_string.c",
Craig Tiller44cc10b2016-03-28 10:45:29 -0700375 "src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.c",
Craig Tillerf82ddc42016-04-05 17:15:07 -0700376 "src/core/ext/transport/chttp2/transport/bin_encoder.c",
377 "src/core/ext/transport/chttp2/transport/chttp2_plugin.c",
Craig Tiller44cc10b2016-03-28 10:45:29 -0700378 "src/core/ext/transport/chttp2/transport/chttp2_transport.c",
379 "src/core/ext/transport/chttp2/transport/frame_data.c",
380 "src/core/ext/transport/chttp2/transport/frame_goaway.c",
381 "src/core/ext/transport/chttp2/transport/frame_ping.c",
382 "src/core/ext/transport/chttp2/transport/frame_rst_stream.c",
383 "src/core/ext/transport/chttp2/transport/frame_settings.c",
384 "src/core/ext/transport/chttp2/transport/frame_window_update.c",
385 "src/core/ext/transport/chttp2/transport/hpack_encoder.c",
386 "src/core/ext/transport/chttp2/transport/hpack_parser.c",
387 "src/core/ext/transport/chttp2/transport/hpack_table.c",
388 "src/core/ext/transport/chttp2/transport/huffsyms.c",
389 "src/core/ext/transport/chttp2/transport/incoming_metadata.c",
390 "src/core/ext/transport/chttp2/transport/parsing.c",
391 "src/core/ext/transport/chttp2/transport/status_conversion.c",
392 "src/core/ext/transport/chttp2/transport/stream_lists.c",
393 "src/core/ext/transport/chttp2/transport/stream_map.c",
394 "src/core/ext/transport/chttp2/transport/timeout_encoding.c",
395 "src/core/ext/transport/chttp2/transport/varint.c",
396 "src/core/ext/transport/chttp2/transport/writing.c",
Craig Tiller03915e52016-04-07 09:15:10 -0700397 "src/core/ext/transport/chttp2/alpn/alpn.c",
Craig Tiller44cc10b2016-03-28 10:45:29 -0700398 "src/core/lib/http/httpcli_security_connector.c",
Craig Tiller44cc10b2016-03-28 10:45:29 -0700399 "src/core/lib/security/b64.c",
400 "src/core/lib/security/client_auth_filter.c",
401 "src/core/lib/security/credentials.c",
402 "src/core/lib/security/credentials_metadata.c",
403 "src/core/lib/security/credentials_posix.c",
404 "src/core/lib/security/credentials_win32.c",
405 "src/core/lib/security/google_default_credentials.c",
406 "src/core/lib/security/handshake.c",
407 "src/core/lib/security/json_token.c",
408 "src/core/lib/security/jwt_verifier.c",
409 "src/core/lib/security/secure_endpoint.c",
410 "src/core/lib/security/security_connector.c",
411 "src/core/lib/security/security_context.c",
412 "src/core/lib/security/server_auth_filter.c",
Craig Tiller44cc10b2016-03-28 10:45:29 -0700413 "src/core/lib/surface/init_secure.c",
Craig Tillerf23078c2016-03-25 17:07:29 -0700414 "src/core/lib/tsi/fake_transport_security.c",
415 "src/core/lib/tsi/ssl_transport_security.c",
416 "src/core/lib/tsi/transport_security.c",
Craig Tiller03915e52016-04-07 09:15:10 -0700417 "src/core/ext/transport/chttp2/client/secure/secure_channel_create.c",
418 "src/core/ext/client_config/channel_connectivity.c",
419 "src/core/ext/client_config/client_channel.c",
420 "src/core/ext/client_config/client_channel_factory.c",
421 "src/core/ext/client_config/client_config.c",
422 "src/core/ext/client_config/client_config_plugin.c",
423 "src/core/ext/client_config/connector.c",
424 "src/core/ext/client_config/default_initial_connect_string.c",
425 "src/core/ext/client_config/initial_connect_string.c",
426 "src/core/ext/client_config/lb_policy.c",
427 "src/core/ext/client_config/lb_policy_factory.c",
428 "src/core/ext/client_config/lb_policy_registry.c",
429 "src/core/ext/client_config/resolver.c",
430 "src/core/ext/client_config/resolver_factory.c",
431 "src/core/ext/client_config/resolver_registry.c",
432 "src/core/ext/client_config/subchannel.c",
433 "src/core/ext/client_config/subchannel_call_holder.c",
434 "src/core/ext/client_config/subchannel_index.c",
435 "src/core/ext/client_config/uri_parser.c",
436 "src/core/ext/transport/chttp2/server/insecure/server_chttp2.c",
437 "src/core/ext/transport/chttp2/client/insecure/channel_create.c",
438 "src/core/ext/lb_policy/grpclb/load_balancer_api.c",
439 "src/core/ext/lb_policy/grpclb/proto/grpc/lb/v0/load_balancer.pb.c",
440 "src/core/ext/lb_policy/pick_first/pick_first.c",
441 "src/core/ext/lb_policy/round_robin/round_robin.c",
442 "src/core/ext/resolver/dns/native/dns_resolver.c",
443 "src/core/ext/resolver/sockaddr/sockaddr_resolver.c",
444 "src/core/ext/census/context.c",
445 "src/core/ext/census/grpc_context.c",
446 "src/core/ext/census/grpc_filter.c",
447 "src/core/ext/census/grpc_plugin.c",
448 "src/core/ext/census/initialize.c",
449 "src/core/ext/census/mlog.c",
450 "src/core/ext/census/operation.c",
451 "src/core/ext/census/placeholders.c",
452 "src/core/ext/census/tracing.c",
Craig Tillerfb433852016-03-29 08:51:07 -0700453 "src/core/plugin_registry/grpc_plugin_registry.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700454 ],
455 hdrs = [
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700456 "include/grpc/byte_buffer.h",
457 "include/grpc/byte_buffer_reader.h",
David Garcia Quintas59f905d2015-06-08 16:31:19 -0700458 "include/grpc/compression.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700459 "include/grpc/grpc.h",
Craig Tiller03915e52016-04-07 09:15:10 -0700460 "include/grpc/status.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700461 "include/grpc/impl/codegen/byte_buffer.h",
462 "include/grpc/impl/codegen/compression_types.h",
463 "include/grpc/impl/codegen/connectivity_state.h",
464 "include/grpc/impl/codegen/grpc_types.h",
465 "include/grpc/impl/codegen/propagation_bits.h",
466 "include/grpc/impl/codegen/status.h",
Craig Tiller03915e52016-04-07 09:15:10 -0700467 "include/grpc/impl/codegen/alloc.h",
468 "include/grpc/impl/codegen/atm.h",
469 "include/grpc/impl/codegen/atm_gcc_atomic.h",
470 "include/grpc/impl/codegen/atm_gcc_sync.h",
471 "include/grpc/impl/codegen/atm_win32.h",
472 "include/grpc/impl/codegen/log.h",
473 "include/grpc/impl/codegen/port_platform.h",
474 "include/grpc/impl/codegen/slice.h",
475 "include/grpc/impl/codegen/slice_buffer.h",
476 "include/grpc/impl/codegen/sync.h",
477 "include/grpc/impl/codegen/sync_generic.h",
478 "include/grpc/impl/codegen/sync_posix.h",
479 "include/grpc/impl/codegen/sync_win32.h",
480 "include/grpc/impl/codegen/time.h",
481 "include/grpc/grpc_security.h",
482 "include/grpc/census.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700483 ],
484 includes = [
485 "include",
486 ".",
487 ],
488 deps = [
489 "//external:libssl",
Ming Zhaof2f24e22015-08-13 12:38:35 -0700490 "//external:zlib",
Craig Tillerda179ce2016-02-09 12:01:53 -0800491 ":gpr",
Rob Earhartb7b8d052016-03-29 11:35:29 -0700492 "//external:nanopb",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700493 ],
Rob Earhartaf379b22016-01-21 13:43:09 -0800494 copts = [
495 "-std=gnu99",
496 ],
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +0200497)
498
499
Rob Earhartb7b8d052016-03-29 11:35:29 -0700500
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700501cc_library(
502 name = "grpc_unsecure",
503 srcs = [
Craig Tillerf23078c2016-03-25 17:07:29 -0700504 "src/core/lib/channel/channel_args.h",
505 "src/core/lib/channel/channel_stack.h",
506 "src/core/lib/channel/channel_stack_builder.h",
Craig Tillerf23078c2016-03-25 17:07:29 -0700507 "src/core/lib/channel/compress_filter.h",
508 "src/core/lib/channel/connected_channel.h",
509 "src/core/lib/channel/context.h",
510 "src/core/lib/channel/http_client_filter.h",
511 "src/core/lib/channel/http_server_filter.h",
Craig Tillerf23078c2016-03-25 17:07:29 -0700512 "src/core/lib/compression/algorithm_metadata.h",
513 "src/core/lib/compression/message_compress.h",
514 "src/core/lib/debug/trace.h",
515 "src/core/lib/http/format_request.h",
516 "src/core/lib/http/httpcli.h",
517 "src/core/lib/http/parser.h",
518 "src/core/lib/iomgr/closure.h",
519 "src/core/lib/iomgr/endpoint.h",
520 "src/core/lib/iomgr/endpoint_pair.h",
Craig Tiller8a034482016-03-28 16:09:04 -0700521 "src/core/lib/iomgr/ev_poll_and_epoll_posix.h",
522 "src/core/lib/iomgr/ev_posix.h",
Craig Tillerf23078c2016-03-25 17:07:29 -0700523 "src/core/lib/iomgr/exec_ctx.h",
524 "src/core/lib/iomgr/executor.h",
Craig Tillerf23078c2016-03-25 17:07:29 -0700525 "src/core/lib/iomgr/iocp_windows.h",
526 "src/core/lib/iomgr/iomgr.h",
527 "src/core/lib/iomgr/iomgr_internal.h",
528 "src/core/lib/iomgr/iomgr_posix.h",
529 "src/core/lib/iomgr/pollset.h",
Craig Tillerf23078c2016-03-25 17:07:29 -0700530 "src/core/lib/iomgr/pollset_set.h",
Craig Tillerf23078c2016-03-25 17:07:29 -0700531 "src/core/lib/iomgr/pollset_set_windows.h",
532 "src/core/lib/iomgr/pollset_windows.h",
533 "src/core/lib/iomgr/resolve_address.h",
534 "src/core/lib/iomgr/sockaddr.h",
535 "src/core/lib/iomgr/sockaddr_posix.h",
536 "src/core/lib/iomgr/sockaddr_utils.h",
537 "src/core/lib/iomgr/sockaddr_win32.h",
538 "src/core/lib/iomgr/socket_utils_posix.h",
539 "src/core/lib/iomgr/socket_windows.h",
540 "src/core/lib/iomgr/tcp_client.h",
541 "src/core/lib/iomgr/tcp_posix.h",
542 "src/core/lib/iomgr/tcp_server.h",
543 "src/core/lib/iomgr/tcp_windows.h",
544 "src/core/lib/iomgr/time_averaged_stats.h",
545 "src/core/lib/iomgr/timer.h",
546 "src/core/lib/iomgr/timer_heap.h",
547 "src/core/lib/iomgr/udp_server.h",
548 "src/core/lib/iomgr/unix_sockets_posix.h",
549 "src/core/lib/iomgr/wakeup_fd_pipe.h",
550 "src/core/lib/iomgr/wakeup_fd_posix.h",
551 "src/core/lib/iomgr/workqueue.h",
552 "src/core/lib/iomgr/workqueue_posix.h",
553 "src/core/lib/iomgr/workqueue_windows.h",
554 "src/core/lib/json/json.h",
555 "src/core/lib/json/json_common.h",
556 "src/core/lib/json/json_reader.h",
557 "src/core/lib/json/json_writer.h",
Craig Tillerf23078c2016-03-25 17:07:29 -0700558 "src/core/lib/surface/api_trace.h",
559 "src/core/lib/surface/call.h",
560 "src/core/lib/surface/call_test_only.h",
561 "src/core/lib/surface/channel.h",
562 "src/core/lib/surface/channel_init.h",
563 "src/core/lib/surface/channel_stack_type.h",
564 "src/core/lib/surface/completion_queue.h",
565 "src/core/lib/surface/event_string.h",
566 "src/core/lib/surface/init.h",
567 "src/core/lib/surface/lame_client.h",
568 "src/core/lib/surface/server.h",
569 "src/core/lib/surface/surface_trace.h",
570 "src/core/lib/transport/byte_stream.h",
Craig Tillerf23078c2016-03-25 17:07:29 -0700571 "src/core/lib/transport/connectivity_state.h",
572 "src/core/lib/transport/metadata.h",
573 "src/core/lib/transport/metadata_batch.h",
574 "src/core/lib/transport/static_metadata.h",
575 "src/core/lib/transport/transport.h",
576 "src/core/lib/transport/transport_impl.h",
Craig Tiller03915e52016-04-07 09:15:10 -0700577 "src/core/ext/transport/chttp2/transport/bin_encoder.h",
578 "src/core/ext/transport/chttp2/transport/chttp2_transport.h",
579 "src/core/ext/transport/chttp2/transport/frame.h",
580 "src/core/ext/transport/chttp2/transport/frame_data.h",
581 "src/core/ext/transport/chttp2/transport/frame_goaway.h",
582 "src/core/ext/transport/chttp2/transport/frame_ping.h",
583 "src/core/ext/transport/chttp2/transport/frame_rst_stream.h",
584 "src/core/ext/transport/chttp2/transport/frame_settings.h",
585 "src/core/ext/transport/chttp2/transport/frame_window_update.h",
586 "src/core/ext/transport/chttp2/transport/hpack_encoder.h",
587 "src/core/ext/transport/chttp2/transport/hpack_parser.h",
588 "src/core/ext/transport/chttp2/transport/hpack_table.h",
589 "src/core/ext/transport/chttp2/transport/http2_errors.h",
590 "src/core/ext/transport/chttp2/transport/huffsyms.h",
591 "src/core/ext/transport/chttp2/transport/incoming_metadata.h",
592 "src/core/ext/transport/chttp2/transport/internal.h",
593 "src/core/ext/transport/chttp2/transport/status_conversion.h",
594 "src/core/ext/transport/chttp2/transport/stream_map.h",
595 "src/core/ext/transport/chttp2/transport/timeout_encoding.h",
596 "src/core/ext/transport/chttp2/transport/varint.h",
597 "src/core/ext/transport/chttp2/alpn/alpn.h",
598 "src/core/ext/client_config/client_channel.h",
599 "src/core/ext/client_config/client_channel_factory.h",
600 "src/core/ext/client_config/client_config.h",
601 "src/core/ext/client_config/connector.h",
602 "src/core/ext/client_config/initial_connect_string.h",
603 "src/core/ext/client_config/lb_policy.h",
604 "src/core/ext/client_config/lb_policy_factory.h",
605 "src/core/ext/client_config/lb_policy_registry.h",
606 "src/core/ext/client_config/resolver.h",
607 "src/core/ext/client_config/resolver_factory.h",
608 "src/core/ext/client_config/resolver_registry.h",
609 "src/core/ext/client_config/subchannel.h",
610 "src/core/ext/client_config/subchannel_call_holder.h",
611 "src/core/ext/client_config/subchannel_index.h",
612 "src/core/ext/client_config/uri_parser.h",
613 "src/core/ext/lb_policy/grpclb/load_balancer_api.h",
614 "src/core/ext/lb_policy/grpclb/proto/grpc/lb/v0/load_balancer.pb.h",
615 "src/core/ext/census/aggregation.h",
616 "src/core/ext/census/census_interface.h",
617 "src/core/ext/census/census_rpc_stats.h",
618 "src/core/ext/census/grpc_filter.h",
619 "src/core/ext/census/mlog.h",
620 "src/core/ext/census/rpc_metric_id.h",
621 "src/core/lib/surface/init_unsecure.c",
Craig Tillerf23078c2016-03-25 17:07:29 -0700622 "src/core/lib/channel/channel_args.c",
623 "src/core/lib/channel/channel_stack.c",
624 "src/core/lib/channel/channel_stack_builder.c",
Craig Tillerf23078c2016-03-25 17:07:29 -0700625 "src/core/lib/channel/compress_filter.c",
626 "src/core/lib/channel/connected_channel.c",
627 "src/core/lib/channel/http_client_filter.c",
628 "src/core/lib/channel/http_server_filter.c",
Craig Tillerf23078c2016-03-25 17:07:29 -0700629 "src/core/lib/compression/compression_algorithm.c",
630 "src/core/lib/compression/message_compress.c",
631 "src/core/lib/debug/trace.c",
632 "src/core/lib/http/format_request.c",
633 "src/core/lib/http/httpcli.c",
634 "src/core/lib/http/parser.c",
635 "src/core/lib/iomgr/closure.c",
636 "src/core/lib/iomgr/endpoint.c",
637 "src/core/lib/iomgr/endpoint_pair_posix.c",
638 "src/core/lib/iomgr/endpoint_pair_windows.c",
Craig Tiller8a034482016-03-28 16:09:04 -0700639 "src/core/lib/iomgr/ev_poll_and_epoll_posix.c",
640 "src/core/lib/iomgr/ev_posix.c",
Craig Tillerf23078c2016-03-25 17:07:29 -0700641 "src/core/lib/iomgr/exec_ctx.c",
642 "src/core/lib/iomgr/executor.c",
Craig Tillerf23078c2016-03-25 17:07:29 -0700643 "src/core/lib/iomgr/iocp_windows.c",
644 "src/core/lib/iomgr/iomgr.c",
645 "src/core/lib/iomgr/iomgr_posix.c",
646 "src/core/lib/iomgr/iomgr_windows.c",
Craig Tillerf23078c2016-03-25 17:07:29 -0700647 "src/core/lib/iomgr/pollset_set_windows.c",
648 "src/core/lib/iomgr/pollset_windows.c",
649 "src/core/lib/iomgr/resolve_address_posix.c",
650 "src/core/lib/iomgr/resolve_address_windows.c",
651 "src/core/lib/iomgr/sockaddr_utils.c",
652 "src/core/lib/iomgr/socket_utils_common_posix.c",
653 "src/core/lib/iomgr/socket_utils_linux.c",
654 "src/core/lib/iomgr/socket_utils_posix.c",
655 "src/core/lib/iomgr/socket_windows.c",
656 "src/core/lib/iomgr/tcp_client_posix.c",
657 "src/core/lib/iomgr/tcp_client_windows.c",
658 "src/core/lib/iomgr/tcp_posix.c",
659 "src/core/lib/iomgr/tcp_server_posix.c",
660 "src/core/lib/iomgr/tcp_server_windows.c",
661 "src/core/lib/iomgr/tcp_windows.c",
662 "src/core/lib/iomgr/time_averaged_stats.c",
663 "src/core/lib/iomgr/timer.c",
664 "src/core/lib/iomgr/timer_heap.c",
665 "src/core/lib/iomgr/udp_server.c",
666 "src/core/lib/iomgr/unix_sockets_posix.c",
667 "src/core/lib/iomgr/unix_sockets_posix_noop.c",
668 "src/core/lib/iomgr/wakeup_fd_eventfd.c",
669 "src/core/lib/iomgr/wakeup_fd_nospecial.c",
670 "src/core/lib/iomgr/wakeup_fd_pipe.c",
671 "src/core/lib/iomgr/wakeup_fd_posix.c",
672 "src/core/lib/iomgr/workqueue_posix.c",
673 "src/core/lib/iomgr/workqueue_windows.c",
674 "src/core/lib/json/json.c",
675 "src/core/lib/json/json_reader.c",
676 "src/core/lib/json/json_string.c",
677 "src/core/lib/json/json_writer.c",
Craig Tillerf23078c2016-03-25 17:07:29 -0700678 "src/core/lib/surface/alarm.c",
679 "src/core/lib/surface/api_trace.c",
680 "src/core/lib/surface/byte_buffer.c",
681 "src/core/lib/surface/byte_buffer_reader.c",
682 "src/core/lib/surface/call.c",
683 "src/core/lib/surface/call_details.c",
684 "src/core/lib/surface/call_log_batch.c",
685 "src/core/lib/surface/channel.c",
Craig Tillerf23078c2016-03-25 17:07:29 -0700686 "src/core/lib/surface/channel_init.c",
687 "src/core/lib/surface/channel_ping.c",
688 "src/core/lib/surface/channel_stack_type.c",
689 "src/core/lib/surface/completion_queue.c",
690 "src/core/lib/surface/event_string.c",
691 "src/core/lib/surface/init.c",
692 "src/core/lib/surface/lame_client.c",
693 "src/core/lib/surface/metadata_array.c",
694 "src/core/lib/surface/server.c",
Craig Tillerf23078c2016-03-25 17:07:29 -0700695 "src/core/lib/surface/validate_metadata.c",
696 "src/core/lib/surface/version.c",
697 "src/core/lib/transport/byte_stream.c",
Craig Tillerf23078c2016-03-25 17:07:29 -0700698 "src/core/lib/transport/connectivity_state.c",
699 "src/core/lib/transport/metadata.c",
700 "src/core/lib/transport/metadata_batch.c",
701 "src/core/lib/transport/static_metadata.c",
702 "src/core/lib/transport/transport.c",
703 "src/core/lib/transport/transport_op_string.c",
Craig Tiller03915e52016-04-07 09:15:10 -0700704 "src/core/ext/transport/chttp2/server/insecure/server_chttp2.c",
705 "src/core/ext/transport/chttp2/transport/bin_encoder.c",
706 "src/core/ext/transport/chttp2/transport/chttp2_plugin.c",
707 "src/core/ext/transport/chttp2/transport/chttp2_transport.c",
708 "src/core/ext/transport/chttp2/transport/frame_data.c",
709 "src/core/ext/transport/chttp2/transport/frame_goaway.c",
710 "src/core/ext/transport/chttp2/transport/frame_ping.c",
711 "src/core/ext/transport/chttp2/transport/frame_rst_stream.c",
712 "src/core/ext/transport/chttp2/transport/frame_settings.c",
713 "src/core/ext/transport/chttp2/transport/frame_window_update.c",
714 "src/core/ext/transport/chttp2/transport/hpack_encoder.c",
715 "src/core/ext/transport/chttp2/transport/hpack_parser.c",
716 "src/core/ext/transport/chttp2/transport/hpack_table.c",
717 "src/core/ext/transport/chttp2/transport/huffsyms.c",
718 "src/core/ext/transport/chttp2/transport/incoming_metadata.c",
719 "src/core/ext/transport/chttp2/transport/parsing.c",
720 "src/core/ext/transport/chttp2/transport/status_conversion.c",
721 "src/core/ext/transport/chttp2/transport/stream_lists.c",
722 "src/core/ext/transport/chttp2/transport/stream_map.c",
723 "src/core/ext/transport/chttp2/transport/timeout_encoding.c",
724 "src/core/ext/transport/chttp2/transport/varint.c",
725 "src/core/ext/transport/chttp2/transport/writing.c",
726 "src/core/ext/transport/chttp2/alpn/alpn.c",
727 "src/core/ext/transport/chttp2/client/insecure/channel_create.c",
728 "src/core/ext/client_config/channel_connectivity.c",
729 "src/core/ext/client_config/client_channel.c",
730 "src/core/ext/client_config/client_channel_factory.c",
731 "src/core/ext/client_config/client_config.c",
732 "src/core/ext/client_config/client_config_plugin.c",
733 "src/core/ext/client_config/connector.c",
734 "src/core/ext/client_config/default_initial_connect_string.c",
735 "src/core/ext/client_config/initial_connect_string.c",
736 "src/core/ext/client_config/lb_policy.c",
737 "src/core/ext/client_config/lb_policy_factory.c",
738 "src/core/ext/client_config/lb_policy_registry.c",
739 "src/core/ext/client_config/resolver.c",
740 "src/core/ext/client_config/resolver_factory.c",
741 "src/core/ext/client_config/resolver_registry.c",
742 "src/core/ext/client_config/subchannel.c",
743 "src/core/ext/client_config/subchannel_call_holder.c",
744 "src/core/ext/client_config/subchannel_index.c",
745 "src/core/ext/client_config/uri_parser.c",
746 "src/core/ext/resolver/dns/native/dns_resolver.c",
747 "src/core/ext/resolver/sockaddr/sockaddr_resolver.c",
748 "src/core/ext/lb_policy/grpclb/load_balancer_api.c",
749 "src/core/ext/lb_policy/grpclb/proto/grpc/lb/v0/load_balancer.pb.c",
750 "src/core/ext/lb_policy/pick_first/pick_first.c",
751 "src/core/ext/lb_policy/round_robin/round_robin.c",
752 "src/core/ext/census/context.c",
753 "src/core/ext/census/grpc_context.c",
754 "src/core/ext/census/grpc_filter.c",
755 "src/core/ext/census/grpc_plugin.c",
756 "src/core/ext/census/initialize.c",
757 "src/core/ext/census/mlog.c",
758 "src/core/ext/census/operation.c",
759 "src/core/ext/census/placeholders.c",
760 "src/core/ext/census/tracing.c",
Craig Tillerfb433852016-03-29 08:51:07 -0700761 "src/core/plugin_registry/grpc_unsecure_plugin_registry.c",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700762 ],
763 hdrs = [
764 "include/grpc/byte_buffer.h",
765 "include/grpc/byte_buffer_reader.h",
David Garcia Quintas59f905d2015-06-08 16:31:19 -0700766 "include/grpc/compression.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700767 "include/grpc/grpc.h",
Craig Tiller03915e52016-04-07 09:15:10 -0700768 "include/grpc/status.h",
Craig Tillerad095982016-02-09 12:45:04 -0800769 "include/grpc/impl/codegen/byte_buffer.h",
770 "include/grpc/impl/codegen/compression_types.h",
771 "include/grpc/impl/codegen/connectivity_state.h",
772 "include/grpc/impl/codegen/grpc_types.h",
773 "include/grpc/impl/codegen/propagation_bits.h",
774 "include/grpc/impl/codegen/status.h",
Craig Tiller03915e52016-04-07 09:15:10 -0700775 "include/grpc/impl/codegen/alloc.h",
776 "include/grpc/impl/codegen/atm.h",
777 "include/grpc/impl/codegen/atm_gcc_atomic.h",
778 "include/grpc/impl/codegen/atm_gcc_sync.h",
779 "include/grpc/impl/codegen/atm_win32.h",
780 "include/grpc/impl/codegen/log.h",
781 "include/grpc/impl/codegen/port_platform.h",
782 "include/grpc/impl/codegen/slice.h",
783 "include/grpc/impl/codegen/slice_buffer.h",
784 "include/grpc/impl/codegen/sync.h",
785 "include/grpc/impl/codegen/sync_generic.h",
786 "include/grpc/impl/codegen/sync_posix.h",
787 "include/grpc/impl/codegen/sync_win32.h",
788 "include/grpc/impl/codegen/time.h",
789 "include/grpc/census.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700790 ],
791 includes = [
792 "include",
793 ".",
794 ],
795 deps = [
Craig Tillerda179ce2016-02-09 12:01:53 -0800796 ":gpr",
Rob Earhartb7b8d052016-03-29 11:35:29 -0700797 "//external:nanopb",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700798 ],
Rob Earhartaf379b22016-01-21 13:43:09 -0800799 copts = [
800 "-std=gnu99",
801 ],
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700802)
803
804
Rob Earhartb7b8d052016-03-29 11:35:29 -0700805
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700806cc_library(
Hongwei Wangda8858f2015-07-16 16:18:19 -0700807 name = "grpc_zookeeper",
808 srcs = [
Craig Tillerb11b34a2016-04-01 12:30:06 -0700809 "src/core/ext/resolver/zookeeper/zookeeper_resolver.c",
Hongwei Wangda8858f2015-07-16 16:18:19 -0700810 ],
811 hdrs = [
Hongwei Wanga3780a82015-07-17 15:27:18 -0700812 "include/grpc/grpc_zookeeper.h",
Hongwei Wangda8858f2015-07-16 16:18:19 -0700813 ],
814 includes = [
815 "include",
816 ".",
817 ],
818 deps = [
Craig Tillerda179ce2016-02-09 12:01:53 -0800819 ":gpr",
Hongwei Wangda8858f2015-07-16 16:18:19 -0700820 ":grpc",
821 ],
822)
823
824
Rob Earhartb7b8d052016-03-29 11:35:29 -0700825
Hongwei Wangda8858f2015-07-16 16:18:19 -0700826cc_library(
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700827 name = "grpc++",
828 srcs = [
829 "src/cpp/client/secure_credentials.h",
David Garcia Quintas79d90962016-03-09 13:57:46 -0800830 "src/cpp/common/core_codegen.h",
Craig Tiller44cc10b2016-03-28 10:45:29 -0700831 "src/cpp/common/secure_auth_context.h",
Craig Tiller44cc10b2016-03-28 10:45:29 -0700832 "src/cpp/server/secure_server_credentials.h",
Craig Tiller03915e52016-04-07 09:15:10 -0700833 "src/cpp/client/create_channel_internal.h",
834 "src/cpp/common/create_auth_context.h",
835 "src/cpp/server/dynamic_thread_pool.h",
Vijay Paie8a7e302015-08-24 10:52:33 -0700836 "src/cpp/server/thread_pool_interface.h",
Craig Tiller03915e52016-04-07 09:15:10 -0700837 "src/cpp/client/secure_credentials.cc",
838 "src/cpp/common/auth_property_iterator.cc",
839 "src/cpp/common/secure_auth_context.cc",
840 "src/cpp/common/secure_channel_arguments.cc",
841 "src/cpp/common/secure_create_auth_context.cc",
842 "src/cpp/server/secure_server_credentials.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700843 "src/cpp/client/channel.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700844 "src/cpp/client/client_context.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700845 "src/cpp/client/create_channel.cc",
yang-gc317f072015-08-20 12:18:08 -0700846 "src/cpp/client/create_channel_internal.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700847 "src/cpp/client/credentials.cc",
848 "src/cpp/client/generic_stub.cc",
849 "src/cpp/client/insecure_credentials.cc",
yang-g52705592015-11-25 11:45:33 -0800850 "src/cpp/common/channel_arguments.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700851 "src/cpp/common/completion_queue.cc",
Nicolas "Pixel" Noble42683182016-03-17 00:25:39 +0100852 "src/cpp/common/core_codegen.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700853 "src/cpp/common/rpc_method.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700854 "src/cpp/server/async_generic_service.cc",
Yang Gao6f4fb3b2015-06-03 12:56:19 -0700855 "src/cpp/server/create_default_thread_pool.cc",
vjpaib28456b2015-07-23 14:17:10 -0700856 "src/cpp/server/dynamic_thread_pool.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700857 "src/cpp/server/insecure_server_credentials.cc",
858 "src/cpp/server/server.cc",
859 "src/cpp/server/server_builder.cc",
860 "src/cpp/server/server_context.cc",
861 "src/cpp/server/server_credentials.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700862 "src/cpp/util/byte_buffer.cc",
863 "src/cpp/util/slice.cc",
864 "src/cpp/util/status.cc",
Julien Boeuf8fd915a2015-08-19 21:18:14 -0700865 "src/cpp/util/string_ref.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700866 "src/cpp/util/time.cc",
Craig Tiller03915e52016-04-07 09:15:10 -0700867 "src/cpp/codegen/codegen_init.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700868 ],
869 hdrs = [
vjpaif9f61cf2016-02-10 20:51:53 -0800870 "include/grpc++/alarm.h",
yang-g8c2be9f2015-08-19 16:28:09 -0700871 "include/grpc++/channel.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700872 "include/grpc++/client_context.h",
873 "include/grpc++/completion_queue.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700874 "include/grpc++/create_channel.h",
yang-g9e2f90c2015-08-21 15:35:03 -0700875 "include/grpc++/generic/async_generic_service.h",
876 "include/grpc++/generic/generic_stub.h",
Craig Tillerd136a5c2015-09-11 12:23:32 -0700877 "include/grpc++/grpc++.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700878 "include/grpc++/impl/call.h",
879 "include/grpc++/impl/client_unary_call.h",
Yang Gao96de4842015-04-24 13:13:12 -0700880 "include/grpc++/impl/grpc_library.h",
yang-g77c63332016-01-14 16:09:04 -0800881 "include/grpc++/impl/method_handler_impl.h",
yang-gadfed032015-06-23 13:01:22 -0700882 "include/grpc++/impl/proto_utils.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700883 "include/grpc++/impl/rpc_method.h",
884 "include/grpc++/impl/rpc_service_method.h",
Craig Tiller6ef7f312015-06-05 10:15:10 -0700885 "include/grpc++/impl/serialization_traits.h",
yang-ga23f17b2015-11-25 10:21:05 -0800886 "include/grpc++/impl/server_builder_option.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700887 "include/grpc++/impl/service_type.h",
Nicolas "Pixel" Nobleb7c20352015-04-11 01:27:32 +0200888 "include/grpc++/impl/sync.h",
889 "include/grpc++/impl/sync_cxx11.h",
890 "include/grpc++/impl/sync_no_cxx11.h",
891 "include/grpc++/impl/thd.h",
892 "include/grpc++/impl/thd_cxx11.h",
893 "include/grpc++/impl/thd_no_cxx11.h",
Julien Boeuf0d471922015-08-30 22:18:50 -0700894 "include/grpc++/security/auth_context.h",
895 "include/grpc++/security/auth_metadata_processor.h",
896 "include/grpc++/security/credentials.h",
897 "include/grpc++/security/server_credentials.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700898 "include/grpc++/server.h",
899 "include/grpc++/server_builder.h",
900 "include/grpc++/server_context.h",
yang-g9fb35a52015-08-21 15:49:35 -0700901 "include/grpc++/support/async_stream.h",
yang-g9e2f90c2015-08-21 15:35:03 -0700902 "include/grpc++/support/async_unary_call.h",
yang-g9e2f90c2015-08-21 15:35:03 -0700903 "include/grpc++/support/byte_buffer.h",
904 "include/grpc++/support/channel_arguments.h",
yang-g9e2f90c2015-08-21 15:35:03 -0700905 "include/grpc++/support/slice.h",
906 "include/grpc++/support/status.h",
907 "include/grpc++/support/status_code_enum.h",
Julien Boeuf0382bfa2015-08-24 23:55:43 -0700908 "include/grpc++/support/string_ref.h",
yang-g9e2f90c2015-08-21 15:35:03 -0700909 "include/grpc++/support/stub_options.h",
yang-g9fb35a52015-08-21 15:49:35 -0700910 "include/grpc++/support/sync_stream.h",
yang-g9e2f90c2015-08-21 15:35:03 -0700911 "include/grpc++/support/time.h",
Craig Tiller03915e52016-04-07 09:15:10 -0700912 "include/grpc++/impl/codegen/async_stream.h",
913 "include/grpc++/impl/codegen/async_unary_call.h",
914 "include/grpc++/impl/codegen/call.h",
915 "include/grpc++/impl/codegen/call_hook.h",
916 "include/grpc++/impl/codegen/channel_interface.h",
917 "include/grpc++/impl/codegen/client_context.h",
918 "include/grpc++/impl/codegen/client_unary_call.h",
919 "include/grpc++/impl/codegen/completion_queue.h",
920 "include/grpc++/impl/codegen/completion_queue_tag.h",
921 "include/grpc++/impl/codegen/core_codegen_interface.h",
922 "include/grpc++/impl/codegen/grpc_library.h",
923 "include/grpc++/impl/codegen/method_handler_impl.h",
924 "include/grpc++/impl/codegen/proto_utils.h",
925 "include/grpc++/impl/codegen/rpc_method.h",
926 "include/grpc++/impl/codegen/rpc_service_method.h",
927 "include/grpc++/impl/codegen/security/auth_context.h",
928 "include/grpc++/impl/codegen/serialization_traits.h",
929 "include/grpc++/impl/codegen/server_context.h",
930 "include/grpc++/impl/codegen/server_interface.h",
931 "include/grpc++/impl/codegen/service_type.h",
932 "include/grpc++/impl/codegen/status.h",
933 "include/grpc++/impl/codegen/status_code_enum.h",
934 "include/grpc++/impl/codegen/string_ref.h",
935 "include/grpc++/impl/codegen/stub_options.h",
936 "include/grpc++/impl/codegen/sync.h",
937 "include/grpc++/impl/codegen/sync_cxx11.h",
938 "include/grpc++/impl/codegen/sync_no_cxx11.h",
939 "include/grpc++/impl/codegen/sync_stream.h",
940 "include/grpc++/impl/codegen/time.h",
941 "include/grpc/impl/codegen/byte_buffer.h",
942 "include/grpc/impl/codegen/compression_types.h",
943 "include/grpc/impl/codegen/connectivity_state.h",
944 "include/grpc/impl/codegen/grpc_types.h",
945 "include/grpc/impl/codegen/propagation_bits.h",
946 "include/grpc/impl/codegen/status.h",
947 "include/grpc/impl/codegen/alloc.h",
948 "include/grpc/impl/codegen/atm.h",
949 "include/grpc/impl/codegen/atm_gcc_atomic.h",
950 "include/grpc/impl/codegen/atm_gcc_sync.h",
951 "include/grpc/impl/codegen/atm_win32.h",
952 "include/grpc/impl/codegen/log.h",
953 "include/grpc/impl/codegen/port_platform.h",
954 "include/grpc/impl/codegen/slice.h",
955 "include/grpc/impl/codegen/slice_buffer.h",
956 "include/grpc/impl/codegen/sync.h",
957 "include/grpc/impl/codegen/sync_generic.h",
958 "include/grpc/impl/codegen/sync_posix.h",
959 "include/grpc/impl/codegen/sync_win32.h",
960 "include/grpc/impl/codegen/time.h",
961 "include/grpc++/impl/codegen/config.h",
962 "include/grpc++/impl/codegen/config_protobuf.h",
963 "include/grpc++/support/config.h",
964 "include/grpc++/support/config_protobuf.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700965 ],
966 includes = [
967 "include",
968 ".",
969 ],
970 deps = [
Craig Tiller02a7bed2015-08-31 15:54:05 -0700971 "//external:libssl",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700972 "//external:protobuf_clib",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700973 ":grpc",
974 ],
975)
976
977
Rob Earhartb7b8d052016-03-29 11:35:29 -0700978
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700979cc_library(
980 name = "grpc++_unsecure",
981 srcs = [
yang-gc317f072015-08-20 12:18:08 -0700982 "src/cpp/client/create_channel_internal.h",
David Garcia Quintas79d90962016-03-09 13:57:46 -0800983 "src/cpp/common/core_codegen.h",
yang-g3abe60b2015-07-06 14:00:36 -0700984 "src/cpp/common/create_auth_context.h",
Vijay Paie8a7e302015-08-24 10:52:33 -0700985 "src/cpp/server/dynamic_thread_pool.h",
Vijay Paie8a7e302015-08-24 10:52:33 -0700986 "src/cpp/server/thread_pool_interface.h",
Craig Tiller03915e52016-04-07 09:15:10 -0700987 "src/cpp/common/insecure_create_auth_context.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700988 "src/cpp/client/channel.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700989 "src/cpp/client/client_context.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700990 "src/cpp/client/create_channel.cc",
yang-gc317f072015-08-20 12:18:08 -0700991 "src/cpp/client/create_channel_internal.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700992 "src/cpp/client/credentials.cc",
993 "src/cpp/client/generic_stub.cc",
994 "src/cpp/client/insecure_credentials.cc",
yang-g52705592015-11-25 11:45:33 -0800995 "src/cpp/common/channel_arguments.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700996 "src/cpp/common/completion_queue.cc",
Nicolas "Pixel" Noble42683182016-03-17 00:25:39 +0100997 "src/cpp/common/core_codegen.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700998 "src/cpp/common/rpc_method.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -0700999 "src/cpp/server/async_generic_service.cc",
Yang Gao6f4fb3b2015-06-03 12:56:19 -07001000 "src/cpp/server/create_default_thread_pool.cc",
vjpaib28456b2015-07-23 14:17:10 -07001001 "src/cpp/server/dynamic_thread_pool.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001002 "src/cpp/server/insecure_server_credentials.cc",
1003 "src/cpp/server/server.cc",
1004 "src/cpp/server/server_builder.cc",
1005 "src/cpp/server/server_context.cc",
1006 "src/cpp/server/server_credentials.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001007 "src/cpp/util/byte_buffer.cc",
1008 "src/cpp/util/slice.cc",
1009 "src/cpp/util/status.cc",
Julien Boeuf8fd915a2015-08-19 21:18:14 -07001010 "src/cpp/util/string_ref.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001011 "src/cpp/util/time.cc",
Craig Tiller03915e52016-04-07 09:15:10 -07001012 "src/cpp/codegen/codegen_init.cc",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001013 ],
1014 hdrs = [
vjpaif9f61cf2016-02-10 20:51:53 -08001015 "include/grpc++/alarm.h",
yang-g8c2be9f2015-08-19 16:28:09 -07001016 "include/grpc++/channel.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001017 "include/grpc++/client_context.h",
1018 "include/grpc++/completion_queue.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001019 "include/grpc++/create_channel.h",
yang-g9e2f90c2015-08-21 15:35:03 -07001020 "include/grpc++/generic/async_generic_service.h",
1021 "include/grpc++/generic/generic_stub.h",
Craig Tillerd136a5c2015-09-11 12:23:32 -07001022 "include/grpc++/grpc++.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001023 "include/grpc++/impl/call.h",
1024 "include/grpc++/impl/client_unary_call.h",
Yang Gao96de4842015-04-24 13:13:12 -07001025 "include/grpc++/impl/grpc_library.h",
yang-g77c63332016-01-14 16:09:04 -08001026 "include/grpc++/impl/method_handler_impl.h",
yang-gadfed032015-06-23 13:01:22 -07001027 "include/grpc++/impl/proto_utils.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001028 "include/grpc++/impl/rpc_method.h",
1029 "include/grpc++/impl/rpc_service_method.h",
Craig Tiller6ef7f312015-06-05 10:15:10 -07001030 "include/grpc++/impl/serialization_traits.h",
yang-ga23f17b2015-11-25 10:21:05 -08001031 "include/grpc++/impl/server_builder_option.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001032 "include/grpc++/impl/service_type.h",
Nicolas "Pixel" Nobleb7c20352015-04-11 01:27:32 +02001033 "include/grpc++/impl/sync.h",
1034 "include/grpc++/impl/sync_cxx11.h",
1035 "include/grpc++/impl/sync_no_cxx11.h",
1036 "include/grpc++/impl/thd.h",
1037 "include/grpc++/impl/thd_cxx11.h",
1038 "include/grpc++/impl/thd_no_cxx11.h",
Julien Boeuf0d471922015-08-30 22:18:50 -07001039 "include/grpc++/security/auth_context.h",
1040 "include/grpc++/security/auth_metadata_processor.h",
1041 "include/grpc++/security/credentials.h",
1042 "include/grpc++/security/server_credentials.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001043 "include/grpc++/server.h",
1044 "include/grpc++/server_builder.h",
1045 "include/grpc++/server_context.h",
yang-g9fb35a52015-08-21 15:49:35 -07001046 "include/grpc++/support/async_stream.h",
yang-g9e2f90c2015-08-21 15:35:03 -07001047 "include/grpc++/support/async_unary_call.h",
yang-g9e2f90c2015-08-21 15:35:03 -07001048 "include/grpc++/support/byte_buffer.h",
1049 "include/grpc++/support/channel_arguments.h",
yang-g9e2f90c2015-08-21 15:35:03 -07001050 "include/grpc++/support/slice.h",
1051 "include/grpc++/support/status.h",
1052 "include/grpc++/support/status_code_enum.h",
Julien Boeuf0382bfa2015-08-24 23:55:43 -07001053 "include/grpc++/support/string_ref.h",
yang-g9e2f90c2015-08-21 15:35:03 -07001054 "include/grpc++/support/stub_options.h",
yang-g9fb35a52015-08-21 15:49:35 -07001055 "include/grpc++/support/sync_stream.h",
yang-g9e2f90c2015-08-21 15:35:03 -07001056 "include/grpc++/support/time.h",
Craig Tiller03d8f2f2016-04-07 08:02:16 -07001057 "include/grpc++/impl/codegen/async_stream.h",
1058 "include/grpc++/impl/codegen/async_unary_call.h",
1059 "include/grpc++/impl/codegen/call.h",
1060 "include/grpc++/impl/codegen/call_hook.h",
1061 "include/grpc++/impl/codegen/channel_interface.h",
1062 "include/grpc++/impl/codegen/client_context.h",
1063 "include/grpc++/impl/codegen/client_unary_call.h",
1064 "include/grpc++/impl/codegen/completion_queue.h",
1065 "include/grpc++/impl/codegen/completion_queue_tag.h",
Craig Tiller03d8f2f2016-04-07 08:02:16 -07001066 "include/grpc++/impl/codegen/core_codegen_interface.h",
1067 "include/grpc++/impl/codegen/grpc_library.h",
1068 "include/grpc++/impl/codegen/method_handler_impl.h",
1069 "include/grpc++/impl/codegen/proto_utils.h",
1070 "include/grpc++/impl/codegen/rpc_method.h",
1071 "include/grpc++/impl/codegen/rpc_service_method.h",
1072 "include/grpc++/impl/codegen/security/auth_context.h",
1073 "include/grpc++/impl/codegen/serialization_traits.h",
1074 "include/grpc++/impl/codegen/server_context.h",
1075 "include/grpc++/impl/codegen/server_interface.h",
1076 "include/grpc++/impl/codegen/service_type.h",
1077 "include/grpc++/impl/codegen/status.h",
1078 "include/grpc++/impl/codegen/status_code_enum.h",
1079 "include/grpc++/impl/codegen/string_ref.h",
1080 "include/grpc++/impl/codegen/stub_options.h",
1081 "include/grpc++/impl/codegen/sync.h",
1082 "include/grpc++/impl/codegen/sync_cxx11.h",
1083 "include/grpc++/impl/codegen/sync_no_cxx11.h",
1084 "include/grpc++/impl/codegen/sync_stream.h",
1085 "include/grpc++/impl/codegen/time.h",
Craig Tiller03915e52016-04-07 09:15:10 -07001086 "include/grpc/impl/codegen/byte_buffer.h",
1087 "include/grpc/impl/codegen/compression_types.h",
1088 "include/grpc/impl/codegen/connectivity_state.h",
1089 "include/grpc/impl/codegen/grpc_types.h",
1090 "include/grpc/impl/codegen/propagation_bits.h",
1091 "include/grpc/impl/codegen/status.h",
David Garcia Quintasb523c732016-01-25 18:22:28 -08001092 "include/grpc/impl/codegen/alloc.h",
David Garcia Quintas2425bbb2016-01-25 17:32:48 -08001093 "include/grpc/impl/codegen/atm.h",
1094 "include/grpc/impl/codegen/atm_gcc_atomic.h",
1095 "include/grpc/impl/codegen/atm_gcc_sync.h",
1096 "include/grpc/impl/codegen/atm_win32.h",
David Garcia Quintas2425bbb2016-01-25 17:32:48 -08001097 "include/grpc/impl/codegen/log.h",
David Garcia Quintasddcb53a2016-01-21 17:48:34 -08001098 "include/grpc/impl/codegen/port_platform.h",
David Garcia Quintas2425bbb2016-01-25 17:32:48 -08001099 "include/grpc/impl/codegen/slice.h",
1100 "include/grpc/impl/codegen/slice_buffer.h",
David Garcia Quintas2425bbb2016-01-25 17:32:48 -08001101 "include/grpc/impl/codegen/sync.h",
1102 "include/grpc/impl/codegen/sync_generic.h",
1103 "include/grpc/impl/codegen/sync_posix.h",
1104 "include/grpc/impl/codegen/sync_win32.h",
David Garcia Quintasddcb53a2016-01-21 17:48:34 -08001105 "include/grpc/impl/codegen/time.h",
Craig Tiller03915e52016-04-07 09:15:10 -07001106 "include/grpc++/impl/codegen/config.h",
1107 "include/grpc++/impl/codegen/config_protobuf.h",
1108 "include/grpc++/support/config.h",
1109 "include/grpc++/support/config_protobuf.h",
1110 ],
1111 includes = [
1112 "include",
1113 ".",
1114 ],
1115 deps = [
1116 "//external:protobuf_clib",
1117 ":gpr",
1118 ":grpc_unsecure",
1119 ":grpc",
1120 ],
1121)
1122
1123
1124
1125cc_library(
1126 name = "grpc_plugin_support",
1127 srcs = [
1128 "src/compiler/config.h",
1129 "src/compiler/cpp_generator.h",
1130 "src/compiler/cpp_generator_helpers.h",
1131 "src/compiler/csharp_generator.h",
1132 "src/compiler/csharp_generator_helpers.h",
1133 "src/compiler/generator_helpers.h",
1134 "src/compiler/objective_c_generator.h",
1135 "src/compiler/objective_c_generator_helpers.h",
1136 "src/compiler/python_generator.h",
1137 "src/compiler/ruby_generator.h",
1138 "src/compiler/ruby_generator_helpers-inl.h",
1139 "src/compiler/ruby_generator_map-inl.h",
1140 "src/compiler/ruby_generator_string-inl.h",
1141 "src/compiler/cpp_generator.cc",
1142 "src/compiler/csharp_generator.cc",
1143 "src/compiler/objective_c_generator.cc",
1144 "src/compiler/python_generator.cc",
1145 "src/compiler/ruby_generator.cc",
1146 ],
1147 hdrs = [
1148 "include/grpc++/support/config.h",
1149 "include/grpc++/support/config_protobuf.h",
1150 "include/grpc++/impl/codegen/config.h",
1151 "include/grpc++/impl/codegen/config_protobuf.h",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001152 ],
1153 includes = [
1154 "include",
1155 ".",
1156 ],
1157 deps = [
1158 "//external:protobuf_compiler",
1159 ],
1160)
1161
1162
Rob Earhartb7b8d052016-03-29 11:35:29 -07001163
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001164cc_library(
1165 name = "grpc_csharp_ext",
1166 srcs = [
1167 "src/csharp/ext/grpc_csharp_ext.c",
1168 ],
1169 hdrs = [
1170 ],
1171 includes = [
1172 "include",
1173 ".",
1174 ],
1175 deps = [
Craig Tillerd1697d92016-04-05 16:05:46 -07001176 ":grpc",
Craig Tiller03915e52016-04-07 09:15:10 -07001177 ":gpr",
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001178 ],
1179)
1180
1181
1182
Rob Earhartb7b8d052016-03-29 11:35:29 -07001183
Jorge Canizales140bca82015-06-20 09:47:00 -07001184objc_library(
Craig Tillerda179ce2016-02-09 12:01:53 -08001185 name = "gpr_objc",
1186 srcs = [
Craig Tillerf23078c2016-03-25 17:07:29 -07001187 "src/core/lib/profiling/basic_timers.c",
1188 "src/core/lib/profiling/stap_timers.c",
1189 "src/core/lib/support/alloc.c",
1190 "src/core/lib/support/avl.c",
1191 "src/core/lib/support/backoff.c",
1192 "src/core/lib/support/cmdline.c",
1193 "src/core/lib/support/cpu_iphone.c",
1194 "src/core/lib/support/cpu_linux.c",
1195 "src/core/lib/support/cpu_posix.c",
1196 "src/core/lib/support/cpu_windows.c",
1197 "src/core/lib/support/env_linux.c",
1198 "src/core/lib/support/env_posix.c",
1199 "src/core/lib/support/env_win32.c",
1200 "src/core/lib/support/histogram.c",
1201 "src/core/lib/support/host_port.c",
1202 "src/core/lib/support/load_file.c",
1203 "src/core/lib/support/log.c",
1204 "src/core/lib/support/log_android.c",
1205 "src/core/lib/support/log_linux.c",
1206 "src/core/lib/support/log_posix.c",
1207 "src/core/lib/support/log_win32.c",
1208 "src/core/lib/support/murmur_hash.c",
1209 "src/core/lib/support/slice.c",
1210 "src/core/lib/support/slice_buffer.c",
1211 "src/core/lib/support/stack_lockfree.c",
1212 "src/core/lib/support/string.c",
1213 "src/core/lib/support/string_posix.c",
1214 "src/core/lib/support/string_win32.c",
1215 "src/core/lib/support/subprocess_posix.c",
1216 "src/core/lib/support/subprocess_windows.c",
1217 "src/core/lib/support/sync.c",
1218 "src/core/lib/support/sync_posix.c",
1219 "src/core/lib/support/sync_win32.c",
1220 "src/core/lib/support/thd.c",
1221 "src/core/lib/support/thd_posix.c",
1222 "src/core/lib/support/thd_win32.c",
1223 "src/core/lib/support/time.c",
1224 "src/core/lib/support/time_posix.c",
1225 "src/core/lib/support/time_precise.c",
1226 "src/core/lib/support/time_win32.c",
1227 "src/core/lib/support/tls_pthread.c",
1228 "src/core/lib/support/tmpfile_posix.c",
1229 "src/core/lib/support/tmpfile_win32.c",
1230 "src/core/lib/support/wrap_memcpy.c",
Craig Tillerda179ce2016-02-09 12:01:53 -08001231 ],
1232 hdrs = [
1233 "include/grpc/support/alloc.h",
1234 "include/grpc/support/atm.h",
1235 "include/grpc/support/atm_gcc_atomic.h",
1236 "include/grpc/support/atm_gcc_sync.h",
1237 "include/grpc/support/atm_win32.h",
1238 "include/grpc/support/avl.h",
1239 "include/grpc/support/cmdline.h",
1240 "include/grpc/support/cpu.h",
1241 "include/grpc/support/histogram.h",
1242 "include/grpc/support/host_port.h",
1243 "include/grpc/support/log.h",
1244 "include/grpc/support/log_win32.h",
1245 "include/grpc/support/port_platform.h",
1246 "include/grpc/support/slice.h",
1247 "include/grpc/support/slice_buffer.h",
1248 "include/grpc/support/string_util.h",
1249 "include/grpc/support/subprocess.h",
1250 "include/grpc/support/sync.h",
1251 "include/grpc/support/sync_generic.h",
1252 "include/grpc/support/sync_posix.h",
1253 "include/grpc/support/sync_win32.h",
1254 "include/grpc/support/thd.h",
1255 "include/grpc/support/time.h",
1256 "include/grpc/support/tls.h",
1257 "include/grpc/support/tls_gcc.h",
1258 "include/grpc/support/tls_msvc.h",
1259 "include/grpc/support/tls_pthread.h",
1260 "include/grpc/support/useful.h",
Craig Tiller03915e52016-04-07 09:15:10 -07001261 "include/grpc/impl/codegen/alloc.h",
1262 "include/grpc/impl/codegen/atm.h",
1263 "include/grpc/impl/codegen/atm_gcc_atomic.h",
1264 "include/grpc/impl/codegen/atm_gcc_sync.h",
1265 "include/grpc/impl/codegen/atm_win32.h",
1266 "include/grpc/impl/codegen/log.h",
1267 "include/grpc/impl/codegen/port_platform.h",
1268 "include/grpc/impl/codegen/slice.h",
1269 "include/grpc/impl/codegen/slice_buffer.h",
1270 "include/grpc/impl/codegen/sync.h",
1271 "include/grpc/impl/codegen/sync_generic.h",
1272 "include/grpc/impl/codegen/sync_posix.h",
1273 "include/grpc/impl/codegen/sync_win32.h",
1274 "include/grpc/impl/codegen/time.h",
Craig Tillerf23078c2016-03-25 17:07:29 -07001275 "src/core/lib/profiling/timers.h",
1276 "src/core/lib/support/backoff.h",
1277 "src/core/lib/support/block_annotate.h",
1278 "src/core/lib/support/env.h",
1279 "src/core/lib/support/load_file.h",
1280 "src/core/lib/support/murmur_hash.h",
1281 "src/core/lib/support/stack_lockfree.h",
1282 "src/core/lib/support/string.h",
1283 "src/core/lib/support/string_win32.h",
1284 "src/core/lib/support/thd_internal.h",
1285 "src/core/lib/support/time_precise.h",
1286 "src/core/lib/support/tmpfile.h",
Craig Tillerda179ce2016-02-09 12:01:53 -08001287 ],
1288 includes = [
1289 "include",
1290 ".",
1291 ],
1292 deps = [
1293 ],
1294)
1295
1296
Rob Earhartb7b8d052016-03-29 11:35:29 -07001297
Craig Tillerda179ce2016-02-09 12:01:53 -08001298objc_library(
Jorge Canizales7b1a0ca2015-06-26 21:49:42 -07001299 name = "grpc_objc",
Jorge Canizales140bca82015-06-20 09:47:00 -07001300 srcs = [
Craig Tillerf23078c2016-03-25 17:07:29 -07001301 "src/core/lib/channel/channel_args.c",
1302 "src/core/lib/channel/channel_stack.c",
1303 "src/core/lib/channel/channel_stack_builder.c",
Craig Tillerf23078c2016-03-25 17:07:29 -07001304 "src/core/lib/channel/compress_filter.c",
1305 "src/core/lib/channel/connected_channel.c",
1306 "src/core/lib/channel/http_client_filter.c",
1307 "src/core/lib/channel/http_server_filter.c",
Craig Tillerf23078c2016-03-25 17:07:29 -07001308 "src/core/lib/compression/compression_algorithm.c",
1309 "src/core/lib/compression/message_compress.c",
1310 "src/core/lib/debug/trace.c",
1311 "src/core/lib/http/format_request.c",
1312 "src/core/lib/http/httpcli.c",
1313 "src/core/lib/http/parser.c",
1314 "src/core/lib/iomgr/closure.c",
1315 "src/core/lib/iomgr/endpoint.c",
1316 "src/core/lib/iomgr/endpoint_pair_posix.c",
1317 "src/core/lib/iomgr/endpoint_pair_windows.c",
Craig Tiller8a034482016-03-28 16:09:04 -07001318 "src/core/lib/iomgr/ev_poll_and_epoll_posix.c",
1319 "src/core/lib/iomgr/ev_posix.c",
Craig Tillerf23078c2016-03-25 17:07:29 -07001320 "src/core/lib/iomgr/exec_ctx.c",
1321 "src/core/lib/iomgr/executor.c",
Craig Tillerf23078c2016-03-25 17:07:29 -07001322 "src/core/lib/iomgr/iocp_windows.c",
1323 "src/core/lib/iomgr/iomgr.c",
1324 "src/core/lib/iomgr/iomgr_posix.c",
1325 "src/core/lib/iomgr/iomgr_windows.c",
Craig Tillerf23078c2016-03-25 17:07:29 -07001326 "src/core/lib/iomgr/pollset_set_windows.c",
1327 "src/core/lib/iomgr/pollset_windows.c",
1328 "src/core/lib/iomgr/resolve_address_posix.c",
1329 "src/core/lib/iomgr/resolve_address_windows.c",
1330 "src/core/lib/iomgr/sockaddr_utils.c",
1331 "src/core/lib/iomgr/socket_utils_common_posix.c",
1332 "src/core/lib/iomgr/socket_utils_linux.c",
1333 "src/core/lib/iomgr/socket_utils_posix.c",
1334 "src/core/lib/iomgr/socket_windows.c",
1335 "src/core/lib/iomgr/tcp_client_posix.c",
1336 "src/core/lib/iomgr/tcp_client_windows.c",
1337 "src/core/lib/iomgr/tcp_posix.c",
1338 "src/core/lib/iomgr/tcp_server_posix.c",
1339 "src/core/lib/iomgr/tcp_server_windows.c",
1340 "src/core/lib/iomgr/tcp_windows.c",
1341 "src/core/lib/iomgr/time_averaged_stats.c",
1342 "src/core/lib/iomgr/timer.c",
1343 "src/core/lib/iomgr/timer_heap.c",
1344 "src/core/lib/iomgr/udp_server.c",
1345 "src/core/lib/iomgr/unix_sockets_posix.c",
1346 "src/core/lib/iomgr/unix_sockets_posix_noop.c",
1347 "src/core/lib/iomgr/wakeup_fd_eventfd.c",
1348 "src/core/lib/iomgr/wakeup_fd_nospecial.c",
1349 "src/core/lib/iomgr/wakeup_fd_pipe.c",
1350 "src/core/lib/iomgr/wakeup_fd_posix.c",
1351 "src/core/lib/iomgr/workqueue_posix.c",
1352 "src/core/lib/iomgr/workqueue_windows.c",
1353 "src/core/lib/json/json.c",
1354 "src/core/lib/json/json_reader.c",
1355 "src/core/lib/json/json_string.c",
1356 "src/core/lib/json/json_writer.c",
Craig Tillerf23078c2016-03-25 17:07:29 -07001357 "src/core/lib/surface/alarm.c",
1358 "src/core/lib/surface/api_trace.c",
1359 "src/core/lib/surface/byte_buffer.c",
1360 "src/core/lib/surface/byte_buffer_reader.c",
1361 "src/core/lib/surface/call.c",
1362 "src/core/lib/surface/call_details.c",
1363 "src/core/lib/surface/call_log_batch.c",
1364 "src/core/lib/surface/channel.c",
Craig Tillerf23078c2016-03-25 17:07:29 -07001365 "src/core/lib/surface/channel_init.c",
1366 "src/core/lib/surface/channel_ping.c",
1367 "src/core/lib/surface/channel_stack_type.c",
1368 "src/core/lib/surface/completion_queue.c",
1369 "src/core/lib/surface/event_string.c",
1370 "src/core/lib/surface/init.c",
1371 "src/core/lib/surface/lame_client.c",
1372 "src/core/lib/surface/metadata_array.c",
1373 "src/core/lib/surface/server.c",
Craig Tillerf23078c2016-03-25 17:07:29 -07001374 "src/core/lib/surface/validate_metadata.c",
1375 "src/core/lib/surface/version.c",
1376 "src/core/lib/transport/byte_stream.c",
Craig Tillerf23078c2016-03-25 17:07:29 -07001377 "src/core/lib/transport/connectivity_state.c",
1378 "src/core/lib/transport/metadata.c",
1379 "src/core/lib/transport/metadata_batch.c",
1380 "src/core/lib/transport/static_metadata.c",
1381 "src/core/lib/transport/transport.c",
1382 "src/core/lib/transport/transport_op_string.c",
Craig Tiller03915e52016-04-07 09:15:10 -07001383 "src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.c",
1384 "src/core/ext/transport/chttp2/transport/bin_encoder.c",
1385 "src/core/ext/transport/chttp2/transport/chttp2_plugin.c",
1386 "src/core/ext/transport/chttp2/transport/chttp2_transport.c",
1387 "src/core/ext/transport/chttp2/transport/frame_data.c",
1388 "src/core/ext/transport/chttp2/transport/frame_goaway.c",
1389 "src/core/ext/transport/chttp2/transport/frame_ping.c",
1390 "src/core/ext/transport/chttp2/transport/frame_rst_stream.c",
1391 "src/core/ext/transport/chttp2/transport/frame_settings.c",
1392 "src/core/ext/transport/chttp2/transport/frame_window_update.c",
1393 "src/core/ext/transport/chttp2/transport/hpack_encoder.c",
1394 "src/core/ext/transport/chttp2/transport/hpack_parser.c",
1395 "src/core/ext/transport/chttp2/transport/hpack_table.c",
1396 "src/core/ext/transport/chttp2/transport/huffsyms.c",
1397 "src/core/ext/transport/chttp2/transport/incoming_metadata.c",
1398 "src/core/ext/transport/chttp2/transport/parsing.c",
1399 "src/core/ext/transport/chttp2/transport/status_conversion.c",
1400 "src/core/ext/transport/chttp2/transport/stream_lists.c",
1401 "src/core/ext/transport/chttp2/transport/stream_map.c",
1402 "src/core/ext/transport/chttp2/transport/timeout_encoding.c",
1403 "src/core/ext/transport/chttp2/transport/varint.c",
1404 "src/core/ext/transport/chttp2/transport/writing.c",
1405 "src/core/ext/transport/chttp2/alpn/alpn.c",
1406 "src/core/lib/http/httpcli_security_connector.c",
1407 "src/core/lib/security/b64.c",
1408 "src/core/lib/security/client_auth_filter.c",
1409 "src/core/lib/security/credentials.c",
1410 "src/core/lib/security/credentials_metadata.c",
1411 "src/core/lib/security/credentials_posix.c",
1412 "src/core/lib/security/credentials_win32.c",
1413 "src/core/lib/security/google_default_credentials.c",
1414 "src/core/lib/security/handshake.c",
1415 "src/core/lib/security/json_token.c",
1416 "src/core/lib/security/jwt_verifier.c",
1417 "src/core/lib/security/secure_endpoint.c",
1418 "src/core/lib/security/security_connector.c",
1419 "src/core/lib/security/security_context.c",
1420 "src/core/lib/security/server_auth_filter.c",
1421 "src/core/lib/surface/init_secure.c",
Craig Tillerf23078c2016-03-25 17:07:29 -07001422 "src/core/lib/tsi/fake_transport_security.c",
1423 "src/core/lib/tsi/ssl_transport_security.c",
1424 "src/core/lib/tsi/transport_security.c",
Craig Tiller03915e52016-04-07 09:15:10 -07001425 "src/core/ext/transport/chttp2/client/secure/secure_channel_create.c",
1426 "src/core/ext/client_config/channel_connectivity.c",
1427 "src/core/ext/client_config/client_channel.c",
1428 "src/core/ext/client_config/client_channel_factory.c",
1429 "src/core/ext/client_config/client_config.c",
1430 "src/core/ext/client_config/client_config_plugin.c",
1431 "src/core/ext/client_config/connector.c",
1432 "src/core/ext/client_config/default_initial_connect_string.c",
1433 "src/core/ext/client_config/initial_connect_string.c",
1434 "src/core/ext/client_config/lb_policy.c",
1435 "src/core/ext/client_config/lb_policy_factory.c",
1436 "src/core/ext/client_config/lb_policy_registry.c",
1437 "src/core/ext/client_config/resolver.c",
1438 "src/core/ext/client_config/resolver_factory.c",
1439 "src/core/ext/client_config/resolver_registry.c",
1440 "src/core/ext/client_config/subchannel.c",
1441 "src/core/ext/client_config/subchannel_call_holder.c",
1442 "src/core/ext/client_config/subchannel_index.c",
1443 "src/core/ext/client_config/uri_parser.c",
1444 "src/core/ext/transport/chttp2/server/insecure/server_chttp2.c",
1445 "src/core/ext/transport/chttp2/client/insecure/channel_create.c",
1446 "src/core/ext/lb_policy/grpclb/load_balancer_api.c",
1447 "src/core/ext/lb_policy/grpclb/proto/grpc/lb/v0/load_balancer.pb.c",
1448 "src/core/ext/lb_policy/pick_first/pick_first.c",
1449 "src/core/ext/lb_policy/round_robin/round_robin.c",
1450 "src/core/ext/resolver/dns/native/dns_resolver.c",
1451 "src/core/ext/resolver/sockaddr/sockaddr_resolver.c",
1452 "src/core/ext/census/context.c",
1453 "src/core/ext/census/grpc_context.c",
1454 "src/core/ext/census/grpc_filter.c",
1455 "src/core/ext/census/grpc_plugin.c",
1456 "src/core/ext/census/initialize.c",
1457 "src/core/ext/census/mlog.c",
1458 "src/core/ext/census/operation.c",
1459 "src/core/ext/census/placeholders.c",
1460 "src/core/ext/census/tracing.c",
Craig Tillerfb433852016-03-29 08:51:07 -07001461 "src/core/plugin_registry/grpc_plugin_registry.c",
Jorge Canizales140bca82015-06-20 09:47:00 -07001462 ],
1463 hdrs = [
1464 "include/grpc/byte_buffer.h",
1465 "include/grpc/byte_buffer_reader.h",
1466 "include/grpc/compression.h",
1467 "include/grpc/grpc.h",
Craig Tiller03915e52016-04-07 09:15:10 -07001468 "include/grpc/status.h",
Jorge Canizales140bca82015-06-20 09:47:00 -07001469 "include/grpc/impl/codegen/byte_buffer.h",
1470 "include/grpc/impl/codegen/compression_types.h",
1471 "include/grpc/impl/codegen/connectivity_state.h",
1472 "include/grpc/impl/codegen/grpc_types.h",
1473 "include/grpc/impl/codegen/propagation_bits.h",
1474 "include/grpc/impl/codegen/status.h",
Craig Tiller03915e52016-04-07 09:15:10 -07001475 "include/grpc/impl/codegen/alloc.h",
1476 "include/grpc/impl/codegen/atm.h",
1477 "include/grpc/impl/codegen/atm_gcc_atomic.h",
1478 "include/grpc/impl/codegen/atm_gcc_sync.h",
1479 "include/grpc/impl/codegen/atm_win32.h",
1480 "include/grpc/impl/codegen/log.h",
1481 "include/grpc/impl/codegen/port_platform.h",
1482 "include/grpc/impl/codegen/slice.h",
1483 "include/grpc/impl/codegen/slice_buffer.h",
1484 "include/grpc/impl/codegen/sync.h",
1485 "include/grpc/impl/codegen/sync_generic.h",
1486 "include/grpc/impl/codegen/sync_posix.h",
1487 "include/grpc/impl/codegen/sync_win32.h",
1488 "include/grpc/impl/codegen/time.h",
1489 "include/grpc/grpc_security.h",
1490 "include/grpc/census.h",
Craig Tillerf23078c2016-03-25 17:07:29 -07001491 "src/core/lib/channel/channel_args.h",
1492 "src/core/lib/channel/channel_stack.h",
1493 "src/core/lib/channel/channel_stack_builder.h",
Craig Tillerf23078c2016-03-25 17:07:29 -07001494 "src/core/lib/channel/compress_filter.h",
1495 "src/core/lib/channel/connected_channel.h",
1496 "src/core/lib/channel/context.h",
1497 "src/core/lib/channel/http_client_filter.h",
1498 "src/core/lib/channel/http_server_filter.h",
Craig Tillerf23078c2016-03-25 17:07:29 -07001499 "src/core/lib/compression/algorithm_metadata.h",
1500 "src/core/lib/compression/message_compress.h",
1501 "src/core/lib/debug/trace.h",
1502 "src/core/lib/http/format_request.h",
1503 "src/core/lib/http/httpcli.h",
1504 "src/core/lib/http/parser.h",
1505 "src/core/lib/iomgr/closure.h",
1506 "src/core/lib/iomgr/endpoint.h",
1507 "src/core/lib/iomgr/endpoint_pair.h",
Craig Tiller8a034482016-03-28 16:09:04 -07001508 "src/core/lib/iomgr/ev_poll_and_epoll_posix.h",
1509 "src/core/lib/iomgr/ev_posix.h",
Craig Tillerf23078c2016-03-25 17:07:29 -07001510 "src/core/lib/iomgr/exec_ctx.h",
1511 "src/core/lib/iomgr/executor.h",
Craig Tillerf23078c2016-03-25 17:07:29 -07001512 "src/core/lib/iomgr/iocp_windows.h",
1513 "src/core/lib/iomgr/iomgr.h",
1514 "src/core/lib/iomgr/iomgr_internal.h",
1515 "src/core/lib/iomgr/iomgr_posix.h",
1516 "src/core/lib/iomgr/pollset.h",
Craig Tillerf23078c2016-03-25 17:07:29 -07001517 "src/core/lib/iomgr/pollset_set.h",
Craig Tillerf23078c2016-03-25 17:07:29 -07001518 "src/core/lib/iomgr/pollset_set_windows.h",
1519 "src/core/lib/iomgr/pollset_windows.h",
1520 "src/core/lib/iomgr/resolve_address.h",
1521 "src/core/lib/iomgr/sockaddr.h",
1522 "src/core/lib/iomgr/sockaddr_posix.h",
1523 "src/core/lib/iomgr/sockaddr_utils.h",
1524 "src/core/lib/iomgr/sockaddr_win32.h",
1525 "src/core/lib/iomgr/socket_utils_posix.h",
1526 "src/core/lib/iomgr/socket_windows.h",
1527 "src/core/lib/iomgr/tcp_client.h",
1528 "src/core/lib/iomgr/tcp_posix.h",
1529 "src/core/lib/iomgr/tcp_server.h",
1530 "src/core/lib/iomgr/tcp_windows.h",
1531 "src/core/lib/iomgr/time_averaged_stats.h",
1532 "src/core/lib/iomgr/timer.h",
1533 "src/core/lib/iomgr/timer_heap.h",
1534 "src/core/lib/iomgr/udp_server.h",
1535 "src/core/lib/iomgr/unix_sockets_posix.h",
1536 "src/core/lib/iomgr/wakeup_fd_pipe.h",
1537 "src/core/lib/iomgr/wakeup_fd_posix.h",
1538 "src/core/lib/iomgr/workqueue.h",
1539 "src/core/lib/iomgr/workqueue_posix.h",
1540 "src/core/lib/iomgr/workqueue_windows.h",
1541 "src/core/lib/json/json.h",
1542 "src/core/lib/json/json_common.h",
1543 "src/core/lib/json/json_reader.h",
1544 "src/core/lib/json/json_writer.h",
Craig Tillerf23078c2016-03-25 17:07:29 -07001545 "src/core/lib/surface/api_trace.h",
1546 "src/core/lib/surface/call.h",
1547 "src/core/lib/surface/call_test_only.h",
1548 "src/core/lib/surface/channel.h",
1549 "src/core/lib/surface/channel_init.h",
1550 "src/core/lib/surface/channel_stack_type.h",
1551 "src/core/lib/surface/completion_queue.h",
1552 "src/core/lib/surface/event_string.h",
1553 "src/core/lib/surface/init.h",
1554 "src/core/lib/surface/lame_client.h",
1555 "src/core/lib/surface/server.h",
1556 "src/core/lib/surface/surface_trace.h",
1557 "src/core/lib/transport/byte_stream.h",
Craig Tillerf23078c2016-03-25 17:07:29 -07001558 "src/core/lib/transport/connectivity_state.h",
1559 "src/core/lib/transport/metadata.h",
1560 "src/core/lib/transport/metadata_batch.h",
1561 "src/core/lib/transport/static_metadata.h",
1562 "src/core/lib/transport/transport.h",
1563 "src/core/lib/transport/transport_impl.h",
Craig Tiller03915e52016-04-07 09:15:10 -07001564 "src/core/ext/transport/chttp2/transport/bin_encoder.h",
1565 "src/core/ext/transport/chttp2/transport/chttp2_transport.h",
1566 "src/core/ext/transport/chttp2/transport/frame.h",
1567 "src/core/ext/transport/chttp2/transport/frame_data.h",
1568 "src/core/ext/transport/chttp2/transport/frame_goaway.h",
1569 "src/core/ext/transport/chttp2/transport/frame_ping.h",
1570 "src/core/ext/transport/chttp2/transport/frame_rst_stream.h",
1571 "src/core/ext/transport/chttp2/transport/frame_settings.h",
1572 "src/core/ext/transport/chttp2/transport/frame_window_update.h",
1573 "src/core/ext/transport/chttp2/transport/hpack_encoder.h",
1574 "src/core/ext/transport/chttp2/transport/hpack_parser.h",
1575 "src/core/ext/transport/chttp2/transport/hpack_table.h",
1576 "src/core/ext/transport/chttp2/transport/http2_errors.h",
1577 "src/core/ext/transport/chttp2/transport/huffsyms.h",
1578 "src/core/ext/transport/chttp2/transport/incoming_metadata.h",
1579 "src/core/ext/transport/chttp2/transport/internal.h",
1580 "src/core/ext/transport/chttp2/transport/status_conversion.h",
1581 "src/core/ext/transport/chttp2/transport/stream_map.h",
1582 "src/core/ext/transport/chttp2/transport/timeout_encoding.h",
1583 "src/core/ext/transport/chttp2/transport/varint.h",
1584 "src/core/ext/transport/chttp2/alpn/alpn.h",
1585 "src/core/lib/security/auth_filters.h",
1586 "src/core/lib/security/b64.h",
1587 "src/core/lib/security/credentials.h",
1588 "src/core/lib/security/handshake.h",
1589 "src/core/lib/security/json_token.h",
1590 "src/core/lib/security/jwt_verifier.h",
1591 "src/core/lib/security/secure_endpoint.h",
1592 "src/core/lib/security/security_connector.h",
1593 "src/core/lib/security/security_context.h",
Craig Tillerf23078c2016-03-25 17:07:29 -07001594 "src/core/lib/tsi/fake_transport_security.h",
1595 "src/core/lib/tsi/ssl_transport_security.h",
1596 "src/core/lib/tsi/ssl_types.h",
1597 "src/core/lib/tsi/transport_security.h",
1598 "src/core/lib/tsi/transport_security_interface.h",
Craig Tiller03915e52016-04-07 09:15:10 -07001599 "src/core/ext/client_config/client_channel.h",
1600 "src/core/ext/client_config/client_channel_factory.h",
1601 "src/core/ext/client_config/client_config.h",
1602 "src/core/ext/client_config/connector.h",
1603 "src/core/ext/client_config/initial_connect_string.h",
1604 "src/core/ext/client_config/lb_policy.h",
1605 "src/core/ext/client_config/lb_policy_factory.h",
1606 "src/core/ext/client_config/lb_policy_registry.h",
1607 "src/core/ext/client_config/resolver.h",
1608 "src/core/ext/client_config/resolver_factory.h",
1609 "src/core/ext/client_config/resolver_registry.h",
1610 "src/core/ext/client_config/subchannel.h",
1611 "src/core/ext/client_config/subchannel_call_holder.h",
1612 "src/core/ext/client_config/subchannel_index.h",
1613 "src/core/ext/client_config/uri_parser.h",
1614 "src/core/ext/lb_policy/grpclb/load_balancer_api.h",
1615 "src/core/ext/lb_policy/grpclb/proto/grpc/lb/v0/load_balancer.pb.h",
1616 "src/core/ext/census/aggregation.h",
1617 "src/core/ext/census/census_interface.h",
1618 "src/core/ext/census/census_rpc_stats.h",
1619 "src/core/ext/census/grpc_filter.h",
1620 "src/core/ext/census/mlog.h",
1621 "src/core/ext/census/rpc_metric_id.h",
Jorge Canizales140bca82015-06-20 09:47:00 -07001622 ],
1623 includes = [
1624 "include",
1625 ".",
1626 ],
1627 deps = [
Craig Tillerda179ce2016-02-09 12:01:53 -08001628 ":gpr_objc",
Jorge Canizales4dc4e3d2015-06-26 22:12:02 -07001629 "//external:libssl_objc",
Rob Earhartb7b8d052016-03-29 11:35:29 -07001630 "//external:nanopb",
Jorge Canizales140bca82015-06-20 09:47:00 -07001631 ],
Jorge Canizales8c1fd042015-06-22 19:11:36 -07001632 sdk_dylibs = ["libz"],
Jorge Canizales140bca82015-06-20 09:47:00 -07001633)
1634
1635
1636
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001637cc_binary(
1638 name = "grpc_cpp_plugin",
1639 srcs = [
1640 "src/compiler/cpp_plugin.cc",
1641 ],
1642 deps = [
1643 "//external:protobuf_compiler",
1644 ":grpc_plugin_support",
1645 ],
1646)
1647
1648
1649cc_binary(
Jan Tattermusch2d924952015-05-06 10:23:17 -07001650 name = "grpc_csharp_plugin",
1651 srcs = [
1652 "src/compiler/csharp_plugin.cc",
1653 ],
1654 deps = [
1655 "//external:protobuf_compiler",
1656 ":grpc_plugin_support",
1657 ],
1658)
1659
1660
1661cc_binary(
Ming Zhao3c0ba0c2015-04-10 12:05:22 -07001662 name = "grpc_objective_c_plugin",
1663 srcs = [
1664 "src/compiler/objective_c_plugin.cc",
1665 ],
1666 deps = [
1667 "//external:protobuf_compiler",
1668 ":grpc_plugin_support",
1669 ],
1670)
1671
1672
1673cc_binary(
1674 name = "grpc_python_plugin",
1675 srcs = [
1676 "src/compiler/python_plugin.cc",
1677 ],
1678 deps = [
1679 "//external:protobuf_compiler",
1680 ":grpc_plugin_support",
1681 ],
1682)
1683
1684
1685cc_binary(
1686 name = "grpc_ruby_plugin",
1687 srcs = [
1688 "src/compiler/ruby_plugin.cc",
1689 ],
1690 deps = [
1691 "//external:protobuf_compiler",
1692 ":grpc_plugin_support",
1693 ],
1694)
1695
1696
1697
Nicolas "Pixel" Noblef6edf682015-03-31 05:17:34 +02001698
1699
Jorge Canizales140bca82015-06-20 09:47:00 -07001700
Jorge Canizales91e67a22015-06-24 13:50:04 -07001701
1702
Jorge Canizales44dc4232015-06-19 16:30:31 -07001703objc_path = "src/objective-c"
Jorge Canizales140bca82015-06-20 09:47:00 -07001704
Jorge Canizales44dc4232015-06-19 16:30:31 -07001705rx_library_path = objc_path + "/RxLibrary"
1706
1707objc_library(
Jorge Canizalesbba80762015-06-26 23:25:48 -07001708 name = "rx_library",
1709 hdrs = glob([
1710 rx_library_path + "/*.h",
1711 rx_library_path + "/transformations/*.h",
1712 ]),
1713 srcs = glob([
1714 rx_library_path + "/*.m",
1715 rx_library_path + "/transformations/*.m",
1716 ]),
1717 includes = [objc_path],
1718 deps = [
1719 ":rx_library_private",
1720 ],
Jorge Canizales44dc4232015-06-19 16:30:31 -07001721)
1722
1723objc_library(
Jorge Canizalesbba80762015-06-26 23:25:48 -07001724 name = "rx_library_private",
1725 hdrs = glob([rx_library_path + "/private/*.h"]),
1726 srcs = glob([rx_library_path + "/private/*.m"]),
1727 visibility = ["//visibility:private"],
Jorge Canizales44dc4232015-06-19 16:30:31 -07001728)
Jorge Canizales866255e2015-06-20 18:58:38 -07001729
1730objc_client_path = objc_path + "/GRPCClient"
1731
1732objc_library(
1733 name = "grpc_client",
1734 hdrs = glob([
1735 objc_client_path + "/*.h",
1736 objc_client_path + "/private/*.h",
1737 ]),
1738 srcs = glob([
1739 objc_client_path + "/*.m",
1740 objc_client_path + "/private/*.m",
1741 ]),
1742 includes = [objc_path],
Jorge Canizalesbb54ae82015-06-28 06:50:58 -07001743 bundles = [":gRPCCertificates"],
Jorge Canizales866255e2015-06-20 18:58:38 -07001744 deps = [
1745 ":grpc_objc",
1746 ":rx_library",
1747 ],
1748)
Jorge Canizalesbb54ae82015-06-28 06:50:58 -07001749
1750objc_bundle_library(
1751 # The choice of name is signicant here, since it determines the bundle name.
1752 name = "gRPCCertificates",
1753 resources = ["etc/roots.pem"],
1754)
Jorge Canizales50f19822015-06-28 23:48:30 -07001755
1756proto_objc_rpc_path = objc_path + "/ProtoRPC"
1757
1758objc_library(
1759 name = "proto_objc_rpc",
1760 hdrs = glob([
1761 proto_objc_rpc_path + "/*.h",
1762 ]),
1763 srcs = glob([
1764 proto_objc_rpc_path + "/*.m",
1765 ]),
1766 includes = [objc_path],
1767 deps = [
1768 ":grpc_client",
1769 ":rx_library",
1770 "//external:protobuf_objc",
1771 ],
1772)