31 lines
1.1 KiB
Ruby
31 lines
1.1 KiB
Ruby
Pod::Spec.new do |spec|
|
|
spec.name = 'GLog'
|
|
spec.version = '0.3.4'
|
|
spec.license = { :type => 'Google', :file => 'COPYING' }
|
|
spec.homepage = 'https://github.com/google/glog'
|
|
spec.summary = 'Google logging module'
|
|
spec.authors = 'Google'
|
|
|
|
spec.prepare_command = File.read("../scripts/ios-configure-glog.sh")
|
|
spec.source = { :git => 'https://github.com/google/glog.git',
|
|
:tag => "v#{spec.version}" }
|
|
spec.module_name = 'glog'
|
|
spec.source_files = 'src/**/*.h',
|
|
'src/demangle.cc',
|
|
'src/logging.cc',
|
|
'src/raw_logging.cc',
|
|
'src/signalhandler.cc',
|
|
'src/symbolize.cc',
|
|
'src/utilities.cc',
|
|
'src/vlog_is_on.cc'
|
|
spec.exclude_files = "src/windows/**/*"
|
|
spec.public_header_files = "src/glog/*.h"
|
|
spec.libraries = "stdc++"
|
|
spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
"HEADER_SEARCH_PATHS" => "$(PODS_TARGET_SRCROOT)/src" }
|
|
|
|
# Pinning to the same version as React.podspec.
|
|
spec.platform = :ios, "8.0"
|
|
|
|
end
|