Initial commit 🎉

fbshipit-source-id: b6fc29740c6875d2e78953b8a7123890a67930f2
Co-authored-by: Sebastian McKenzie <sebmck@fb.com>
Co-authored-by: John Knox <jknox@fb.com>
Co-authored-by: Emil Sjölander <emilsj@fb.com>
Co-authored-by: Pritesh Nandgaonkar <prit91@fb.com>
This commit is contained in:
Daniel Büchele
2018-04-13 08:38:06 -07:00
committed by Daniel Buchele
commit fbbf8cf16b
659 changed files with 87130 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
Pod::Spec.new do |s|
s.name = 'ComponentKit'
s.version = '0.21'
s.license = 'BSD'
s.summary = 'A React-inspired view framework for iOS'
s.homepage = 'https://componentkit.org'
s.social_media_url = 'https://twitter.com/componentkit'
s.authors = 'adamjernst@fb.com'
s.source = { :git => 'https://github.com/facebook/ComponentKit.git'}
s.ios.deployment_target = '8.1'
s.requires_arc = true
s.source_files = 'ComponentKit/**/*', 'ComponentTextKit/**/*'
s.frameworks = 'UIKit', 'CoreText'
s.library = 'c++'
s.xcconfig = {
'CLANG_CXX_LANGUAGE_STANDARD' => 'gnu++14',
'CLANG_CXX_LIBRARY' => 'libc++',
}
s.dependency 'Yoga'
end

View File

@@ -0,0 +1,18 @@
Pod::Spec.new do |spec|
spec.name = 'DoubleConversion'
spec.version = '3.0.0'
spec.license = { :type => 'MIT' }
spec.homepage = 'https://github.com/google/double-conversion'
spec.summary = 'Efficient binary-decimal and decimal-binary conversion routines for IEEE doubles'
spec.authors = 'Google'
# spec.prepare_command = 'mv src double-conversion'
spec.source = { :git => 'https://github.com/google/double-conversion.git',
:tag => "v#{spec.version}" }
spec.module_name = 'DoubleConversion'
spec.source_files = 'double-conversion/*.{h,cc}'
spec.libraries = "stdc++"
spec.compiler_flags = '-std=c++1y'
# Pinning to the same version as React.podspec.
spec.platforms = { :ios => "8.0", :tvos => "9.2" }
end

View File

@@ -0,0 +1,17 @@
Pod::Spec.new do |spec|
spec.name = 'EasyWSClient'
spec.version = '1.0.0'
spec.license = { :type => 'MIT' }
spec.homepage = 'https://github.com/google/double-conversion'
spec.summary = 'Easywsclient is an easy and powerful WebSocket client to get your C++ code connected to a web stack right away.'
spec.authors = 'David Baird'
# spec.prepare_command = 'mv src double-conversion'
spec.source = { :git => 'https://github.com/dhbaird/easywsclient.git', :branch => 'master'}
spec.module_name = 'EasyWSClient'
spec.source_files = '*.{hpp,cpp}'
spec.libraries = "stdc++"
spec.compiler_flags = '-std=c++1y'
# Pinning to the same version as React.podspec.
spec.platforms = { :ios => "8.0", :tvos => "9.2" }
end

View File

@@ -0,0 +1,95 @@
Pod::Spec.new do |spec|
spec.name = 'Folly'
spec.version = '2018.05.07.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.'
spec.authors = 'Facebook'
spec.source = { :git => 'https://github.com/facebook/folly.git',
:tag => "v#{spec.version}" }
spec.module_name = 'folly'
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
-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.source_files = 'folly/Executor.cpp',
'folly/memory/detail/MallocImpl.cpp',
'folly/String.cpp',
'folly/*.cpp',
'folly/ScopeGuard.h',
'folly/lang/ColdClass.cpp',
'folly/lang/Assume.h',
'folly/lang/Assume.cpp'
# workaround for https://github.com/facebook/react-native/issues/14326
spec.preserve_paths = 'folly/*.h',
'folly/portability/*.h',
'folly/lang/*.h',
'folly/functional/*.h',
'folly/detail/*.h',
'folly/hash/*.h',
'folly/memory/*.h',
'folly/**/*.h'
spec.header_mappings_dir = 'folly'
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'
spec.public_header_files = 'folly/portability/Config.h',
'folly/Executor.h',
'folly/Function.h',
'folly/Utility.h',
'folly/Portability.h',
'folly/Traits.h',
'folly/functional/Invoke.h',
'folly/CPortability.h',
'folly/dynamic.h',
'folly/json_pointer.h',
'folly/Expected.h',
'folly/Preprocessor.h',
'folly/Optional.h',
'folly/Unit.h',
'folly/Utility.h',
'folly/lang/ColdClass.h',
'folly/CppAttributes.h',
'folly/json.h',
'folly/Range.h',
'folly/hash/SpookyHashV2.h',
'folly/lang/Exception.h',
'folly/portability/Constexpr.h',
'folly/CpuId.h',
'folly/Likely.h',
'folly/detail/RangeCommon.h',
'folly/detail/RangeSse42.h',
'folly/portability/String.h',
'folly/dynamic-inl.h',
'folly/Conv.h',
'folly/Demangle.h',
'folly/FBString.h',
'folly/hash/Hash.h',
'folly/memory/Malloc.h',
'folly/**/*.h',
'folly/memory/detail/MallocImpl.h',
'folly/String.h',
'folly/*.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\"" }
# Pinning to the same version as React.podspec.
spec.platforms = { :ios => "8.0", :tvos => "10.0" }
end

View File

@@ -0,0 +1,41 @@
Pod::Spec.new do |spec|
spec.name = 'glog'
spec.version = '0.3.5'
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.header_dir = 'glog'
spec.source_files = 'src/logging.cc',
'src/utilities.h',
'src/utilities.cc',
'src/glog/*.h',
'src/glog/*.cc',
'src/base/mutex.h',
'src/base/mutex.cc',
'src/glog/*.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'
# workaround for https://github.com/facebook/react-native/issues/14326
spec.preserve_paths = 'src/*.h',
'src/base/*.h'
spec.exclude_files = "src/windows/**/*"
spec.libraries = "c++"
spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
"CLANG_CXX_LANGUAGE_STANDARD" => "c++11",
"HEADER_SEARCH_PATHS" => "$(PODS_TARGET_SRCROOT)/src"
}
spec.compiler_flags = '-std=c++1y'
spec.libraries = "stdc++"
spec.platforms = { :ios => "8.0", :tvos => "9.2" }
end