1 # This file has been automatically generated from a template file.
2 # Please make modifications to `templates/gRPC-C++.podspec.template`
3 # instead. This file can be regenerated from the template by running
4 # `tools/buildgen/generate_projects.sh`.
6 # gRPC C++ CocoaPods podspec
8 # Copyright 2017 gRPC authors.
10 # Licensed under the Apache License, Version 2.0 (the "License");
11 # you may not use this file except in compliance with the License.
12 # You may obtain a copy of the License at
14 # http://www.apache.org/licenses/LICENSE-2.0
16 # Unless required by applicable law or agreed to in writing, software
17 # distributed under the License is distributed on an "AS IS" BASIS,
18 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 # See the License for the specific language governing permissions and
20 # limitations under the License.
25 # TODO (mxyan): use version that match gRPC version when pod is stabilized
29 s.summary = 'gRPC C++ library'
30 s.homepage = 'https://grpc.io'
31 s.license = 'Apache License, Version 2.0'
32 s.authors = { 'The gRPC contributors' => 'grpc-packages@google.com' }
34 grpc_version = '1.24.3'
37 :git => 'https://github.com/grpc/grpc.git',
38 :tag => "v#{grpc_version}",
41 s.ios.deployment_target = '7.0'
42 s.osx.deployment_target = '10.9'
43 s.tvos.deployment_target = '10.0'
45 s.requires_arc = false
48 # Use `grpcpp` as framework name so that `#include <grpcpp/xxx.h>` works when built as
52 # Add include prefix `grpcpp` so that `#include <grpcpp/xxx.h>` works when built as static
56 s.pod_target_xcconfig = {
57 'HEADER_SEARCH_PATHS' => '"$(inherited)" "$(PODS_TARGET_SRCROOT)/include"',
58 'USER_HEADER_SEARCH_PATHS' => '"$(PODS_TARGET_SRCROOT)"',
59 'GCC_PREPROCESSOR_DEFINITIONS' => '"$(inherited)" "COCOAPODS=1"',
60 'CLANG_WARN_STRICT_PROTOTYPES' => 'NO',
61 'CLANG_WARN_DOCUMENTATION_COMMENTS' => 'NO',
63 # If we don't set these two settings, `include/grpc/support/time.h` and
64 # `src/core/lib/support/string.h` shadow the system `<time.h>` and `<string.h>`, breaking the
66 'USE_HEADERMAP' => 'NO',
67 'ALWAYS_SEARCH_USER_PATHS' => 'NO',
72 s.default_subspecs = 'Interface', 'Implementation'
74 # Certificates, to be able to establish TLS connections:
75 s.resource_bundles = { 'gRPCCertificates-Cpp' => ['etc/roots.pem'] }
77 s.header_mappings_dir = 'include/grpcpp'
79 s.subspec 'Interface' do |ss|
80 ss.header_mappings_dir = 'include/grpcpp'
82 ss.source_files = 'include/grpcpp/alarm.h',
83 'include/grpcpp/alarm_impl.h',
84 'include/grpcpp/channel.h',
85 'include/grpcpp/channel_impl.h',
86 'include/grpcpp/client_context.h',
87 'include/grpcpp/completion_queue.h',
88 'include/grpcpp/completion_queue_impl.h',
89 'include/grpcpp/create_channel.h',
90 'include/grpcpp/create_channel_impl.h',
91 'include/grpcpp/create_channel_posix.h',
92 'include/grpcpp/create_channel_posix_impl.h',
93 'include/grpcpp/ext/health_check_service_server_builder_option.h',
94 'include/grpcpp/generic/async_generic_service.h',
95 'include/grpcpp/generic/generic_stub.h',
96 'include/grpcpp/generic/generic_stub_impl.h',
97 'include/grpcpp/grpcpp.h',
98 'include/grpcpp/health_check_service_interface.h',
99 'include/grpcpp/health_check_service_interface_impl.h',
100 'include/grpcpp/impl/call.h',
101 'include/grpcpp/impl/channel_argument_option.h',
102 'include/grpcpp/impl/client_unary_call.h',
103 'include/grpcpp/impl/codegen/core_codegen.h',
104 'include/grpcpp/impl/grpc_library.h',
105 'include/grpcpp/impl/method_handler_impl.h',
106 'include/grpcpp/impl/rpc_method.h',
107 'include/grpcpp/impl/rpc_service_method.h',
108 'include/grpcpp/impl/serialization_traits.h',
109 'include/grpcpp/impl/server_builder_option.h',
110 'include/grpcpp/impl/server_builder_option_impl.h',
111 'include/grpcpp/impl/server_builder_plugin.h',
112 'include/grpcpp/impl/server_initializer.h',
113 'include/grpcpp/impl/server_initializer_impl.h',
114 'include/grpcpp/impl/service_type.h',
115 'include/grpcpp/resource_quota.h',
116 'include/grpcpp/resource_quota_impl.h',
117 'include/grpcpp/security/auth_context.h',
118 'include/grpcpp/security/auth_metadata_processor.h',
119 'include/grpcpp/security/auth_metadata_processor_impl.h',
120 'include/grpcpp/security/credentials.h',
121 'include/grpcpp/security/credentials_impl.h',
122 'include/grpcpp/security/server_credentials.h',
123 'include/grpcpp/security/server_credentials_impl.h',
124 'include/grpcpp/server.h',
125 'include/grpcpp/server_builder.h',
126 'include/grpcpp/server_builder_impl.h',
127 'include/grpcpp/server_context.h',
128 'include/grpcpp/server_impl.h',
129 'include/grpcpp/server_posix.h',
130 'include/grpcpp/server_posix_impl.h',
131 'include/grpcpp/support/async_stream.h',
132 'include/grpcpp/support/async_stream_impl.h',
133 'include/grpcpp/support/async_unary_call.h',
134 'include/grpcpp/support/async_unary_call_impl.h',
135 'include/grpcpp/support/byte_buffer.h',
136 'include/grpcpp/support/channel_arguments.h',
137 'include/grpcpp/support/channel_arguments_impl.h',
138 'include/grpcpp/support/client_callback.h',
139 'include/grpcpp/support/client_callback_impl.h',
140 'include/grpcpp/support/client_interceptor.h',
141 'include/grpcpp/support/config.h',
142 'include/grpcpp/support/interceptor.h',
143 'include/grpcpp/support/message_allocator.h',
144 'include/grpcpp/support/proto_buffer_reader.h',
145 'include/grpcpp/support/proto_buffer_writer.h',
146 'include/grpcpp/support/server_callback.h',
147 'include/grpcpp/support/server_callback_impl.h',
148 'include/grpcpp/support/server_interceptor.h',
149 'include/grpcpp/support/slice.h',
150 'include/grpcpp/support/status.h',
151 'include/grpcpp/support/status_code_enum.h',
152 'include/grpcpp/support/string_ref.h',
153 'include/grpcpp/support/stub_options.h',
154 'include/grpcpp/support/sync_stream.h',
155 'include/grpcpp/support/sync_stream_impl.h',
156 'include/grpcpp/support/time.h',
157 'include/grpcpp/support/validate_service_config.h',
158 'include/grpcpp/impl/codegen/async_generic_service.h',
159 'include/grpcpp/impl/codegen/async_stream.h',
160 'include/grpcpp/impl/codegen/async_stream_impl.h',
161 'include/grpcpp/impl/codegen/async_unary_call.h',
162 'include/grpcpp/impl/codegen/async_unary_call_impl.h',
163 'include/grpcpp/impl/codegen/byte_buffer.h',
164 'include/grpcpp/impl/codegen/call.h',
165 'include/grpcpp/impl/codegen/call_hook.h',
166 'include/grpcpp/impl/codegen/call_op_set.h',
167 'include/grpcpp/impl/codegen/call_op_set_interface.h',
168 'include/grpcpp/impl/codegen/callback_common.h',
169 'include/grpcpp/impl/codegen/channel_interface.h',
170 'include/grpcpp/impl/codegen/client_callback.h',
171 'include/grpcpp/impl/codegen/client_callback_impl.h',
172 'include/grpcpp/impl/codegen/client_context.h',
173 'include/grpcpp/impl/codegen/client_context_impl.h',
174 'include/grpcpp/impl/codegen/client_interceptor.h',
175 'include/grpcpp/impl/codegen/client_unary_call.h',
176 'include/grpcpp/impl/codegen/completion_queue.h',
177 'include/grpcpp/impl/codegen/completion_queue_impl.h',
178 'include/grpcpp/impl/codegen/completion_queue_tag.h',
179 'include/grpcpp/impl/codegen/config.h',
180 'include/grpcpp/impl/codegen/core_codegen_interface.h',
181 'include/grpcpp/impl/codegen/create_auth_context.h',
182 'include/grpcpp/impl/codegen/delegating_channel.h',
183 'include/grpcpp/impl/codegen/grpc_library.h',
184 'include/grpcpp/impl/codegen/intercepted_channel.h',
185 'include/grpcpp/impl/codegen/interceptor.h',
186 'include/grpcpp/impl/codegen/interceptor_common.h',
187 'include/grpcpp/impl/codegen/message_allocator.h',
188 'include/grpcpp/impl/codegen/metadata_map.h',
189 'include/grpcpp/impl/codegen/method_handler_impl.h',
190 'include/grpcpp/impl/codegen/rpc_method.h',
191 'include/grpcpp/impl/codegen/rpc_service_method.h',
192 'include/grpcpp/impl/codegen/security/auth_context.h',
193 'include/grpcpp/impl/codegen/serialization_traits.h',
194 'include/grpcpp/impl/codegen/server_callback.h',
195 'include/grpcpp/impl/codegen/server_callback_impl.h',
196 'include/grpcpp/impl/codegen/server_context.h',
197 'include/grpcpp/impl/codegen/server_context_impl.h',
198 'include/grpcpp/impl/codegen/server_interceptor.h',
199 'include/grpcpp/impl/codegen/server_interface.h',
200 'include/grpcpp/impl/codegen/service_type.h',
201 'include/grpcpp/impl/codegen/slice.h',
202 'include/grpcpp/impl/codegen/status.h',
203 'include/grpcpp/impl/codegen/status_code_enum.h',
204 'include/grpcpp/impl/codegen/string_ref.h',
205 'include/grpcpp/impl/codegen/stub_options.h',
206 'include/grpcpp/impl/codegen/sync_stream.h',
207 'include/grpcpp/impl/codegen/sync_stream_impl.h',
208 'include/grpcpp/impl/codegen/time.h',
209 'include/grpcpp/impl/codegen/sync.h',
210 'include/grpcpp/security/cronet_credentials.h',
211 'include/grpcpp/security/cronet_credentials_impl.h'
214 s.subspec 'Implementation' do |ss|
215 ss.header_mappings_dir = '.'
216 ss.dependency "#{s.name}/Interface", version
217 ss.dependency 'gRPC-Core', grpc_version
219 ss.source_files = 'include/grpcpp/impl/codegen/core_codegen.h',
220 'src/cpp/client/secure_credentials.h',
221 'src/cpp/common/secure_auth_context.h',
222 'src/cpp/server/secure_server_credentials.h',
223 'src/cpp/client/create_channel_internal.h',
224 'src/cpp/common/channel_filter.h',
225 'src/cpp/server/dynamic_thread_pool.h',
226 'src/cpp/server/external_connection_acceptor_impl.h',
227 'src/cpp/server/health/default_health_check_service.h',
228 'src/cpp/server/thread_pool_interface.h',
229 'src/cpp/thread_manager/thread_manager.h',
230 'src/cpp/client/insecure_credentials.cc',
231 'src/cpp/client/secure_credentials.cc',
232 'src/cpp/common/auth_property_iterator.cc',
233 'src/cpp/common/secure_auth_context.cc',
234 'src/cpp/common/secure_channel_arguments.cc',
235 'src/cpp/common/secure_create_auth_context.cc',
236 'src/cpp/server/insecure_server_credentials.cc',
237 'src/cpp/server/secure_server_credentials.cc',
238 'src/cpp/client/channel_cc.cc',
239 'src/cpp/client/client_context.cc',
240 'src/cpp/client/client_interceptor.cc',
241 'src/cpp/client/create_channel.cc',
242 'src/cpp/client/create_channel_internal.cc',
243 'src/cpp/client/create_channel_posix.cc',
244 'src/cpp/client/credentials_cc.cc',
245 'src/cpp/client/generic_stub.cc',
246 'src/cpp/common/alarm.cc',
247 'src/cpp/common/channel_arguments.cc',
248 'src/cpp/common/channel_filter.cc',
249 'src/cpp/common/completion_queue_cc.cc',
250 'src/cpp/common/core_codegen.cc',
251 'src/cpp/common/resource_quota_cc.cc',
252 'src/cpp/common/rpc_method.cc',
253 'src/cpp/common/validate_service_config.cc',
254 'src/cpp/common/version_cc.cc',
255 'src/cpp/server/async_generic_service.cc',
256 'src/cpp/server/channel_argument_option.cc',
257 'src/cpp/server/create_default_thread_pool.cc',
258 'src/cpp/server/dynamic_thread_pool.cc',
259 'src/cpp/server/external_connection_acceptor_impl.cc',
260 'src/cpp/server/health/default_health_check_service.cc',
261 'src/cpp/server/health/health_check_service.cc',
262 'src/cpp/server/health/health_check_service_server_builder_option.cc',
263 'src/cpp/server/server_builder.cc',
264 'src/cpp/server/server_cc.cc',
265 'src/cpp/server/server_context.cc',
266 'src/cpp/server/server_credentials.cc',
267 'src/cpp/server/server_posix.cc',
268 'src/cpp/thread_manager/thread_manager.cc',
269 'src/cpp/util/byte_buffer_cc.cc',
270 'src/cpp/util/status.cc',
271 'src/cpp/util/string_ref.cc',
272 'src/cpp/util/time_cc.cc',
273 'src/cpp/codegen/codegen_init.cc',
274 'src/cpp/client/cronet_credentials.cc'
276 ss.private_header_files = 'include/grpcpp/impl/codegen/core_codegen.h',
277 'src/cpp/client/secure_credentials.h',
278 'src/cpp/common/secure_auth_context.h',
279 'src/cpp/server/secure_server_credentials.h',
280 'src/cpp/client/create_channel_internal.h',
281 'src/cpp/common/channel_filter.h',
282 'src/cpp/server/dynamic_thread_pool.h',
283 'src/cpp/server/external_connection_acceptor_impl.h',
284 'src/cpp/server/health/default_health_check_service.h',
285 'src/cpp/server/thread_pool_interface.h',
286 'src/cpp/thread_manager/thread_manager.h',
287 'src/core/lib/gpr/alloc.h',
288 'src/core/lib/gpr/arena.h',
289 'src/core/lib/gpr/env.h',
290 'src/core/lib/gpr/mpscq.h',
291 'src/core/lib/gpr/murmur_hash.h',
292 'src/core/lib/gpr/spinlock.h',
293 'src/core/lib/gpr/string.h',
294 'src/core/lib/gpr/string_windows.h',
295 'src/core/lib/gpr/time_precise.h',
296 'src/core/lib/gpr/tls.h',
297 'src/core/lib/gpr/tls_gcc.h',
298 'src/core/lib/gpr/tls_msvc.h',
299 'src/core/lib/gpr/tls_pthread.h',
300 'src/core/lib/gpr/tmpfile.h',
301 'src/core/lib/gpr/useful.h',
302 'src/core/lib/gprpp/abstract.h',
303 'src/core/lib/gprpp/arena.h',
304 'src/core/lib/gprpp/atomic.h',
305 'src/core/lib/gprpp/fork.h',
306 'src/core/lib/gprpp/global_config.h',
307 'src/core/lib/gprpp/global_config_custom.h',
308 'src/core/lib/gprpp/global_config_env.h',
309 'src/core/lib/gprpp/global_config_generic.h',
310 'src/core/lib/gprpp/host_port.h',
311 'src/core/lib/gprpp/manual_constructor.h',
312 'src/core/lib/gprpp/map.h',
313 'src/core/lib/gprpp/memory.h',
314 'src/core/lib/gprpp/pair.h',
315 'src/core/lib/gprpp/sync.h',
316 'src/core/lib/gprpp/thd.h',
317 'src/core/lib/profiling/timers.h',
318 'src/core/lib/avl/avl.h',
319 'src/core/lib/backoff/backoff.h',
320 'src/core/lib/channel/channel_args.h',
321 'src/core/lib/channel/channel_stack.h',
322 'src/core/lib/channel/channel_stack_builder.h',
323 'src/core/lib/channel/channel_trace.h',
324 'src/core/lib/channel/channelz.h',
325 'src/core/lib/channel/channelz_registry.h',
326 'src/core/lib/channel/connected_channel.h',
327 'src/core/lib/channel/context.h',
328 'src/core/lib/channel/handshaker.h',
329 'src/core/lib/channel/handshaker_factory.h',
330 'src/core/lib/channel/handshaker_registry.h',
331 'src/core/lib/channel/status_util.h',
332 'src/core/lib/compression/algorithm_metadata.h',
333 'src/core/lib/compression/compression_args.h',
334 'src/core/lib/compression/compression_internal.h',
335 'src/core/lib/compression/message_compress.h',
336 'src/core/lib/compression/stream_compression.h',
337 'src/core/lib/compression/stream_compression_gzip.h',
338 'src/core/lib/compression/stream_compression_identity.h',
339 'src/core/lib/debug/stats.h',
340 'src/core/lib/debug/stats_data.h',
341 'src/core/lib/gprpp/debug_location.h',
342 'src/core/lib/gprpp/inlined_vector.h',
343 'src/core/lib/gprpp/optional.h',
344 'src/core/lib/gprpp/orphanable.h',
345 'src/core/lib/gprpp/ref_counted.h',
346 'src/core/lib/gprpp/ref_counted_ptr.h',
347 'src/core/lib/gprpp/string_view.h',
348 'src/core/lib/http/format_request.h',
349 'src/core/lib/http/httpcli.h',
350 'src/core/lib/http/parser.h',
351 'src/core/lib/iomgr/block_annotate.h',
352 'src/core/lib/iomgr/buffer_list.h',
353 'src/core/lib/iomgr/call_combiner.h',
354 'src/core/lib/iomgr/cfstream_handle.h',
355 'src/core/lib/iomgr/closure.h',
356 'src/core/lib/iomgr/combiner.h',
357 'src/core/lib/iomgr/dynamic_annotations.h',
358 'src/core/lib/iomgr/endpoint.h',
359 'src/core/lib/iomgr/endpoint_cfstream.h',
360 'src/core/lib/iomgr/endpoint_pair.h',
361 'src/core/lib/iomgr/error.h',
362 'src/core/lib/iomgr/error_cfstream.h',
363 'src/core/lib/iomgr/error_internal.h',
364 'src/core/lib/iomgr/ev_epoll1_linux.h',
365 'src/core/lib/iomgr/ev_epollex_linux.h',
366 'src/core/lib/iomgr/ev_poll_posix.h',
367 'src/core/lib/iomgr/ev_posix.h',
368 'src/core/lib/iomgr/exec_ctx.h',
369 'src/core/lib/iomgr/executor.h',
370 'src/core/lib/iomgr/executor/mpmcqueue.h',
371 'src/core/lib/iomgr/executor/threadpool.h',
372 'src/core/lib/iomgr/gethostname.h',
373 'src/core/lib/iomgr/grpc_if_nametoindex.h',
374 'src/core/lib/iomgr/internal_errqueue.h',
375 'src/core/lib/iomgr/iocp_windows.h',
376 'src/core/lib/iomgr/iomgr.h',
377 'src/core/lib/iomgr/iomgr_custom.h',
378 'src/core/lib/iomgr/iomgr_internal.h',
379 'src/core/lib/iomgr/iomgr_posix.h',
380 'src/core/lib/iomgr/is_epollexclusive_available.h',
381 'src/core/lib/iomgr/load_file.h',
382 'src/core/lib/iomgr/lockfree_event.h',
383 'src/core/lib/iomgr/nameser.h',
384 'src/core/lib/iomgr/polling_entity.h',
385 'src/core/lib/iomgr/pollset.h',
386 'src/core/lib/iomgr/pollset_custom.h',
387 'src/core/lib/iomgr/pollset_set.h',
388 'src/core/lib/iomgr/pollset_set_custom.h',
389 'src/core/lib/iomgr/pollset_set_windows.h',
390 'src/core/lib/iomgr/pollset_windows.h',
391 'src/core/lib/iomgr/port.h',
392 'src/core/lib/iomgr/resolve_address.h',
393 'src/core/lib/iomgr/resolve_address_custom.h',
394 'src/core/lib/iomgr/resource_quota.h',
395 'src/core/lib/iomgr/sockaddr.h',
396 'src/core/lib/iomgr/sockaddr_custom.h',
397 'src/core/lib/iomgr/sockaddr_posix.h',
398 'src/core/lib/iomgr/sockaddr_utils.h',
399 'src/core/lib/iomgr/sockaddr_windows.h',
400 'src/core/lib/iomgr/socket_factory_posix.h',
401 'src/core/lib/iomgr/socket_mutator.h',
402 'src/core/lib/iomgr/socket_utils.h',
403 'src/core/lib/iomgr/socket_utils_posix.h',
404 'src/core/lib/iomgr/socket_windows.h',
405 'src/core/lib/iomgr/sys_epoll_wrapper.h',
406 'src/core/lib/iomgr/tcp_client.h',
407 'src/core/lib/iomgr/tcp_client_posix.h',
408 'src/core/lib/iomgr/tcp_custom.h',
409 'src/core/lib/iomgr/tcp_posix.h',
410 'src/core/lib/iomgr/tcp_server.h',
411 'src/core/lib/iomgr/tcp_server_utils_posix.h',
412 'src/core/lib/iomgr/tcp_windows.h',
413 'src/core/lib/iomgr/time_averaged_stats.h',
414 'src/core/lib/iomgr/timer.h',
415 'src/core/lib/iomgr/timer_custom.h',
416 'src/core/lib/iomgr/timer_heap.h',
417 'src/core/lib/iomgr/timer_manager.h',
418 'src/core/lib/iomgr/udp_server.h',
419 'src/core/lib/iomgr/unix_sockets_posix.h',
420 'src/core/lib/iomgr/wakeup_fd_pipe.h',
421 'src/core/lib/iomgr/wakeup_fd_posix.h',
422 'src/core/lib/json/json.h',
423 'src/core/lib/json/json_common.h',
424 'src/core/lib/json/json_reader.h',
425 'src/core/lib/json/json_writer.h',
426 'src/core/lib/slice/b64.h',
427 'src/core/lib/slice/percent_encoding.h',
428 'src/core/lib/slice/slice_hash_table.h',
429 'src/core/lib/slice/slice_internal.h',
430 'src/core/lib/slice/slice_string_helpers.h',
431 'src/core/lib/slice/slice_utils.h',
432 'src/core/lib/slice/slice_weak_hash_table.h',
433 'src/core/lib/surface/api_trace.h',
434 'src/core/lib/surface/call.h',
435 'src/core/lib/surface/call_test_only.h',
436 'src/core/lib/surface/channel.h',
437 'src/core/lib/surface/channel_init.h',
438 'src/core/lib/surface/channel_stack_type.h',
439 'src/core/lib/surface/completion_queue.h',
440 'src/core/lib/surface/completion_queue_factory.h',
441 'src/core/lib/surface/event_string.h',
442 'src/core/lib/surface/init.h',
443 'src/core/lib/surface/lame_client.h',
444 'src/core/lib/surface/server.h',
445 'src/core/lib/surface/validate_metadata.h',
446 'src/core/lib/transport/bdp_estimator.h',
447 'src/core/lib/transport/byte_stream.h',
448 'src/core/lib/transport/connectivity_state.h',
449 'src/core/lib/transport/error_utils.h',
450 'src/core/lib/transport/http2_errors.h',
451 'src/core/lib/transport/metadata.h',
452 'src/core/lib/transport/metadata_batch.h',
453 'src/core/lib/transport/pid_controller.h',
454 'src/core/lib/transport/static_metadata.h',
455 'src/core/lib/transport/status_conversion.h',
456 'src/core/lib/transport/status_metadata.h',
457 'src/core/lib/transport/timeout_encoding.h',
458 'src/core/lib/transport/transport.h',
459 'src/core/lib/transport/transport_impl.h',
460 'src/core/lib/uri/uri_parser.h',
461 'src/core/lib/debug/trace.h',
462 'src/core/ext/upb-generated/src/proto/grpc/health/v1/health.upb.h',
463 'third_party/upb/upb/decode.h',
464 'third_party/upb/upb/encode.h',
465 'third_party/upb/upb/generated_util.h',
466 'third_party/upb/upb/msg.h',
467 'third_party/upb/upb/port_def.inc',
468 'third_party/upb/upb/port_undef.inc',
469 'third_party/upb/upb/table.int.h',
470 'third_party/upb/upb/upb.h',
471 'src/core/ext/transport/inproc/inproc_transport.h'
474 s.subspec 'Protobuf' do |ss|
475 ss.header_mappings_dir = 'include/grpcpp'
476 ss.dependency "#{s.name}/Interface", version
478 ss.source_files = 'include/grpcpp/impl/codegen/proto_buffer_reader.h',
479 'include/grpcpp/impl/codegen/proto_buffer_writer.h',
480 'include/grpcpp/impl/codegen/proto_utils.h',
481 'include/grpcpp/impl/codegen/config_protobuf.h',
482 'include/grpcpp/impl/codegen/config_protobuf.h'
485 s.prepare_command = <<-END_OF_COMMAND
486 find src/core/ third_party/upb/ -type f \\( -name '*.h' -or -name '*.c' -or -name '*.cc' \\) -print0 | xargs -0 -L1 sed -E -i'.grpc_back' 's;#include "upb/(.*)";#if COCOAPODS==1\\\n #include "third_party/upb/upb/\\1"\\\n#else\\\n #include "upb/\\1"\\\n#endif;g'
487 find src/core/ third_party/upb/ -type f -name '*.grpc_back' -print0 | xargs -0 rm
488 find src/core/ src/cpp/ -type f \\( -name '*.h' -or -name '*.c' -or -name '*.cc' \\) -print0 | xargs -0 -L1 sed -E -i'.grpc_back' 's;#include "(.*).upb.h";#if COCOAPODS==1\\\n #include "src/core/ext/upb-generated/\\1.upb.h"\\\n#else\\\n #include "\\1.upb.h"\\\n#endif;g'
489 find src/core/ src/cpp/ -type f -name '*.grpc_back' -print0 | xargs -0 rm