update
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
Pod::Spec.new do |spec|
|
||||
spec.name = 'Folly'
|
||||
spec.version = '2018.05.07.00'
|
||||
spec.version = '2018.05.28.00'
|
||||
spec.license = { :type => 'Apache License, Version 2.0' }
|
||||
spec.homepage = 'https://github.com/facebook/folly'
|
||||
spec.summary = 'An open-source C++ library developed and used at Facebook.'
|
||||
@@ -11,7 +11,7 @@ Pod::Spec.new do |spec|
|
||||
spec.dependency 'boost-for-react-native'
|
||||
spec.dependency 'DoubleConversion'
|
||||
spec.dependency 'glog'
|
||||
spec.compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -DFOLLY_HAVE_LIBGFLAGS=0 -DFOLLY_HAVE_LIBJEMALLOC=0 -DFOLLY_HAVE_PREADV=0 -DFOLLY_HAVE_PWRITEV=0 -DFOLLY_HAVE_TFO=0 -DFOLLY_USE_SYMBOLIZER=0 -frtti
|
||||
spec.compiler_flags = '-DFOLLY_HAVE_PTHREAD=1 -DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -DFOLLY_HAVE_LIBGFLAGS=0 -DFOLLY_HAVE_LIBJEMALLOC=0 -DFOLLY_HAVE_PREADV=0 -DFOLLY_HAVE_PWRITEV=0 -DFOLLY_HAVE_TFO=0 -DFOLLY_USE_SYMBOLIZER=0 -frtti
|
||||
-fexceptions
|
||||
-std=c++14
|
||||
-Wno-error
|
||||
@@ -25,11 +25,27 @@ Pod::Spec.new do |spec|
|
||||
'folly/memory/detail/MallocImpl.cpp',
|
||||
'folly/String.cpp',
|
||||
'folly/*.cpp',
|
||||
'folly/detail/*.cpp',
|
||||
'folly/hash/*.cpp',
|
||||
'folly/portability/*.cpp',
|
||||
'folly/ScopeGuard.h',
|
||||
'folly/lang/ColdClass.cpp',
|
||||
'folly/lang/Assume.h',
|
||||
'folly/lang/Assume.cpp'
|
||||
'folly/lang/Assume.cpp',
|
||||
'folly/io/async/*.cpp',
|
||||
'folly/io/async/ssl/*.cpp',
|
||||
'folly/io/*.cpp',
|
||||
'folly/synchronization/*.cpp',
|
||||
'folly/lang/*.cpp',
|
||||
'folly/memory/*.cpp',
|
||||
'folly/futures/*.cpp',
|
||||
'folly/futures/detail/*.cpp',
|
||||
'folly/experimental/hazptr/*.cpp',
|
||||
'folly/executors/*.cpp',
|
||||
'folly/concurrency/*.cpp',
|
||||
'folly/ssl/*.cpp',
|
||||
'folly/ssl/detail/*.cpp',
|
||||
'folly/system/*.cpp'
|
||||
|
||||
# workaround for https://github.com/facebook/react-native/issues/14326
|
||||
spec.preserve_paths = 'folly/*.h',
|
||||
@@ -39,7 +55,9 @@ Pod::Spec.new do |spec|
|
||||
'folly/detail/*.h',
|
||||
'folly/hash/*.h',
|
||||
'folly/memory/*.h',
|
||||
'folly/**/*.h'
|
||||
'folly/**/*.h',
|
||||
'folly/futures/detail/*.h',
|
||||
'folly/futures/*.h'
|
||||
|
||||
spec.header_mappings_dir = 'folly'
|
||||
spec.header_dir = 'folly'
|
||||
@@ -85,11 +103,13 @@ Pod::Spec.new do |spec|
|
||||
'folly/memory/detail/MallocImpl.h',
|
||||
'folly/String.h',
|
||||
'folly/*.h',
|
||||
'folly/portability/PThread.h'
|
||||
'folly/portability/PThread.h',
|
||||
'folly/futures/*.h',
|
||||
'folly/futures/detail/*.h'
|
||||
|
||||
spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
||||
"CLANG_CXX_LANGUAGE_STANDARD" => "c++11",
|
||||
"HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"/usr/local/Cellar/openssl/1.0.2o_1/include\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\"" }
|
||||
"HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"/usr/local/include\" \"/usr/local/Cellar/openssl/1.0.2o_1/include\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\"" }
|
||||
|
||||
# Pinning to the same version as React.podspec.
|
||||
spec.platforms = { :ios => "8.0", :tvos => "10.0" }
|
||||
|
||||
@@ -1,14 +1,29 @@
|
||||
# This podspec is not being used instead the hard coded path to local LibEvent is used.
|
||||
# TODO use this spec instead of hard coded path `/usr/local/include`
|
||||
Pod::Spec.new do |spec|
|
||||
spec.name = 'LibEvent'
|
||||
spec.version = '2.1.8'
|
||||
spec.license = { :file => 'LICENSE'}
|
||||
spec.homepage = 'https://github.com/rsocket/rsocket-cpp'
|
||||
spec.summary = 'LibEvent'
|
||||
spec.authors = 'LibEvent'
|
||||
spec.source = { :git => 'https://github.com/libevent/libevent.git', :tag => "release-2.1.8-stable"}
|
||||
spec.module_name = 'LibEvent'
|
||||
spec.source_files = '**/*.h'
|
||||
spec.platforms = { :ios => "8.0", :tvos => "9.2" }
|
||||
Pod::Spec.new do |s|
|
||||
|
||||
s.name = "libevent"
|
||||
s.version = "1.0"
|
||||
s.summary = "Unofficial libevent mirror for Cocoapods"
|
||||
|
||||
s.description = <<-DESC
|
||||
This is a binary distribution of the libevent library built for iOS.
|
||||
The library uses configure which makes it a bit tricky to cross compile.
|
||||
DESC
|
||||
|
||||
s.homepage = "http://libevent.org/"
|
||||
s.license = "BSD"
|
||||
s.authors = { "liguangming" => "cute@liguangming.com" }
|
||||
s.social_media_url = "http://twitter.com/liguangming"
|
||||
s.ios.deployment_target = "6.0"
|
||||
s.source = { :git => "https://github.com/cute/libevent.git", :tag => "1.0" }
|
||||
s.header_dir = "event2"
|
||||
s.source_files = "include/**/*.h"
|
||||
s.ios.library = "event"
|
||||
s.preserve_paths = "include", "lib"
|
||||
s.requires_arc = false
|
||||
s.xcconfig = {
|
||||
"HEADER_SEARCH_PATHS" => "$(PODS_ROOT)/libevent/include",
|
||||
"HEADER_SEARCH_PATHS" => "$(PODS_ROOT)/libevent/include/event2",
|
||||
"LIBRARY_SEARCH_PATHS" => "$(PODS_ROOT)/libevent/lib",
|
||||
}
|
||||
|
||||
end
|
||||
|
||||
@@ -12,7 +12,10 @@ Pod::Spec.new do |spec|
|
||||
'rsocket/internal/*',
|
||||
'rsocket/statemachine/*',
|
||||
'rsocket/transports/*',
|
||||
'yarnpl/**/*'
|
||||
'rsocket/transports/**/*',
|
||||
'yarpl/observable/*',
|
||||
'yarpl/flowable/*',
|
||||
'rsocket/*'
|
||||
|
||||
spec.libraries = "stdc++"
|
||||
spec.compiler_flags = '-std=c++1y'
|
||||
@@ -33,12 +36,12 @@ Pod::Spec.new do |spec|
|
||||
'rsocket/statemachine/*.h',
|
||||
'rsocket/transports/*.h',
|
||||
'rsocket/*.h',
|
||||
'yarnpl/flowable/*.h',
|
||||
'yarnpl/observable/*.h',
|
||||
'yarnpl/perf/*.h',
|
||||
'yarnpl/single/*.h',
|
||||
'yarnpl/utils/*.h',
|
||||
'yarnpl/*.h',
|
||||
'yarpl/flowable/*.h',
|
||||
'yarpl/observable/*.h',
|
||||
'yarpl/perf/*.h',
|
||||
'yarpl/single/*.h',
|
||||
'yarpl/utils/*.h',
|
||||
'yarpl/*.h',
|
||||
'**/*.h'
|
||||
spec.header_mappings_dir = './*'
|
||||
spec.header_dir = './*'
|
||||
|
||||
Reference in New Issue
Block a user