Permalink
Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
200 lines (195 sloc) 8.92 KB
Pod::Spec.new do |s|
s.name = 'GoogleAPIClient'
s.version = '1.0.5'
s.author = 'Google Inc.'
s.homepage = 'https://github.com/google/google-api-objectivec-client'
s.license = { :type => 'Apache', :file => 'LICENSE' }
s.source = { :git => 'https://github.com/google/google-api-objectivec-client.git',
:tag => "v#{s.version}" }
s.summary = 'Google APIs Client Library for Objective-C'
s.description = <<-DESC
Written by Google, this library is a flexible and efficient Objective-C
framework for accessing JSON APIs. This is the recommended library for
accessing JSON-based Google APIs for iOS and Mac OS X applications.
This version can be used with iOS ≥ 7.0 or OS X ≥ 10.8.
DESC
s.ios.deployment_target = '7.0'
s.osx.deployment_target = '10.8'
s.tvos.deployment_target = '9.0'
s.user_target_xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) GTL_USE_FRAMEWORK_IMPORTS=1' }
s.pod_target_xcconfig = { 'GCC_PREPROCESSOR_DEFINITIONS' => '$(inherited) GTL_HAS_SESSION_UPLOAD_FETCHER_IMPORT=1' }
s.requires_arc = false
s.dependency 'GTMSessionFetcher', '~> 1.1'
s.subspec 'Core' do |sp|
sp.source_files = 'Source/GTLDefines.h',
'Source/Objects/*.{h,m}',
'Source/Utilities/*.{h,m}'
end
s.default_subspec = 'Core'
# subspecs for all the services.
s.subspec 'AdExchangeBuyer' do |sp|
sp.dependency 'GoogleAPIClient/Core'
sp.source_files = 'Source/Services/AdExchangeBuyer/Generated/*.{h,m}'
sp.exclude_files = 'Source/Services/AdExchangeBuyer/Generated/GTLAdExchangeBuyer_Sources.m'
end
s.subspec 'AdExchangeSeller' do |sp|
sp.dependency 'GoogleAPIClient/Core'
sp.source_files = 'Source/Services/AdExchangeSeller/Generated/*.{h,m}'
sp.exclude_files = 'Source/Services/AdExchangeSeller/Generated/GTLAdExchangeSeller_Sources.m'
end
s.subspec 'AdSense' do |sp|
sp.dependency 'GoogleAPIClient/Core'
sp.source_files = 'Source/Services/AdSense/Generated/*.{h,m}'
sp.exclude_files = 'Source/Services/AdSense/Generated/GTLAdSense_Sources.m'
end
s.subspec 'AdSenseHost' do |sp|
sp.dependency 'GoogleAPIClient/Core'
sp.source_files = 'Source/Services/AdSenseHost/Generated/*.{h,m}'
sp.exclude_files = 'Source/Services/AdSenseHost/Generated/GTLAdSenseHost_Sources.m'
end
s.subspec 'Analytics' do |sp|
sp.dependency 'GoogleAPIClient/Core'
sp.source_files = 'Source/Services/Analytics/Generated/*.{h,m}'
sp.exclude_files = 'Source/Services/Analytics/Generated/GTLAnalytics_Sources.m'
end
s.subspec 'AppState' do |sp|
sp.dependency 'GoogleAPIClient/Core'
sp.source_files = 'Source/Services/AppState/Generated/*.{h,m}'
sp.exclude_files = 'Source/Services/AppState/Generated/GTLAppState_Sources.m'
end
s.subspec 'Bigquery' do |sp|
sp.dependency 'GoogleAPIClient/Core'
sp.source_files = 'Source/Services/Bigquery/Generated/*.{h,m}'
sp.exclude_files = 'Source/Services/Bigquery/Generated/GTLBigquery_Sources.m'
end
s.subspec 'Blogger' do |sp|
sp.dependency 'GoogleAPIClient/Core'
sp.source_files = 'Source/Services/Blogger/Generated/*.{h,m}'
sp.exclude_files = 'Source/Services/Blogger/Generated/GTLBlogger_Sources.m'
end
s.subspec 'Books' do |sp|
sp.dependency 'GoogleAPIClient/Core'
sp.source_files = 'Source/Services/Books/Generated/*.{h,m}'
sp.exclude_files = 'Source/Services/Books/Generated/GTLBooks_Sources.m'
end
s.subspec 'Calendar' do |sp|
sp.dependency 'GoogleAPIClient/Core'
sp.source_files = 'Source/Services/Calendar/Generated/*.{h,m}'
sp.exclude_files = 'Source/Services/Calendar/Generated/GTLCalendar_Sources.m'
end
s.subspec 'CivicInfo' do |sp|
sp.dependency 'GoogleAPIClient/Core'
sp.source_files = 'Source/Services/CivicInfo/Generated/*.{h,m}'
sp.exclude_files = 'Source/Services/CivicInfo/Generated/GTLCivicInfo_Sources.m'
end
s.subspec 'Compute' do |sp|
sp.dependency 'GoogleAPIClient/Core'
sp.source_files = 'Source/Services/Compute/Generated/*.{h,m}'
sp.exclude_files = 'Source/Services/Compute/Generated/GTLCompute_Sources.m'
end
s.subspec 'DeploymentManager' do |sp|
sp.dependency 'GoogleAPIClient/Core'
sp.source_files = 'Source/Services/DeploymentManager/Generated/*.{h,m}'
sp.exclude_files = 'Source/Services/DeploymentManager/Generated/GTLDeploymentManager_Sources.m'
end
s.subspec 'Discovery' do |sp|
sp.dependency 'GoogleAPIClient/Core'
sp.source_files = 'Source/Services/Discovery/Generated/*.{h,m}'
sp.exclude_files = 'Source/Services/Discovery/Generated/GTLDiscovery_Sources.m'
end
s.subspec 'DoubleClickBidManager' do |sp|
sp.dependency 'GoogleAPIClient/Core'
sp.source_files = 'Source/Services/DoubleClickBidManager/Generated/*.{h,m}'
sp.exclude_files = 'Source/Services/DoubleClickBidManager/Generated/GTLDoubleClickBidManager_Sources.m'
end
s.subspec 'Drive' do |sp|
sp.dependency 'GoogleAPIClient/Core'
sp.source_files = 'Source/Services/Drive/Generated/*.{h,m}'
sp.exclude_files = 'Source/Services/Drive/Generated/GTLDrive_Sources.m'
end
s.subspec 'Fitness' do |sp|
sp.dependency 'GoogleAPIClient/Core'
sp.source_files = 'Source/Services/Fitness/Generated/*.{h,m}'
sp.exclude_files = 'Source/Services/Fitness/Generated/GTLFitness_Sources.m'
end
s.subspec 'Gmail' do |sp|
sp.dependency 'GoogleAPIClient/Core'
sp.source_files = 'Source/Services/Gmail/Generated/*.{h,m}'
sp.exclude_files = 'Source/Services/Gmail/Generated/GTLGmail_Sources.m'
end
s.subspec 'Groupssettings' do |sp|
sp.dependency 'GoogleAPIClient/Core'
sp.source_files = 'Source/Services/Groupssettings/Generated/*.{h,m}'
sp.exclude_files = 'Source/Services/Groupssettings/Generated/GTLGroupssettings_Sources.m'
end
s.subspec 'Licensing' do |sp|
sp.dependency 'GoogleAPIClient/Core'
sp.source_files = 'Source/Services/Licensing/Generated/*.{h,m}'
sp.exclude_files = 'Source/Services/Licensing/Generated/GTLLicensing_Sources.m'
end
s.subspec 'MapsEngine' do |sp|
sp.dependency 'GoogleAPIClient/Core'
sp.source_files = 'Source/Services/MapsEngine/Generated/*.{h,m}'
sp.exclude_files = 'Source/Services/MapsEngine/Generated/GTLMapsEngine_Sources.m'
end
s.subspec 'Mirror' do |sp|
sp.dependency 'GoogleAPIClient/Core'
sp.source_files = 'Source/Services/Mirror/Generated/*.{h,m}'
sp.exclude_files = 'Source/Services/Mirror/Generated/GTLMirror_Sources.m'
end
s.subspec 'Plus' do |sp|
sp.dependency 'GoogleAPIClient/Core'
sp.source_files = 'Source/Services/Plus/Generated/*.{h,m}'
sp.exclude_files = 'Source/Services/Plus/Generated/GTLPlus_Sources.m'
end
s.subspec 'PlusDomains' do |sp|
sp.dependency 'GoogleAPIClient/Core'
sp.source_files = 'Source/Services/PlusDomains/Generated/*.{h,m}'
sp.exclude_files = 'Source/Services/PlusDomains/Generated/GTLPlusDomains_Sources.m'
end
s.subspec 'Prediction' do |sp|
sp.dependency 'GoogleAPIClient/Core'
sp.source_files = 'Source/Services/Prediction/Generated/*.{h,m}'
sp.exclude_files = 'Source/Services/Prediction/Generated/GTLPrediction_Sources.m'
end
s.subspec 'QPXExpress' do |sp|
sp.dependency 'GoogleAPIClient/Core'
sp.source_files = 'Source/Services/QPXExpress/Generated/*.{h,m}'
sp.exclude_files = 'Source/Services/QPXExpress/Generated/GTLQPXExpress_Sources.m'
end
s.subspec 'ServiceRegistry' do |sp|
sp.dependency 'GoogleAPIClient/Core'
sp.source_files = 'Source/Services/ServiceRegistry/Generated/*.{h,m}'
sp.exclude_files = 'Source/Services/ServiceRegistry/Generated/GTLServiceRegistry_Sources.m'
end
s.subspec 'Spectrum' do |sp|
sp.dependency 'GoogleAPIClient/Core'
sp.source_files = 'Source/Services/Spectrum/Generated/*.{h,m}'
sp.exclude_files = 'Source/Services/Spectrum/Generated/GTLSpectrum_Sources.m'
end
s.subspec 'Storage' do |sp|
sp.dependency 'GoogleAPIClient/Core'
sp.source_files = 'Source/Services/Storage/Generated/*.{h,m}'
sp.exclude_files = 'Source/Services/Storage/Generated/GTLStorage_Sources.m'
end
s.subspec 'Tasks' do |sp|
sp.dependency 'GoogleAPIClient/Core'
sp.source_files = 'Source/Services/Tasks/Generated/*.{h,m}'
sp.exclude_files = 'Source/Services/Tasks/Generated/GTLTasks_Sources.m'
end
s.subspec 'Urlshortener' do |sp|
sp.dependency 'GoogleAPIClient/Core'
sp.source_files = 'Source/Services/Urlshortener/Generated/*.{h,m}'
sp.exclude_files = 'Source/Services/Urlshortener/Generated/GTLUrlshortener_Sources.m'
end
s.subspec 'Webmasters' do |sp|
sp.dependency 'GoogleAPIClient/Core'
sp.source_files = 'Source/Services/Webmasters/Generated/*.{h,m}'
sp.exclude_files = 'Source/Services/Webmasters/Generated/GTLWebmasters_Sources.m'
end
s.subspec 'YouTube' do |sp|
sp.dependency 'GoogleAPIClient/Core'
sp.source_files = 'Source/Services/YouTube/Generated/*.{h,m}'
sp.exclude_files = 'Source/Services/YouTube/Generated/GTLYouTube_Sources.m'
end
end