blob: 84841b8300674e2d155810ee726acda0c2a66e16 [file] [log] [blame]
murgatroid99f680af02015-06-22 11:20:24 -07001# GRPC CocoaPods podspec
2# This file has been automatically generated from a template file.
3# Please look at the templates directory instead.
4# This file can be regenerated from the template by running
5# tools/buildgen/generate_projects.sh
6
7# Copyright 2015, Google Inc.
8# All rights reserved.
9#
10# Redistribution and use in source and binary forms, with or without
11# modification, are permitted provided that the following conditions are
12# met:
13#
14# * Redistributions of source code must retain the above copyright
15# notice, this list of conditions and the following disclaimer.
16# * Redistributions in binary form must reproduce the above
17# copyright notice, this list of conditions and the following disclaimer
18# in the documentation and/or other materials provided with the
19# distribution.
20# * Neither the name of Google Inc. nor the names of its
21# contributors may be used to endorse or promote products derived from
22# this software without specific prior written permission.
23#
24# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
25# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
26# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
27# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
28# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
29# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
30# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
31# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
32# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
33# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
34# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
35
murgatroid99f398d5c2015-06-16 14:07:36 -070036
Jorge Canizalesc2d7ecb2015-02-27 01:22:41 -080037Pod::Spec.new do |s|
38 s.name = 'gRPC'
Jorge Canizalesd1908b12015-11-25 18:19:37 -080039 version = '0.12.0'
Jorge Canizalesc825f422015-09-28 21:43:48 -070040 s.version = version
Jorge Canizales043dc722015-06-02 15:15:07 -070041 s.summary = 'gRPC client library for iOS/OSX'
42 s.homepage = 'http://www.grpc.io'
Jorge Canizalesc2d7ecb2015-02-27 01:22:41 -080043 s.license = 'New BSD'
Jorge Canizales043dc722015-06-02 15:15:07 -070044 s.authors = { 'The gRPC contributors' => 'grpc-packages@google.com' }
Jorge Canizalesc2d7ecb2015-02-27 01:22:41 -080045
Jorge Canizalesc825f422015-09-28 21:43:48 -070046 s.source = { :git => 'https://github.com/grpc/grpc.git',
47 :tag => "release-#{version.gsub(/\./, '_')}-objectivec-#{version}" }
Jorge Canizalesc2d7ecb2015-02-27 01:22:41 -080048
Nicolas "Pixel" Noblecff64692015-10-03 02:01:51 +020049
Craig Tillerba496452015-09-21 17:15:19 -070050 s.ios.deployment_target = '7.1'
51 s.osx.deployment_target = '10.9'
Jorge Canizalesc2d7ecb2015-02-27 01:22:41 -080052 s.requires_arc = true
53
Jorge Canizalesea9b4fd2015-06-21 13:37:28 -070054 objc_dir = 'src/objective-c'
55
Jorge Canizales461b0942015-06-02 20:40:50 -070056 # Reactive Extensions library for iOS.
Jorge Canizalesea9b4fd2015-06-21 13:37:28 -070057 s.subspec 'RxLibrary' do |ss|
58 src_dir = "#{objc_dir}/RxLibrary"
59 ss.source_files = "#{src_dir}/*.{h,m}", "#{src_dir}/**/*.{h,m}"
60 ss.private_header_files = "#{src_dir}/private/*.h"
61 ss.header_mappings_dir = "#{objc_dir}"
Jorge Canizales045fabb2015-04-21 11:39:37 -070062 end
63
Jorge Canizales461b0942015-06-02 20:40:50 -070064 # Core cross-platform gRPC library, written in C.
Jorge Canizalesea9b4fd2015-06-21 13:37:28 -070065 s.subspec 'C-Core' do |ss|
Craig Tillerf23078c2016-03-25 17:07:29 -070066 ss.source_files = 'src/core/lib/profiling/timers.h',
67 'src/core/lib/support/backoff.h',
68 'src/core/lib/support/block_annotate.h',
69 'src/core/lib/support/env.h',
70 'src/core/lib/support/load_file.h',
71 'src/core/lib/support/murmur_hash.h',
72 'src/core/lib/support/stack_lockfree.h',
73 'src/core/lib/support/string.h',
74 'src/core/lib/support/string_win32.h',
75 'src/core/lib/support/thd_internal.h',
76 'src/core/lib/support/time_precise.h',
77 'src/core/lib/support/tmpfile.h',
Craig Tillerda179ce2016-02-09 12:01:53 -080078 'include/grpc/support/alloc.h',
79 'include/grpc/support/atm.h',
80 'include/grpc/support/atm_gcc_atomic.h',
81 'include/grpc/support/atm_gcc_sync.h',
82 'include/grpc/support/atm_win32.h',
83 'include/grpc/support/avl.h',
84 'include/grpc/support/cmdline.h',
85 'include/grpc/support/cpu.h',
86 'include/grpc/support/histogram.h',
87 'include/grpc/support/host_port.h',
88 'include/grpc/support/log.h',
89 'include/grpc/support/log_win32.h',
90 'include/grpc/support/port_platform.h',
91 'include/grpc/support/slice.h',
92 'include/grpc/support/slice_buffer.h',
93 'include/grpc/support/string_util.h',
94 'include/grpc/support/subprocess.h',
95 'include/grpc/support/sync.h',
96 'include/grpc/support/sync_generic.h',
97 'include/grpc/support/sync_posix.h',
98 'include/grpc/support/sync_win32.h',
99 'include/grpc/support/thd.h',
100 'include/grpc/support/time.h',
101 'include/grpc/support/tls.h',
102 'include/grpc/support/tls_gcc.h',
103 'include/grpc/support/tls_msvc.h',
104 'include/grpc/support/tls_pthread.h',
105 'include/grpc/support/useful.h',
Craig Tiller03915e52016-04-07 09:15:10 -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 Tillerf23078c2016-03-25 17:07:29 -0700120 'src/core/lib/profiling/basic_timers.c',
121 'src/core/lib/profiling/stap_timers.c',
122 'src/core/lib/support/alloc.c',
123 'src/core/lib/support/avl.c',
124 'src/core/lib/support/backoff.c',
125 'src/core/lib/support/cmdline.c',
126 'src/core/lib/support/cpu_iphone.c',
127 'src/core/lib/support/cpu_linux.c',
128 'src/core/lib/support/cpu_posix.c',
129 'src/core/lib/support/cpu_windows.c',
130 'src/core/lib/support/env_linux.c',
131 'src/core/lib/support/env_posix.c',
132 'src/core/lib/support/env_win32.c',
133 'src/core/lib/support/histogram.c',
134 'src/core/lib/support/host_port.c',
135 'src/core/lib/support/load_file.c',
136 'src/core/lib/support/log.c',
137 'src/core/lib/support/log_android.c',
138 'src/core/lib/support/log_linux.c',
139 'src/core/lib/support/log_posix.c',
140 'src/core/lib/support/log_win32.c',
141 'src/core/lib/support/murmur_hash.c',
142 'src/core/lib/support/slice.c',
143 'src/core/lib/support/slice_buffer.c',
144 'src/core/lib/support/stack_lockfree.c',
145 'src/core/lib/support/string.c',
146 'src/core/lib/support/string_posix.c',
Nicolas "Pixel" Noblec4b18a52016-04-15 04:53:54 +0200147 'src/core/lib/support/string_util_win32.c',
Craig Tillerf23078c2016-03-25 17:07:29 -0700148 'src/core/lib/support/string_win32.c',
149 'src/core/lib/support/subprocess_posix.c',
150 'src/core/lib/support/subprocess_windows.c',
151 'src/core/lib/support/sync.c',
152 'src/core/lib/support/sync_posix.c',
153 'src/core/lib/support/sync_win32.c',
154 'src/core/lib/support/thd.c',
155 'src/core/lib/support/thd_posix.c',
156 'src/core/lib/support/thd_win32.c',
157 'src/core/lib/support/time.c',
158 'src/core/lib/support/time_posix.c',
159 'src/core/lib/support/time_precise.c',
160 'src/core/lib/support/time_win32.c',
161 'src/core/lib/support/tls_pthread.c',
Nicolas "Pixel" Noblec4b18a52016-04-15 04:53:54 +0200162 'src/core/lib/support/tmpfile_msys.c',
Craig Tillerf23078c2016-03-25 17:07:29 -0700163 'src/core/lib/support/tmpfile_posix.c',
164 'src/core/lib/support/tmpfile_win32.c',
165 'src/core/lib/support/wrap_memcpy.c',
Craig Tillerf23078c2016-03-25 17:07:29 -0700166 'src/core/lib/channel/channel_args.h',
167 'src/core/lib/channel/channel_stack.h',
168 'src/core/lib/channel/channel_stack_builder.h',
Craig Tillerf23078c2016-03-25 17:07:29 -0700169 'src/core/lib/channel/compress_filter.h',
170 'src/core/lib/channel/connected_channel.h',
171 'src/core/lib/channel/context.h',
172 'src/core/lib/channel/http_client_filter.h',
173 'src/core/lib/channel/http_server_filter.h',
Craig Tillerf23078c2016-03-25 17:07:29 -0700174 'src/core/lib/compression/algorithm_metadata.h',
175 'src/core/lib/compression/message_compress.h',
176 'src/core/lib/debug/trace.h',
177 'src/core/lib/http/format_request.h',
178 'src/core/lib/http/httpcli.h',
179 'src/core/lib/http/parser.h',
180 'src/core/lib/iomgr/closure.h',
181 'src/core/lib/iomgr/endpoint.h',
182 'src/core/lib/iomgr/endpoint_pair.h',
Craig Tiller27f59af2016-04-28 14:19:48 -0700183 'src/core/lib/iomgr/error.h',
Craig Tiller8a034482016-03-28 16:09:04 -0700184 'src/core/lib/iomgr/ev_poll_and_epoll_posix.h',
185 'src/core/lib/iomgr/ev_posix.h',
Craig Tillerf23078c2016-03-25 17:07:29 -0700186 'src/core/lib/iomgr/exec_ctx.h',
187 'src/core/lib/iomgr/executor.h',
Craig Tillerf23078c2016-03-25 17:07:29 -0700188 'src/core/lib/iomgr/iocp_windows.h',
189 'src/core/lib/iomgr/iomgr.h',
190 'src/core/lib/iomgr/iomgr_internal.h',
191 'src/core/lib/iomgr/iomgr_posix.h',
192 'src/core/lib/iomgr/pollset.h',
Craig Tillerf23078c2016-03-25 17:07:29 -0700193 'src/core/lib/iomgr/pollset_set.h',
Craig Tillerf23078c2016-03-25 17:07:29 -0700194 'src/core/lib/iomgr/pollset_set_windows.h',
195 'src/core/lib/iomgr/pollset_windows.h',
196 'src/core/lib/iomgr/resolve_address.h',
197 'src/core/lib/iomgr/sockaddr.h',
198 'src/core/lib/iomgr/sockaddr_posix.h',
199 'src/core/lib/iomgr/sockaddr_utils.h',
200 'src/core/lib/iomgr/sockaddr_win32.h',
201 'src/core/lib/iomgr/socket_utils_posix.h',
202 'src/core/lib/iomgr/socket_windows.h',
203 'src/core/lib/iomgr/tcp_client.h',
204 'src/core/lib/iomgr/tcp_posix.h',
205 'src/core/lib/iomgr/tcp_server.h',
206 'src/core/lib/iomgr/tcp_windows.h',
207 'src/core/lib/iomgr/time_averaged_stats.h',
208 'src/core/lib/iomgr/timer.h',
209 'src/core/lib/iomgr/timer_heap.h',
210 'src/core/lib/iomgr/udp_server.h',
211 'src/core/lib/iomgr/unix_sockets_posix.h',
212 'src/core/lib/iomgr/wakeup_fd_pipe.h',
213 'src/core/lib/iomgr/wakeup_fd_posix.h',
214 'src/core/lib/iomgr/workqueue.h',
215 'src/core/lib/iomgr/workqueue_posix.h',
216 'src/core/lib/iomgr/workqueue_windows.h',
217 'src/core/lib/json/json.h',
218 'src/core/lib/json/json_common.h',
219 'src/core/lib/json/json_reader.h',
220 'src/core/lib/json/json_writer.h',
Craig Tillerf23078c2016-03-25 17:07:29 -0700221 'src/core/lib/surface/api_trace.h',
222 'src/core/lib/surface/call.h',
223 'src/core/lib/surface/call_test_only.h',
224 'src/core/lib/surface/channel.h',
225 'src/core/lib/surface/channel_init.h',
226 'src/core/lib/surface/channel_stack_type.h',
227 'src/core/lib/surface/completion_queue.h',
228 'src/core/lib/surface/event_string.h',
229 'src/core/lib/surface/init.h',
230 'src/core/lib/surface/lame_client.h',
231 'src/core/lib/surface/server.h',
232 'src/core/lib/surface/surface_trace.h',
233 'src/core/lib/transport/byte_stream.h',
Craig Tillerf23078c2016-03-25 17:07:29 -0700234 'src/core/lib/transport/connectivity_state.h',
235 'src/core/lib/transport/metadata.h',
236 'src/core/lib/transport/metadata_batch.h',
237 'src/core/lib/transport/static_metadata.h',
238 'src/core/lib/transport/transport.h',
239 'src/core/lib/transport/transport_impl.h',
Craig Tiller03915e52016-04-07 09:15:10 -0700240 'src/core/ext/transport/chttp2/transport/bin_encoder.h',
241 'src/core/ext/transport/chttp2/transport/chttp2_transport.h',
242 'src/core/ext/transport/chttp2/transport/frame.h',
243 'src/core/ext/transport/chttp2/transport/frame_data.h',
244 'src/core/ext/transport/chttp2/transport/frame_goaway.h',
245 'src/core/ext/transport/chttp2/transport/frame_ping.h',
246 'src/core/ext/transport/chttp2/transport/frame_rst_stream.h',
247 'src/core/ext/transport/chttp2/transport/frame_settings.h',
248 'src/core/ext/transport/chttp2/transport/frame_window_update.h',
249 'src/core/ext/transport/chttp2/transport/hpack_encoder.h',
250 'src/core/ext/transport/chttp2/transport/hpack_parser.h',
251 'src/core/ext/transport/chttp2/transport/hpack_table.h',
252 'src/core/ext/transport/chttp2/transport/http2_errors.h',
253 'src/core/ext/transport/chttp2/transport/huffsyms.h',
254 'src/core/ext/transport/chttp2/transport/incoming_metadata.h',
255 'src/core/ext/transport/chttp2/transport/internal.h',
256 'src/core/ext/transport/chttp2/transport/status_conversion.h',
257 'src/core/ext/transport/chttp2/transport/stream_map.h',
258 'src/core/ext/transport/chttp2/transport/timeout_encoding.h',
259 'src/core/ext/transport/chttp2/transport/varint.h',
260 'src/core/ext/transport/chttp2/alpn/alpn.h',
Julien Boeuf8ca294e2016-05-02 14:56:30 -0700261 'src/core/lib/security/context/security_context.h',
262 'src/core/lib/security/credentials/composite/composite_credentials.h',
263 'src/core/lib/security/credentials/credentials.h',
264 'src/core/lib/security/credentials/fake/fake_credentials.h',
265 'src/core/lib/security/credentials/google_default/google_default_credentials.h',
266 'src/core/lib/security/credentials/iam/iam_credentials.h',
267 'src/core/lib/security/credentials/jwt/json_token.h',
268 'src/core/lib/security/credentials/jwt/jwt_credentials.h',
269 'src/core/lib/security/credentials/jwt/jwt_verifier.h',
270 'src/core/lib/security/credentials/oauth2/oauth2_credentials.h',
271 'src/core/lib/security/credentials/plugin/plugin_credentials.h',
272 'src/core/lib/security/credentials/ssl/ssl_credentials.h',
273 'src/core/lib/security/transport/auth_filters.h',
274 'src/core/lib/security/transport/handshake.h',
275 'src/core/lib/security/transport/secure_endpoint.h',
276 'src/core/lib/security/transport/security_connector.h',
277 'src/core/lib/security/util/b64.h',
278 'src/core/lib/security/util/json_util.h',
Craig Tillerf23078c2016-03-25 17:07:29 -0700279 'src/core/lib/tsi/fake_transport_security.h',
280 'src/core/lib/tsi/ssl_transport_security.h',
281 'src/core/lib/tsi/ssl_types.h',
282 'src/core/lib/tsi/transport_security.h',
283 'src/core/lib/tsi/transport_security_interface.h',
Craig Tiller03915e52016-04-07 09:15:10 -0700284 'src/core/ext/client_config/client_channel.h',
285 'src/core/ext/client_config/client_channel_factory.h',
286 'src/core/ext/client_config/client_config.h',
287 'src/core/ext/client_config/connector.h',
288 'src/core/ext/client_config/initial_connect_string.h',
289 'src/core/ext/client_config/lb_policy.h',
290 'src/core/ext/client_config/lb_policy_factory.h',
291 'src/core/ext/client_config/lb_policy_registry.h',
David Garcia Quintas9885bff2016-04-07 17:31:29 -0700292 'src/core/ext/client_config/parse_address.h',
Craig Tiller03915e52016-04-07 09:15:10 -0700293 'src/core/ext/client_config/resolver.h',
294 'src/core/ext/client_config/resolver_factory.h',
295 'src/core/ext/client_config/resolver_registry.h',
296 'src/core/ext/client_config/subchannel.h',
297 'src/core/ext/client_config/subchannel_call_holder.h',
298 'src/core/ext/client_config/subchannel_index.h',
299 'src/core/ext/client_config/uri_parser.h',
300 'src/core/ext/lb_policy/grpclb/load_balancer_api.h',
301 'src/core/ext/lb_policy/grpclb/proto/grpc/lb/v0/load_balancer.pb.h',
Craig Tillereb841e22016-02-11 15:49:16 -0800302 'third_party/nanopb/pb.h',
303 'third_party/nanopb/pb_common.h',
304 'third_party/nanopb/pb_decode.h',
305 'third_party/nanopb/pb_encode.h',
Craig Tiller03915e52016-04-07 09:15:10 -0700306 'src/core/ext/census/aggregation.h',
307 'src/core/ext/census/census_interface.h',
308 'src/core/ext/census/census_rpc_stats.h',
309 'src/core/ext/census/grpc_filter.h',
310 'src/core/ext/census/mlog.h',
311 'src/core/ext/census/rpc_metric_id.h',
Jorge Canizales0c8a3d82015-10-13 13:04:54 -0700312 'include/grpc/byte_buffer.h',
313 'include/grpc/byte_buffer_reader.h',
314 'include/grpc/compression.h',
315 'include/grpc/grpc.h',
Craig Tiller03915e52016-04-07 09:15:10 -0700316 'include/grpc/status.h',
Craig Tillereb327fb2015-06-23 16:51:38 -0700317 'include/grpc/impl/codegen/byte_buffer.h',
David Garcia Quintas1b2db632016-04-27 15:06:54 -0700318 'include/grpc/impl/codegen/byte_buffer_reader.h',
Craig Tillereb327fb2015-06-23 16:51:38 -0700319 'include/grpc/impl/codegen/compression_types.h',
Alistair Veitch1c09acc2015-08-31 16:57:32 -0700320 'include/grpc/impl/codegen/connectivity_state.h',
Craig Tillereb327fb2015-06-23 16:51:38 -0700321 'include/grpc/impl/codegen/grpc_types.h',
Alistair Veitch9a099822015-08-27 13:16:00 -0700322 'include/grpc/impl/codegen/propagation_bits.h',
Jorge Canizales0c8a3d82015-10-13 13:04:54 -0700323 'include/grpc/impl/codegen/status.h',
Craig Tiller03915e52016-04-07 09:15:10 -0700324 'include/grpc/impl/codegen/alloc.h',
325 'include/grpc/impl/codegen/atm.h',
326 'include/grpc/impl/codegen/atm_gcc_atomic.h',
327 'include/grpc/impl/codegen/atm_gcc_sync.h',
328 'include/grpc/impl/codegen/atm_win32.h',
329 'include/grpc/impl/codegen/log.h',
330 'include/grpc/impl/codegen/port_platform.h',
331 'include/grpc/impl/codegen/slice.h',
332 'include/grpc/impl/codegen/slice_buffer.h',
333 'include/grpc/impl/codegen/sync.h',
334 'include/grpc/impl/codegen/sync_generic.h',
335 'include/grpc/impl/codegen/sync_posix.h',
336 'include/grpc/impl/codegen/sync_win32.h',
337 'include/grpc/impl/codegen/time.h',
338 'include/grpc/grpc_security.h',
Deepak Lukosedba4c5f2016-03-25 12:54:25 -0700339 'include/grpc/grpc_security_constants.h',
Craig Tiller03915e52016-04-07 09:15:10 -0700340 'include/grpc/census.h',
Craig Tiller3ab2fe02016-04-11 20:11:18 -0700341 'src/core/lib/surface/init.c',
Craig Tillerf23078c2016-03-25 17:07:29 -0700342 'src/core/lib/channel/channel_args.c',
343 'src/core/lib/channel/channel_stack.c',
344 'src/core/lib/channel/channel_stack_builder.c',
Craig Tillerf23078c2016-03-25 17:07:29 -0700345 'src/core/lib/channel/compress_filter.c',
346 'src/core/lib/channel/connected_channel.c',
347 'src/core/lib/channel/http_client_filter.c',
348 'src/core/lib/channel/http_server_filter.c',
Craig Tillerf23078c2016-03-25 17:07:29 -0700349 'src/core/lib/compression/compression_algorithm.c',
350 'src/core/lib/compression/message_compress.c',
351 'src/core/lib/debug/trace.c',
352 'src/core/lib/http/format_request.c',
353 'src/core/lib/http/httpcli.c',
354 'src/core/lib/http/parser.c',
355 'src/core/lib/iomgr/closure.c',
356 'src/core/lib/iomgr/endpoint.c',
357 'src/core/lib/iomgr/endpoint_pair_posix.c',
358 'src/core/lib/iomgr/endpoint_pair_windows.c',
Craig Tiller27f59af2016-04-28 14:19:48 -0700359 'src/core/lib/iomgr/error.c',
Craig Tiller8a034482016-03-28 16:09:04 -0700360 'src/core/lib/iomgr/ev_poll_and_epoll_posix.c',
361 'src/core/lib/iomgr/ev_posix.c',
Craig Tillerf23078c2016-03-25 17:07:29 -0700362 'src/core/lib/iomgr/exec_ctx.c',
363 'src/core/lib/iomgr/executor.c',
Craig Tillerf23078c2016-03-25 17:07:29 -0700364 'src/core/lib/iomgr/iocp_windows.c',
365 'src/core/lib/iomgr/iomgr.c',
366 'src/core/lib/iomgr/iomgr_posix.c',
367 'src/core/lib/iomgr/iomgr_windows.c',
Craig Tillerf23078c2016-03-25 17:07:29 -0700368 'src/core/lib/iomgr/pollset_set_windows.c',
369 'src/core/lib/iomgr/pollset_windows.c',
370 'src/core/lib/iomgr/resolve_address_posix.c',
371 'src/core/lib/iomgr/resolve_address_windows.c',
372 'src/core/lib/iomgr/sockaddr_utils.c',
373 'src/core/lib/iomgr/socket_utils_common_posix.c',
374 'src/core/lib/iomgr/socket_utils_linux.c',
375 'src/core/lib/iomgr/socket_utils_posix.c',
376 'src/core/lib/iomgr/socket_windows.c',
377 'src/core/lib/iomgr/tcp_client_posix.c',
378 'src/core/lib/iomgr/tcp_client_windows.c',
379 'src/core/lib/iomgr/tcp_posix.c',
380 'src/core/lib/iomgr/tcp_server_posix.c',
381 'src/core/lib/iomgr/tcp_server_windows.c',
382 'src/core/lib/iomgr/tcp_windows.c',
383 'src/core/lib/iomgr/time_averaged_stats.c',
384 'src/core/lib/iomgr/timer.c',
385 'src/core/lib/iomgr/timer_heap.c',
386 'src/core/lib/iomgr/udp_server.c',
387 'src/core/lib/iomgr/unix_sockets_posix.c',
388 'src/core/lib/iomgr/unix_sockets_posix_noop.c',
389 'src/core/lib/iomgr/wakeup_fd_eventfd.c',
390 'src/core/lib/iomgr/wakeup_fd_nospecial.c',
391 'src/core/lib/iomgr/wakeup_fd_pipe.c',
392 'src/core/lib/iomgr/wakeup_fd_posix.c',
393 'src/core/lib/iomgr/workqueue_posix.c',
394 'src/core/lib/iomgr/workqueue_windows.c',
395 'src/core/lib/json/json.c',
396 'src/core/lib/json/json_reader.c',
397 'src/core/lib/json/json_string.c',
398 'src/core/lib/json/json_writer.c',
Craig Tillerf23078c2016-03-25 17:07:29 -0700399 'src/core/lib/surface/alarm.c',
400 'src/core/lib/surface/api_trace.c',
401 'src/core/lib/surface/byte_buffer.c',
402 'src/core/lib/surface/byte_buffer_reader.c',
403 'src/core/lib/surface/call.c',
404 'src/core/lib/surface/call_details.c',
405 'src/core/lib/surface/call_log_batch.c',
406 'src/core/lib/surface/channel.c',
Craig Tillerf23078c2016-03-25 17:07:29 -0700407 'src/core/lib/surface/channel_init.c',
408 'src/core/lib/surface/channel_ping.c',
409 'src/core/lib/surface/channel_stack_type.c',
410 'src/core/lib/surface/completion_queue.c',
411 'src/core/lib/surface/event_string.c',
Craig Tillerf23078c2016-03-25 17:07:29 -0700412 'src/core/lib/surface/lame_client.c',
413 'src/core/lib/surface/metadata_array.c',
414 'src/core/lib/surface/server.c',
Craig Tillerf23078c2016-03-25 17:07:29 -0700415 'src/core/lib/surface/validate_metadata.c',
416 'src/core/lib/surface/version.c',
417 'src/core/lib/transport/byte_stream.c',
Craig Tillerf23078c2016-03-25 17:07:29 -0700418 'src/core/lib/transport/connectivity_state.c',
419 'src/core/lib/transport/metadata.c',
420 'src/core/lib/transport/metadata_batch.c',
421 'src/core/lib/transport/static_metadata.c',
422 'src/core/lib/transport/transport.c',
423 'src/core/lib/transport/transport_op_string.c',
Craig Tiller03915e52016-04-07 09:15:10 -0700424 'src/core/ext/transport/chttp2/server/secure/server_secure_chttp2.c',
425 'src/core/ext/transport/chttp2/transport/bin_encoder.c',
426 'src/core/ext/transport/chttp2/transport/chttp2_plugin.c',
427 'src/core/ext/transport/chttp2/transport/chttp2_transport.c',
428 'src/core/ext/transport/chttp2/transport/frame_data.c',
429 'src/core/ext/transport/chttp2/transport/frame_goaway.c',
430 'src/core/ext/transport/chttp2/transport/frame_ping.c',
431 'src/core/ext/transport/chttp2/transport/frame_rst_stream.c',
432 'src/core/ext/transport/chttp2/transport/frame_settings.c',
433 'src/core/ext/transport/chttp2/transport/frame_window_update.c',
434 'src/core/ext/transport/chttp2/transport/hpack_encoder.c',
435 'src/core/ext/transport/chttp2/transport/hpack_parser.c',
436 'src/core/ext/transport/chttp2/transport/hpack_table.c',
437 'src/core/ext/transport/chttp2/transport/huffsyms.c',
438 'src/core/ext/transport/chttp2/transport/incoming_metadata.c',
439 'src/core/ext/transport/chttp2/transport/parsing.c',
440 'src/core/ext/transport/chttp2/transport/status_conversion.c',
441 'src/core/ext/transport/chttp2/transport/stream_lists.c',
442 'src/core/ext/transport/chttp2/transport/stream_map.c',
443 'src/core/ext/transport/chttp2/transport/timeout_encoding.c',
444 'src/core/ext/transport/chttp2/transport/varint.c',
445 'src/core/ext/transport/chttp2/transport/writing.c',
446 'src/core/ext/transport/chttp2/alpn/alpn.c',
447 'src/core/lib/http/httpcli_security_connector.c',
Julien Boeuf8ca294e2016-05-02 14:56:30 -0700448 'src/core/lib/security/context/security_context.c',
449 'src/core/lib/security/credentials/composite/composite_credentials.c',
450 'src/core/lib/security/credentials/credentials.c',
451 'src/core/lib/security/credentials/credentials_metadata.c',
452 'src/core/lib/security/credentials/fake/fake_credentials.c',
453 'src/core/lib/security/credentials/google_default/credentials_posix.c',
454 'src/core/lib/security/credentials/google_default/credentials_win32.c',
455 'src/core/lib/security/credentials/google_default/google_default_credentials.c',
456 'src/core/lib/security/credentials/iam/iam_credentials.c',
457 'src/core/lib/security/credentials/jwt/json_token.c',
458 'src/core/lib/security/credentials/jwt/jwt_credentials.c',
459 'src/core/lib/security/credentials/jwt/jwt_verifier.c',
460 'src/core/lib/security/credentials/oauth2/oauth2_credentials.c',
461 'src/core/lib/security/credentials/plugin/plugin_credentials.c',
462 'src/core/lib/security/credentials/ssl/ssl_credentials.c',
463 'src/core/lib/security/transport/client_auth_filter.c',
464 'src/core/lib/security/transport/handshake.c',
465 'src/core/lib/security/transport/secure_endpoint.c',
466 'src/core/lib/security/transport/security_connector.c',
467 'src/core/lib/security/transport/server_auth_filter.c',
468 'src/core/lib/security/util/b64.c',
469 'src/core/lib/security/util/json_util.c',
Craig Tiller03915e52016-04-07 09:15:10 -0700470 'src/core/lib/surface/init_secure.c',
Craig Tillerf23078c2016-03-25 17:07:29 -0700471 'src/core/lib/tsi/fake_transport_security.c',
472 'src/core/lib/tsi/ssl_transport_security.c',
473 'src/core/lib/tsi/transport_security.c',
Craig Tiller03915e52016-04-07 09:15:10 -0700474 'src/core/ext/transport/chttp2/client/secure/secure_channel_create.c',
475 'src/core/ext/client_config/channel_connectivity.c',
476 'src/core/ext/client_config/client_channel.c',
477 'src/core/ext/client_config/client_channel_factory.c',
478 'src/core/ext/client_config/client_config.c',
479 'src/core/ext/client_config/client_config_plugin.c',
480 'src/core/ext/client_config/connector.c',
481 'src/core/ext/client_config/default_initial_connect_string.c',
482 'src/core/ext/client_config/initial_connect_string.c',
483 'src/core/ext/client_config/lb_policy.c',
484 'src/core/ext/client_config/lb_policy_factory.c',
485 'src/core/ext/client_config/lb_policy_registry.c',
David Garcia Quintas9885bff2016-04-07 17:31:29 -0700486 'src/core/ext/client_config/parse_address.c',
Craig Tiller03915e52016-04-07 09:15:10 -0700487 'src/core/ext/client_config/resolver.c',
488 'src/core/ext/client_config/resolver_factory.c',
489 'src/core/ext/client_config/resolver_registry.c',
490 'src/core/ext/client_config/subchannel.c',
491 'src/core/ext/client_config/subchannel_call_holder.c',
492 'src/core/ext/client_config/subchannel_index.c',
493 'src/core/ext/client_config/uri_parser.c',
494 'src/core/ext/transport/chttp2/server/insecure/server_chttp2.c',
495 'src/core/ext/transport/chttp2/client/insecure/channel_create.c',
496 'src/core/ext/lb_policy/grpclb/load_balancer_api.c',
497 'src/core/ext/lb_policy/grpclb/proto/grpc/lb/v0/load_balancer.pb.c',
Craig Tillereb841e22016-02-11 15:49:16 -0800498 'third_party/nanopb/pb_common.c',
499 'third_party/nanopb/pb_decode.c',
Craig Tiller03915e52016-04-07 09:15:10 -0700500 'third_party/nanopb/pb_encode.c',
501 'src/core/ext/lb_policy/pick_first/pick_first.c',
502 'src/core/ext/lb_policy/round_robin/round_robin.c',
503 'src/core/ext/resolver/dns/native/dns_resolver.c',
504 'src/core/ext/resolver/sockaddr/sockaddr_resolver.c',
505 'src/core/ext/census/context.c',
506 'src/core/ext/census/grpc_context.c',
507 'src/core/ext/census/grpc_filter.c',
508 'src/core/ext/census/grpc_plugin.c',
509 'src/core/ext/census/initialize.c',
510 'src/core/ext/census/mlog.c',
511 'src/core/ext/census/operation.c',
512 'src/core/ext/census/placeholders.c',
513 'src/core/ext/census/tracing.c',
514 'src/core/plugin_registry/grpc_plugin_registry.c'
Craig Tillereb327fb2015-06-23 16:51:38 -0700515
Craig Tillerf23078c2016-03-25 17:07:29 -0700516 ss.private_header_files = 'src/core/lib/profiling/timers.h',
517 'src/core/lib/support/backoff.h',
518 'src/core/lib/support/block_annotate.h',
519 'src/core/lib/support/env.h',
520 'src/core/lib/support/load_file.h',
521 'src/core/lib/support/murmur_hash.h',
522 'src/core/lib/support/stack_lockfree.h',
523 'src/core/lib/support/string.h',
524 'src/core/lib/support/string_win32.h',
525 'src/core/lib/support/thd_internal.h',
526 'src/core/lib/support/time_precise.h',
527 'src/core/lib/support/tmpfile.h',
Craig Tillerf23078c2016-03-25 17:07:29 -0700528 'src/core/lib/channel/channel_args.h',
529 'src/core/lib/channel/channel_stack.h',
530 'src/core/lib/channel/channel_stack_builder.h',
Craig Tillerf23078c2016-03-25 17:07:29 -0700531 'src/core/lib/channel/compress_filter.h',
532 'src/core/lib/channel/connected_channel.h',
533 'src/core/lib/channel/context.h',
534 'src/core/lib/channel/http_client_filter.h',
535 'src/core/lib/channel/http_server_filter.h',
Craig Tillerf23078c2016-03-25 17:07:29 -0700536 'src/core/lib/compression/algorithm_metadata.h',
537 'src/core/lib/compression/message_compress.h',
538 'src/core/lib/debug/trace.h',
539 'src/core/lib/http/format_request.h',
540 'src/core/lib/http/httpcli.h',
541 'src/core/lib/http/parser.h',
542 'src/core/lib/iomgr/closure.h',
543 'src/core/lib/iomgr/endpoint.h',
544 'src/core/lib/iomgr/endpoint_pair.h',
Craig Tiller27f59af2016-04-28 14:19:48 -0700545 'src/core/lib/iomgr/error.h',
Craig Tiller8a034482016-03-28 16:09:04 -0700546 'src/core/lib/iomgr/ev_poll_and_epoll_posix.h',
547 'src/core/lib/iomgr/ev_posix.h',
Craig Tillerf23078c2016-03-25 17:07:29 -0700548 'src/core/lib/iomgr/exec_ctx.h',
549 'src/core/lib/iomgr/executor.h',
Craig Tillerf23078c2016-03-25 17:07:29 -0700550 'src/core/lib/iomgr/iocp_windows.h',
551 'src/core/lib/iomgr/iomgr.h',
552 'src/core/lib/iomgr/iomgr_internal.h',
553 'src/core/lib/iomgr/iomgr_posix.h',
554 'src/core/lib/iomgr/pollset.h',
Craig Tillerf23078c2016-03-25 17:07:29 -0700555 'src/core/lib/iomgr/pollset_set.h',
Craig Tillerf23078c2016-03-25 17:07:29 -0700556 'src/core/lib/iomgr/pollset_set_windows.h',
557 'src/core/lib/iomgr/pollset_windows.h',
558 'src/core/lib/iomgr/resolve_address.h',
559 'src/core/lib/iomgr/sockaddr.h',
560 'src/core/lib/iomgr/sockaddr_posix.h',
561 'src/core/lib/iomgr/sockaddr_utils.h',
562 'src/core/lib/iomgr/sockaddr_win32.h',
563 'src/core/lib/iomgr/socket_utils_posix.h',
564 'src/core/lib/iomgr/socket_windows.h',
565 'src/core/lib/iomgr/tcp_client.h',
566 'src/core/lib/iomgr/tcp_posix.h',
567 'src/core/lib/iomgr/tcp_server.h',
568 'src/core/lib/iomgr/tcp_windows.h',
569 'src/core/lib/iomgr/time_averaged_stats.h',
570 'src/core/lib/iomgr/timer.h',
571 'src/core/lib/iomgr/timer_heap.h',
572 'src/core/lib/iomgr/udp_server.h',
573 'src/core/lib/iomgr/unix_sockets_posix.h',
574 'src/core/lib/iomgr/wakeup_fd_pipe.h',
575 'src/core/lib/iomgr/wakeup_fd_posix.h',
576 'src/core/lib/iomgr/workqueue.h',
577 'src/core/lib/iomgr/workqueue_posix.h',
578 'src/core/lib/iomgr/workqueue_windows.h',
579 'src/core/lib/json/json.h',
580 'src/core/lib/json/json_common.h',
581 'src/core/lib/json/json_reader.h',
582 'src/core/lib/json/json_writer.h',
Craig Tillerf23078c2016-03-25 17:07:29 -0700583 'src/core/lib/surface/api_trace.h',
584 'src/core/lib/surface/call.h',
585 'src/core/lib/surface/call_test_only.h',
586 'src/core/lib/surface/channel.h',
587 'src/core/lib/surface/channel_init.h',
588 'src/core/lib/surface/channel_stack_type.h',
589 'src/core/lib/surface/completion_queue.h',
590 'src/core/lib/surface/event_string.h',
591 'src/core/lib/surface/init.h',
592 'src/core/lib/surface/lame_client.h',
593 'src/core/lib/surface/server.h',
594 'src/core/lib/surface/surface_trace.h',
595 'src/core/lib/transport/byte_stream.h',
Craig Tillerf23078c2016-03-25 17:07:29 -0700596 'src/core/lib/transport/connectivity_state.h',
597 'src/core/lib/transport/metadata.h',
598 'src/core/lib/transport/metadata_batch.h',
599 'src/core/lib/transport/static_metadata.h',
600 'src/core/lib/transport/transport.h',
601 'src/core/lib/transport/transport_impl.h',
Craig Tiller03915e52016-04-07 09:15:10 -0700602 'src/core/ext/transport/chttp2/transport/bin_encoder.h',
603 'src/core/ext/transport/chttp2/transport/chttp2_transport.h',
604 'src/core/ext/transport/chttp2/transport/frame.h',
605 'src/core/ext/transport/chttp2/transport/frame_data.h',
606 'src/core/ext/transport/chttp2/transport/frame_goaway.h',
607 'src/core/ext/transport/chttp2/transport/frame_ping.h',
608 'src/core/ext/transport/chttp2/transport/frame_rst_stream.h',
609 'src/core/ext/transport/chttp2/transport/frame_settings.h',
610 'src/core/ext/transport/chttp2/transport/frame_window_update.h',
611 'src/core/ext/transport/chttp2/transport/hpack_encoder.h',
612 'src/core/ext/transport/chttp2/transport/hpack_parser.h',
613 'src/core/ext/transport/chttp2/transport/hpack_table.h',
614 'src/core/ext/transport/chttp2/transport/http2_errors.h',
615 'src/core/ext/transport/chttp2/transport/huffsyms.h',
616 'src/core/ext/transport/chttp2/transport/incoming_metadata.h',
617 'src/core/ext/transport/chttp2/transport/internal.h',
618 'src/core/ext/transport/chttp2/transport/status_conversion.h',
619 'src/core/ext/transport/chttp2/transport/stream_map.h',
620 'src/core/ext/transport/chttp2/transport/timeout_encoding.h',
621 'src/core/ext/transport/chttp2/transport/varint.h',
622 'src/core/ext/transport/chttp2/alpn/alpn.h',
Julien Boeuf8ca294e2016-05-02 14:56:30 -0700623 'src/core/lib/security/context/security_context.h',
624 'src/core/lib/security/credentials/composite/composite_credentials.h',
625 'src/core/lib/security/credentials/credentials.h',
626 'src/core/lib/security/credentials/fake/fake_credentials.h',
627 'src/core/lib/security/credentials/google_default/google_default_credentials.h',
628 'src/core/lib/security/credentials/iam/iam_credentials.h',
629 'src/core/lib/security/credentials/jwt/json_token.h',
630 'src/core/lib/security/credentials/jwt/jwt_credentials.h',
631 'src/core/lib/security/credentials/jwt/jwt_verifier.h',
632 'src/core/lib/security/credentials/oauth2/oauth2_credentials.h',
633 'src/core/lib/security/credentials/plugin/plugin_credentials.h',
634 'src/core/lib/security/credentials/ssl/ssl_credentials.h',
635 'src/core/lib/security/transport/auth_filters.h',
636 'src/core/lib/security/transport/handshake.h',
637 'src/core/lib/security/transport/secure_endpoint.h',
638 'src/core/lib/security/transport/security_connector.h',
639 'src/core/lib/security/util/b64.h',
640 'src/core/lib/security/util/json_util.h',
Craig Tillerf23078c2016-03-25 17:07:29 -0700641 'src/core/lib/tsi/fake_transport_security.h',
642 'src/core/lib/tsi/ssl_transport_security.h',
643 'src/core/lib/tsi/ssl_types.h',
644 'src/core/lib/tsi/transport_security.h',
645 'src/core/lib/tsi/transport_security_interface.h',
Craig Tiller03915e52016-04-07 09:15:10 -0700646 'src/core/ext/client_config/client_channel.h',
647 'src/core/ext/client_config/client_channel_factory.h',
648 'src/core/ext/client_config/client_config.h',
649 'src/core/ext/client_config/connector.h',
650 'src/core/ext/client_config/initial_connect_string.h',
651 'src/core/ext/client_config/lb_policy.h',
652 'src/core/ext/client_config/lb_policy_factory.h',
653 'src/core/ext/client_config/lb_policy_registry.h',
David Garcia Quintas9885bff2016-04-07 17:31:29 -0700654 'src/core/ext/client_config/parse_address.h',
Craig Tiller03915e52016-04-07 09:15:10 -0700655 'src/core/ext/client_config/resolver.h',
656 'src/core/ext/client_config/resolver_factory.h',
657 'src/core/ext/client_config/resolver_registry.h',
658 'src/core/ext/client_config/subchannel.h',
659 'src/core/ext/client_config/subchannel_call_holder.h',
660 'src/core/ext/client_config/subchannel_index.h',
661 'src/core/ext/client_config/uri_parser.h',
662 'src/core/ext/lb_policy/grpclb/load_balancer_api.h',
663 'src/core/ext/lb_policy/grpclb/proto/grpc/lb/v0/load_balancer.pb.h',
Craig Tillereb841e22016-02-11 15:49:16 -0800664 'third_party/nanopb/pb.h',
665 'third_party/nanopb/pb_common.h',
666 'third_party/nanopb/pb_decode.h',
Craig Tiller03915e52016-04-07 09:15:10 -0700667 'third_party/nanopb/pb_encode.h',
668 'src/core/ext/census/aggregation.h',
669 'src/core/ext/census/census_interface.h',
670 'src/core/ext/census/census_rpc_stats.h',
671 'src/core/ext/census/grpc_filter.h',
672 'src/core/ext/census/mlog.h',
673 'src/core/ext/census/rpc_metric_id.h'
Craig Tillereb327fb2015-06-23 16:51:38 -0700674
Jorge Canizalesea9b4fd2015-06-21 13:37:28 -0700675 ss.header_mappings_dir = '.'
Jorge Canizales951875f2015-10-13 18:36:00 -0700676 # This isn't officially supported in Cocoapods. We've asked for an alternative:
677 # https://github.com/CocoaPods/CocoaPods/issues/4386
Jorge Canizales10622a82015-10-28 07:10:47 -0700678 ss.xcconfig = {
679 'USE_HEADERMAP' => 'NO',
680 'ALWAYS_SEARCH_USER_PATHS' => 'NO',
681 'USER_HEADER_SEARCH_PATHS' => '"$(PODS_ROOT)/Headers/Private/gRPC"',
682 'HEADER_SEARCH_PATHS' => '"$(PODS_ROOT)/Headers/Private/gRPC/include"'
683 }
Jorge Canizalesc2d7ecb2015-02-27 01:22:41 -0800684
Jorge Canizalesea9b4fd2015-06-21 13:37:28 -0700685 ss.requires_arc = false
686 ss.libraries = 'z'
Jorge Canizales83f746b2016-01-25 15:47:26 -0800687 ss.dependency 'BoringSSL', '~> 2.0'
Jorge Canizales63c3efb2015-07-17 18:53:20 -0700688
689 # ss.compiler_flags = '-GCC_WARN_INHIBIT_ALL_WARNINGS', '-w'
Jorge Canizalesc2d7ecb2015-02-27 01:22:41 -0800690 end
691
Jorge Canizales461b0942015-06-02 20:40:50 -0700692 # Objective-C wrapper around the core gRPC library.
Jorge Canizalesea9b4fd2015-06-21 13:37:28 -0700693 s.subspec 'GRPCClient' do |ss|
694 src_dir = "#{objc_dir}/GRPCClient"
695 ss.source_files = "#{src_dir}/*.{h,m}", "#{src_dir}/**/*.{h,m}"
696 ss.private_header_files = "#{src_dir}/private/*.h"
697 ss.header_mappings_dir = "#{objc_dir}"
Jorge Canizalesc2d7ecb2015-02-27 01:22:41 -0800698
Jorge Canizalesea9b4fd2015-06-21 13:37:28 -0700699 ss.dependency 'gRPC/C-Core'
700 ss.dependency 'gRPC/RxLibrary'
Jorge Canizalesba37a3e2015-03-23 15:34:58 -0700701
Jorge Canizales8957cae2015-04-22 23:40:18 -0700702 # Certificates, to be able to establish TLS connections:
Jorge Canizalesbb54ae82015-06-28 06:50:58 -0700703 ss.resource_bundles = { 'gRPCCertificates' => ['etc/roots.pem'] }
Jorge Canizales8957cae2015-04-22 23:40:18 -0700704 end
705
Jorge Canizales461b0942015-06-02 20:40:50 -0700706 # RPC library for ProtocolBuffers, based on gRPC
Jorge Canizalesea9b4fd2015-06-21 13:37:28 -0700707 s.subspec 'ProtoRPC' do |ss|
708 src_dir = "#{objc_dir}/ProtoRPC"
709 ss.source_files = "#{src_dir}/*.{h,m}"
710 ss.header_mappings_dir = "#{objc_dir}"
Jorge Canizales8957cae2015-04-22 23:40:18 -0700711
Jorge Canizalesea9b4fd2015-06-21 13:37:28 -0700712 ss.dependency 'gRPC/GRPCClient'
713 ss.dependency 'gRPC/RxLibrary'
Craig Tillerba496452015-09-21 17:15:19 -0700714 ss.dependency 'Protobuf', '~> 3.0.0-alpha-4'
Jorge Canizales8957cae2015-04-22 23:40:18 -0700715 end
Jorge Canizalesc2d7ecb2015-02-27 01:22:41 -0800716end