blob: 4cafd8c3c0644062c152bf853eff224b01261939 [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|
Nicolas "Pixel" Noble09121792016-01-30 09:01:53 +010066 ss.source_files = 'src/core/security/auth_filters.h',
Craig Tillereb327fb2015-06-23 16:51:38 -070067 'src/core/security/base64.h',
68 'src/core/security/credentials.h',
Julien Boeuf87047d72015-08-21 14:30:33 -070069 'src/core/security/handshake.h',
Craig Tillereb327fb2015-06-23 16:51:38 -070070 'src/core/security/json_token.h',
Julien Boeuffeca1bf2015-06-22 16:46:20 +020071 'src/core/security/jwt_verifier.h',
Craig Tillereb327fb2015-06-23 16:51:38 -070072 'src/core/security/secure_endpoint.h',
Craig Tillereb327fb2015-06-23 16:51:38 -070073 'src/core/security/security_connector.h',
74 'src/core/security/security_context.h',
75 'src/core/tsi/fake_transport_security.h',
76 'src/core/tsi/ssl_transport_security.h',
Craig Tiller0fe5ee72015-12-22 12:50:36 -080077 'src/core/tsi/ssl_types.h',
Craig Tillereb327fb2015-06-23 16:51:38 -070078 'src/core/tsi/transport_security.h',
79 'src/core/tsi/transport_security_interface.h',
Hongyu Chene09dc782015-08-21 11:28:33 -070080 'src/core/census/grpc_filter.h',
Craig Tillereb327fb2015-06-23 16:51:38 -070081 'src/core/channel/channel_args.h',
82 'src/core/channel/channel_stack.h',
Craig Tillereb327fb2015-06-23 16:51:38 -070083 'src/core/channel/client_channel.h',
David Garcia Quintas7b1bd2c2015-10-05 18:22:10 -070084 'src/core/channel/client_uchannel.h',
David Garcia Quintas8a187092015-07-01 14:52:44 -070085 'src/core/channel/compress_filter.h',
Craig Tillereb327fb2015-06-23 16:51:38 -070086 'src/core/channel/connected_channel.h',
87 'src/core/channel/context.h',
88 'src/core/channel/http_client_filter.h',
89 'src/core/channel/http_server_filter.h',
Craig Tillerca1593a2015-11-02 14:08:33 -080090 'src/core/channel/subchannel_call_holder.h',
Craig Tiller4b628112015-06-25 08:58:23 -070091 'src/core/client_config/client_config.h',
Craig Tiller91624662015-06-25 16:31:02 -070092 'src/core/client_config/connector.h',
yang-ga6124122015-11-05 22:36:20 -080093 'src/core/client_config/initial_connect_string.h',
Craig Tiller4b628112015-06-25 08:58:23 -070094 'src/core/client_config/lb_policies/pick_first.h',
David Garcia Quintas4fb049b2015-09-03 17:26:06 -070095 'src/core/client_config/lb_policies/round_robin.h',
Craig Tiller4b628112015-06-25 08:58:23 -070096 'src/core/client_config/lb_policy.h',
David Garcia Quintas5c4543d2015-09-03 15:49:56 -070097 'src/core/client_config/lb_policy_factory.h',
98 'src/core/client_config/lb_policy_registry.h',
Craig Tiller4b628112015-06-25 08:58:23 -070099 'src/core/client_config/resolver.h',
100 'src/core/client_config/resolver_factory.h',
101 'src/core/client_config/resolver_registry.h',
102 'src/core/client_config/resolvers/dns_resolver.h',
Craig Tiller698d00c2015-07-20 12:32:58 -0700103 'src/core/client_config/resolvers/sockaddr_resolver.h',
Craig Tiller4b628112015-06-25 08:58:23 -0700104 'src/core/client_config/subchannel.h',
105 'src/core/client_config/subchannel_factory.h',
106 'src/core/client_config/uri_parser.h',
Craig Tillerebdef9d2015-11-19 17:09:49 -0800107 'src/core/compression/algorithm_metadata.h',
Craig Tillereb327fb2015-06-23 16:51:38 -0700108 'src/core/compression/message_compress.h',
109 'src/core/debug/trace.h',
Craig Tillerf53d9c82015-08-04 14:19:43 -0700110 'src/core/httpcli/format_request.h',
111 'src/core/httpcli/httpcli.h',
112 'src/core/httpcli/parser.h',
Craig Tiller298751c2015-09-22 09:41:05 -0700113 'src/core/iomgr/closure.h',
Craig Tillereb327fb2015-06-23 16:51:38 -0700114 'src/core/iomgr/endpoint.h',
115 'src/core/iomgr/endpoint_pair.h',
Craig Tiller298751c2015-09-22 09:41:05 -0700116 'src/core/iomgr/exec_ctx.h',
David Garcia Quintas4bc34632015-10-07 16:12:35 -0700117 'src/core/iomgr/executor.h',
Craig Tillereb327fb2015-06-23 16:51:38 -0700118 'src/core/iomgr/fd_posix.h',
119 'src/core/iomgr/iocp_windows.h',
120 'src/core/iomgr/iomgr.h',
121 'src/core/iomgr/iomgr_internal.h',
122 'src/core/iomgr/iomgr_posix.h',
123 'src/core/iomgr/pollset.h',
Craig Tillereb327fb2015-06-23 16:51:38 -0700124 'src/core/iomgr/pollset_posix.h',
125 'src/core/iomgr/pollset_set.h',
126 'src/core/iomgr/pollset_set_posix.h',
127 'src/core/iomgr/pollset_set_windows.h',
128 'src/core/iomgr/pollset_windows.h',
129 'src/core/iomgr/resolve_address.h',
130 'src/core/iomgr/sockaddr.h',
131 'src/core/iomgr/sockaddr_posix.h',
132 'src/core/iomgr/sockaddr_utils.h',
133 'src/core/iomgr/sockaddr_win32.h',
134 'src/core/iomgr/socket_utils_posix.h',
135 'src/core/iomgr/socket_windows.h',
136 'src/core/iomgr/tcp_client.h',
137 'src/core/iomgr/tcp_posix.h',
138 'src/core/iomgr/tcp_server.h',
139 'src/core/iomgr/tcp_windows.h',
140 'src/core/iomgr/time_averaged_stats.h',
David Garcia Quintasb65e4212015-10-14 12:00:21 -0700141 'src/core/iomgr/timer.h',
142 'src/core/iomgr/timer_heap.h',
143 'src/core/iomgr/timer_internal.h',
Robbie Shade69535292015-07-10 14:27:34 -0400144 'src/core/iomgr/udp_server.h',
Craig Tillereb327fb2015-06-23 16:51:38 -0700145 'src/core/iomgr/wakeup_fd_pipe.h',
146 'src/core/iomgr/wakeup_fd_posix.h',
Craig Tiller73b66062015-09-09 09:34:46 -0700147 'src/core/iomgr/workqueue.h',
148 'src/core/iomgr/workqueue_posix.h',
149 'src/core/iomgr/workqueue_windows.h',
Craig Tillereb327fb2015-06-23 16:51:38 -0700150 'src/core/json/json.h',
151 'src/core/json/json_common.h',
152 'src/core/json/json_reader.h',
153 'src/core/json/json_writer.h',
yang-g31ff8bc2015-08-25 14:09:06 -0700154 'src/core/statistics/census_interface.h',
155 'src/core/statistics/census_rpc_stats.h',
Masood Malekghassemi92298102015-08-20 18:50:17 -0700156 'src/core/surface/api_trace.h',
Craig Tillereb327fb2015-06-23 16:51:38 -0700157 'src/core/surface/call.h',
David Garcia Quintas0c331882015-10-08 14:51:54 -0700158 'src/core/surface/call_test_only.h',
Craig Tillereb327fb2015-06-23 16:51:38 -0700159 'src/core/surface/channel.h',
Craig Tillereb327fb2015-06-23 16:51:38 -0700160 'src/core/surface/completion_queue.h',
161 'src/core/surface/event_string.h',
162 'src/core/surface/init.h',
163 'src/core/surface/server.h',
164 'src/core/surface/surface_trace.h',
Craig Tillerca1593a2015-11-02 14:08:33 -0800165 'src/core/transport/byte_stream.h',
Craig Tillereb327fb2015-06-23 16:51:38 -0700166 'src/core/transport/chttp2/alpn.h',
167 'src/core/transport/chttp2/bin_encoder.h',
168 'src/core/transport/chttp2/frame.h',
169 'src/core/transport/chttp2/frame_data.h',
170 'src/core/transport/chttp2/frame_goaway.h',
171 'src/core/transport/chttp2/frame_ping.h',
172 'src/core/transport/chttp2/frame_rst_stream.h',
173 'src/core/transport/chttp2/frame_settings.h',
174 'src/core/transport/chttp2/frame_window_update.h',
Craig Tillerca1593a2015-11-02 14:08:33 -0800175 'src/core/transport/chttp2/hpack_encoder.h',
Craig Tillereb327fb2015-06-23 16:51:38 -0700176 'src/core/transport/chttp2/hpack_parser.h',
177 'src/core/transport/chttp2/hpack_table.h',
178 'src/core/transport/chttp2/http2_errors.h',
179 'src/core/transport/chttp2/huffsyms.h',
Craig Tiller6e8c7e82015-06-25 08:52:40 -0700180 'src/core/transport/chttp2/incoming_metadata.h',
181 'src/core/transport/chttp2/internal.h',
Craig Tillereb327fb2015-06-23 16:51:38 -0700182 'src/core/transport/chttp2/status_conversion.h',
Craig Tillereb327fb2015-06-23 16:51:38 -0700183 'src/core/transport/chttp2/stream_map.h',
184 'src/core/transport/chttp2/timeout_encoding.h',
185 'src/core/transport/chttp2/varint.h',
186 'src/core/transport/chttp2_transport.h',
Craig Tiller08a1cf82015-06-29 09:37:52 -0700187 'src/core/transport/connectivity_state.h',
Craig Tillereb327fb2015-06-23 16:51:38 -0700188 'src/core/transport/metadata.h',
Craig Tillerca1593a2015-11-02 14:08:33 -0800189 'src/core/transport/metadata_batch.h',
Craig Tiller2e7687c2015-11-18 14:56:46 -0800190 'src/core/transport/static_metadata.h',
Craig Tillereb327fb2015-06-23 16:51:38 -0700191 'src/core/transport/transport.h',
192 'src/core/transport/transport_impl.h',
Nicolas "Pixel" Noble09121792016-01-30 09:01:53 +0100193 'src/core/profiling/timers.h',
194 'src/core/support/block_annotate.h',
195 'src/core/support/env.h',
196 'src/core/support/file.h',
197 'src/core/support/murmur_hash.h',
198 'src/core/support/stack_lockfree.h',
199 'src/core/support/string.h',
200 'src/core/support/string_win32.h',
201 'src/core/support/thd_internal.h',
202 'src/core/support/time_precise.h',
Alistair Veitch1c09acc2015-08-31 16:57:32 -0700203 'src/core/census/aggregation.h',
Alistair Veitch9a099822015-08-27 13:16:00 -0700204 'src/core/census/rpc_metric_id.h',
Jorge Canizales0c8a3d82015-10-13 13:04:54 -0700205 'include/grpc/grpc_security.h',
206 'include/grpc/byte_buffer.h',
207 'include/grpc/byte_buffer_reader.h',
208 'include/grpc/compression.h',
209 'include/grpc/grpc.h',
210 'include/grpc/status.h',
Nicolas "Pixel" Noble09121792016-01-30 09:01:53 +0100211 'include/grpc/support/alloc.h',
212 'include/grpc/support/atm.h',
213 'include/grpc/support/atm_gcc_atomic.h',
214 'include/grpc/support/atm_gcc_sync.h',
215 'include/grpc/support/atm_win32.h',
216 'include/grpc/support/avl.h',
217 'include/grpc/support/cmdline.h',
218 'include/grpc/support/cpu.h',
219 'include/grpc/support/histogram.h',
220 'include/grpc/support/host_port.h',
221 'include/grpc/support/log.h',
222 'include/grpc/support/log_win32.h',
223 'include/grpc/support/port_platform.h',
224 'include/grpc/support/slice.h',
225 'include/grpc/support/slice_buffer.h',
226 'include/grpc/support/string_util.h',
227 'include/grpc/support/subprocess.h',
228 'include/grpc/support/sync.h',
229 'include/grpc/support/sync_generic.h',
230 'include/grpc/support/sync_posix.h',
231 'include/grpc/support/sync_win32.h',
232 'include/grpc/support/thd.h',
233 'include/grpc/support/time.h',
234 'include/grpc/support/tls.h',
235 'include/grpc/support/tls_gcc.h',
236 'include/grpc/support/tls_msvc.h',
237 'include/grpc/support/tls_pthread.h',
238 'include/grpc/support/useful.h',
239 'include/grpc/impl/codegen/alloc.h',
240 'include/grpc/impl/codegen/atm.h',
241 'include/grpc/impl/codegen/atm_gcc_atomic.h',
242 'include/grpc/impl/codegen/atm_gcc_sync.h',
243 'include/grpc/impl/codegen/atm_win32.h',
244 'include/grpc/impl/codegen/byte_buffer.h',
245 'include/grpc/impl/codegen/compression_types.h',
246 'include/grpc/impl/codegen/connectivity_state.h',
247 'include/grpc/impl/codegen/grpc_types.h',
248 'include/grpc/impl/codegen/log.h',
249 'include/grpc/impl/codegen/port_platform.h',
250 'include/grpc/impl/codegen/propagation_bits.h',
251 'include/grpc/impl/codegen/slice.h',
252 'include/grpc/impl/codegen/slice_buffer.h',
253 'include/grpc/impl/codegen/status.h',
254 'include/grpc/impl/codegen/sync.h',
255 'include/grpc/impl/codegen/sync_generic.h',
256 'include/grpc/impl/codegen/sync_posix.h',
257 'include/grpc/impl/codegen/sync_win32.h',
258 'include/grpc/impl/codegen/time.h',
Jorge Canizales0c8a3d82015-10-13 13:04:54 -0700259 'include/grpc/census.h',
Craig Tillereb327fb2015-06-23 16:51:38 -0700260 'src/core/httpcli/httpcli_security_connector.c',
Craig Tillereb327fb2015-06-23 16:51:38 -0700261 'src/core/security/base64.c',
262 'src/core/security/client_auth_filter.c',
263 'src/core/security/credentials.c',
264 'src/core/security/credentials_metadata.c',
265 'src/core/security/credentials_posix.c',
266 'src/core/security/credentials_win32.c',
267 'src/core/security/google_default_credentials.c',
Julien Boeuf87047d72015-08-21 14:30:33 -0700268 'src/core/security/handshake.c',
Craig Tillereb327fb2015-06-23 16:51:38 -0700269 'src/core/security/json_token.c',
Julien Boeuffeca1bf2015-06-22 16:46:20 +0200270 'src/core/security/jwt_verifier.c',
Craig Tillereb327fb2015-06-23 16:51:38 -0700271 'src/core/security/secure_endpoint.c',
Craig Tillereb327fb2015-06-23 16:51:38 -0700272 'src/core/security/security_connector.c',
273 'src/core/security/security_context.c',
274 'src/core/security/server_auth_filter.c',
275 'src/core/security/server_secure_chttp2.c',
276 'src/core/surface/init_secure.c',
277 'src/core/surface/secure_channel_create.c',
278 'src/core/tsi/fake_transport_security.c',
279 'src/core/tsi/ssl_transport_security.c',
280 'src/core/tsi/transport_security.c',
281 'src/core/census/grpc_context.c',
Hongyu Chene09dc782015-08-21 11:28:33 -0700282 'src/core/census/grpc_filter.c',
Craig Tillereb327fb2015-06-23 16:51:38 -0700283 'src/core/channel/channel_args.c',
284 'src/core/channel/channel_stack.c',
Craig Tillereb327fb2015-06-23 16:51:38 -0700285 'src/core/channel/client_channel.c',
David Garcia Quintas7b1bd2c2015-10-05 18:22:10 -0700286 'src/core/channel/client_uchannel.c',
David Garcia Quintas8a187092015-07-01 14:52:44 -0700287 'src/core/channel/compress_filter.c',
Craig Tillereb327fb2015-06-23 16:51:38 -0700288 'src/core/channel/connected_channel.c',
289 'src/core/channel/http_client_filter.c',
290 'src/core/channel/http_server_filter.c',
Craig Tillerca1593a2015-11-02 14:08:33 -0800291 'src/core/channel/subchannel_call_holder.c',
Craig Tiller4b628112015-06-25 08:58:23 -0700292 'src/core/client_config/client_config.c',
Craig Tiller91624662015-06-25 16:31:02 -0700293 'src/core/client_config/connector.c',
yang-ga6124122015-11-05 22:36:20 -0800294 'src/core/client_config/default_initial_connect_string.c',
295 'src/core/client_config/initial_connect_string.c',
Craig Tiller4b628112015-06-25 08:58:23 -0700296 'src/core/client_config/lb_policies/pick_first.c',
David Garcia Quintas4fb049b2015-09-03 17:26:06 -0700297 'src/core/client_config/lb_policies/round_robin.c',
Craig Tiller4b628112015-06-25 08:58:23 -0700298 'src/core/client_config/lb_policy.c',
David Garcia Quintas5c4543d2015-09-03 15:49:56 -0700299 'src/core/client_config/lb_policy_factory.c',
300 'src/core/client_config/lb_policy_registry.c',
Craig Tiller4b628112015-06-25 08:58:23 -0700301 'src/core/client_config/resolver.c',
302 'src/core/client_config/resolver_factory.c',
303 'src/core/client_config/resolver_registry.c',
304 'src/core/client_config/resolvers/dns_resolver.c',
Craig Tiller698d00c2015-07-20 12:32:58 -0700305 'src/core/client_config/resolvers/sockaddr_resolver.c',
Craig Tiller4b628112015-06-25 08:58:23 -0700306 'src/core/client_config/subchannel.c',
307 'src/core/client_config/subchannel_factory.c',
308 'src/core/client_config/uri_parser.c',
Craig Tillereb327fb2015-06-23 16:51:38 -0700309 'src/core/compression/algorithm.c',
310 'src/core/compression/message_compress.c',
311 'src/core/debug/trace.c',
Craig Tillerf53d9c82015-08-04 14:19:43 -0700312 'src/core/httpcli/format_request.c',
313 'src/core/httpcli/httpcli.c',
314 'src/core/httpcli/parser.c',
Craig Tiller298751c2015-09-22 09:41:05 -0700315 'src/core/iomgr/closure.c',
Craig Tillereb327fb2015-06-23 16:51:38 -0700316 'src/core/iomgr/endpoint.c',
317 'src/core/iomgr/endpoint_pair_posix.c',
318 'src/core/iomgr/endpoint_pair_windows.c',
Craig Tiller8af4c332015-09-22 12:32:31 -0700319 'src/core/iomgr/exec_ctx.c',
David Garcia Quintas4bc34632015-10-07 16:12:35 -0700320 'src/core/iomgr/executor.c',
Craig Tillereb327fb2015-06-23 16:51:38 -0700321 'src/core/iomgr/fd_posix.c',
322 'src/core/iomgr/iocp_windows.c',
323 'src/core/iomgr/iomgr.c',
324 'src/core/iomgr/iomgr_posix.c',
325 'src/core/iomgr/iomgr_windows.c',
Craig Tillereb327fb2015-06-23 16:51:38 -0700326 'src/core/iomgr/pollset_multipoller_with_epoll.c',
327 'src/core/iomgr/pollset_multipoller_with_poll_posix.c',
328 'src/core/iomgr/pollset_posix.c',
329 'src/core/iomgr/pollset_set_posix.c',
330 'src/core/iomgr/pollset_set_windows.c',
331 'src/core/iomgr/pollset_windows.c',
332 'src/core/iomgr/resolve_address_posix.c',
333 'src/core/iomgr/resolve_address_windows.c',
334 'src/core/iomgr/sockaddr_utils.c',
335 'src/core/iomgr/socket_utils_common_posix.c',
336 'src/core/iomgr/socket_utils_linux.c',
337 'src/core/iomgr/socket_utils_posix.c',
338 'src/core/iomgr/socket_windows.c',
339 'src/core/iomgr/tcp_client_posix.c',
340 'src/core/iomgr/tcp_client_windows.c',
341 'src/core/iomgr/tcp_posix.c',
342 'src/core/iomgr/tcp_server_posix.c',
343 'src/core/iomgr/tcp_server_windows.c',
344 'src/core/iomgr/tcp_windows.c',
345 'src/core/iomgr/time_averaged_stats.c',
David Garcia Quintasb65e4212015-10-14 12:00:21 -0700346 'src/core/iomgr/timer.c',
347 'src/core/iomgr/timer_heap.c',
Robbie Shade69535292015-07-10 14:27:34 -0400348 'src/core/iomgr/udp_server.c',
Craig Tillereb327fb2015-06-23 16:51:38 -0700349 'src/core/iomgr/wakeup_fd_eventfd.c',
350 'src/core/iomgr/wakeup_fd_nospecial.c',
351 'src/core/iomgr/wakeup_fd_pipe.c',
352 'src/core/iomgr/wakeup_fd_posix.c',
Craig Tiller73b66062015-09-09 09:34:46 -0700353 'src/core/iomgr/workqueue_posix.c',
354 'src/core/iomgr/workqueue_windows.c',
Craig Tillereb327fb2015-06-23 16:51:38 -0700355 'src/core/json/json.c',
356 'src/core/json/json_reader.c',
357 'src/core/json/json_string.c',
358 'src/core/json/json_writer.c',
Alistair Veitch75d5c0f2016-02-02 09:43:02 -0800359 'src/core/surface/alarm.c',
Masood Malekghassemife1093c2015-08-19 19:15:24 -0700360 'src/core/surface/api_trace.c',
Craig Tillereb327fb2015-06-23 16:51:38 -0700361 'src/core/surface/byte_buffer.c',
Craig Tillereb327fb2015-06-23 16:51:38 -0700362 'src/core/surface/byte_buffer_reader.c',
363 'src/core/surface/call.c',
364 'src/core/surface/call_details.c',
365 'src/core/surface/call_log_batch.c',
366 'src/core/surface/channel.c',
Craig Tiller48cb07c2015-07-15 16:16:15 -0700367 'src/core/surface/channel_connectivity.c',
Craig Tillereb327fb2015-06-23 16:51:38 -0700368 'src/core/surface/channel_create.c',
Craig Tiller26dab312015-12-07 14:43:47 -0800369 'src/core/surface/channel_ping.c',
Craig Tillereb327fb2015-06-23 16:51:38 -0700370 'src/core/surface/completion_queue.c',
371 'src/core/surface/event_string.c',
372 'src/core/surface/init.c',
373 'src/core/surface/lame_client.c',
374 'src/core/surface/metadata_array.c',
375 'src/core/surface/server.c',
376 'src/core/surface/server_chttp2.c',
377 'src/core/surface/server_create.c',
murgatroid99c3910ca2016-01-06 13:14:23 -0800378 'src/core/surface/validate_metadata.c',
Craig Tiller2e622bc2015-07-10 07:46:03 -0700379 'src/core/surface/version.c',
Craig Tillerca1593a2015-11-02 14:08:33 -0800380 'src/core/transport/byte_stream.c',
Craig Tillereb327fb2015-06-23 16:51:38 -0700381 'src/core/transport/chttp2/alpn.c',
382 'src/core/transport/chttp2/bin_encoder.c',
383 'src/core/transport/chttp2/frame_data.c',
384 'src/core/transport/chttp2/frame_goaway.c',
385 'src/core/transport/chttp2/frame_ping.c',
386 'src/core/transport/chttp2/frame_rst_stream.c',
387 'src/core/transport/chttp2/frame_settings.c',
388 'src/core/transport/chttp2/frame_window_update.c',
Craig Tillerca1593a2015-11-02 14:08:33 -0800389 'src/core/transport/chttp2/hpack_encoder.c',
Craig Tillereb327fb2015-06-23 16:51:38 -0700390 'src/core/transport/chttp2/hpack_parser.c',
391 'src/core/transport/chttp2/hpack_table.c',
392 'src/core/transport/chttp2/huffsyms.c',
Craig Tiller6e8c7e82015-06-25 08:52:40 -0700393 'src/core/transport/chttp2/incoming_metadata.c',
394 'src/core/transport/chttp2/parsing.c',
Craig Tillereb327fb2015-06-23 16:51:38 -0700395 'src/core/transport/chttp2/status_conversion.c',
Craig Tiller6e8c7e82015-06-25 08:52:40 -0700396 'src/core/transport/chttp2/stream_lists.c',
Craig Tillereb327fb2015-06-23 16:51:38 -0700397 'src/core/transport/chttp2/stream_map.c',
398 'src/core/transport/chttp2/timeout_encoding.c',
399 'src/core/transport/chttp2/varint.c',
Craig Tiller6e8c7e82015-06-25 08:52:40 -0700400 'src/core/transport/chttp2/writing.c',
Craig Tillereb327fb2015-06-23 16:51:38 -0700401 'src/core/transport/chttp2_transport.c',
Craig Tiller08a1cf82015-06-29 09:37:52 -0700402 'src/core/transport/connectivity_state.c',
Craig Tillereb327fb2015-06-23 16:51:38 -0700403 'src/core/transport/metadata.c',
Craig Tillerca1593a2015-11-02 14:08:33 -0800404 'src/core/transport/metadata_batch.c',
Craig Tiller2e7687c2015-11-18 14:56:46 -0800405 'src/core/transport/static_metadata.c',
Craig Tillereb327fb2015-06-23 16:51:38 -0700406 'src/core/transport/transport.c',
407 'src/core/transport/transport_op_string.c',
Nicolas "Pixel" Noble09121792016-01-30 09:01:53 +0100408 'src/core/profiling/basic_timers.c',
409 'src/core/profiling/stap_timers.c',
410 'src/core/support/alloc.c',
411 'src/core/support/avl.c',
412 'src/core/support/cmdline.c',
413 'src/core/support/cpu_iphone.c',
414 'src/core/support/cpu_linux.c',
415 'src/core/support/cpu_posix.c',
416 'src/core/support/cpu_windows.c',
417 'src/core/support/env_linux.c',
418 'src/core/support/env_posix.c',
419 'src/core/support/env_win32.c',
420 'src/core/support/file.c',
421 'src/core/support/file_posix.c',
422 'src/core/support/file_win32.c',
423 'src/core/support/histogram.c',
424 'src/core/support/host_port.c',
425 'src/core/support/log.c',
426 'src/core/support/log_android.c',
427 'src/core/support/log_linux.c',
428 'src/core/support/log_posix.c',
429 'src/core/support/log_win32.c',
430 'src/core/support/murmur_hash.c',
431 'src/core/support/slice.c',
432 'src/core/support/slice_buffer.c',
433 'src/core/support/stack_lockfree.c',
434 'src/core/support/string.c',
435 'src/core/support/string_posix.c',
436 'src/core/support/string_win32.c',
437 'src/core/support/subprocess_posix.c',
Nicolas "Pixel" Noble78825ca2016-01-31 07:08:20 +0100438 'src/core/support/subprocess_windows.c',
Nicolas "Pixel" Noble09121792016-01-30 09:01:53 +0100439 'src/core/support/sync.c',
440 'src/core/support/sync_posix.c',
441 'src/core/support/sync_win32.c',
442 'src/core/support/thd.c',
443 'src/core/support/thd_posix.c',
444 'src/core/support/thd_win32.c',
445 'src/core/support/time.c',
446 'src/core/support/time_posix.c',
447 'src/core/support/time_precise.c',
448 'src/core/support/time_win32.c',
449 'src/core/support/tls_pthread.c',
Nicolas "Pixel" Noble89d8ed12016-02-03 01:12:14 +0100450 'src/core/support/wrap_memcpy.c',
Craig Tillereb327fb2015-06-23 16:51:38 -0700451 'src/core/census/context.c',
Alistair Veitch635899d2015-07-17 16:02:24 -0700452 'src/core/census/initialize.c',
Alistair Veitche6d0ad32015-08-13 09:59:48 -0700453 'src/core/census/operation.c',
Alistair Veitch75d5c0f2016-02-02 09:43:02 -0800454 'src/core/census/placeholders.c',
Alistair Veitch0383d492015-07-26 15:29:00 -0700455 'src/core/census/tracing.c'
Craig Tillereb327fb2015-06-23 16:51:38 -0700456
Nicolas "Pixel" Noble09121792016-01-30 09:01:53 +0100457 ss.private_header_files = 'src/core/security/auth_filters.h',
Craig Tillereb327fb2015-06-23 16:51:38 -0700458 'src/core/security/base64.h',
459 'src/core/security/credentials.h',
Julien Boeuf87047d72015-08-21 14:30:33 -0700460 'src/core/security/handshake.h',
Craig Tillereb327fb2015-06-23 16:51:38 -0700461 'src/core/security/json_token.h',
Julien Boeuffeca1bf2015-06-22 16:46:20 +0200462 'src/core/security/jwt_verifier.h',
Craig Tillereb327fb2015-06-23 16:51:38 -0700463 'src/core/security/secure_endpoint.h',
Craig Tillereb327fb2015-06-23 16:51:38 -0700464 'src/core/security/security_connector.h',
465 'src/core/security/security_context.h',
466 'src/core/tsi/fake_transport_security.h',
467 'src/core/tsi/ssl_transport_security.h',
Craig Tiller0fe5ee72015-12-22 12:50:36 -0800468 'src/core/tsi/ssl_types.h',
Craig Tillereb327fb2015-06-23 16:51:38 -0700469 'src/core/tsi/transport_security.h',
470 'src/core/tsi/transport_security_interface.h',
Hongyu Chene09dc782015-08-21 11:28:33 -0700471 'src/core/census/grpc_filter.h',
Craig Tillereb327fb2015-06-23 16:51:38 -0700472 'src/core/channel/channel_args.h',
473 'src/core/channel/channel_stack.h',
Craig Tillereb327fb2015-06-23 16:51:38 -0700474 'src/core/channel/client_channel.h',
David Garcia Quintas7b1bd2c2015-10-05 18:22:10 -0700475 'src/core/channel/client_uchannel.h',
David Garcia Quintas8a187092015-07-01 14:52:44 -0700476 'src/core/channel/compress_filter.h',
Craig Tillereb327fb2015-06-23 16:51:38 -0700477 'src/core/channel/connected_channel.h',
478 'src/core/channel/context.h',
479 'src/core/channel/http_client_filter.h',
480 'src/core/channel/http_server_filter.h',
Craig Tillerca1593a2015-11-02 14:08:33 -0800481 'src/core/channel/subchannel_call_holder.h',
Craig Tiller4b628112015-06-25 08:58:23 -0700482 'src/core/client_config/client_config.h',
Craig Tiller91624662015-06-25 16:31:02 -0700483 'src/core/client_config/connector.h',
yang-ga6124122015-11-05 22:36:20 -0800484 'src/core/client_config/initial_connect_string.h',
Craig Tiller4b628112015-06-25 08:58:23 -0700485 'src/core/client_config/lb_policies/pick_first.h',
David Garcia Quintas4fb049b2015-09-03 17:26:06 -0700486 'src/core/client_config/lb_policies/round_robin.h',
Craig Tiller4b628112015-06-25 08:58:23 -0700487 'src/core/client_config/lb_policy.h',
David Garcia Quintas5c4543d2015-09-03 15:49:56 -0700488 'src/core/client_config/lb_policy_factory.h',
489 'src/core/client_config/lb_policy_registry.h',
Craig Tiller4b628112015-06-25 08:58:23 -0700490 'src/core/client_config/resolver.h',
491 'src/core/client_config/resolver_factory.h',
492 'src/core/client_config/resolver_registry.h',
493 'src/core/client_config/resolvers/dns_resolver.h',
Craig Tiller698d00c2015-07-20 12:32:58 -0700494 'src/core/client_config/resolvers/sockaddr_resolver.h',
Craig Tiller4b628112015-06-25 08:58:23 -0700495 'src/core/client_config/subchannel.h',
496 'src/core/client_config/subchannel_factory.h',
497 'src/core/client_config/uri_parser.h',
Craig Tillerebdef9d2015-11-19 17:09:49 -0800498 'src/core/compression/algorithm_metadata.h',
Craig Tillereb327fb2015-06-23 16:51:38 -0700499 'src/core/compression/message_compress.h',
500 'src/core/debug/trace.h',
Craig Tillerf53d9c82015-08-04 14:19:43 -0700501 'src/core/httpcli/format_request.h',
502 'src/core/httpcli/httpcli.h',
503 'src/core/httpcli/parser.h',
Craig Tiller298751c2015-09-22 09:41:05 -0700504 'src/core/iomgr/closure.h',
Craig Tillereb327fb2015-06-23 16:51:38 -0700505 'src/core/iomgr/endpoint.h',
506 'src/core/iomgr/endpoint_pair.h',
Craig Tiller298751c2015-09-22 09:41:05 -0700507 'src/core/iomgr/exec_ctx.h',
David Garcia Quintas4bc34632015-10-07 16:12:35 -0700508 'src/core/iomgr/executor.h',
Craig Tillereb327fb2015-06-23 16:51:38 -0700509 'src/core/iomgr/fd_posix.h',
510 'src/core/iomgr/iocp_windows.h',
511 'src/core/iomgr/iomgr.h',
512 'src/core/iomgr/iomgr_internal.h',
513 'src/core/iomgr/iomgr_posix.h',
514 'src/core/iomgr/pollset.h',
Craig Tillereb327fb2015-06-23 16:51:38 -0700515 'src/core/iomgr/pollset_posix.h',
516 'src/core/iomgr/pollset_set.h',
517 'src/core/iomgr/pollset_set_posix.h',
518 'src/core/iomgr/pollset_set_windows.h',
519 'src/core/iomgr/pollset_windows.h',
520 'src/core/iomgr/resolve_address.h',
521 'src/core/iomgr/sockaddr.h',
522 'src/core/iomgr/sockaddr_posix.h',
523 'src/core/iomgr/sockaddr_utils.h',
524 'src/core/iomgr/sockaddr_win32.h',
525 'src/core/iomgr/socket_utils_posix.h',
526 'src/core/iomgr/socket_windows.h',
527 'src/core/iomgr/tcp_client.h',
528 'src/core/iomgr/tcp_posix.h',
529 'src/core/iomgr/tcp_server.h',
530 'src/core/iomgr/tcp_windows.h',
531 'src/core/iomgr/time_averaged_stats.h',
David Garcia Quintasb65e4212015-10-14 12:00:21 -0700532 'src/core/iomgr/timer.h',
533 'src/core/iomgr/timer_heap.h',
534 'src/core/iomgr/timer_internal.h',
Robbie Shade69535292015-07-10 14:27:34 -0400535 'src/core/iomgr/udp_server.h',
Craig Tillereb327fb2015-06-23 16:51:38 -0700536 'src/core/iomgr/wakeup_fd_pipe.h',
537 'src/core/iomgr/wakeup_fd_posix.h',
Craig Tiller73b66062015-09-09 09:34:46 -0700538 'src/core/iomgr/workqueue.h',
539 'src/core/iomgr/workqueue_posix.h',
540 'src/core/iomgr/workqueue_windows.h',
Craig Tillereb327fb2015-06-23 16:51:38 -0700541 'src/core/json/json.h',
542 'src/core/json/json_common.h',
543 'src/core/json/json_reader.h',
544 'src/core/json/json_writer.h',
yang-g31ff8bc2015-08-25 14:09:06 -0700545 'src/core/statistics/census_interface.h',
546 'src/core/statistics/census_rpc_stats.h',
Masood Malekghassemi92298102015-08-20 18:50:17 -0700547 'src/core/surface/api_trace.h',
Craig Tillereb327fb2015-06-23 16:51:38 -0700548 'src/core/surface/call.h',
David Garcia Quintas0c331882015-10-08 14:51:54 -0700549 'src/core/surface/call_test_only.h',
Craig Tillereb327fb2015-06-23 16:51:38 -0700550 'src/core/surface/channel.h',
Craig Tillereb327fb2015-06-23 16:51:38 -0700551 'src/core/surface/completion_queue.h',
552 'src/core/surface/event_string.h',
553 'src/core/surface/init.h',
554 'src/core/surface/server.h',
555 'src/core/surface/surface_trace.h',
Craig Tillerca1593a2015-11-02 14:08:33 -0800556 'src/core/transport/byte_stream.h',
Craig Tillereb327fb2015-06-23 16:51:38 -0700557 'src/core/transport/chttp2/alpn.h',
558 'src/core/transport/chttp2/bin_encoder.h',
559 'src/core/transport/chttp2/frame.h',
560 'src/core/transport/chttp2/frame_data.h',
561 'src/core/transport/chttp2/frame_goaway.h',
562 'src/core/transport/chttp2/frame_ping.h',
563 'src/core/transport/chttp2/frame_rst_stream.h',
564 'src/core/transport/chttp2/frame_settings.h',
565 'src/core/transport/chttp2/frame_window_update.h',
Craig Tillerca1593a2015-11-02 14:08:33 -0800566 'src/core/transport/chttp2/hpack_encoder.h',
Craig Tillereb327fb2015-06-23 16:51:38 -0700567 'src/core/transport/chttp2/hpack_parser.h',
568 'src/core/transport/chttp2/hpack_table.h',
569 'src/core/transport/chttp2/http2_errors.h',
570 'src/core/transport/chttp2/huffsyms.h',
Craig Tiller6e8c7e82015-06-25 08:52:40 -0700571 'src/core/transport/chttp2/incoming_metadata.h',
572 'src/core/transport/chttp2/internal.h',
Craig Tillereb327fb2015-06-23 16:51:38 -0700573 'src/core/transport/chttp2/status_conversion.h',
Craig Tillereb327fb2015-06-23 16:51:38 -0700574 'src/core/transport/chttp2/stream_map.h',
575 'src/core/transport/chttp2/timeout_encoding.h',
576 'src/core/transport/chttp2/varint.h',
577 'src/core/transport/chttp2_transport.h',
Craig Tiller08a1cf82015-06-29 09:37:52 -0700578 'src/core/transport/connectivity_state.h',
Craig Tillereb327fb2015-06-23 16:51:38 -0700579 'src/core/transport/metadata.h',
Craig Tillerca1593a2015-11-02 14:08:33 -0800580 'src/core/transport/metadata_batch.h',
Craig Tiller2e7687c2015-11-18 14:56:46 -0800581 'src/core/transport/static_metadata.h',
Craig Tillereb327fb2015-06-23 16:51:38 -0700582 'src/core/transport/transport.h',
583 'src/core/transport/transport_impl.h',
Nicolas "Pixel" Noble09121792016-01-30 09:01:53 +0100584 'src/core/profiling/timers.h',
585 'src/core/support/block_annotate.h',
586 'src/core/support/env.h',
587 'src/core/support/file.h',
588 'src/core/support/murmur_hash.h',
589 'src/core/support/stack_lockfree.h',
590 'src/core/support/string.h',
591 'src/core/support/string_win32.h',
592 'src/core/support/thd_internal.h',
593 'src/core/support/time_precise.h',
Alistair Veitch1c09acc2015-08-31 16:57:32 -0700594 'src/core/census/aggregation.h',
Alistair Veitch0f690722016-01-13 09:08:38 -0800595 'src/core/census/rpc_metric_id.h'
Craig Tillereb327fb2015-06-23 16:51:38 -0700596
Jorge Canizalesea9b4fd2015-06-21 13:37:28 -0700597 ss.header_mappings_dir = '.'
Jorge Canizales951875f2015-10-13 18:36:00 -0700598 # This isn't officially supported in Cocoapods. We've asked for an alternative:
599 # https://github.com/CocoaPods/CocoaPods/issues/4386
Jorge Canizales10622a82015-10-28 07:10:47 -0700600 ss.xcconfig = {
601 'USE_HEADERMAP' => 'NO',
602 'ALWAYS_SEARCH_USER_PATHS' => 'NO',
603 'USER_HEADER_SEARCH_PATHS' => '"$(PODS_ROOT)/Headers/Private/gRPC"',
604 'HEADER_SEARCH_PATHS' => '"$(PODS_ROOT)/Headers/Private/gRPC/include"'
605 }
Jorge Canizalesc2d7ecb2015-02-27 01:22:41 -0800606
Jorge Canizalesea9b4fd2015-06-21 13:37:28 -0700607 ss.requires_arc = false
608 ss.libraries = 'z'
Alistair Veitch75d5c0f2016-02-02 09:43:02 -0800609 ss.dependency 'BoringSSL', '~> 2.0'
Jorge Canizales63c3efb2015-07-17 18:53:20 -0700610
611 # ss.compiler_flags = '-GCC_WARN_INHIBIT_ALL_WARNINGS', '-w'
Jorge Canizalesc2d7ecb2015-02-27 01:22:41 -0800612 end
613
Jorge Canizales461b0942015-06-02 20:40:50 -0700614 # Objective-C wrapper around the core gRPC library.
Jorge Canizalesea9b4fd2015-06-21 13:37:28 -0700615 s.subspec 'GRPCClient' do |ss|
616 src_dir = "#{objc_dir}/GRPCClient"
617 ss.source_files = "#{src_dir}/*.{h,m}", "#{src_dir}/**/*.{h,m}"
618 ss.private_header_files = "#{src_dir}/private/*.h"
619 ss.header_mappings_dir = "#{objc_dir}"
Jorge Canizalesc2d7ecb2015-02-27 01:22:41 -0800620
Jorge Canizalesea9b4fd2015-06-21 13:37:28 -0700621 ss.dependency 'gRPC/C-Core'
622 ss.dependency 'gRPC/RxLibrary'
Jorge Canizalesba37a3e2015-03-23 15:34:58 -0700623
Jorge Canizales8957cae2015-04-22 23:40:18 -0700624 # Certificates, to be able to establish TLS connections:
Jorge Canizalesbb54ae82015-06-28 06:50:58 -0700625 ss.resource_bundles = { 'gRPCCertificates' => ['etc/roots.pem'] }
Jorge Canizales8957cae2015-04-22 23:40:18 -0700626 end
627
Jorge Canizales461b0942015-06-02 20:40:50 -0700628 # RPC library for ProtocolBuffers, based on gRPC
Jorge Canizalesea9b4fd2015-06-21 13:37:28 -0700629 s.subspec 'ProtoRPC' do |ss|
630 src_dir = "#{objc_dir}/ProtoRPC"
631 ss.source_files = "#{src_dir}/*.{h,m}"
632 ss.header_mappings_dir = "#{objc_dir}"
Jorge Canizales8957cae2015-04-22 23:40:18 -0700633
Jorge Canizalesea9b4fd2015-06-21 13:37:28 -0700634 ss.dependency 'gRPC/GRPCClient'
635 ss.dependency 'gRPC/RxLibrary'
Craig Tillerba496452015-09-21 17:15:19 -0700636 ss.dependency 'Protobuf', '~> 3.0.0-alpha-4'
Jorge Canizales8957cae2015-04-22 23:40:18 -0700637 end
Jorge Canizalesc2d7ecb2015-02-27 01:22:41 -0800638end