Skip to content

Commit c5f9dd6

Browse files
wuhao5mobile-devx-github-bot
authored andcommitted
Internal change
PiperOrigin-RevId: 253143884
1 parent 25f5ba5 commit c5f9dd6

File tree

1 file changed

+23
-51
lines changed

1 file changed

+23
-51
lines changed

eDistantObject.podspec

+23-51
Original file line numberDiff line numberDiff line change
@@ -1,62 +1,34 @@
11
Pod::Spec.new do |s|
2-
32
s.name = "eDistantObject"
43
s.version = "0.9.0"
54
s.summary = "ObjC and Swift remote invocation framework"
65
s.homepage = "https://github.com/google/eDistantObject"
7-
s.author = "Google Inc."
8-
s.summary = "eDistantObject provides users an easy way to make remote method invocations between processes in Objective-C and Swift without explicitly constructing RPC structures."
6+
s.author = "Google LLC."
7+
s.description = <<-DESC
8+
eDistantObject provides users an easy way to make remote method invocations between
9+
processes in Objective-C and Swift without explicitly constructing RPC structures.
10+
DESC
911
s.license = { :type => "Apache 2.0", :file => "LICENSE" }
1012
s.source = { :git => "https://github.com/google/eDistantObject.git", :tag => "0.9.0" }
1113

12-
# Subspec each folder so folders exist when pod is installed.
13-
14-
# Can't have the public headers exist in the private headers as you won't be able to import them. Made these arrays because of this.
15-
service_public = %w[Service/Sources/EDOClientService.h
16-
Service/Sources/EDOClientService+Device.h
17-
Service/Sources/EDOClientServiceStatsCollector.h
18-
Service/Sources/EDOHostNamingService.h
19-
Service/Sources/EDOHostService.h
20-
Service/Sources/EDOHostService+Device.h
21-
Service/Sources/EDORemoteVariable.h
22-
Service/Sources/EDOServiceError.h
23-
Service/Sources/EDOServiceException.h
24-
Service/Sources/EDOServicePort.h
25-
Service/Sources/NSObject+EDOValueObject.h]
26-
27-
service_private = (Dir.glob("Service/Sources/*.h")) - service_public
28-
29-
s.subspec 'Service' do |service|
30-
service.source_files = "Service/Sources/*.{m,h}"
31-
service.public_header_files = service_public
32-
service.private_header_files = service_private
33-
service.header_dir = "Service/Sources"
34-
end
35-
36-
s.subspec 'Channel' do |channel|
37-
channel.source_files = "Channel/Sources/*.{m,h}"
38-
channel.private_header_files = Dir.glob("Channel/Sources/*.h")
39-
channel.header_dir = "Channel/Sources"
40-
end
41-
42-
s.subspec 'Measure' do |measure|
43-
measure.source_files = "Measure/Sources/*.{m,h}"
44-
measure.private_header_files = Dir.glob("Measure/Sources/*.h")
45-
measure.header_dir = "Measure/Sources"
46-
end
47-
48-
device_public = %w[Device/Sources/EDODeviceConnector.h
49-
Device/Sources/EDODeviceDetector.h]
50-
device_private = (Dir.glob("Device/Sources/*.h")) - device_public
51-
52-
s.subspec 'Device' do |device|
53-
device.source_files = "Device/Sources/*.{m,h}"
54-
device.public_header_files = device_public
55-
device.private_header_files = device_private
56-
device.header_dir = "Device/Sources"
57-
end
14+
s.public_header_files = %w[Service/Sources/EDOClientService.h
15+
Service/Sources/EDOClientService+Device.h
16+
Service/Sources/EDOClientServiceStatsCollector.h
17+
Service/Sources/EDOHostNamingService.h
18+
Service/Sources/EDOHostService.h
19+
Service/Sources/EDOHostService+Device.h
20+
Service/Sources/EDORemoteVariable.h
21+
Service/Sources/EDOServiceError.h
22+
Service/Sources/EDOServiceException.h
23+
Service/Sources/EDOServicePort.h
24+
Service/Sources/NSObject+EDOValueObject.h
25+
Device/Sources/EDODeviceConnector.h
26+
Device/Sources/EDODeviceDetector.h]
27+
28+
s.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "${PODS_ROOT}/eDistantObject" }
29+
s.source_files = "Channel/Sources/*.{m,h}", "Device/Sources/*.{m,h}", "Measure/Sources/*.{m,h}",
30+
"Service/Sources/*.{m,h}"
5831

5932
s.ios.deployment_target = "10.0"
6033
s.osx.deployment_target = "10.10"
61-
62-
end
34+
end

0 commit comments

Comments
 (0)