Muxi Yan | 27e9db4 | 2017-01-30 09:21:05 -0800 | [diff] [blame] | 1 | # This file has been automatically generated from a template file. |
| 2 | # Please make modifications to |
| 3 | # `templates/gRPC-ProtoRPC.podspec.template` instead. This file can be |
| 4 | # regenerated from the template by running |
| 5 | # `tools/buildgen/generate_projects.sh`. |
| 6 | |
Jorge Canizales | e487a72 | 2016-04-30 12:05:26 -0700 | [diff] [blame] | 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 | |
Muxi Yan | 91bac11 | 2017-01-30 09:01:26 -0800 | [diff] [blame] | 36 | |
Jorge Canizales | e487a72 | 2016-04-30 12:05:26 -0700 | [diff] [blame] | 37 | Pod::Spec.new do |s| |
| 38 | s.name = 'gRPC-ProtoRPC' |
David Garcia Quintas | 9e1acc0 | 2017-04-13 16:30:15 -0700 | [diff] [blame] | 39 | version = '1.4.0-dev' |
Jorge Canizales | e487a72 | 2016-04-30 12:05:26 -0700 | [diff] [blame] | 40 | s.version = version |
| 41 | s.summary = 'RPC library for Protocol Buffers, based on gRPC' |
| 42 | s.homepage = 'http://www.grpc.io' |
| 43 | s.license = 'New BSD' |
| 44 | s.authors = { 'The gRPC contributors' => 'grpc-packages@google.com' } |
| 45 | |
| 46 | s.source = { |
| 47 | :git => 'https://github.com/grpc/grpc.git', |
Muxi Yan | 690aee6 | 2017-01-27 02:52:47 +0000 | [diff] [blame] | 48 | :tag => "v#{version}", |
Jorge Canizales | e487a72 | 2016-04-30 12:05:26 -0700 | [diff] [blame] | 49 | } |
| 50 | |
Muxi Yan | 37d3fba | 2017-02-28 16:14:40 -0800 | [diff] [blame] | 51 | s.ios.deployment_target = '7.0' |
Jorge Canizales | e487a72 | 2016-04-30 12:05:26 -0700 | [diff] [blame] | 52 | s.osx.deployment_target = '10.9' |
| 53 | |
| 54 | name = 'ProtoRPC' |
| 55 | s.module_name = name |
| 56 | s.header_dir = name |
| 57 | |
| 58 | src_dir = 'src/objective-c/ProtoRPC' |
| 59 | s.source_files = "#{src_dir}/*.{h,m}" |
| 60 | s.header_mappings_dir = "#{src_dir}" |
| 61 | |
| 62 | s.dependency 'gRPC', version |
| 63 | s.dependency 'gRPC-RxLibrary', version |
Jorge Canizales | 72dce2d | 2016-07-29 15:42:00 -0700 | [diff] [blame] | 64 | s.dependency 'Protobuf', '~> 3.0' |
Jorge Canizales | e487a72 | 2016-04-30 12:05:26 -0700 | [diff] [blame] | 65 | s.pod_target_xcconfig = { |
Jorge Canizales | e4704d3 | 2016-07-18 11:08:04 -0700 | [diff] [blame] | 66 | # This is needed by all pods that depend on Protobuf: |
Jorge Canizales | e487a72 | 2016-04-30 12:05:26 -0700 | [diff] [blame] | 67 | 'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1', |
Jorge Canizales | e4704d3 | 2016-07-18 11:08:04 -0700 | [diff] [blame] | 68 | # This is needed by all pods that depend on gRPC-RxLibrary: |
| 69 | 'CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES' => 'YES', |
Jorge Canizales | e487a72 | 2016-04-30 12:05:26 -0700 | [diff] [blame] | 70 | } |
| 71 | end |