Summary: This PR brings us one step closer for publishing SonarKit.podspec to the public Cocoapods master repository. This solves [#93](https://github.com/facebook/Sonar/issues/93). - [X] `SonarKit.podspec` now lints by passing the `--sources` flag and the `--use-libraries` flag. `pod spec lint SonarKit.podspec --sources=https://github.com/facebook/Sonar,master --allow-warnings --use-libraries` Same for `pod repo push`. - [X] `SonarKit.podspec` is now also published to the CocoaPods Private repo. What does this mean? It means that we no longer need to manually define all of `SonarKit` dependencies in the Podfile. It only takes `SonarKit` consumers to add this line `source 'https://github.com/facebook/Sonar.git'` on top of any Podfile, and `SonarKit` will be installed by just defining it with `pod SonarKit`. - [X] We are publishing a Cocoapods Private Repo in the meantime we don't have all of our dependencies updated and published to the CocoaPods master repo. The CocoaPods Private Repo contains updated dependency podspecs that will need to be published to the CocoaPods master repo in the near future. That will be the next action item in order to have SonarKit.podspec published as well. - [X] Sample App Podfile has been refactored, much simpler and cleaner. - [X] SonarKit Framework project now pulls its dependencies from the cocoapods master repository and the temporary private repository instead of the local podspecs. I am able to compile the SonarKit framework project now, before I was unable to. - [X] Local third party podspec dependencies have been removed. emilsjolander priteshrnandgaonkar noahsark769 feel free to contribute or expose any concerns. Closes https://github.com/facebook/Sonar/pull/107 Reviewed By: danielbuechele Differential Revision: D8694271 Pulled By: priteshrnandgaonkar fbshipit-source-id: dcccf70d917cad1e27606a29c0b921883bf9a76f
176 lines
4.7 KiB
JSON
176 lines
4.7 KiB
JSON
{
|
|
"name": "Folly",
|
|
"version": "1.0.0",
|
|
"license": {
|
|
"type": "Apache License, Version 2.0"
|
|
},
|
|
"homepage": "https://github.com/facebook/folly",
|
|
"summary": "An open-source C++ library developed and used at Facebook.",
|
|
"authors": "Facebook",
|
|
"source": {
|
|
"git": "https://github.com/facebook/folly.git",
|
|
"branch": "master"
|
|
},
|
|
"module_name": "folly",
|
|
"dependencies": {
|
|
"boost-for-react-native": [
|
|
|
|
],
|
|
"DoubleConversion": [
|
|
|
|
],
|
|
"glog": [
|
|
|
|
],
|
|
"OpenSSL-Static": [
|
|
"1.0.2.c1"
|
|
],
|
|
"CocoaLibEvent": [
|
|
"~> 1.0"
|
|
]
|
|
},
|
|
"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\n -fexceptions\n -std=c++14\n -Wno-error\n -Wno-unused-local-typedefs\n -Wno-unused-variable\n -Wno-sign-compare\n -Wno-comment\n -Wno-return-type\n -Wno-global-constructors",
|
|
"source_files": [
|
|
"folly/system/*.cpp",
|
|
"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/io/async/AsyncTimeout.h",
|
|
"folly/**/*.h",
|
|
"folly/memory/detail/MallocImpl.h",
|
|
"folly/String.h",
|
|
"folly/*.h",
|
|
"folly/portability/PThread.h",
|
|
"folly/futures/*.h",
|
|
"folly/futures/detail/*.h",
|
|
"folly/Executor.cpp",
|
|
"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/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"
|
|
],
|
|
"preserve_paths": [
|
|
"folly/*.h",
|
|
"folly/portability/*.h",
|
|
"folly/lang/*.h",
|
|
"folly/functional/*.h",
|
|
"folly/detail/*.h",
|
|
"folly/hash/*.h",
|
|
"folly/memory/*.h",
|
|
"folly/**/*.h",
|
|
"folly/futures/detail/*.h",
|
|
"folly/futures/*.h"
|
|
],
|
|
"header_mappings_dir": "folly",
|
|
"header_dir": "folly",
|
|
"libraries": "stdc++",
|
|
"private_header_files": [
|
|
"folly/portability/Stdlib.h",
|
|
"folly/portability/Stdio.h"
|
|
],
|
|
"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/io/async/AsyncTimeout.h",
|
|
"folly/**/*.h",
|
|
"folly/memory/detail/MallocImpl.h",
|
|
"folly/String.h",
|
|
"folly/*.h",
|
|
"folly/portability/PThread.h",
|
|
"folly/futures/*.h",
|
|
"folly/futures/detail/*.h"
|
|
],
|
|
"user_target_xcconfig": {
|
|
"ONLY_ACTIVE_ARCH": "YES"
|
|
},
|
|
"pod_target_xcconfig": {
|
|
"USE_HEADERMAP": "NO",
|
|
"ONLY_ACTIVE_ARCH": "YES",
|
|
"CLANG_CXX_LANGUAGE_STANDARD": "c++11",
|
|
"HEADER_SEARCH_PATHS": "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\""
|
|
},
|
|
"platforms": {
|
|
"ios": "8.0"
|
|
}
|
|
}
|