murgatroid99 | f680af0 | 2015-06-22 11:20:24 -0700 | [diff] [blame] | 1 | # 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 | |
murgatroid99 | f398d5c | 2015-06-16 14:07:36 -0700 | [diff] [blame] | 36 | |
Jorge Canizales | c2d7ecb | 2015-02-27 01:22:41 -0800 | [diff] [blame] | 37 | Pod::Spec.new do |s| |
| 38 | s.name = 'gRPC' |
Jorge Canizales | 63c3efb | 2015-07-17 18:53:20 -0700 | [diff] [blame] | 39 | s.version = '0.7.0' |
Jorge Canizales | 043dc72 | 2015-06-02 15:15:07 -0700 | [diff] [blame] | 40 | s.summary = 'gRPC client library for iOS/OSX' |
| 41 | s.homepage = 'http://www.grpc.io' |
Jorge Canizales | c2d7ecb | 2015-02-27 01:22:41 -0800 | [diff] [blame] | 42 | s.license = 'New BSD' |
Jorge Canizales | 043dc72 | 2015-06-02 15:15:07 -0700 | [diff] [blame] | 43 | s.authors = { 'The gRPC contributors' => 'grpc-packages@google.com' } |
Jorge Canizales | c2d7ecb | 2015-02-27 01:22:41 -0800 | [diff] [blame] | 44 | |
Jorge Canizales | 043dc72 | 2015-06-02 15:15:07 -0700 | [diff] [blame] | 45 | # s.source = { :git => 'https://github.com/grpc/grpc.git', |
Jorge Canizales | 63c3efb | 2015-07-17 18:53:20 -0700 | [diff] [blame] | 46 | # :tag => 'release-0_10_0-objectivec-0.6.0' } |
Jorge Canizales | c2d7ecb | 2015-02-27 01:22:41 -0800 | [diff] [blame] | 47 | |
Jorge Canizales | c2d7ecb | 2015-02-27 01:22:41 -0800 | [diff] [blame] | 48 | s.ios.deployment_target = '6.0' |
Vince Gatto | 167b972 | 2015-05-12 15:33:49 -0700 | [diff] [blame] | 49 | s.osx.deployment_target = '10.8' |
Jorge Canizales | c2d7ecb | 2015-02-27 01:22:41 -0800 | [diff] [blame] | 50 | s.requires_arc = true |
| 51 | |
Jorge Canizales | ea9b4fd | 2015-06-21 13:37:28 -0700 | [diff] [blame] | 52 | objc_dir = 'src/objective-c' |
| 53 | |
Jorge Canizales | 461b094 | 2015-06-02 20:40:50 -0700 | [diff] [blame] | 54 | # Reactive Extensions library for iOS. |
Jorge Canizales | ea9b4fd | 2015-06-21 13:37:28 -0700 | [diff] [blame] | 55 | s.subspec 'RxLibrary' do |ss| |
| 56 | src_dir = "#{objc_dir}/RxLibrary" |
| 57 | ss.source_files = "#{src_dir}/*.{h,m}", "#{src_dir}/**/*.{h,m}" |
| 58 | ss.private_header_files = "#{src_dir}/private/*.h" |
| 59 | ss.header_mappings_dir = "#{objc_dir}" |
Jorge Canizales | 045fabb | 2015-04-21 11:39:37 -0700 | [diff] [blame] | 60 | end |
| 61 | |
Jorge Canizales | 461b094 | 2015-06-02 20:40:50 -0700 | [diff] [blame] | 62 | # Core cross-platform gRPC library, written in C. |
Jorge Canizales | ea9b4fd | 2015-06-21 13:37:28 -0700 | [diff] [blame] | 63 | s.subspec 'C-Core' do |ss| |
Craig Tiller | 9f903da | 2015-06-24 08:59:27 -0700 | [diff] [blame] | 64 | ss.source_files = 'src/core/support/env.h', |
Craig Tiller | eb327fb | 2015-06-23 16:51:38 -0700 | [diff] [blame] | 65 | 'src/core/support/file.h', |
| 66 | 'src/core/support/murmur_hash.h', |
Vijay Pai | 005e305 | 2015-07-10 15:18:45 -0700 | [diff] [blame] | 67 | 'src/core/support/stack_lockfree.h', |
Craig Tiller | eb327fb | 2015-06-23 16:51:38 -0700 | [diff] [blame] | 68 | 'src/core/support/grpc_string.h', |
| 69 | 'src/core/support/string_win32.h', |
| 70 | 'src/core/support/thd_internal.h', |
Hongyu Chen | a0f149e | 2015-08-24 16:27:19 -0700 | [diff] [blame] | 71 | 'src/core/support/time_precise.h', |
Craig Tiller | e2288fc | 2015-06-23 18:32:26 -0700 | [diff] [blame] | 72 | 'grpc/support/alloc.h', |
| 73 | 'grpc/support/atm.h', |
| 74 | 'grpc/support/atm_gcc_atomic.h', |
| 75 | 'grpc/support/atm_gcc_sync.h', |
| 76 | 'grpc/support/atm_win32.h', |
Craig Tiller | e2288fc | 2015-06-23 18:32:26 -0700 | [diff] [blame] | 77 | 'grpc/support/cmdline.h', |
| 78 | 'grpc/support/cpu.h', |
| 79 | 'grpc/support/histogram.h', |
| 80 | 'grpc/support/host_port.h', |
| 81 | 'grpc/support/log.h', |
| 82 | 'grpc/support/log_win32.h', |
| 83 | 'grpc/support/port_platform.h', |
| 84 | 'grpc/support/slice.h', |
| 85 | 'grpc/support/slice_buffer.h', |
| 86 | 'grpc/support/string_util.h', |
| 87 | 'grpc/support/subprocess.h', |
| 88 | 'grpc/support/sync.h', |
| 89 | 'grpc/support/sync_generic.h', |
| 90 | 'grpc/support/sync_posix.h', |
| 91 | 'grpc/support/sync_win32.h', |
| 92 | 'grpc/support/thd.h', |
| 93 | 'grpc/support/grpc_time.h', |
| 94 | 'grpc/support/tls.h', |
| 95 | 'grpc/support/tls_gcc.h', |
| 96 | 'grpc/support/tls_msvc.h', |
| 97 | 'grpc/support/tls_pthread.h', |
| 98 | 'grpc/support/useful.h', |
Craig Tiller | eb327fb | 2015-06-23 16:51:38 -0700 | [diff] [blame] | 99 | 'src/core/support/alloc.c', |
Craig Tiller | eb327fb | 2015-06-23 16:51:38 -0700 | [diff] [blame] | 100 | 'src/core/support/cmdline.c', |
| 101 | 'src/core/support/cpu_iphone.c', |
| 102 | 'src/core/support/cpu_linux.c', |
| 103 | 'src/core/support/cpu_posix.c', |
| 104 | 'src/core/support/cpu_windows.c', |
| 105 | 'src/core/support/env_linux.c', |
| 106 | 'src/core/support/env_posix.c', |
| 107 | 'src/core/support/env_win32.c', |
| 108 | 'src/core/support/file.c', |
| 109 | 'src/core/support/file_posix.c', |
| 110 | 'src/core/support/file_win32.c', |
| 111 | 'src/core/support/histogram.c', |
| 112 | 'src/core/support/host_port.c', |
| 113 | 'src/core/support/log.c', |
| 114 | 'src/core/support/log_android.c', |
| 115 | 'src/core/support/log_linux.c', |
| 116 | 'src/core/support/log_posix.c', |
| 117 | 'src/core/support/log_win32.c', |
| 118 | 'src/core/support/murmur_hash.c', |
| 119 | 'src/core/support/slice.c', |
| 120 | 'src/core/support/slice_buffer.c', |
Vijay Pai | 005e305 | 2015-07-10 15:18:45 -0700 | [diff] [blame] | 121 | 'src/core/support/stack_lockfree.c', |
Craig Tiller | eb327fb | 2015-06-23 16:51:38 -0700 | [diff] [blame] | 122 | 'src/core/support/string.c', |
| 123 | 'src/core/support/string_posix.c', |
| 124 | 'src/core/support/string_win32.c', |
| 125 | 'src/core/support/subprocess_posix.c', |
| 126 | 'src/core/support/sync.c', |
| 127 | 'src/core/support/sync_posix.c', |
| 128 | 'src/core/support/sync_win32.c', |
| 129 | 'src/core/support/thd.c', |
| 130 | 'src/core/support/thd_posix.c', |
| 131 | 'src/core/support/thd_win32.c', |
| 132 | 'src/core/support/time.c', |
| 133 | 'src/core/support/time_posix.c', |
| 134 | 'src/core/support/time_win32.c', |
| 135 | 'src/core/support/tls_pthread.c', |
Craig Tiller | eb327fb | 2015-06-23 16:51:38 -0700 | [diff] [blame] | 136 | 'src/core/security/auth_filters.h', |
| 137 | 'src/core/security/base64.h', |
| 138 | 'src/core/security/credentials.h', |
| 139 | 'src/core/security/json_token.h', |
Julien Boeuf | feca1bf | 2015-06-22 16:46:20 +0200 | [diff] [blame] | 140 | 'src/core/security/jwt_verifier.h', |
Craig Tiller | eb327fb | 2015-06-23 16:51:38 -0700 | [diff] [blame] | 141 | 'src/core/security/secure_endpoint.h', |
| 142 | 'src/core/security/secure_transport_setup.h', |
| 143 | 'src/core/security/security_connector.h', |
| 144 | 'src/core/security/security_context.h', |
| 145 | 'src/core/tsi/fake_transport_security.h', |
| 146 | 'src/core/tsi/ssl_transport_security.h', |
| 147 | 'src/core/tsi/transport_security.h', |
| 148 | 'src/core/tsi/transport_security_interface.h', |
Hongyu Chen | e09dc78 | 2015-08-21 11:28:33 -0700 | [diff] [blame] | 149 | 'src/core/census/grpc_filter.h', |
Craig Tiller | eb327fb | 2015-06-23 16:51:38 -0700 | [diff] [blame] | 150 | 'src/core/channel/channel_args.h', |
| 151 | 'src/core/channel/channel_stack.h', |
Craig Tiller | eb327fb | 2015-06-23 16:51:38 -0700 | [diff] [blame] | 152 | 'src/core/channel/client_channel.h', |
David Garcia Quintas | 8a18709 | 2015-07-01 14:52:44 -0700 | [diff] [blame] | 153 | 'src/core/channel/compress_filter.h', |
Craig Tiller | eb327fb | 2015-06-23 16:51:38 -0700 | [diff] [blame] | 154 | 'src/core/channel/connected_channel.h', |
| 155 | 'src/core/channel/context.h', |
| 156 | 'src/core/channel/http_client_filter.h', |
| 157 | 'src/core/channel/http_server_filter.h', |
| 158 | 'src/core/channel/noop_filter.h', |
Craig Tiller | 4b62811 | 2015-06-25 08:58:23 -0700 | [diff] [blame] | 159 | 'src/core/client_config/client_config.h', |
Craig Tiller | 9162466 | 2015-06-25 16:31:02 -0700 | [diff] [blame] | 160 | 'src/core/client_config/connector.h', |
Craig Tiller | 4b62811 | 2015-06-25 08:58:23 -0700 | [diff] [blame] | 161 | 'src/core/client_config/lb_policies/pick_first.h', |
| 162 | 'src/core/client_config/lb_policy.h', |
David Garcia Quintas | 5c4543d | 2015-09-03 15:49:56 -0700 | [diff] [blame] | 163 | 'src/core/client_config/lb_policy_factory.h', |
| 164 | 'src/core/client_config/lb_policy_registry.h', |
Craig Tiller | 4b62811 | 2015-06-25 08:58:23 -0700 | [diff] [blame] | 165 | 'src/core/client_config/resolver.h', |
| 166 | 'src/core/client_config/resolver_factory.h', |
| 167 | 'src/core/client_config/resolver_registry.h', |
| 168 | 'src/core/client_config/resolvers/dns_resolver.h', |
Craig Tiller | 698d00c | 2015-07-20 12:32:58 -0700 | [diff] [blame] | 169 | 'src/core/client_config/resolvers/sockaddr_resolver.h', |
Craig Tiller | 4b62811 | 2015-06-25 08:58:23 -0700 | [diff] [blame] | 170 | 'src/core/client_config/subchannel.h', |
| 171 | 'src/core/client_config/subchannel_factory.h', |
Craig Tiller | 83f4d4e | 2015-07-29 18:14:41 -0700 | [diff] [blame] | 172 | 'src/core/client_config/subchannel_factory_decorators/add_channel_arg.h', |
| 173 | 'src/core/client_config/subchannel_factory_decorators/merge_channel_args.h', |
Craig Tiller | 4b62811 | 2015-06-25 08:58:23 -0700 | [diff] [blame] | 174 | 'src/core/client_config/uri_parser.h', |
Craig Tiller | eb327fb | 2015-06-23 16:51:38 -0700 | [diff] [blame] | 175 | 'src/core/compression/message_compress.h', |
| 176 | 'src/core/debug/trace.h', |
Craig Tiller | f53d9c8 | 2015-08-04 14:19:43 -0700 | [diff] [blame] | 177 | 'src/core/httpcli/format_request.h', |
| 178 | 'src/core/httpcli/httpcli.h', |
| 179 | 'src/core/httpcli/parser.h', |
Craig Tiller | eb327fb | 2015-06-23 16:51:38 -0700 | [diff] [blame] | 180 | 'src/core/iomgr/alarm.h', |
| 181 | 'src/core/iomgr/alarm_heap.h', |
| 182 | 'src/core/iomgr/alarm_internal.h', |
| 183 | 'src/core/iomgr/endpoint.h', |
| 184 | 'src/core/iomgr/endpoint_pair.h', |
| 185 | 'src/core/iomgr/fd_posix.h', |
| 186 | 'src/core/iomgr/iocp_windows.h', |
| 187 | 'src/core/iomgr/iomgr.h', |
| 188 | 'src/core/iomgr/iomgr_internal.h', |
| 189 | 'src/core/iomgr/iomgr_posix.h', |
| 190 | 'src/core/iomgr/pollset.h', |
Craig Tiller | eb327fb | 2015-06-23 16:51:38 -0700 | [diff] [blame] | 191 | 'src/core/iomgr/pollset_posix.h', |
| 192 | 'src/core/iomgr/pollset_set.h', |
| 193 | 'src/core/iomgr/pollset_set_posix.h', |
| 194 | 'src/core/iomgr/pollset_set_windows.h', |
| 195 | 'src/core/iomgr/pollset_windows.h', |
| 196 | 'src/core/iomgr/resolve_address.h', |
| 197 | 'src/core/iomgr/sockaddr.h', |
| 198 | 'src/core/iomgr/sockaddr_posix.h', |
| 199 | 'src/core/iomgr/sockaddr_utils.h', |
| 200 | 'src/core/iomgr/sockaddr_win32.h', |
| 201 | 'src/core/iomgr/socket_utils_posix.h', |
| 202 | 'src/core/iomgr/socket_windows.h', |
| 203 | 'src/core/iomgr/tcp_client.h', |
| 204 | 'src/core/iomgr/tcp_posix.h', |
| 205 | 'src/core/iomgr/tcp_server.h', |
| 206 | 'src/core/iomgr/tcp_windows.h', |
| 207 | 'src/core/iomgr/time_averaged_stats.h', |
Robbie Shade | 6953529 | 2015-07-10 14:27:34 -0400 | [diff] [blame] | 208 | 'src/core/iomgr/udp_server.h', |
Craig Tiller | eb327fb | 2015-06-23 16:51:38 -0700 | [diff] [blame] | 209 | 'src/core/iomgr/wakeup_fd_pipe.h', |
| 210 | 'src/core/iomgr/wakeup_fd_posix.h', |
Craig Tiller | 73b6606 | 2015-09-09 09:34:46 -0700 | [diff] [blame] | 211 | 'src/core/iomgr/workqueue.h', |
| 212 | 'src/core/iomgr/workqueue_posix.h', |
| 213 | 'src/core/iomgr/workqueue_windows.h', |
Craig Tiller | eb327fb | 2015-06-23 16:51:38 -0700 | [diff] [blame] | 214 | 'src/core/json/json.h', |
| 215 | 'src/core/json/json_common.h', |
| 216 | 'src/core/json/json_reader.h', |
| 217 | 'src/core/json/json_writer.h', |
| 218 | 'src/core/profiling/timers.h', |
yang-g | 31ff8bc | 2015-08-25 14:09:06 -0700 | [diff] [blame] | 219 | 'src/core/statistics/census_interface.h', |
| 220 | 'src/core/statistics/census_rpc_stats.h', |
Craig Tiller | eb327fb | 2015-06-23 16:51:38 -0700 | [diff] [blame] | 221 | 'src/core/surface/byte_buffer_queue.h', |
| 222 | 'src/core/surface/call.h', |
| 223 | 'src/core/surface/channel.h', |
Craig Tiller | eb327fb | 2015-06-23 16:51:38 -0700 | [diff] [blame] | 224 | 'src/core/surface/completion_queue.h', |
| 225 | 'src/core/surface/event_string.h', |
| 226 | 'src/core/surface/init.h', |
| 227 | 'src/core/surface/server.h', |
| 228 | 'src/core/surface/surface_trace.h', |
| 229 | 'src/core/transport/chttp2/alpn.h', |
| 230 | 'src/core/transport/chttp2/bin_encoder.h', |
| 231 | 'src/core/transport/chttp2/frame.h', |
| 232 | 'src/core/transport/chttp2/frame_data.h', |
| 233 | 'src/core/transport/chttp2/frame_goaway.h', |
| 234 | 'src/core/transport/chttp2/frame_ping.h', |
| 235 | 'src/core/transport/chttp2/frame_rst_stream.h', |
| 236 | 'src/core/transport/chttp2/frame_settings.h', |
| 237 | 'src/core/transport/chttp2/frame_window_update.h', |
| 238 | 'src/core/transport/chttp2/hpack_parser.h', |
| 239 | 'src/core/transport/chttp2/hpack_table.h', |
| 240 | 'src/core/transport/chttp2/http2_errors.h', |
| 241 | 'src/core/transport/chttp2/huffsyms.h', |
Craig Tiller | 6e8c7e8 | 2015-06-25 08:52:40 -0700 | [diff] [blame] | 242 | 'src/core/transport/chttp2/incoming_metadata.h', |
| 243 | 'src/core/transport/chttp2/internal.h', |
Craig Tiller | eb327fb | 2015-06-23 16:51:38 -0700 | [diff] [blame] | 244 | 'src/core/transport/chttp2/status_conversion.h', |
| 245 | 'src/core/transport/chttp2/stream_encoder.h', |
| 246 | 'src/core/transport/chttp2/stream_map.h', |
| 247 | 'src/core/transport/chttp2/timeout_encoding.h', |
| 248 | 'src/core/transport/chttp2/varint.h', |
| 249 | 'src/core/transport/chttp2_transport.h', |
Craig Tiller | 08a1cf8 | 2015-06-29 09:37:52 -0700 | [diff] [blame] | 250 | 'src/core/transport/connectivity_state.h', |
Craig Tiller | eb327fb | 2015-06-23 16:51:38 -0700 | [diff] [blame] | 251 | 'src/core/transport/metadata.h', |
| 252 | 'src/core/transport/stream_op.h', |
| 253 | 'src/core/transport/transport.h', |
| 254 | 'src/core/transport/transport_impl.h', |
Alistair Veitch | 1c09acc | 2015-08-31 16:57:32 -0700 | [diff] [blame] | 255 | 'src/core/census/aggregation.h', |
Craig Tiller | eb327fb | 2015-06-23 16:51:38 -0700 | [diff] [blame] | 256 | 'src/core/census/context.h', |
Alistair Veitch | 9a09982 | 2015-08-27 13:16:00 -0700 | [diff] [blame] | 257 | 'src/core/census/rpc_metric_id.h', |
Craig Tiller | e2288fc | 2015-06-23 18:32:26 -0700 | [diff] [blame] | 258 | 'grpc/grpc_security.h', |
| 259 | 'grpc/byte_buffer.h', |
| 260 | 'grpc/byte_buffer_reader.h', |
| 261 | 'grpc/compression.h', |
| 262 | 'grpc/grpc.h', |
| 263 | 'grpc/status.h', |
| 264 | 'grpc/census.h', |
Craig Tiller | eb327fb | 2015-06-23 16:51:38 -0700 | [diff] [blame] | 265 | 'src/core/httpcli/httpcli_security_connector.c', |
Craig Tiller | eb327fb | 2015-06-23 16:51:38 -0700 | [diff] [blame] | 266 | 'src/core/security/base64.c', |
| 267 | 'src/core/security/client_auth_filter.c', |
| 268 | 'src/core/security/credentials.c', |
| 269 | 'src/core/security/credentials_metadata.c', |
| 270 | 'src/core/security/credentials_posix.c', |
| 271 | 'src/core/security/credentials_win32.c', |
| 272 | 'src/core/security/google_default_credentials.c', |
| 273 | 'src/core/security/json_token.c', |
Julien Boeuf | feca1bf | 2015-06-22 16:46:20 +0200 | [diff] [blame] | 274 | 'src/core/security/jwt_verifier.c', |
Craig Tiller | eb327fb | 2015-06-23 16:51:38 -0700 | [diff] [blame] | 275 | 'src/core/security/secure_endpoint.c', |
| 276 | 'src/core/security/secure_transport_setup.c', |
| 277 | 'src/core/security/security_connector.c', |
| 278 | 'src/core/security/security_context.c', |
| 279 | 'src/core/security/server_auth_filter.c', |
| 280 | 'src/core/security/server_secure_chttp2.c', |
| 281 | 'src/core/surface/init_secure.c', |
| 282 | 'src/core/surface/secure_channel_create.c', |
| 283 | 'src/core/tsi/fake_transport_security.c', |
| 284 | 'src/core/tsi/ssl_transport_security.c', |
| 285 | 'src/core/tsi/transport_security.c', |
| 286 | 'src/core/census/grpc_context.c', |
Hongyu Chen | e09dc78 | 2015-08-21 11:28:33 -0700 | [diff] [blame] | 287 | 'src/core/census/grpc_filter.c', |
Craig Tiller | eb327fb | 2015-06-23 16:51:38 -0700 | [diff] [blame] | 288 | 'src/core/channel/channel_args.c', |
| 289 | 'src/core/channel/channel_stack.c', |
Craig Tiller | eb327fb | 2015-06-23 16:51:38 -0700 | [diff] [blame] | 290 | 'src/core/channel/client_channel.c', |
David Garcia Quintas | 8a18709 | 2015-07-01 14:52:44 -0700 | [diff] [blame] | 291 | 'src/core/channel/compress_filter.c', |
Craig Tiller | eb327fb | 2015-06-23 16:51:38 -0700 | [diff] [blame] | 292 | 'src/core/channel/connected_channel.c', |
| 293 | 'src/core/channel/http_client_filter.c', |
| 294 | 'src/core/channel/http_server_filter.c', |
| 295 | 'src/core/channel/noop_filter.c', |
Craig Tiller | 4b62811 | 2015-06-25 08:58:23 -0700 | [diff] [blame] | 296 | 'src/core/client_config/client_config.c', |
Craig Tiller | 9162466 | 2015-06-25 16:31:02 -0700 | [diff] [blame] | 297 | 'src/core/client_config/connector.c', |
Craig Tiller | 4b62811 | 2015-06-25 08:58:23 -0700 | [diff] [blame] | 298 | 'src/core/client_config/lb_policies/pick_first.c', |
| 299 | 'src/core/client_config/lb_policy.c', |
David Garcia Quintas | 5c4543d | 2015-09-03 15:49:56 -0700 | [diff] [blame] | 300 | 'src/core/client_config/lb_policy_factory.c', |
| 301 | 'src/core/client_config/lb_policy_registry.c', |
Craig Tiller | 4b62811 | 2015-06-25 08:58:23 -0700 | [diff] [blame] | 302 | 'src/core/client_config/resolver.c', |
| 303 | 'src/core/client_config/resolver_factory.c', |
| 304 | 'src/core/client_config/resolver_registry.c', |
| 305 | 'src/core/client_config/resolvers/dns_resolver.c', |
Craig Tiller | 698d00c | 2015-07-20 12:32:58 -0700 | [diff] [blame] | 306 | 'src/core/client_config/resolvers/sockaddr_resolver.c', |
Craig Tiller | 4b62811 | 2015-06-25 08:58:23 -0700 | [diff] [blame] | 307 | 'src/core/client_config/subchannel.c', |
| 308 | 'src/core/client_config/subchannel_factory.c', |
Craig Tiller | 83f4d4e | 2015-07-29 18:14:41 -0700 | [diff] [blame] | 309 | 'src/core/client_config/subchannel_factory_decorators/add_channel_arg.c', |
| 310 | 'src/core/client_config/subchannel_factory_decorators/merge_channel_args.c', |
Craig Tiller | 4b62811 | 2015-06-25 08:58:23 -0700 | [diff] [blame] | 311 | 'src/core/client_config/uri_parser.c', |
Craig Tiller | eb327fb | 2015-06-23 16:51:38 -0700 | [diff] [blame] | 312 | 'src/core/compression/algorithm.c', |
| 313 | 'src/core/compression/message_compress.c', |
| 314 | 'src/core/debug/trace.c', |
Craig Tiller | f53d9c8 | 2015-08-04 14:19:43 -0700 | [diff] [blame] | 315 | 'src/core/httpcli/format_request.c', |
| 316 | 'src/core/httpcli/httpcli.c', |
| 317 | 'src/core/httpcli/parser.c', |
Craig Tiller | eb327fb | 2015-06-23 16:51:38 -0700 | [diff] [blame] | 318 | 'src/core/iomgr/alarm.c', |
| 319 | 'src/core/iomgr/alarm_heap.c', |
| 320 | 'src/core/iomgr/endpoint.c', |
| 321 | 'src/core/iomgr/endpoint_pair_posix.c', |
| 322 | 'src/core/iomgr/endpoint_pair_windows.c', |
| 323 | 'src/core/iomgr/fd_posix.c', |
| 324 | 'src/core/iomgr/iocp_windows.c', |
| 325 | 'src/core/iomgr/iomgr.c', |
| 326 | 'src/core/iomgr/iomgr_posix.c', |
| 327 | 'src/core/iomgr/iomgr_windows.c', |
Craig Tiller | eb327fb | 2015-06-23 16:51:38 -0700 | [diff] [blame] | 328 | 'src/core/iomgr/pollset_multipoller_with_epoll.c', |
| 329 | 'src/core/iomgr/pollset_multipoller_with_poll_posix.c', |
| 330 | 'src/core/iomgr/pollset_posix.c', |
| 331 | 'src/core/iomgr/pollset_set_posix.c', |
| 332 | 'src/core/iomgr/pollset_set_windows.c', |
| 333 | 'src/core/iomgr/pollset_windows.c', |
| 334 | 'src/core/iomgr/resolve_address_posix.c', |
| 335 | 'src/core/iomgr/resolve_address_windows.c', |
| 336 | 'src/core/iomgr/sockaddr_utils.c', |
| 337 | 'src/core/iomgr/socket_utils_common_posix.c', |
| 338 | 'src/core/iomgr/socket_utils_linux.c', |
| 339 | 'src/core/iomgr/socket_utils_posix.c', |
| 340 | 'src/core/iomgr/socket_windows.c', |
| 341 | 'src/core/iomgr/tcp_client_posix.c', |
| 342 | 'src/core/iomgr/tcp_client_windows.c', |
| 343 | 'src/core/iomgr/tcp_posix.c', |
| 344 | 'src/core/iomgr/tcp_server_posix.c', |
| 345 | 'src/core/iomgr/tcp_server_windows.c', |
| 346 | 'src/core/iomgr/tcp_windows.c', |
| 347 | 'src/core/iomgr/time_averaged_stats.c', |
Robbie Shade | 6953529 | 2015-07-10 14:27:34 -0400 | [diff] [blame] | 348 | 'src/core/iomgr/udp_server.c', |
Craig Tiller | eb327fb | 2015-06-23 16:51:38 -0700 | [diff] [blame] | 349 | '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 Tiller | 73b6606 | 2015-09-09 09:34:46 -0700 | [diff] [blame] | 353 | 'src/core/iomgr/workqueue_posix.c', |
| 354 | 'src/core/iomgr/workqueue_windows.c', |
Craig Tiller | eb327fb | 2015-06-23 16:51:38 -0700 | [diff] [blame] | 355 | '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', |
| 359 | 'src/core/profiling/basic_timers.c', |
| 360 | 'src/core/profiling/stap_timers.c', |
| 361 | 'src/core/surface/byte_buffer.c', |
| 362 | 'src/core/surface/byte_buffer_queue.c', |
| 363 | 'src/core/surface/byte_buffer_reader.c', |
| 364 | 'src/core/surface/call.c', |
| 365 | 'src/core/surface/call_details.c', |
| 366 | 'src/core/surface/call_log_batch.c', |
| 367 | 'src/core/surface/channel.c', |
Craig Tiller | 48cb07c | 2015-07-15 16:16:15 -0700 | [diff] [blame] | 368 | 'src/core/surface/channel_connectivity.c', |
Craig Tiller | eb327fb | 2015-06-23 16:51:38 -0700 | [diff] [blame] | 369 | 'src/core/surface/channel_create.c', |
Craig Tiller | eb327fb | 2015-06-23 16:51:38 -0700 | [diff] [blame] | 370 | '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', |
| 378 | 'src/core/surface/surface_trace.c', |
Craig Tiller | 2e622bc | 2015-07-10 07:46:03 -0700 | [diff] [blame] | 379 | 'src/core/surface/version.c', |
Craig Tiller | eb327fb | 2015-06-23 16:51:38 -0700 | [diff] [blame] | 380 | 'src/core/transport/chttp2/alpn.c', |
| 381 | 'src/core/transport/chttp2/bin_encoder.c', |
| 382 | 'src/core/transport/chttp2/frame_data.c', |
| 383 | 'src/core/transport/chttp2/frame_goaway.c', |
| 384 | 'src/core/transport/chttp2/frame_ping.c', |
| 385 | 'src/core/transport/chttp2/frame_rst_stream.c', |
| 386 | 'src/core/transport/chttp2/frame_settings.c', |
| 387 | 'src/core/transport/chttp2/frame_window_update.c', |
| 388 | 'src/core/transport/chttp2/hpack_parser.c', |
| 389 | 'src/core/transport/chttp2/hpack_table.c', |
| 390 | 'src/core/transport/chttp2/huffsyms.c', |
Craig Tiller | 6e8c7e8 | 2015-06-25 08:52:40 -0700 | [diff] [blame] | 391 | 'src/core/transport/chttp2/incoming_metadata.c', |
| 392 | 'src/core/transport/chttp2/parsing.c', |
Craig Tiller | eb327fb | 2015-06-23 16:51:38 -0700 | [diff] [blame] | 393 | 'src/core/transport/chttp2/status_conversion.c', |
| 394 | 'src/core/transport/chttp2/stream_encoder.c', |
Craig Tiller | 6e8c7e8 | 2015-06-25 08:52:40 -0700 | [diff] [blame] | 395 | 'src/core/transport/chttp2/stream_lists.c', |
Craig Tiller | eb327fb | 2015-06-23 16:51:38 -0700 | [diff] [blame] | 396 | 'src/core/transport/chttp2/stream_map.c', |
| 397 | 'src/core/transport/chttp2/timeout_encoding.c', |
| 398 | 'src/core/transport/chttp2/varint.c', |
Craig Tiller | 6e8c7e8 | 2015-06-25 08:52:40 -0700 | [diff] [blame] | 399 | 'src/core/transport/chttp2/writing.c', |
Craig Tiller | eb327fb | 2015-06-23 16:51:38 -0700 | [diff] [blame] | 400 | 'src/core/transport/chttp2_transport.c', |
Craig Tiller | 08a1cf8 | 2015-06-29 09:37:52 -0700 | [diff] [blame] | 401 | 'src/core/transport/connectivity_state.c', |
Craig Tiller | eb327fb | 2015-06-23 16:51:38 -0700 | [diff] [blame] | 402 | 'src/core/transport/metadata.c', |
| 403 | 'src/core/transport/stream_op.c', |
| 404 | 'src/core/transport/transport.c', |
| 405 | 'src/core/transport/transport_op_string.c', |
| 406 | 'src/core/census/context.c', |
Alistair Veitch | 635899d | 2015-07-17 16:02:24 -0700 | [diff] [blame] | 407 | 'src/core/census/initialize.c', |
Alistair Veitch | e6d0ad3 | 2015-08-13 09:59:48 -0700 | [diff] [blame] | 408 | 'src/core/census/operation.c', |
Alistair Veitch | 0383d49 | 2015-07-26 15:29:00 -0700 | [diff] [blame] | 409 | 'src/core/census/tracing.c' |
Craig Tiller | eb327fb | 2015-06-23 16:51:38 -0700 | [diff] [blame] | 410 | |
Craig Tiller | 9f903da | 2015-06-24 08:59:27 -0700 | [diff] [blame] | 411 | ss.private_header_files = 'src/core/support/env.h', |
Craig Tiller | eb327fb | 2015-06-23 16:51:38 -0700 | [diff] [blame] | 412 | 'src/core/support/file.h', |
| 413 | 'src/core/support/murmur_hash.h', |
Vijay Pai | 005e305 | 2015-07-10 15:18:45 -0700 | [diff] [blame] | 414 | 'src/core/support/stack_lockfree.h', |
Craig Tiller | eb327fb | 2015-06-23 16:51:38 -0700 | [diff] [blame] | 415 | 'src/core/support/string.h', |
| 416 | 'src/core/support/string_win32.h', |
| 417 | 'src/core/support/thd_internal.h', |
Hongyu Chen | a0f149e | 2015-08-24 16:27:19 -0700 | [diff] [blame] | 418 | 'src/core/support/time_precise.h', |
Craig Tiller | eb327fb | 2015-06-23 16:51:38 -0700 | [diff] [blame] | 419 | 'src/core/security/auth_filters.h', |
| 420 | 'src/core/security/base64.h', |
| 421 | 'src/core/security/credentials.h', |
| 422 | 'src/core/security/json_token.h', |
Julien Boeuf | feca1bf | 2015-06-22 16:46:20 +0200 | [diff] [blame] | 423 | 'src/core/security/jwt_verifier.h', |
Craig Tiller | eb327fb | 2015-06-23 16:51:38 -0700 | [diff] [blame] | 424 | 'src/core/security/secure_endpoint.h', |
| 425 | 'src/core/security/secure_transport_setup.h', |
| 426 | 'src/core/security/security_connector.h', |
| 427 | 'src/core/security/security_context.h', |
| 428 | 'src/core/tsi/fake_transport_security.h', |
| 429 | 'src/core/tsi/ssl_transport_security.h', |
| 430 | 'src/core/tsi/transport_security.h', |
| 431 | 'src/core/tsi/transport_security_interface.h', |
Hongyu Chen | e09dc78 | 2015-08-21 11:28:33 -0700 | [diff] [blame] | 432 | 'src/core/census/grpc_filter.h', |
Craig Tiller | eb327fb | 2015-06-23 16:51:38 -0700 | [diff] [blame] | 433 | 'src/core/channel/channel_args.h', |
| 434 | 'src/core/channel/channel_stack.h', |
Craig Tiller | eb327fb | 2015-06-23 16:51:38 -0700 | [diff] [blame] | 435 | 'src/core/channel/client_channel.h', |
David Garcia Quintas | 8a18709 | 2015-07-01 14:52:44 -0700 | [diff] [blame] | 436 | 'src/core/channel/compress_filter.h', |
Craig Tiller | eb327fb | 2015-06-23 16:51:38 -0700 | [diff] [blame] | 437 | 'src/core/channel/connected_channel.h', |
| 438 | 'src/core/channel/context.h', |
| 439 | 'src/core/channel/http_client_filter.h', |
| 440 | 'src/core/channel/http_server_filter.h', |
| 441 | 'src/core/channel/noop_filter.h', |
Craig Tiller | 4b62811 | 2015-06-25 08:58:23 -0700 | [diff] [blame] | 442 | 'src/core/client_config/client_config.h', |
Craig Tiller | 9162466 | 2015-06-25 16:31:02 -0700 | [diff] [blame] | 443 | 'src/core/client_config/connector.h', |
Craig Tiller | 4b62811 | 2015-06-25 08:58:23 -0700 | [diff] [blame] | 444 | 'src/core/client_config/lb_policies/pick_first.h', |
| 445 | 'src/core/client_config/lb_policy.h', |
David Garcia Quintas | 5c4543d | 2015-09-03 15:49:56 -0700 | [diff] [blame] | 446 | 'src/core/client_config/lb_policy_factory.h', |
| 447 | 'src/core/client_config/lb_policy_registry.h', |
Craig Tiller | 4b62811 | 2015-06-25 08:58:23 -0700 | [diff] [blame] | 448 | 'src/core/client_config/resolver.h', |
| 449 | 'src/core/client_config/resolver_factory.h', |
| 450 | 'src/core/client_config/resolver_registry.h', |
| 451 | 'src/core/client_config/resolvers/dns_resolver.h', |
Craig Tiller | 698d00c | 2015-07-20 12:32:58 -0700 | [diff] [blame] | 452 | 'src/core/client_config/resolvers/sockaddr_resolver.h', |
Craig Tiller | 4b62811 | 2015-06-25 08:58:23 -0700 | [diff] [blame] | 453 | 'src/core/client_config/subchannel.h', |
| 454 | 'src/core/client_config/subchannel_factory.h', |
Craig Tiller | 83f4d4e | 2015-07-29 18:14:41 -0700 | [diff] [blame] | 455 | 'src/core/client_config/subchannel_factory_decorators/add_channel_arg.h', |
| 456 | 'src/core/client_config/subchannel_factory_decorators/merge_channel_args.h', |
Craig Tiller | 4b62811 | 2015-06-25 08:58:23 -0700 | [diff] [blame] | 457 | 'src/core/client_config/uri_parser.h', |
Craig Tiller | eb327fb | 2015-06-23 16:51:38 -0700 | [diff] [blame] | 458 | 'src/core/compression/message_compress.h', |
| 459 | 'src/core/debug/trace.h', |
Craig Tiller | f53d9c8 | 2015-08-04 14:19:43 -0700 | [diff] [blame] | 460 | 'src/core/httpcli/format_request.h', |
| 461 | 'src/core/httpcli/httpcli.h', |
| 462 | 'src/core/httpcli/parser.h', |
Craig Tiller | eb327fb | 2015-06-23 16:51:38 -0700 | [diff] [blame] | 463 | 'src/core/iomgr/alarm.h', |
| 464 | 'src/core/iomgr/alarm_heap.h', |
| 465 | 'src/core/iomgr/alarm_internal.h', |
| 466 | 'src/core/iomgr/endpoint.h', |
| 467 | 'src/core/iomgr/endpoint_pair.h', |
| 468 | 'src/core/iomgr/fd_posix.h', |
| 469 | 'src/core/iomgr/iocp_windows.h', |
| 470 | 'src/core/iomgr/iomgr.h', |
| 471 | 'src/core/iomgr/iomgr_internal.h', |
| 472 | 'src/core/iomgr/iomgr_posix.h', |
| 473 | 'src/core/iomgr/pollset.h', |
Craig Tiller | eb327fb | 2015-06-23 16:51:38 -0700 | [diff] [blame] | 474 | 'src/core/iomgr/pollset_posix.h', |
| 475 | 'src/core/iomgr/pollset_set.h', |
| 476 | 'src/core/iomgr/pollset_set_posix.h', |
| 477 | 'src/core/iomgr/pollset_set_windows.h', |
| 478 | 'src/core/iomgr/pollset_windows.h', |
| 479 | 'src/core/iomgr/resolve_address.h', |
| 480 | 'src/core/iomgr/sockaddr.h', |
| 481 | 'src/core/iomgr/sockaddr_posix.h', |
| 482 | 'src/core/iomgr/sockaddr_utils.h', |
| 483 | 'src/core/iomgr/sockaddr_win32.h', |
| 484 | 'src/core/iomgr/socket_utils_posix.h', |
| 485 | 'src/core/iomgr/socket_windows.h', |
| 486 | 'src/core/iomgr/tcp_client.h', |
| 487 | 'src/core/iomgr/tcp_posix.h', |
| 488 | 'src/core/iomgr/tcp_server.h', |
| 489 | 'src/core/iomgr/tcp_windows.h', |
| 490 | 'src/core/iomgr/time_averaged_stats.h', |
Robbie Shade | 6953529 | 2015-07-10 14:27:34 -0400 | [diff] [blame] | 491 | 'src/core/iomgr/udp_server.h', |
Craig Tiller | eb327fb | 2015-06-23 16:51:38 -0700 | [diff] [blame] | 492 | 'src/core/iomgr/wakeup_fd_pipe.h', |
| 493 | 'src/core/iomgr/wakeup_fd_posix.h', |
Craig Tiller | 73b6606 | 2015-09-09 09:34:46 -0700 | [diff] [blame] | 494 | 'src/core/iomgr/workqueue.h', |
| 495 | 'src/core/iomgr/workqueue_posix.h', |
| 496 | 'src/core/iomgr/workqueue_windows.h', |
Craig Tiller | eb327fb | 2015-06-23 16:51:38 -0700 | [diff] [blame] | 497 | 'src/core/json/json.h', |
| 498 | 'src/core/json/json_common.h', |
| 499 | 'src/core/json/json_reader.h', |
| 500 | 'src/core/json/json_writer.h', |
| 501 | 'src/core/profiling/timers.h', |
yang-g | 31ff8bc | 2015-08-25 14:09:06 -0700 | [diff] [blame] | 502 | 'src/core/statistics/census_interface.h', |
| 503 | 'src/core/statistics/census_rpc_stats.h', |
Craig Tiller | eb327fb | 2015-06-23 16:51:38 -0700 | [diff] [blame] | 504 | 'src/core/surface/byte_buffer_queue.h', |
| 505 | 'src/core/surface/call.h', |
| 506 | 'src/core/surface/channel.h', |
Craig Tiller | eb327fb | 2015-06-23 16:51:38 -0700 | [diff] [blame] | 507 | 'src/core/surface/completion_queue.h', |
| 508 | 'src/core/surface/event_string.h', |
| 509 | 'src/core/surface/init.h', |
| 510 | 'src/core/surface/server.h', |
| 511 | 'src/core/surface/surface_trace.h', |
| 512 | 'src/core/transport/chttp2/alpn.h', |
| 513 | 'src/core/transport/chttp2/bin_encoder.h', |
| 514 | 'src/core/transport/chttp2/frame.h', |
| 515 | 'src/core/transport/chttp2/frame_data.h', |
| 516 | 'src/core/transport/chttp2/frame_goaway.h', |
| 517 | 'src/core/transport/chttp2/frame_ping.h', |
| 518 | 'src/core/transport/chttp2/frame_rst_stream.h', |
| 519 | 'src/core/transport/chttp2/frame_settings.h', |
| 520 | 'src/core/transport/chttp2/frame_window_update.h', |
| 521 | 'src/core/transport/chttp2/hpack_parser.h', |
| 522 | 'src/core/transport/chttp2/hpack_table.h', |
| 523 | 'src/core/transport/chttp2/http2_errors.h', |
| 524 | 'src/core/transport/chttp2/huffsyms.h', |
Craig Tiller | 6e8c7e8 | 2015-06-25 08:52:40 -0700 | [diff] [blame] | 525 | 'src/core/transport/chttp2/incoming_metadata.h', |
| 526 | 'src/core/transport/chttp2/internal.h', |
Craig Tiller | eb327fb | 2015-06-23 16:51:38 -0700 | [diff] [blame] | 527 | 'src/core/transport/chttp2/status_conversion.h', |
| 528 | 'src/core/transport/chttp2/stream_encoder.h', |
| 529 | 'src/core/transport/chttp2/stream_map.h', |
| 530 | 'src/core/transport/chttp2/timeout_encoding.h', |
| 531 | 'src/core/transport/chttp2/varint.h', |
| 532 | 'src/core/transport/chttp2_transport.h', |
Craig Tiller | 08a1cf8 | 2015-06-29 09:37:52 -0700 | [diff] [blame] | 533 | 'src/core/transport/connectivity_state.h', |
Craig Tiller | eb327fb | 2015-06-23 16:51:38 -0700 | [diff] [blame] | 534 | 'src/core/transport/metadata.h', |
| 535 | 'src/core/transport/stream_op.h', |
| 536 | 'src/core/transport/transport.h', |
| 537 | 'src/core/transport/transport_impl.h', |
Alistair Veitch | 1c09acc | 2015-08-31 16:57:32 -0700 | [diff] [blame] | 538 | 'src/core/census/aggregation.h', |
Alistair Veitch | 635899d | 2015-07-17 16:02:24 -0700 | [diff] [blame] | 539 | 'src/core/census/context.h', |
Alistair Veitch | 9a09982 | 2015-08-27 13:16:00 -0700 | [diff] [blame] | 540 | 'src/core/census/rpc_metric_id.h' |
Craig Tiller | eb327fb | 2015-06-23 16:51:38 -0700 | [diff] [blame] | 541 | |
Jorge Canizales | ea9b4fd | 2015-06-21 13:37:28 -0700 | [diff] [blame] | 542 | ss.header_mappings_dir = '.' |
Jorge Canizales | c2d7ecb | 2015-02-27 01:22:41 -0800 | [diff] [blame] | 543 | |
Jorge Canizales | ea9b4fd | 2015-06-21 13:37:28 -0700 | [diff] [blame] | 544 | ss.requires_arc = false |
| 545 | ss.libraries = 'z' |
| 546 | ss.dependency 'OpenSSL', '~> 1.0.200' |
Jorge Canizales | 63c3efb | 2015-07-17 18:53:20 -0700 | [diff] [blame] | 547 | |
| 548 | # ss.compiler_flags = '-GCC_WARN_INHIBIT_ALL_WARNINGS', '-w' |
Jorge Canizales | c2d7ecb | 2015-02-27 01:22:41 -0800 | [diff] [blame] | 549 | end |
| 550 | |
Jorge Canizales | 146f177 | 2015-04-27 23:59:22 -0700 | [diff] [blame] | 551 | # This is a workaround for Cocoapods Issue #1437. |
| 552 | # It renames time.h and string.h to grpc_time.h and grpc_string.h. |
| 553 | # It needs to be here (top-level) instead of in the C-Core subspec because Cocoapods doesn't run |
| 554 | # prepare_command's of subspecs. |
Jorge Canizales | 461b094 | 2015-06-02 20:40:50 -0700 | [diff] [blame] | 555 | # |
Jorge Canizales | ea9b4fd | 2015-06-21 13:37:28 -0700 | [diff] [blame] | 556 | # TODO(jcanizales): Try out others' solutions at Issue #1437. |
Jorge Canizales | 146f177 | 2015-04-27 23:59:22 -0700 | [diff] [blame] | 557 | s.prepare_command = <<-CMD |
murgatroid99 | df35577 | 2015-06-23 16:39:29 -0700 | [diff] [blame] | 558 | # Move contents of include up a level to avoid manually specifying include paths |
| 559 | cp -r "include/grpc" "." |
| 560 | |
Jorge Canizales | 146f177 | 2015-04-27 23:59:22 -0700 | [diff] [blame] | 561 | DIR_TIME="grpc/support" |
| 562 | BAD_TIME="$DIR_TIME/time.h" |
| 563 | GOOD_TIME="$DIR_TIME/grpc_time.h" |
Jorge Canizales | 59bb9d7 | 2015-06-22 19:04:15 -0700 | [diff] [blame] | 564 | grep -rl "$BAD_TIME" grpc src/core src/objective-c/GRPCClient | xargs sed -i '' -e s@$BAD_TIME@$GOOD_TIME@g |
Jorge Canizales | 9506819 | 2015-07-02 20:18:43 -0700 | [diff] [blame] | 565 | if [ -f "$BAD_TIME" ]; |
Jorge Canizales | 146f177 | 2015-04-27 23:59:22 -0700 | [diff] [blame] | 566 | then |
Jorge Canizales | 9506819 | 2015-07-02 20:18:43 -0700 | [diff] [blame] | 567 | mv -f "$BAD_TIME" "$GOOD_TIME" |
Jorge Canizales | 146f177 | 2015-04-27 23:59:22 -0700 | [diff] [blame] | 568 | fi |
| 569 | |
| 570 | DIR_STRING="src/core/support" |
| 571 | BAD_STRING="$DIR_STRING/string.h" |
| 572 | GOOD_STRING="$DIR_STRING/grpc_string.h" |
Jorge Canizales | 59bb9d7 | 2015-06-22 19:04:15 -0700 | [diff] [blame] | 573 | grep -rl "$BAD_STRING" grpc src/core src/objective-c/GRPCClient | xargs sed -i '' -e s@$BAD_STRING@$GOOD_STRING@g |
Jorge Canizales | 146f177 | 2015-04-27 23:59:22 -0700 | [diff] [blame] | 574 | if [ -f "$BAD_STRING" ]; |
| 575 | then |
Jorge Canizales | 461b094 | 2015-06-02 20:40:50 -0700 | [diff] [blame] | 576 | mv -f "$BAD_STRING" "$GOOD_STRING" |
Jorge Canizales | 146f177 | 2015-04-27 23:59:22 -0700 | [diff] [blame] | 577 | fi |
| 578 | CMD |
| 579 | |
Jorge Canizales | 461b094 | 2015-06-02 20:40:50 -0700 | [diff] [blame] | 580 | # Objective-C wrapper around the core gRPC library. |
Jorge Canizales | ea9b4fd | 2015-06-21 13:37:28 -0700 | [diff] [blame] | 581 | s.subspec 'GRPCClient' do |ss| |
| 582 | src_dir = "#{objc_dir}/GRPCClient" |
| 583 | ss.source_files = "#{src_dir}/*.{h,m}", "#{src_dir}/**/*.{h,m}" |
| 584 | ss.private_header_files = "#{src_dir}/private/*.h" |
| 585 | ss.header_mappings_dir = "#{objc_dir}" |
Jorge Canizales | c2d7ecb | 2015-02-27 01:22:41 -0800 | [diff] [blame] | 586 | |
Jorge Canizales | ea9b4fd | 2015-06-21 13:37:28 -0700 | [diff] [blame] | 587 | ss.dependency 'gRPC/C-Core' |
| 588 | ss.dependency 'gRPC/RxLibrary' |
Jorge Canizales | ba37a3e | 2015-03-23 15:34:58 -0700 | [diff] [blame] | 589 | |
Jorge Canizales | 8957cae | 2015-04-22 23:40:18 -0700 | [diff] [blame] | 590 | # Certificates, to be able to establish TLS connections: |
Jorge Canizales | bb54ae8 | 2015-06-28 06:50:58 -0700 | [diff] [blame] | 591 | ss.resource_bundles = { 'gRPCCertificates' => ['etc/roots.pem'] } |
Jorge Canizales | 8957cae | 2015-04-22 23:40:18 -0700 | [diff] [blame] | 592 | end |
| 593 | |
Jorge Canizales | 461b094 | 2015-06-02 20:40:50 -0700 | [diff] [blame] | 594 | # RPC library for ProtocolBuffers, based on gRPC |
Jorge Canizales | ea9b4fd | 2015-06-21 13:37:28 -0700 | [diff] [blame] | 595 | s.subspec 'ProtoRPC' do |ss| |
| 596 | src_dir = "#{objc_dir}/ProtoRPC" |
| 597 | ss.source_files = "#{src_dir}/*.{h,m}" |
| 598 | ss.header_mappings_dir = "#{objc_dir}" |
Jorge Canizales | 8957cae | 2015-04-22 23:40:18 -0700 | [diff] [blame] | 599 | |
Jorge Canizales | ea9b4fd | 2015-06-21 13:37:28 -0700 | [diff] [blame] | 600 | ss.dependency 'gRPC/GRPCClient' |
| 601 | ss.dependency 'gRPC/RxLibrary' |
| 602 | ss.dependency 'Protobuf', '~> 3.0.0-alpha-3' |
Jorge Canizales | 8957cae | 2015-04-22 23:40:18 -0700 | [diff] [blame] | 603 | end |
Jorge Canizales | c2d7ecb | 2015-02-27 01:22:41 -0800 | [diff] [blame] | 604 | end |