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 | |
Jan Tattermusch | 4d5c310 | 2017-06-07 10:23:56 +0200 | [diff] [blame] | 7 | # Copyright 2015 gRPC authors. |
Jorge Canizales | e487a72 | 2016-04-30 12:05:26 -0700 | [diff] [blame] | 8 | # |
Jan Tattermusch | 4d5c310 | 2017-06-07 10:23:56 +0200 | [diff] [blame] | 9 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 10 | # you may not use this file except in compliance with the License. |
| 11 | # You may obtain a copy of the License at |
Jorge Canizales | e487a72 | 2016-04-30 12:05:26 -0700 | [diff] [blame] | 12 | # |
Jan Tattermusch | 4d5c310 | 2017-06-07 10:23:56 +0200 | [diff] [blame] | 13 | # http://www.apache.org/licenses/LICENSE-2.0 |
Jorge Canizales | e487a72 | 2016-04-30 12:05:26 -0700 | [diff] [blame] | 14 | # |
Jan Tattermusch | 4d5c310 | 2017-06-07 10:23:56 +0200 | [diff] [blame] | 15 | # Unless required by applicable law or agreed to in writing, software |
| 16 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 17 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 18 | # See the License for the specific language governing permissions and |
| 19 | # limitations under the License. |
Jorge Canizales | e487a72 | 2016-04-30 12:05:26 -0700 | [diff] [blame] | 20 | |
Muxi Yan | 91bac11 | 2017-01-30 09:01:26 -0800 | [diff] [blame] | 21 | |
Jorge Canizales | e487a72 | 2016-04-30 12:05:26 -0700 | [diff] [blame] | 22 | Pod::Spec.new do |s| |
| 23 | s.name = 'gRPC-ProtoRPC' |
murgatroid99 | 9887379 | 2017-10-02 17:28:27 -0700 | [diff] [blame] | 24 | version = '1.8.0-dev' |
Jorge Canizales | e487a72 | 2016-04-30 12:05:26 -0700 | [diff] [blame] | 25 | s.version = version |
| 26 | s.summary = 'RPC library for Protocol Buffers, based on gRPC' |
Mehrdad Afshari | bb3d95b | 2017-07-10 22:24:28 +0000 | [diff] [blame] | 27 | s.homepage = 'https://grpc.io' |
Jan Tattermusch | 4d5c310 | 2017-06-07 10:23:56 +0200 | [diff] [blame] | 28 | s.license = 'Apache License, Version 2.0' |
Jorge Canizales | e487a72 | 2016-04-30 12:05:26 -0700 | [diff] [blame] | 29 | s.authors = { 'The gRPC contributors' => 'grpc-packages@google.com' } |
| 30 | |
| 31 | s.source = { |
| 32 | :git => 'https://github.com/grpc/grpc.git', |
Muxi Yan | 690aee6 | 2017-01-27 02:52:47 +0000 | [diff] [blame] | 33 | :tag => "v#{version}", |
Jorge Canizales | e487a72 | 2016-04-30 12:05:26 -0700 | [diff] [blame] | 34 | } |
| 35 | |
Muxi Yan | 37d3fba | 2017-02-28 16:14:40 -0800 | [diff] [blame] | 36 | s.ios.deployment_target = '7.0' |
Jorge Canizales | e487a72 | 2016-04-30 12:05:26 -0700 | [diff] [blame] | 37 | s.osx.deployment_target = '10.9' |
| 38 | |
| 39 | name = 'ProtoRPC' |
| 40 | s.module_name = name |
| 41 | s.header_dir = name |
| 42 | |
| 43 | src_dir = 'src/objective-c/ProtoRPC' |
| 44 | s.source_files = "#{src_dir}/*.{h,m}" |
| 45 | s.header_mappings_dir = "#{src_dir}" |
| 46 | |
| 47 | s.dependency 'gRPC', version |
| 48 | s.dependency 'gRPC-RxLibrary', version |
Jorge Canizales | 72dce2d | 2016-07-29 15:42:00 -0700 | [diff] [blame] | 49 | s.dependency 'Protobuf', '~> 3.0' |
Jorge Canizales | e487a72 | 2016-04-30 12:05:26 -0700 | [diff] [blame] | 50 | s.pod_target_xcconfig = { |
Jorge Canizales | e4704d3 | 2016-07-18 11:08:04 -0700 | [diff] [blame] | 51 | # This is needed by all pods that depend on Protobuf: |
Jorge Canizales | e487a72 | 2016-04-30 12:05:26 -0700 | [diff] [blame] | 52 | 'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1', |
Jorge Canizales | e4704d3 | 2016-07-18 11:08:04 -0700 | [diff] [blame] | 53 | # This is needed by all pods that depend on gRPC-RxLibrary: |
| 54 | 'CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES' => 'YES', |
Jorge Canizales | e487a72 | 2016-04-30 12:05:26 -0700 | [diff] [blame] | 55 | } |
| 56 | end |