Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(282)

Side by Side Diff: third_party/grpc/examples/objective-c/auth_sample/AuthTestService.podspec

Issue 1932353002: Initial checkin of gRPC to third_party/ Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 Pod::Spec.new do |s|
2 s.name = "AuthTestService"
3 s.version = "0.0.1"
4 s.license = "New BSD"
5
6 s.ios.deployment_target = "7.1"
7 s.osx.deployment_target = "10.9"
8
9 # Base directory where the .proto files are.
10 src = "../../protos"
11
12 # Directory where the generated files will be placed.
13 dir = "Pods/" + s.name
14
15 # Run protoc with the Objective-C and gRPC plugins to generate protocol messag es and gRPC clients.
16 s.prepare_command = <<-CMD
17 mkdir -p #{dir}
18 protoc -I #{src} --objc_out=#{dir} --objcgrpc_out=#{dir} #{src}/auth_sample. proto
19 CMD
20
21 s.subspec "Messages" do |ms|
22 ms.source_files = "#{dir}/*.pbobjc.{h,m}", "#{dir}/**/*.pbobjc.{h,m}"
23 ms.header_mappings_dir = dir
24 ms.requires_arc = false
25 ms.dependency "Protobuf", "~> 3.0.0-alpha-4"
26 end
27
28 s.subspec "Services" do |ss|
29 ss.source_files = "#{dir}/*.pbrpc.{h,m}", "#{dir}/**/*.pbrpc.{h,m}"
30 ss.header_mappings_dir = dir
31 ss.requires_arc = true
32 ss.dependency "gRPC", "~> 0.12"
33 ss.dependency "#{s.name}/Messages"
34 end
35 end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698