update
This commit is contained in:
@@ -25,6 +25,7 @@ Pod::Spec.new do |spec|
|
||||
'folly/memory/detail/MallocImpl.cpp',
|
||||
'folly/String.cpp',
|
||||
'folly/*.cpp',
|
||||
'folly/portability/*.cpp',
|
||||
'folly/ScopeGuard.h',
|
||||
'folly/lang/ColdClass.cpp',
|
||||
'folly/lang/Assume.h',
|
||||
@@ -44,10 +45,8 @@ Pod::Spec.new do |spec|
|
||||
spec.header_dir = 'folly'
|
||||
spec.libraries = "stdc++"
|
||||
spec.private_header_files = 'folly/portability/Stdlib.h',
|
||||
'folly/portability/Malloc.h',
|
||||
'folly/portability/Stdlib.h',
|
||||
'folly/portability/Stdio.h',
|
||||
'folly/portability/PThread.h'
|
||||
'folly/portability/Stdio.h'
|
||||
|
||||
spec.public_header_files = 'folly/portability/Config.h',
|
||||
'folly/Executor.h',
|
||||
'folly/Function.h',
|
||||
@@ -81,14 +80,16 @@ Pod::Spec.new do |spec|
|
||||
'folly/FBString.h',
|
||||
'folly/hash/Hash.h',
|
||||
'folly/memory/Malloc.h',
|
||||
'folly/io/async/AsyncTimeout.h',
|
||||
'folly/**/*.h',
|
||||
'folly/memory/detail/MallocImpl.h',
|
||||
'folly/String.h',
|
||||
'folly/*.h'
|
||||
'folly/*.h',
|
||||
'folly/portability/PThread.h'
|
||||
|
||||
spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
||||
"CLANG_CXX_LANGUAGE_STANDARD" => "c++11",
|
||||
"HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\"" }
|
||||
"HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"/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" }
|
||||
|
||||
14
iOS/third-party-podspecs/LibEvent.podspec
Normal file
14
iOS/third-party-podspecs/LibEvent.podspec
Normal file
@@ -0,0 +1,14 @@
|
||||
# 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" }
|
||||
end
|
||||
50
iOS/third-party-podspecs/RSocket.podspec
Normal file
50
iOS/third-party-podspecs/RSocket.podspec
Normal file
@@ -0,0 +1,50 @@
|
||||
Pod::Spec.new do |spec|
|
||||
spec.name = 'RSocket'
|
||||
spec.version = '0.10.0'
|
||||
spec.license = { :type => 'MIT' }
|
||||
spec.homepage = 'https://github.com/rsocket/rsocket-cpp'
|
||||
spec.summary = 'C++ implementation of RSocket'
|
||||
spec.authors = 'Facebook'
|
||||
spec.source = { :git => 'https://github.com/rsocket/rsocket-cpp.git', :branch => "master"}
|
||||
spec.module_name = 'RSocket'
|
||||
spec.source_files = 'rsocket/benchmarks/*',
|
||||
'rsocket/framing/*',
|
||||
'rsocket/internal/*',
|
||||
'rsocket/statemachine/*',
|
||||
'rsocket/transports/*',
|
||||
'yarnpl/**/*'
|
||||
|
||||
spec.libraries = "stdc++"
|
||||
spec.compiler_flags = '-std=c++1y'
|
||||
spec.dependency 'Folly'
|
||||
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
|
||||
-fexceptions
|
||||
-std=c++14
|
||||
-Wno-error
|
||||
-Wno-unused-local-typedefs
|
||||
-Wno-unused-variable
|
||||
-Wno-sign-compare
|
||||
-Wno-comment
|
||||
-Wno-return-type
|
||||
-Wno-global-constructors'
|
||||
spec.preserve_paths = 'rsocket/benchmarks/*.h',
|
||||
'rsocket/framing/*.h',
|
||||
'rsocket/internal/*.h',
|
||||
'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',
|
||||
'**/*.h'
|
||||
spec.header_mappings_dir = './*'
|
||||
spec.header_dir = './*'
|
||||
spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
||||
"CLANG_CXX_LANGUAGE_STANDARD" => "c++14",
|
||||
"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)/glog\" \"$(PODS_ROOT)/DoubleConversion\"/**" }
|
||||
spec.platforms = { :ios => "8.0", :tvos => "9.2" }
|
||||
|
||||
end
|
||||
Reference in New Issue
Block a user