Remove Specs directory (#5222)
Summary: Pull Request resolved: https://github.com/facebook/flipper/pull/5222 No longer used and hasn't been updated in 2+ years. Reviewed By: LukeDefeo Differential Revision: D50409395 fbshipit-source-id: 4d64f31cce457737c6954834107a73dd6d1103bd
This commit is contained in:
committed by
Facebook GitHub Bot
parent
53e44da116
commit
82f0c0eb9e
@@ -1,29 +0,0 @@
|
|||||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
||||||
#
|
|
||||||
# This source code is licensed under the MIT license found in the
|
|
||||||
# LICENSE file in the root directory of this source tree.
|
|
||||||
|
|
||||||
flipperkit_version = '0.10.0'
|
|
||||||
Pod::Spec.new do |spec|
|
|
||||||
spec.name = 'Flipper'
|
|
||||||
spec.version = flipperkit_version
|
|
||||||
spec.license = { :type => 'MIT' }
|
|
||||||
spec.homepage = 'https://github.com/facebook/sonar'
|
|
||||||
spec.summary = 'SonarKit core cpp code with network implementation'
|
|
||||||
spec.authors = 'Facebook'
|
|
||||||
spec.source = { :git => 'https://github.com/facebook/Sonar.git',
|
|
||||||
:tag => 'v'+flipperkit_version }
|
|
||||||
spec.module_name = 'Flipper'
|
|
||||||
spec.public_header_files = 'xplat/Flipper/*.h'
|
|
||||||
spec.source_files = 'xplat/Flipper/*.{h,cpp,m,mm}'
|
|
||||||
spec.libraries = "stdc++"
|
|
||||||
spec.dependency 'Folly', '~>1.1'
|
|
||||||
spec.dependency 'RSocket', '~>0.10'
|
|
||||||
spec.compiler_flags = '-DFB_SONARKIT_ENABLED=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 -Wall
|
|
||||||
-std=c++14
|
|
||||||
-Wno-global-constructors'
|
|
||||||
spec.platforms = { :ios => "8.0" }
|
|
||||||
spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"CLANG_CXX_LANGUAGE_STANDARD" => "c++14",
|
|
||||||
"HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/RSocket\" \"$(PODS_ROOT)/DoubleConversion\"" }
|
|
||||||
end
|
|
||||||
@@ -1,29 +0,0 @@
|
|||||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
||||||
#
|
|
||||||
# This source code is licensed under the MIT license found in the
|
|
||||||
# LICENSE file in the root directory of this source tree.
|
|
||||||
|
|
||||||
flipperkit_version = '0.11.0'
|
|
||||||
Pod::Spec.new do |spec|
|
|
||||||
spec.name = 'Flipper'
|
|
||||||
spec.version = flipperkit_version
|
|
||||||
spec.license = { :type => 'MIT' }
|
|
||||||
spec.homepage = 'https://github.com/facebook/sonar'
|
|
||||||
spec.summary = 'SonarKit core cpp code with network implementation'
|
|
||||||
spec.authors = 'Facebook'
|
|
||||||
spec.source = { :git => 'https://github.com/facebook/Sonar.git',
|
|
||||||
:tag => 'v'+flipperkit_version }
|
|
||||||
spec.module_name = 'Flipper'
|
|
||||||
spec.public_header_files = 'xplat/Flipper/*.h'
|
|
||||||
spec.source_files = 'xplat/Flipper/*.{h,cpp,m,mm}'
|
|
||||||
spec.libraries = "stdc++"
|
|
||||||
spec.dependency 'Folly', '~>1.1'
|
|
||||||
spec.dependency 'RSocket', '~>0.10'
|
|
||||||
spec.compiler_flags = '-DFLIPPER_OSS=1 -DFB_SONARKIT_ENABLED=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 -Wall
|
|
||||||
-std=c++14
|
|
||||||
-Wno-global-constructors'
|
|
||||||
spec.platforms = { :ios => "8.0" }
|
|
||||||
spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"CLANG_CXX_LANGUAGE_STANDARD" => "c++14",
|
|
||||||
"HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/RSocket\" \"$(PODS_ROOT)/DoubleConversion\"" }
|
|
||||||
end
|
|
||||||
@@ -1,29 +0,0 @@
|
|||||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
||||||
#
|
|
||||||
# This source code is licensed under the MIT license found in the
|
|
||||||
# LICENSE file in the root directory of this source tree.
|
|
||||||
|
|
||||||
flipperkit_version = '0.11.1'
|
|
||||||
Pod::Spec.new do |spec|
|
|
||||||
spec.name = 'Flipper'
|
|
||||||
spec.version = flipperkit_version
|
|
||||||
spec.license = { :type => 'MIT' }
|
|
||||||
spec.homepage = 'https://github.com/facebook/sonar'
|
|
||||||
spec.summary = 'SonarKit core cpp code with network implementation'
|
|
||||||
spec.authors = 'Facebook'
|
|
||||||
spec.source = { :git => 'https://github.com/facebook/Sonar.git',
|
|
||||||
:tag => 'v'+flipperkit_version }
|
|
||||||
spec.module_name = 'Flipper'
|
|
||||||
spec.public_header_files = 'xplat/Flipper/*.h'
|
|
||||||
spec.source_files = 'xplat/Flipper/*.{h,cpp,m,mm}'
|
|
||||||
spec.libraries = "stdc++"
|
|
||||||
spec.dependency 'Folly', '~>1.1'
|
|
||||||
spec.dependency 'RSocket', '~>0.10'
|
|
||||||
spec.compiler_flags = '-DFLIPPER_OSS=1 -DFB_SONARKIT_ENABLED=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 -Wall
|
|
||||||
-std=c++14
|
|
||||||
-Wno-global-constructors'
|
|
||||||
spec.platforms = { :ios => "8.0" }
|
|
||||||
spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"CLANG_CXX_LANGUAGE_STANDARD" => "c++14",
|
|
||||||
"HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/RSocket\" \"$(PODS_ROOT)/DoubleConversion\"" }
|
|
||||||
end
|
|
||||||
@@ -1,29 +0,0 @@
|
|||||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
||||||
#
|
|
||||||
# This source code is licensed under the MIT license found in the
|
|
||||||
# LICENSE file in the root directory of this source tree.
|
|
||||||
|
|
||||||
flipperkit_version = '0.12.0'
|
|
||||||
Pod::Spec.new do |spec|
|
|
||||||
spec.name = 'Flipper'
|
|
||||||
spec.version = flipperkit_version
|
|
||||||
spec.license = { :type => 'MIT' }
|
|
||||||
spec.homepage = 'https://github.com/facebook/sonar'
|
|
||||||
spec.summary = 'SonarKit core cpp code with network implementation'
|
|
||||||
spec.authors = 'Facebook'
|
|
||||||
spec.source = { :git => 'https://github.com/facebook/Sonar.git',
|
|
||||||
:tag => 'v'+flipperkit_version }
|
|
||||||
spec.module_name = 'Flipper'
|
|
||||||
spec.public_header_files = 'xplat/Flipper/*.h'
|
|
||||||
spec.source_files = 'xplat/Flipper/*.{h,cpp,m,mm}'
|
|
||||||
spec.libraries = "stdc++"
|
|
||||||
spec.dependency 'Folly', '~>1.1'
|
|
||||||
spec.dependency 'RSocket', '~>0.10'
|
|
||||||
spec.compiler_flags = '-DFLIPPER_OSS=1 -DFB_SONARKIT_ENABLED=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 -Wall
|
|
||||||
-std=c++14
|
|
||||||
-Wno-global-constructors'
|
|
||||||
spec.platforms = { :ios => "8.0" }
|
|
||||||
spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"CLANG_CXX_LANGUAGE_STANDARD" => "c++14",
|
|
||||||
"HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/RSocket\" \"$(PODS_ROOT)/DoubleConversion\"" }
|
|
||||||
end
|
|
||||||
@@ -1,29 +0,0 @@
|
|||||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
||||||
#
|
|
||||||
# This source code is licensed under the MIT license found in the
|
|
||||||
# LICENSE file in the root directory of this source tree.
|
|
||||||
|
|
||||||
flipperkit_version = '0.13.0'
|
|
||||||
Pod::Spec.new do |spec|
|
|
||||||
spec.name = 'Flipper'
|
|
||||||
spec.version = flipperkit_version
|
|
||||||
spec.license = { :type => 'MIT' }
|
|
||||||
spec.homepage = 'https://github.com/facebook/sonar'
|
|
||||||
spec.summary = 'SonarKit core cpp code with network implementation'
|
|
||||||
spec.authors = 'Facebook'
|
|
||||||
spec.source = { :git => 'https://github.com/facebook/Sonar.git',
|
|
||||||
:tag => 'v'+flipperkit_version }
|
|
||||||
spec.module_name = 'Flipper'
|
|
||||||
spec.public_header_files = 'xplat/Flipper/*.h'
|
|
||||||
spec.source_files = 'xplat/Flipper/*.{h,cpp,m,mm}'
|
|
||||||
spec.libraries = "stdc++"
|
|
||||||
spec.dependency 'Folly', '~>1.1'
|
|
||||||
spec.dependency 'RSocket', '~>0.10'
|
|
||||||
spec.compiler_flags = '-DFLIPPER_OSS=1 -DFB_SONARKIT_ENABLED=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 -Wall
|
|
||||||
-std=c++14
|
|
||||||
-Wno-global-constructors'
|
|
||||||
spec.platforms = { :ios => "8.0" }
|
|
||||||
spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"CLANG_CXX_LANGUAGE_STANDARD" => "c++14",
|
|
||||||
"HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/RSocket\" \"$(PODS_ROOT)/DoubleConversion\"" }
|
|
||||||
end
|
|
||||||
@@ -1,29 +0,0 @@
|
|||||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
||||||
#
|
|
||||||
# This source code is licensed under the MIT license found in the
|
|
||||||
# LICENSE file in the root directory of this source tree.
|
|
||||||
|
|
||||||
flipperkit_version = '0.14.0'
|
|
||||||
Pod::Spec.new do |spec|
|
|
||||||
spec.name = 'Flipper'
|
|
||||||
spec.version = flipperkit_version
|
|
||||||
spec.license = { :type => 'MIT' }
|
|
||||||
spec.homepage = 'https://github.com/facebook/sonar'
|
|
||||||
spec.summary = 'SonarKit core cpp code with network implementation'
|
|
||||||
spec.authors = 'Facebook'
|
|
||||||
spec.source = { :git => 'https://github.com/facebook/Sonar.git',
|
|
||||||
:tag => 'v'+flipperkit_version }
|
|
||||||
spec.module_name = 'Flipper'
|
|
||||||
spec.public_header_files = 'xplat/Flipper/*.h'
|
|
||||||
spec.source_files = 'xplat/Flipper/*.{h,cpp,m,mm}'
|
|
||||||
spec.libraries = "stdc++"
|
|
||||||
spec.dependency 'Folly', '~>1.1'
|
|
||||||
spec.dependency 'RSocket', '~>0.10'
|
|
||||||
spec.compiler_flags = '-DFLIPPER_OSS=1 -DFB_SONARKIT_ENABLED=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 -Wall
|
|
||||||
-std=c++14
|
|
||||||
-Wno-global-constructors'
|
|
||||||
spec.platforms = { :ios => "8.0" }
|
|
||||||
spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"CLANG_CXX_LANGUAGE_STANDARD" => "c++14",
|
|
||||||
"HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/RSocket\" \"$(PODS_ROOT)/DoubleConversion\"" }
|
|
||||||
end
|
|
||||||
@@ -1,29 +0,0 @@
|
|||||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
||||||
#
|
|
||||||
# This source code is licensed under the MIT license found in the
|
|
||||||
# LICENSE file in the root directory of this source tree.
|
|
||||||
|
|
||||||
flipperkit_version = '0.14.1'
|
|
||||||
Pod::Spec.new do |spec|
|
|
||||||
spec.name = 'Flipper'
|
|
||||||
spec.version = flipperkit_version
|
|
||||||
spec.license = { :type => 'MIT' }
|
|
||||||
spec.homepage = 'https://github.com/facebook/sonar'
|
|
||||||
spec.summary = 'SonarKit core cpp code with network implementation'
|
|
||||||
spec.authors = 'Facebook'
|
|
||||||
spec.source = { :git => 'https://github.com/facebook/Sonar.git',
|
|
||||||
:tag => 'v'+flipperkit_version }
|
|
||||||
spec.module_name = 'Flipper'
|
|
||||||
spec.public_header_files = 'xplat/Flipper/*.h'
|
|
||||||
spec.source_files = 'xplat/Flipper/*.{h,cpp,m,mm}'
|
|
||||||
spec.libraries = "stdc++"
|
|
||||||
spec.dependency 'Folly', '~>1.1'
|
|
||||||
spec.dependency 'RSocket', '~>0.10'
|
|
||||||
spec.compiler_flags = '-DFLIPPER_OSS=1 -DFB_SONARKIT_ENABLED=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 -Wall
|
|
||||||
-std=c++14
|
|
||||||
-Wno-global-constructors'
|
|
||||||
spec.platforms = { :ios => "8.0" }
|
|
||||||
spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"CLANG_CXX_LANGUAGE_STANDARD" => "c++14",
|
|
||||||
"HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/RSocket\" \"$(PODS_ROOT)/DoubleConversion\"" }
|
|
||||||
end
|
|
||||||
@@ -1,29 +0,0 @@
|
|||||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
||||||
#
|
|
||||||
# This source code is licensed under the MIT license found in the
|
|
||||||
# LICENSE file in the root directory of this source tree.
|
|
||||||
|
|
||||||
flipperkit_version = '0.14.2'
|
|
||||||
Pod::Spec.new do |spec|
|
|
||||||
spec.name = 'Flipper'
|
|
||||||
spec.version = flipperkit_version
|
|
||||||
spec.license = { :type => 'MIT' }
|
|
||||||
spec.homepage = 'https://github.com/facebook/sonar'
|
|
||||||
spec.summary = 'SonarKit core cpp code with network implementation'
|
|
||||||
spec.authors = 'Facebook'
|
|
||||||
spec.source = { :git => 'https://github.com/facebook/Sonar.git',
|
|
||||||
:tag => 'v'+flipperkit_version }
|
|
||||||
spec.module_name = 'Flipper'
|
|
||||||
spec.public_header_files = 'xplat/Flipper/*.h','xplat/utils/*.h'
|
|
||||||
spec.source_files = 'xplat/Flipper/*.{h,cpp,m,mm}','xplat/Flipper/utils/*.{h,cpp,m,mm}'
|
|
||||||
spec.libraries = "stdc++"
|
|
||||||
spec.dependency 'Folly', '~>1.2'
|
|
||||||
spec.dependency 'RSocket', '~>0.10'
|
|
||||||
spec.compiler_flags = '-DFLIPPER_OSS=1 -DFB_SONARKIT_ENABLED=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 -Wall
|
|
||||||
-std=c++14
|
|
||||||
-Wno-global-constructors'
|
|
||||||
spec.platforms = { :ios => "8.0" }
|
|
||||||
spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"CLANG_CXX_LANGUAGE_STANDARD" => "c++14",
|
|
||||||
"HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/RSocket\" \"$(PODS_ROOT)/DoubleConversion\"" }
|
|
||||||
end
|
|
||||||
@@ -1,29 +0,0 @@
|
|||||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
||||||
#
|
|
||||||
# This source code is licensed under the MIT license found in the
|
|
||||||
# LICENSE file in the root directory of this source tree.
|
|
||||||
|
|
||||||
flipperkit_version = '0.15.0'
|
|
||||||
Pod::Spec.new do |spec|
|
|
||||||
spec.name = 'Flipper'
|
|
||||||
spec.version = flipperkit_version
|
|
||||||
spec.license = { :type => 'MIT' }
|
|
||||||
spec.homepage = 'https://github.com/facebook/sonar'
|
|
||||||
spec.summary = 'SonarKit core cpp code with network implementation'
|
|
||||||
spec.authors = 'Facebook'
|
|
||||||
spec.source = { :git => 'https://github.com/facebook/Sonar.git',
|
|
||||||
:tag => 'v'+flipperkit_version }
|
|
||||||
spec.module_name = 'Flipper'
|
|
||||||
spec.public_header_files = 'xplat/Flipper/*.h','xplat/utils/*.h'
|
|
||||||
spec.source_files = 'xplat/Flipper/*.{h,cpp,m,mm}','xplat/Flipper/utils/*.{h,cpp,m,mm}'
|
|
||||||
spec.libraries = "stdc++"
|
|
||||||
spec.dependency 'Folly', '~>1.2'
|
|
||||||
spec.dependency 'RSocket', '~>0.10'
|
|
||||||
spec.compiler_flags = '-DFLIPPER_OSS=1 -DFB_SONARKIT_ENABLED=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 -Wall
|
|
||||||
-std=c++14
|
|
||||||
-Wno-global-constructors'
|
|
||||||
spec.platforms = { :ios => "8.0" }
|
|
||||||
spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"CLANG_CXX_LANGUAGE_STANDARD" => "c++14",
|
|
||||||
"HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/RSocket\" \"$(PODS_ROOT)/DoubleConversion\"" }
|
|
||||||
end
|
|
||||||
@@ -1,29 +0,0 @@
|
|||||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
||||||
#
|
|
||||||
# This source code is licensed under the MIT license found in the
|
|
||||||
# LICENSE file in the root directory of this source tree.
|
|
||||||
|
|
||||||
flipperkit_version = '0.16.0'
|
|
||||||
Pod::Spec.new do |spec|
|
|
||||||
spec.name = 'Flipper'
|
|
||||||
spec.version = flipperkit_version
|
|
||||||
spec.license = { :type => 'MIT' }
|
|
||||||
spec.homepage = 'https://github.com/facebook/sonar'
|
|
||||||
spec.summary = 'SonarKit core cpp code with network implementation'
|
|
||||||
spec.authors = 'Facebook'
|
|
||||||
spec.source = { :git => 'https://github.com/facebook/Sonar.git',
|
|
||||||
:tag => 'v'+flipperkit_version }
|
|
||||||
spec.module_name = 'Flipper'
|
|
||||||
spec.public_header_files = 'xplat/Flipper/*.h','xplat/utils/*.h'
|
|
||||||
spec.source_files = 'xplat/Flipper/*.{h,cpp,m,mm}','xplat/Flipper/utils/*.{h,cpp,m,mm}'
|
|
||||||
spec.libraries = "stdc++"
|
|
||||||
spec.dependency 'Folly', '~>1.2'
|
|
||||||
spec.dependency 'RSocket', '~>0.10'
|
|
||||||
spec.compiler_flags = '-DFLIPPER_OSS=1 -DFB_SONARKIT_ENABLED=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 -Wall
|
|
||||||
-std=c++14
|
|
||||||
-Wno-global-constructors'
|
|
||||||
spec.platforms = { :ios => "8.0" }
|
|
||||||
spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"CLANG_CXX_LANGUAGE_STANDARD" => "c++14",
|
|
||||||
"HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/RSocket\" \"$(PODS_ROOT)/DoubleConversion\"" }
|
|
||||||
end
|
|
||||||
@@ -1,29 +0,0 @@
|
|||||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
||||||
#
|
|
||||||
# This source code is licensed under the MIT license found in the
|
|
||||||
# LICENSE file in the root directory of this source tree.
|
|
||||||
|
|
||||||
flipperkit_version = '0.16.1'
|
|
||||||
Pod::Spec.new do |spec|
|
|
||||||
spec.name = 'Flipper'
|
|
||||||
spec.version = flipperkit_version
|
|
||||||
spec.license = { :type => 'MIT' }
|
|
||||||
spec.homepage = 'https://github.com/facebook/sonar'
|
|
||||||
spec.summary = 'SonarKit core cpp code with network implementation'
|
|
||||||
spec.authors = 'Facebook'
|
|
||||||
spec.source = { :git => 'https://github.com/facebook/Sonar.git',
|
|
||||||
:tag => 'v'+flipperkit_version }
|
|
||||||
spec.module_name = 'Flipper'
|
|
||||||
spec.public_header_files = 'xplat/Flipper/*.h','xplat/utils/*.h'
|
|
||||||
spec.source_files = 'xplat/Flipper/*.{h,cpp,m,mm}','xplat/Flipper/utils/*.{h,cpp,m,mm}'
|
|
||||||
spec.libraries = "stdc++"
|
|
||||||
spec.dependency 'Folly', '~>1.2'
|
|
||||||
spec.dependency 'RSocket', '~>0.10'
|
|
||||||
spec.compiler_flags = '-DFLIPPER_OSS=1 -DFB_SONARKIT_ENABLED=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 -Wall
|
|
||||||
-std=c++14
|
|
||||||
-Wno-global-constructors'
|
|
||||||
spec.platforms = { :ios => "8.0" }
|
|
||||||
spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"CLANG_CXX_LANGUAGE_STANDARD" => "c++14",
|
|
||||||
"HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/RSocket\" \"$(PODS_ROOT)/DoubleConversion\"" }
|
|
||||||
end
|
|
||||||
@@ -1,29 +0,0 @@
|
|||||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
||||||
#
|
|
||||||
# This source code is licensed under the MIT license found in the
|
|
||||||
# LICENSE file in the root directory of this source tree.
|
|
||||||
|
|
||||||
flipperkit_version = '0.16.2'
|
|
||||||
Pod::Spec.new do |spec|
|
|
||||||
spec.name = 'Flipper'
|
|
||||||
spec.version = flipperkit_version
|
|
||||||
spec.license = { :type => 'MIT' }
|
|
||||||
spec.homepage = 'https://github.com/facebook/sonar'
|
|
||||||
spec.summary = 'SonarKit core cpp code with network implementation'
|
|
||||||
spec.authors = 'Facebook'
|
|
||||||
spec.source = { :git => 'https://github.com/facebook/Sonar.git',
|
|
||||||
:tag => 'v'+flipperkit_version }
|
|
||||||
spec.module_name = 'Flipper'
|
|
||||||
spec.public_header_files = 'xplat/Flipper/*.h','xplat/utils/*.h'
|
|
||||||
spec.source_files = 'xplat/Flipper/*.{h,cpp,m,mm}','xplat/Flipper/utils/*.{h,cpp,m,mm}'
|
|
||||||
spec.libraries = "stdc++"
|
|
||||||
spec.dependency 'Folly', '~>1.2'
|
|
||||||
spec.dependency 'RSocket', '~>0.10'
|
|
||||||
spec.compiler_flags = '-DFLIPPER_OSS=1 -DFB_SONARKIT_ENABLED=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 -Wall
|
|
||||||
-std=c++14
|
|
||||||
-Wno-global-constructors'
|
|
||||||
spec.platforms = { :ios => "8.0" }
|
|
||||||
spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"CLANG_CXX_LANGUAGE_STANDARD" => "c++14",
|
|
||||||
"HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/RSocket\" \"$(PODS_ROOT)/DoubleConversion\"" }
|
|
||||||
end
|
|
||||||
@@ -1,29 +0,0 @@
|
|||||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
||||||
#
|
|
||||||
# This source code is licensed under the MIT license found in the
|
|
||||||
# LICENSE file in the root directory of this source tree.
|
|
||||||
|
|
||||||
flipperkit_version = '0.17.0'
|
|
||||||
Pod::Spec.new do |spec|
|
|
||||||
spec.name = 'Flipper'
|
|
||||||
spec.version = flipperkit_version
|
|
||||||
spec.license = { :type => 'MIT' }
|
|
||||||
spec.homepage = 'https://github.com/facebook/sonar'
|
|
||||||
spec.summary = 'SonarKit core cpp code with network implementation'
|
|
||||||
spec.authors = 'Facebook'
|
|
||||||
spec.source = { :git => 'https://github.com/facebook/Sonar.git',
|
|
||||||
:tag => 'v'+flipperkit_version }
|
|
||||||
spec.module_name = 'Flipper'
|
|
||||||
spec.public_header_files = 'xplat/Flipper/*.h','xplat/utils/*.h'
|
|
||||||
spec.source_files = 'xplat/Flipper/*.{h,cpp,m,mm}','xplat/Flipper/utils/*.{h,cpp,m,mm}'
|
|
||||||
spec.libraries = "stdc++"
|
|
||||||
spec.dependency 'Flipper-Folly', '~>1.2'
|
|
||||||
spec.dependency 'Flipper-RSocket', '~>0.10'
|
|
||||||
spec.compiler_flags = '-DFLIPPER_OSS=1 -DFB_SONARKIT_ENABLED=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 -Wall
|
|
||||||
-std=c++14
|
|
||||||
-Wno-global-constructors'
|
|
||||||
spec.platforms = { :ios => "8.0" }
|
|
||||||
spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"CLANG_CXX_LANGUAGE_STANDARD" => "c++14",
|
|
||||||
"HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/Flipper-RSocket\" \"$(PODS_ROOT)/DoubleConversion\"" }
|
|
||||||
end
|
|
||||||
@@ -1,29 +0,0 @@
|
|||||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
||||||
#
|
|
||||||
# This source code is licensed under the MIT license found in the
|
|
||||||
# LICENSE file in the root directory of this source tree.
|
|
||||||
|
|
||||||
flipperkit_version = '0.17.1'
|
|
||||||
Pod::Spec.new do |spec|
|
|
||||||
spec.name = 'Flipper'
|
|
||||||
spec.version = flipperkit_version
|
|
||||||
spec.license = { :type => 'MIT' }
|
|
||||||
spec.homepage = 'https://github.com/facebook/sonar'
|
|
||||||
spec.summary = 'SonarKit core cpp code with network implementation'
|
|
||||||
spec.authors = 'Facebook'
|
|
||||||
spec.source = { :git => 'https://github.com/facebook/Sonar.git',
|
|
||||||
:tag => 'v'+flipperkit_version }
|
|
||||||
spec.module_name = 'Flipper'
|
|
||||||
spec.public_header_files = 'xplat/Flipper/*.h','xplat/utils/*.h'
|
|
||||||
spec.source_files = 'xplat/Flipper/*.{h,cpp,m,mm}','xplat/Flipper/utils/*.{h,cpp,m,mm}'
|
|
||||||
spec.libraries = "stdc++"
|
|
||||||
spec.dependency 'Flipper-Folly', '~>1.2'
|
|
||||||
spec.dependency 'Flipper-RSocket', '~>0.10'
|
|
||||||
spec.compiler_flags = '-DFLIPPER_OSS=1 -DFB_SONARKIT_ENABLED=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 -Wall
|
|
||||||
-std=c++14
|
|
||||||
-Wno-global-constructors'
|
|
||||||
spec.platforms = { :ios => "8.0" }
|
|
||||||
spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"CLANG_CXX_LANGUAGE_STANDARD" => "c++14",
|
|
||||||
"HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/Flipper-RSocket\" \"$(PODS_ROOT)/DoubleConversion\"" }
|
|
||||||
end
|
|
||||||
@@ -1,29 +0,0 @@
|
|||||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
||||||
#
|
|
||||||
# This source code is licensed under the MIT license found in the
|
|
||||||
# LICENSE file in the root directory of this source tree.
|
|
||||||
|
|
||||||
flipperkit_version = '0.18.0'
|
|
||||||
Pod::Spec.new do |spec|
|
|
||||||
spec.name = 'Flipper'
|
|
||||||
spec.version = flipperkit_version
|
|
||||||
spec.license = { :type => 'MIT' }
|
|
||||||
spec.homepage = 'https://github.com/facebook/sonar'
|
|
||||||
spec.summary = 'SonarKit core cpp code with network implementation'
|
|
||||||
spec.authors = 'Facebook'
|
|
||||||
spec.source = { :git => 'https://github.com/facebook/Sonar.git',
|
|
||||||
:tag => 'v'+flipperkit_version }
|
|
||||||
spec.module_name = 'Flipper'
|
|
||||||
spec.public_header_files = 'xplat/Flipper/*.h','xplat/utils/*.h'
|
|
||||||
spec.source_files = 'xplat/Flipper/*.{h,cpp,m,mm}','xplat/Flipper/utils/*.{h,cpp,m,mm}'
|
|
||||||
spec.libraries = "stdc++"
|
|
||||||
spec.dependency 'Flipper-Folly', '~>1.2'
|
|
||||||
spec.dependency 'Flipper-RSocket', '~>0.10'
|
|
||||||
spec.compiler_flags = '-DFLIPPER_OSS=1 -DFB_SONARKIT_ENABLED=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 -Wall
|
|
||||||
-std=c++14
|
|
||||||
-Wno-global-constructors'
|
|
||||||
spec.platforms = { :ios => "8.0" }
|
|
||||||
spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"CLANG_CXX_LANGUAGE_STANDARD" => "c++14",
|
|
||||||
"HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/Flipper-RSocket\" \"$(PODS_ROOT)/DoubleConversion\"" }
|
|
||||||
end
|
|
||||||
@@ -1,29 +0,0 @@
|
|||||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
||||||
#
|
|
||||||
# This source code is licensed under the MIT license found in the
|
|
||||||
# LICENSE file in the root directory of this source tree.
|
|
||||||
|
|
||||||
flipperkit_version = '0.19.0'
|
|
||||||
Pod::Spec.new do |spec|
|
|
||||||
spec.name = 'Flipper'
|
|
||||||
spec.version = flipperkit_version
|
|
||||||
spec.license = { :type => 'MIT' }
|
|
||||||
spec.homepage = 'https://github.com/facebook/sonar'
|
|
||||||
spec.summary = 'SonarKit core cpp code with network implementation'
|
|
||||||
spec.authors = 'Facebook'
|
|
||||||
spec.source = { :git => 'https://github.com/facebook/Sonar.git',
|
|
||||||
:tag => 'v'+flipperkit_version }
|
|
||||||
spec.module_name = 'Flipper'
|
|
||||||
spec.public_header_files = 'xplat/Flipper/*.h','xplat/utils/*.h'
|
|
||||||
spec.source_files = 'xplat/Flipper/*.{h,cpp,m,mm}','xplat/Flipper/utils/*.{h,cpp,m,mm}'
|
|
||||||
spec.libraries = "stdc++"
|
|
||||||
spec.dependency 'Flipper-Folly', '~>1.2'
|
|
||||||
spec.dependency 'Flipper-RSocket', '~>0.10'
|
|
||||||
spec.compiler_flags = '-DFLIPPER_OSS=1 -DFB_SONARKIT_ENABLED=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 -Wall
|
|
||||||
-std=c++14
|
|
||||||
-Wno-global-constructors'
|
|
||||||
spec.platforms = { :ios => "8.0" }
|
|
||||||
spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"CLANG_CXX_LANGUAGE_STANDARD" => "c++14",
|
|
||||||
"HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/Flipper-RSocket\" \"$(PODS_ROOT)/DoubleConversion\"" }
|
|
||||||
end
|
|
||||||
@@ -1,29 +0,0 @@
|
|||||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
||||||
#
|
|
||||||
# This source code is licensed under the MIT license found in the
|
|
||||||
# LICENSE file in the root directory of this source tree.
|
|
||||||
|
|
||||||
flipperkit_version = '0.20.0'
|
|
||||||
Pod::Spec.new do |spec|
|
|
||||||
spec.name = 'Flipper'
|
|
||||||
spec.version = flipperkit_version
|
|
||||||
spec.license = { :type => 'MIT' }
|
|
||||||
spec.homepage = 'https://github.com/facebook/sonar'
|
|
||||||
spec.summary = 'SonarKit core cpp code with network implementation'
|
|
||||||
spec.authors = 'Facebook'
|
|
||||||
spec.source = { :git => 'https://github.com/facebook/Sonar.git',
|
|
||||||
:tag => 'v'+flipperkit_version }
|
|
||||||
spec.module_name = 'Flipper'
|
|
||||||
spec.public_header_files = 'xplat/Flipper/*.h','xplat/utils/*.h'
|
|
||||||
spec.source_files = 'xplat/Flipper/*.{h,cpp,m,mm}','xplat/Flipper/utils/*.{h,cpp,m,mm}'
|
|
||||||
spec.libraries = "stdc++"
|
|
||||||
spec.dependency 'Flipper-Folly', '1.3.0'
|
|
||||||
spec.dependency 'Flipper-RSocket', '0.10.4'
|
|
||||||
spec.compiler_flags = '-DFLIPPER_OSS=1 -DFB_SONARKIT_ENABLED=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 -Wall
|
|
||||||
-std=c++14
|
|
||||||
-Wno-global-constructors'
|
|
||||||
spec.platforms = { :ios => "8.0" }
|
|
||||||
spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"CLANG_CXX_LANGUAGE_STANDARD" => "c++14",
|
|
||||||
"HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/Flipper-RSocket\" \"$(PODS_ROOT)/DoubleConversion\"" }
|
|
||||||
end
|
|
||||||
@@ -1,29 +0,0 @@
|
|||||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
||||||
#
|
|
||||||
# This source code is licensed under the MIT license found in the
|
|
||||||
# LICENSE file in the root directory of this source tree.
|
|
||||||
|
|
||||||
flipperkit_version = '0.8.0'
|
|
||||||
Pod::Spec.new do |spec|
|
|
||||||
spec.name = 'Flipper'
|
|
||||||
spec.version = flipperkit_version
|
|
||||||
spec.license = { :type => 'MIT' }
|
|
||||||
spec.homepage = 'https://github.com/facebook/sonar'
|
|
||||||
spec.summary = 'SonarKit core cpp code with network implementation'
|
|
||||||
spec.authors = 'Facebook'
|
|
||||||
spec.source = { :git => 'https://github.com/facebook/Sonar.git',
|
|
||||||
:tag => 'v'+flipperkit_version }
|
|
||||||
spec.module_name = 'Flipper'
|
|
||||||
spec.public_header_files = 'xplat/Flipper/*.h'
|
|
||||||
spec.source_files = 'xplat/Flipper/*.{h,cpp,m,mm}'
|
|
||||||
spec.libraries = "stdc++"
|
|
||||||
spec.dependency 'Folly', '~>1.1'
|
|
||||||
spec.dependency 'RSocket', '~>0.10'
|
|
||||||
spec.compiler_flags = '-DFB_SONARKIT_ENABLED=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 -Wall
|
|
||||||
-std=c++14
|
|
||||||
-Wno-global-constructors'
|
|
||||||
spec.platforms = { :ios => "8.0" }
|
|
||||||
spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"CLANG_CXX_LANGUAGE_STANDARD" => "c++14",
|
|
||||||
"HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/RSocket\" \"$(PODS_ROOT)/DoubleConversion\"" }
|
|
||||||
end
|
|
||||||
@@ -1,29 +0,0 @@
|
|||||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
||||||
#
|
|
||||||
# This source code is licensed under the MIT license found in the
|
|
||||||
# LICENSE file in the root directory of this source tree.
|
|
||||||
|
|
||||||
flipperkit_version = '0.8.1'
|
|
||||||
Pod::Spec.new do |spec|
|
|
||||||
spec.name = 'Flipper'
|
|
||||||
spec.version = flipperkit_version
|
|
||||||
spec.license = { :type => 'MIT' }
|
|
||||||
spec.homepage = 'https://github.com/facebook/sonar'
|
|
||||||
spec.summary = 'SonarKit core cpp code with network implementation'
|
|
||||||
spec.authors = 'Facebook'
|
|
||||||
spec.source = { :git => 'https://github.com/facebook/Sonar.git',
|
|
||||||
:tag => 'v'+flipperkit_version }
|
|
||||||
spec.module_name = 'Flipper'
|
|
||||||
spec.public_header_files = 'xplat/Flipper/*.h'
|
|
||||||
spec.source_files = 'xplat/Flipper/*.{h,cpp,m,mm}'
|
|
||||||
spec.libraries = "stdc++"
|
|
||||||
spec.dependency 'Folly', '~>1.1'
|
|
||||||
spec.dependency 'RSocket', '~>0.10'
|
|
||||||
spec.compiler_flags = '-DFB_SONARKIT_ENABLED=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 -Wall
|
|
||||||
-std=c++14
|
|
||||||
-Wno-global-constructors'
|
|
||||||
spec.platforms = { :ios => "8.0" }
|
|
||||||
spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"CLANG_CXX_LANGUAGE_STANDARD" => "c++14",
|
|
||||||
"HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/RSocket\" \"$(PODS_ROOT)/DoubleConversion\"" }
|
|
||||||
end
|
|
||||||
@@ -1,29 +0,0 @@
|
|||||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
||||||
#
|
|
||||||
# This source code is licensed under the MIT license found in the
|
|
||||||
# LICENSE file in the root directory of this source tree.
|
|
||||||
|
|
||||||
flipperkit_version = '0.9.0'
|
|
||||||
Pod::Spec.new do |spec|
|
|
||||||
spec.name = 'Flipper'
|
|
||||||
spec.version = flipperkit_version
|
|
||||||
spec.license = { :type => 'MIT' }
|
|
||||||
spec.homepage = 'https://github.com/facebook/sonar'
|
|
||||||
spec.summary = 'SonarKit core cpp code with network implementation'
|
|
||||||
spec.authors = 'Facebook'
|
|
||||||
spec.source = { :git => 'https://github.com/facebook/Sonar.git',
|
|
||||||
:tag => 'v'+flipperkit_version }
|
|
||||||
spec.module_name = 'Flipper'
|
|
||||||
spec.public_header_files = 'xplat/Flipper/*.h'
|
|
||||||
spec.source_files = 'xplat/Flipper/*.{h,cpp,m,mm}'
|
|
||||||
spec.libraries = "stdc++"
|
|
||||||
spec.dependency 'Folly', '~>1.1'
|
|
||||||
spec.dependency 'RSocket', '~>0.10'
|
|
||||||
spec.compiler_flags = '-DFB_SONARKIT_ENABLED=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 -Wall
|
|
||||||
-std=c++14
|
|
||||||
-Wno-global-constructors'
|
|
||||||
spec.platforms = { :ios => "8.0" }
|
|
||||||
spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"CLANG_CXX_LANGUAGE_STANDARD" => "c++14",
|
|
||||||
"HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/RSocket\" \"$(PODS_ROOT)/DoubleConversion\"" }
|
|
||||||
end
|
|
||||||
@@ -1,149 +0,0 @@
|
|||||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
||||||
#
|
|
||||||
# This source code is licensed under the MIT license found in the
|
|
||||||
# LICENSE file in the root directory of this source tree.
|
|
||||||
|
|
||||||
folly_compiler_flags = '-DFB_SONARKIT_ENABLED=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'
|
|
||||||
yoga_version = '~> 1.9'
|
|
||||||
yogakit_version = '~>1.8'
|
|
||||||
flipperkit_version = '0.10.0'
|
|
||||||
Pod::Spec.new do |spec|
|
|
||||||
spec.name = 'FlipperKit'
|
|
||||||
spec.version = flipperkit_version
|
|
||||||
spec.license = { :type => 'MIT' }
|
|
||||||
spec.homepage = 'https://github.com/facebook/Sonar'
|
|
||||||
spec.summary = 'Sonar iOS podspec'
|
|
||||||
spec.authors = 'Facebook'
|
|
||||||
spec.static_framework = true
|
|
||||||
spec.source = { :git => 'https://github.com/facebook/Sonar.git',
|
|
||||||
:tag=> "v"+flipperkit_version }
|
|
||||||
spec.module_name = 'FlipperKit'
|
|
||||||
spec.platforms = { :ios => "8.4" }
|
|
||||||
spec.default_subspecs = "Core"
|
|
||||||
|
|
||||||
# This subspec is necessary since FBMacros.h is imported as <FBDefines/FBMacros.h>
|
|
||||||
# inside SKMacros.h, which is a public header file. Defining this directory as a
|
|
||||||
# subspec with header_dir = 'FBDefines' allows this to work, even though it wouldn't
|
|
||||||
# generally (you would need to import <FlipperKit/t/FBDefines/FBMacros.h>)
|
|
||||||
spec.subspec 'FBDefines' do |ss|
|
|
||||||
ss.header_dir = 'FBDefines'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FBDefines/**/*.h'
|
|
||||||
ss.public_header_files = 'iOS/FBDefines/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec 'CppBridge' do |ss|
|
|
||||||
ss.header_dir = 'CppBridge'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/CppBridge/**/*.{h,mm}'
|
|
||||||
# We set these files as private headers since they only need to be accessed
|
|
||||||
# by other SonarKit source files
|
|
||||||
ss.private_header_files = 'iOS/FlipperKit/CppBridge/**/*.h'
|
|
||||||
ss.preserve_path = 'FlipperKit/CppBridge/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec 'FBCxxUtils' do |ss|
|
|
||||||
ss.header_dir = 'FBCxxUtils'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/FBCxxUtils/**/*.{h,mm}'
|
|
||||||
# We set these files as private headers since they only need to be accessed
|
|
||||||
# by other SonarKit source files
|
|
||||||
ss.private_header_files = 'iOS/FlipperKit/FBCxxUtils/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "Core" do |ss|
|
|
||||||
ss.dependency 'FlipperKit/FBDefines'
|
|
||||||
ss.dependency 'FlipperKit/FBCxxUtils'
|
|
||||||
ss.dependency 'FlipperKit/CppBridge'
|
|
||||||
ss.dependency 'Folly', '~>1.1'
|
|
||||||
ss.dependency 'Flipper', '~>'+flipperkit_version
|
|
||||||
ss.dependency 'CocoaAsyncSocket', '~> 7.6'
|
|
||||||
ss.dependency 'PeerTalk', '~>0.0.2'
|
|
||||||
ss.dependency 'OpenSSL-Static', '1.0.2.c1'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/FBDefines/*.{h,cpp,m,mm}', 'iOS/FlipperKit/CppBridge/*.{h,mm}', 'iOS/FlipperKit/FBCxxUtils/*.{h,mm}', 'iOS/FlipperKit/Utilities/**/*.{h,m}', 'iOS/FlipperKit/*.{h,m,mm}'
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h',
|
|
||||||
'iOS/FBDefines/FBMacros.h',
|
|
||||||
'iOS/FlipperKit/**/{FlipperStateUpdateListener,FlipperClient,FlipperPlugin,FlipperConnection,FlipperResponder,SKMacros}.h'
|
|
||||||
header_search_paths = "\"$(PODS_ROOT)/FlipperKit/iOS/FlipperKit\" \"$(PODS_ROOT)\"/Headers/Private/FlipperKit/** \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/PeerTalkSonar\""
|
|
||||||
ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"DEFINES_MODULE" => "YES",
|
|
||||||
"HEADER_SEARCH_PATHS" => header_search_paths }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitLayoutPlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitLayoutPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.dependency 'Yoga', yoga_version
|
|
||||||
ss.dependency 'YogaKit', yogakit_version
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTouch.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNodeDescriptor.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNamed.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKObject.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKHighlightOverlay.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/UIColor+SKSonarValueCoder.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKObjectHash.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKSwizzle.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKYogaKitHelper.h'
|
|
||||||
ss.source_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/**/*.{h,cpp,m,mm}'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitLayoutComponentKitSupport" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitLayoutComponentKitSupport"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.dependency 'Yoga', yoga_version
|
|
||||||
ss.dependency 'ComponentKit'
|
|
||||||
ss.dependency 'FlipperKit/FlipperKitLayoutPlugin'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.dependency 'FlipperKit/FlipperKitLayoutPlugin'
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKComponentLayoutWrapper.h'
|
|
||||||
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/**/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitNetworkPlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitNetworkPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "SKIOSNetworkPlugin" do |ss|
|
|
||||||
ss.header_dir = "SKIOSNetworkPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.dependency 'FlipperKit/FlipperKitNetworkPlugin'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/**/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitUserDefaultsPlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitUserDefaultsPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitUserDefaultsPlugin/**/*.{h,m}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
end
|
|
||||||
@@ -1,161 +0,0 @@
|
|||||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
||||||
#
|
|
||||||
# This source code is licensed under the MIT license found in the
|
|
||||||
# LICENSE file in the root directory of this source tree.
|
|
||||||
|
|
||||||
folly_compiler_flags = '-DFLIPPER_OSS=1 -DFB_SONARKIT_ENABLED=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'
|
|
||||||
yoga_version = '~> 1.9'
|
|
||||||
yogakit_version = '~>1.8'
|
|
||||||
flipperkit_version = '0.11.0'
|
|
||||||
Pod::Spec.new do |spec|
|
|
||||||
spec.name = 'FlipperKit'
|
|
||||||
spec.version = flipperkit_version
|
|
||||||
spec.license = { :type => 'MIT' }
|
|
||||||
spec.homepage = 'https://github.com/facebook/Sonar'
|
|
||||||
spec.summary = 'Sonar iOS podspec'
|
|
||||||
spec.authors = 'Facebook'
|
|
||||||
spec.static_framework = true
|
|
||||||
spec.source = { :git => 'https://github.com/facebook/Sonar.git',
|
|
||||||
:tag=> "v"+flipperkit_version }
|
|
||||||
spec.module_name = 'FlipperKit'
|
|
||||||
spec.platforms = { :ios => "8.4" }
|
|
||||||
spec.default_subspecs = "Core"
|
|
||||||
|
|
||||||
# This subspec is necessary since FBMacros.h is imported as <FBDefines/FBMacros.h>
|
|
||||||
# inside SKMacros.h, which is a public header file. Defining this directory as a
|
|
||||||
# subspec with header_dir = 'FBDefines' allows this to work, even though it wouldn't
|
|
||||||
# generally (you would need to import <FlipperKit/t/FBDefines/FBMacros.h>)
|
|
||||||
spec.subspec 'FBDefines' do |ss|
|
|
||||||
ss.header_dir = 'FBDefines'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FBDefines/**/*.h'
|
|
||||||
ss.public_header_files = 'iOS/FBDefines/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec 'CppBridge' do |ss|
|
|
||||||
ss.header_dir = 'CppBridge'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/CppBridge/**/*.{h,mm}'
|
|
||||||
# We set these files as private headers since they only need to be accessed
|
|
||||||
# by other SonarKit source files
|
|
||||||
ss.private_header_files = 'iOS/FlipperKit/CppBridge/**/*.h'
|
|
||||||
ss.preserve_path = 'FlipperKit/CppBridge/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec 'FBCxxUtils' do |ss|
|
|
||||||
ss.header_dir = 'FBCxxUtils'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/FBCxxUtils/**/*.{h,mm}'
|
|
||||||
# We set these files as private headers since they only need to be accessed
|
|
||||||
# by other SonarKit source files
|
|
||||||
ss.private_header_files = 'iOS/FlipperKit/FBCxxUtils/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "Core" do |ss|
|
|
||||||
ss.dependency 'FlipperKit/FBDefines'
|
|
||||||
ss.dependency 'FlipperKit/FBCxxUtils'
|
|
||||||
ss.dependency 'FlipperKit/CppBridge'
|
|
||||||
ss.dependency 'Folly', '~>1.1'
|
|
||||||
ss.dependency 'Flipper', '~>'+flipperkit_version
|
|
||||||
ss.dependency 'CocoaAsyncSocket', '~> 7.6'
|
|
||||||
ss.dependency 'PeerTalk', '~>0.0.2'
|
|
||||||
ss.dependency 'OpenSSL-Static', '1.0.2.c1'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/FBDefines/*.{h,cpp,m,mm}', 'iOS/FlipperKit/CppBridge/*.{h,mm}', 'iOS/FlipperKit/FBCxxUtils/*.{h,mm}', 'iOS/FlipperKit/Utilities/**/*.{h,m}', 'iOS/FlipperKit/*.{h,m,mm}'
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h',
|
|
||||||
'iOS/FBDefines/FBMacros.h',
|
|
||||||
'iOS/FlipperKit/**/{FlipperDiagnosticsViewController,FlipperStateUpdateListener,FlipperClient,FlipperPlugin,FlipperConnection,FlipperResponder,SKMacros}.h'
|
|
||||||
header_search_paths = "\"$(PODS_ROOT)/FlipperKit/iOS/FlipperKit\" \"$(PODS_ROOT)\"/Headers/Private/FlipperKit/** \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/PeerTalkSonar\""
|
|
||||||
ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"DEFINES_MODULE" => "YES",
|
|
||||||
"HEADER_SEARCH_PATHS" => header_search_paths }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitLayoutPlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitLayoutPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.dependency 'Yoga', yoga_version
|
|
||||||
ss.dependency 'YogaKit', yogakit_version
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h'
|
|
||||||
ss.private_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTouch.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNodeDescriptor.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNamed.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKObject.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKHighlightOverlay.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/UIColor+SKSonarValueCoder.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKObjectHash.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKSwizzle.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKYogaKitHelper.h'
|
|
||||||
ss.source_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/**/*.{h,cpp,m,mm}'
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitLayoutComponentKitSupport" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitLayoutComponentKitSupport"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.dependency 'Yoga', yoga_version
|
|
||||||
ss.dependency 'ComponentKit'
|
|
||||||
ss.dependency 'FlipperKit/FlipperKitLayoutPlugin'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.dependency 'FlipperKit/FlipperKitLayoutPlugin'
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/**/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitNetworkPlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitNetworkPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "SKIOSNetworkPlugin" do |ss|
|
|
||||||
ss.header_dir = "SKIOSNetworkPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.dependency 'FlipperKit/FlipperKitNetworkPlugin'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/**/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitUserDefaultsPlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitUserDefaultsPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitUserDefaultsPlugin/**/*.{h,m}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitExamplePlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitExamplePlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitExamplePlugin/FlipperKitExamplePlugin.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitExamplePlugin/**/*.{h,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
end
|
|
||||||
@@ -1,163 +0,0 @@
|
|||||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
||||||
#
|
|
||||||
# This source code is licensed under the MIT license found in the
|
|
||||||
# LICENSE file in the root directory of this source tree.
|
|
||||||
|
|
||||||
folly_compiler_flags = '-DFLIPPER_OSS=1 -DFB_SONARKIT_ENABLED=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'
|
|
||||||
yoga_version = '~> 1.9'
|
|
||||||
yogakit_version = '~>1.8'
|
|
||||||
flipperkit_version = '0.11.1'
|
|
||||||
Pod::Spec.new do |spec|
|
|
||||||
spec.name = 'FlipperKit'
|
|
||||||
spec.version = flipperkit_version
|
|
||||||
spec.license = { :type => 'MIT' }
|
|
||||||
spec.homepage = 'https://github.com/facebook/Sonar'
|
|
||||||
spec.summary = 'Sonar iOS podspec'
|
|
||||||
spec.authors = 'Facebook'
|
|
||||||
spec.static_framework = true
|
|
||||||
spec.source = { :git => 'https://github.com/facebook/Sonar.git',
|
|
||||||
:tag=> "v"+flipperkit_version }
|
|
||||||
spec.module_name = 'FlipperKit'
|
|
||||||
spec.platforms = { :ios => "8.4" }
|
|
||||||
spec.default_subspecs = "Core"
|
|
||||||
|
|
||||||
# This subspec is necessary since FBMacros.h is imported as <FBDefines/FBMacros.h>
|
|
||||||
# inside SKMacros.h, which is a public header file. Defining this directory as a
|
|
||||||
# subspec with header_dir = 'FBDefines' allows this to work, even though it wouldn't
|
|
||||||
# generally (you would need to import <FlipperKit/t/FBDefines/FBMacros.h>)
|
|
||||||
spec.subspec 'FBDefines' do |ss|
|
|
||||||
ss.header_dir = 'FBDefines'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FBDefines/**/*.h'
|
|
||||||
ss.public_header_files = 'iOS/FBDefines/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec 'CppBridge' do |ss|
|
|
||||||
ss.header_dir = 'CppBridge'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/CppBridge/**/*.{h,mm}'
|
|
||||||
# We set these files as private headers since they only need to be accessed
|
|
||||||
# by other SonarKit source files
|
|
||||||
ss.private_header_files = 'iOS/FlipperKit/CppBridge/**/*.h'
|
|
||||||
ss.preserve_path = 'FlipperKit/CppBridge/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec 'FBCxxUtils' do |ss|
|
|
||||||
ss.header_dir = 'FBCxxUtils'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/FBCxxUtils/**/*.{h,mm}'
|
|
||||||
# We set these files as private headers since they only need to be accessed
|
|
||||||
# by other SonarKit source files
|
|
||||||
ss.private_header_files = 'iOS/FlipperKit/FBCxxUtils/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "Core" do |ss|
|
|
||||||
ss.dependency 'FlipperKit/FBDefines'
|
|
||||||
ss.dependency 'FlipperKit/FBCxxUtils'
|
|
||||||
ss.dependency 'FlipperKit/CppBridge'
|
|
||||||
ss.dependency 'Folly', '~>1.1'
|
|
||||||
ss.dependency 'Flipper', '~>'+flipperkit_version
|
|
||||||
ss.dependency 'CocoaAsyncSocket', '~> 7.6'
|
|
||||||
ss.dependency 'PeerTalk', '~>0.0.2'
|
|
||||||
ss.dependency 'OpenSSL-Static', '1.0.2.c1'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/FBDefines/*.{h,cpp,m,mm}', 'iOS/FlipperKit/CppBridge/*.{h,mm}', 'iOS/FlipperKit/FBCxxUtils/*.{h,mm}', 'iOS/FlipperKit/Utilities/**/*.{h,m}', 'iOS/FlipperKit/*.{h,m,mm}'
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKSubDescriptor.h',
|
|
||||||
'iOS/FBDefines/FBMacros.h',
|
|
||||||
'iOS/FlipperKit/**/{FlipperDiagnosticsViewController,FlipperStateUpdateListener,FlipperClient,FlipperPlugin,FlipperConnection,FlipperResponder,SKMacros}.h'
|
|
||||||
header_search_paths = "\"$(PODS_ROOT)/FlipperKit/iOS/FlipperKit\" \"$(PODS_ROOT)\"/Headers/Private/FlipperKit/** \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/PeerTalkSonar\""
|
|
||||||
ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"DEFINES_MODULE" => "YES",
|
|
||||||
"HEADER_SEARCH_PATHS" => header_search_paths }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitLayoutPlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitLayoutPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.dependency 'Yoga', yoga_version
|
|
||||||
ss.dependency 'YogaKit', yogakit_version
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h'
|
|
||||||
ss.private_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTouch.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNodeDescriptor.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNamed.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKObject.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKHighlightOverlay.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/UIColor+SKSonarValueCoder.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKObjectHash.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKSwizzle.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKYogaKitHelper.h'
|
|
||||||
ss.source_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/**/*.{h,cpp,m,mm}'
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitLayoutComponentKitSupport" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitLayoutComponentKitSupport"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.dependency 'Yoga', yoga_version
|
|
||||||
ss.dependency 'ComponentKit'
|
|
||||||
ss.dependency 'FlipperKit/FlipperKitLayoutPlugin'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.dependency 'FlipperKit/FlipperKitLayoutPlugin'
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKSubDescriptor.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/**/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitNetworkPlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitNetworkPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "SKIOSNetworkPlugin" do |ss|
|
|
||||||
ss.header_dir = "SKIOSNetworkPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.dependency 'FlipperKit/FlipperKitNetworkPlugin'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/**/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitUserDefaultsPlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitUserDefaultsPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitUserDefaultsPlugin/**/*.{h,m}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitExamplePlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitExamplePlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitExamplePlugin/FlipperKitExamplePlugin.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitExamplePlugin/**/*.{h,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
end
|
|
||||||
@@ -1,164 +0,0 @@
|
|||||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
||||||
#
|
|
||||||
# This source code is licensed under the MIT license found in the
|
|
||||||
# LICENSE file in the root directory of this source tree.
|
|
||||||
|
|
||||||
folly_compiler_flags = '-DFLIPPER_OSS=1 -DFB_SONARKIT_ENABLED=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'
|
|
||||||
yoga_version = '~> 1.9'
|
|
||||||
yogakit_version = '~>1.8'
|
|
||||||
flipperkit_version = '0.12.0'
|
|
||||||
Pod::Spec.new do |spec|
|
|
||||||
spec.name = 'FlipperKit'
|
|
||||||
spec.version = flipperkit_version
|
|
||||||
spec.license = { :type => 'MIT' }
|
|
||||||
spec.homepage = 'https://github.com/facebook/Sonar'
|
|
||||||
spec.summary = 'Sonar iOS podspec'
|
|
||||||
spec.authors = 'Facebook'
|
|
||||||
spec.static_framework = true
|
|
||||||
spec.source = { :git => 'https://github.com/facebook/Sonar.git',
|
|
||||||
:tag=> "v"+flipperkit_version }
|
|
||||||
spec.module_name = 'FlipperKit'
|
|
||||||
spec.platforms = { :ios => "8.4" }
|
|
||||||
spec.default_subspecs = "Core"
|
|
||||||
|
|
||||||
# This subspec is necessary since FBMacros.h is imported as <FBDefines/FBMacros.h>
|
|
||||||
# inside SKMacros.h, which is a public header file. Defining this directory as a
|
|
||||||
# subspec with header_dir = 'FBDefines' allows this to work, even though it wouldn't
|
|
||||||
# generally (you would need to import <FlipperKit/t/FBDefines/FBMacros.h>)
|
|
||||||
spec.subspec 'FBDefines' do |ss|
|
|
||||||
ss.header_dir = 'FBDefines'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FBDefines/**/*.h'
|
|
||||||
ss.public_header_files = 'iOS/FBDefines/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec 'CppBridge' do |ss|
|
|
||||||
ss.header_dir = 'CppBridge'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/CppBridge/**/*.{h,mm}'
|
|
||||||
# We set these files as private headers since they only need to be accessed
|
|
||||||
# by other FlipperKit source files
|
|
||||||
ss.private_header_files = 'iOS/FlipperKit/CppBridge/**/*.h'
|
|
||||||
ss.preserve_path = 'FlipperKit/CppBridge/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec 'FBCxxUtils' do |ss|
|
|
||||||
ss.header_dir = 'FBCxxUtils'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/FBCxxUtils/**/*.{h,mm}'
|
|
||||||
# We set these files as private headers since they only need to be accessed
|
|
||||||
# by other FlipperKit source files
|
|
||||||
ss.private_header_files = 'iOS/FlipperKit/FBCxxUtils/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "Core" do |ss|
|
|
||||||
ss.dependency 'FlipperKit/FBDefines'
|
|
||||||
ss.dependency 'FlipperKit/FBCxxUtils'
|
|
||||||
ss.dependency 'FlipperKit/CppBridge'
|
|
||||||
ss.dependency 'Folly', '~>1.1'
|
|
||||||
ss.dependency 'Flipper', '~>'+flipperkit_version
|
|
||||||
ss.dependency 'CocoaAsyncSocket', '~> 7.6'
|
|
||||||
ss.dependency 'PeerTalk', '~>0.0.2'
|
|
||||||
ss.dependency 'OpenSSL-Static', '1.0.2.c1'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/FBDefines/*.{h,cpp,m,mm}', 'iOS/FlipperKit/CppBridge/*.{h,mm}', 'iOS/FlipperKit/FBCxxUtils/*.{h,mm}', 'iOS/FlipperKit/Utilities/**/*.{h,m}', 'iOS/FlipperKit/*.{h,m,mm}'
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKSubDescriptor.h',
|
|
||||||
'iOS/FBDefines/FBMacros.h',
|
|
||||||
'iOS/Plugins/FlipperKitExamplePlugin/FlipperKitExamplePlugin/FlipperKitExamplePlugin.h',
|
|
||||||
'iOS/FlipperKit/**/{FlipperDiagnosticsViewController,FlipperStateUpdateListener,FlipperClient,FlipperPlugin,FlipperConnection,FlipperResponder,SKMacros}.h'
|
|
||||||
header_search_paths = "\"$(PODS_ROOT)/FlipperKit/iOS/FlipperKit\" \"$(PODS_ROOT)\"/Headers/Private/FlipperKit/** \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/PeerTalkSonar\""
|
|
||||||
ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"DEFINES_MODULE" => "YES",
|
|
||||||
"HEADER_SEARCH_PATHS" => header_search_paths }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitLayoutPlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitLayoutPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.dependency 'Yoga', yoga_version
|
|
||||||
ss.dependency 'YogaKit', yogakit_version
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h'
|
|
||||||
ss.private_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTouch.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNodeDescriptor.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNamed.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKObject.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKHighlightOverlay.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/UIColor+SKSonarValueCoder.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKObjectHash.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKSwizzle.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKYogaKitHelper.h'
|
|
||||||
ss.source_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/**/*.{h,cpp,m,mm}'
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitLayoutComponentKitSupport" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitLayoutComponentKitSupport"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.dependency 'Yoga', yoga_version
|
|
||||||
ss.dependency 'ComponentKit'
|
|
||||||
ss.dependency 'FlipperKit/FlipperKitLayoutPlugin'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.dependency 'FlipperKit/FlipperKitLayoutPlugin'
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKSubDescriptor.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/**/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitNetworkPlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitNetworkPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "SKIOSNetworkPlugin" do |ss|
|
|
||||||
ss.header_dir = "SKIOSNetworkPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.dependency 'FlipperKit/FlipperKitNetworkPlugin'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/**/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitUserDefaultsPlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitUserDefaultsPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitUserDefaultsPlugin/**/*.{h,m}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitExamplePlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitExamplePlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitExamplePlugin/FlipperKitExamplePlugin.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitExamplePlugin/**/*.{h,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
end
|
|
||||||
@@ -1,183 +0,0 @@
|
|||||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
||||||
#
|
|
||||||
# This source code is licensed under the MIT license found in the
|
|
||||||
# LICENSE file in the root directory of this source tree.
|
|
||||||
|
|
||||||
folly_compiler_flags = '-DFLIPPER_OSS=1 -DFB_SONARKIT_ENABLED=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'
|
|
||||||
yoga_version = '~> 1.9'
|
|
||||||
yogakit_version = '~>1.8'
|
|
||||||
flipperkit_version = '0.13.0'
|
|
||||||
Pod::Spec.new do |spec|
|
|
||||||
spec.name = 'FlipperKit'
|
|
||||||
spec.version = flipperkit_version
|
|
||||||
spec.license = { :type => 'MIT' }
|
|
||||||
spec.homepage = 'https://github.com/facebook/Sonar'
|
|
||||||
spec.summary = 'Sonar iOS podspec'
|
|
||||||
spec.authors = 'Facebook'
|
|
||||||
spec.static_framework = true
|
|
||||||
spec.source = { :git => 'https://github.com/facebook/Sonar.git',
|
|
||||||
:tag=> "v"+flipperkit_version }
|
|
||||||
spec.module_name = 'FlipperKit'
|
|
||||||
spec.platforms = { :ios => "8.4" }
|
|
||||||
spec.default_subspecs = "Core"
|
|
||||||
|
|
||||||
# This subspec is necessary since FBMacros.h is imported as <FBDefines/FBMacros.h>
|
|
||||||
# inside SKMacros.h, which is a public header file. Defining this directory as a
|
|
||||||
# subspec with header_dir = 'FBDefines' allows this to work, even though it wouldn't
|
|
||||||
# generally (you would need to import <FlipperKit/t/FBDefines/FBMacros.h>)
|
|
||||||
spec.subspec 'FBDefines' do |ss|
|
|
||||||
ss.header_dir = 'FBDefines'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FBDefines/**/*.h'
|
|
||||||
ss.public_header_files = 'iOS/FBDefines/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec 'CppBridge' do |ss|
|
|
||||||
ss.header_dir = 'CppBridge'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/CppBridge/**/*.{h,mm}'
|
|
||||||
# We set these files as private headers since they only need to be accessed
|
|
||||||
# by other FlipperKit source files
|
|
||||||
ss.private_header_files = 'iOS/FlipperKit/CppBridge/**/*.h'
|
|
||||||
ss.preserve_path = 'FlipperKit/CppBridge/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec 'FBCxxUtils' do |ss|
|
|
||||||
ss.header_dir = 'FBCxxUtils'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/FBCxxUtils/**/*.{h,mm}'
|
|
||||||
# We set these files as private headers since they only need to be accessed
|
|
||||||
# by other FlipperKit source files
|
|
||||||
ss.private_header_files = 'iOS/FlipperKit/FBCxxUtils/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FKPortForwarding" do |ss|
|
|
||||||
ss.header_dir = "FKPortForwarding"
|
|
||||||
ss.dependency 'CocoaAsyncSocket', '~> 7.6'
|
|
||||||
ss.dependency 'PeerTalk', '~>0.0.2'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/FKPortForwarding/FKPortForwarding{Server,Common}.{h,m}'
|
|
||||||
ss.private_header_files = 'iOS/FlipperKit/FKPortForwarding/FKPortForwarding{Server,Common}.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
|
|
||||||
spec.subspec "Core" do |ss|
|
|
||||||
ss.dependency 'FlipperKit/FBDefines'
|
|
||||||
ss.dependency 'FlipperKit/FBCxxUtils'
|
|
||||||
ss.dependency 'FlipperKit/CppBridge'
|
|
||||||
ss.dependency 'FlipperKit/FKPortForwarding'
|
|
||||||
ss.dependency 'Folly', '~>1.1'
|
|
||||||
ss.dependency 'Flipper', '~>'+flipperkit_version
|
|
||||||
ss.dependency 'OpenSSL-Static', '1.0.2.c1'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/FBDefines/*.{h,cpp,m,mm}', 'iOS/FlipperKit/CppBridge/*.{h,mm}', 'iOS/FlipperKit/FBCxxUtils/*.{h,mm}', 'iOS/FlipperKit/*.{h,m,mm}'
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKSubDescriptor.h',
|
|
||||||
'iOS/FBDefines/FBMacros.h',
|
|
||||||
'iOS/Plugins/FlipperKitExamplePlugin/FlipperKitExamplePlugin/FlipperKitExamplePlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitCrashReporterPlugin/FlipperKitCrashReporterPlugin/FlipperKitCrashReporterPlugin.h',
|
|
||||||
'iOS/FlipperKit/**/{FlipperDiagnosticsViewController,FlipperStateUpdateListener,FlipperClient,FlipperPlugin,FlipperConnection,FlipperResponder,SKMacros}.h'
|
|
||||||
header_search_paths = "\"$(PODS_ROOT)/FlipperKit/iOS/FlipperKit\" \"$(PODS_ROOT)\"/Headers/Private/FlipperKit/** \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/PeerTalkSonar\""
|
|
||||||
ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"DEFINES_MODULE" => "YES",
|
|
||||||
"HEADER_SEARCH_PATHS" => header_search_paths }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitLayoutPlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitLayoutPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.dependency 'Yoga', yoga_version
|
|
||||||
ss.dependency 'YogaKit', yogakit_version
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h'
|
|
||||||
ss.private_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTouch.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNodeDescriptor.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNamed.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKObject.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKHighlightOverlay.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/UIColor+SKSonarValueCoder.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKObjectHash.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKSwizzle.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKYogaKitHelper.h'
|
|
||||||
ss.source_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/**/*.{h,cpp,m,mm}'
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitLayoutComponentKitSupport" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitLayoutComponentKitSupport"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.dependency 'Yoga', yoga_version
|
|
||||||
ss.dependency 'ComponentKit'
|
|
||||||
ss.dependency 'FlipperKit/FlipperKitLayoutPlugin'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.dependency 'FlipperKit/FlipperKitLayoutPlugin'
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKSubDescriptor.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/**/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitNetworkPlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitNetworkPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "SKIOSNetworkPlugin" do |ss|
|
|
||||||
ss.header_dir = "SKIOSNetworkPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.dependency 'FlipperKit/FlipperKitNetworkPlugin'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/**/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitUserDefaultsPlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitUserDefaultsPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitUserDefaultsPlugin/**/*.{h,m}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitExamplePlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitExamplePlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitExamplePlugin/FlipperKitExamplePlugin.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitExamplePlugin/**/*.{h,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitCrashReporterPlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitCrashReporterPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitCrashReporterPlugin/FlipperKitCrashReporterPlugin/FlipperKitCrashReporterPlugin.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitCrashReporterPlugin/**/*.{h,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
end
|
|
||||||
@@ -1,174 +0,0 @@
|
|||||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
||||||
#
|
|
||||||
# This source code is licensed under the MIT license found in the
|
|
||||||
# LICENSE file in the root directory of this source tree.
|
|
||||||
|
|
||||||
folly_compiler_flags = '-DFLIPPER_OSS=1 -DFB_SONARKIT_ENABLED=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'
|
|
||||||
yoga_version = '~> 1.9'
|
|
||||||
yogakit_version = '~>1.8'
|
|
||||||
flipperkit_version = '0.14.0'
|
|
||||||
Pod::Spec.new do |spec|
|
|
||||||
spec.name = 'FlipperKit'
|
|
||||||
spec.version = flipperkit_version
|
|
||||||
spec.license = { :type => 'MIT' }
|
|
||||||
spec.homepage = 'https://github.com/facebook/Sonar'
|
|
||||||
spec.summary = 'Sonar iOS podspec'
|
|
||||||
spec.authors = 'Facebook'
|
|
||||||
spec.static_framework = true
|
|
||||||
spec.source = { :git => 'https://github.com/facebook/Sonar.git',
|
|
||||||
:tag=> "v"+flipperkit_version }
|
|
||||||
spec.module_name = 'FlipperKit'
|
|
||||||
spec.platforms = { :ios => "8.4" }
|
|
||||||
spec.default_subspecs = "Core"
|
|
||||||
|
|
||||||
# This subspec is necessary since FBMacros.h is imported as <FBDefines/FBMacros.h>
|
|
||||||
# inside SKMacros.h, which is a public header file. Defining this directory as a
|
|
||||||
# subspec with header_dir = 'FBDefines' allows this to work, even though it wouldn't
|
|
||||||
# generally (you would need to import <FlipperKit/t/FBDefines/FBMacros.h>)
|
|
||||||
spec.subspec 'FBDefines' do |ss|
|
|
||||||
ss.header_dir = 'FBDefines'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FBDefines/**/*.h'
|
|
||||||
ss.public_header_files = 'iOS/FBDefines/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec 'CppBridge' do |ss|
|
|
||||||
ss.header_dir = 'CppBridge'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/CppBridge/**/*.{h,mm}'
|
|
||||||
# We set these files as private headers since they only need to be accessed
|
|
||||||
# by other FlipperKit source files
|
|
||||||
ss.private_header_files = 'iOS/FlipperKit/CppBridge/**/*.h'
|
|
||||||
ss.preserve_path = 'FlipperKit/CppBridge/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec 'FBCxxUtils' do |ss|
|
|
||||||
ss.header_dir = 'FBCxxUtils'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/FBCxxUtils/**/*.{h,mm}'
|
|
||||||
# We set these files as private headers since they only need to be accessed
|
|
||||||
# by other FlipperKit source files
|
|
||||||
ss.private_header_files = 'iOS/FlipperKit/FBCxxUtils/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FKPortForwarding" do |ss|
|
|
||||||
ss.header_dir = "FKPortForwarding"
|
|
||||||
ss.dependency 'CocoaAsyncSocket', '~> 7.6'
|
|
||||||
ss.dependency 'PeerTalk', '~>0.0.2'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/FKPortForwarding/FKPortForwarding{Server,Common}.{h,m}'
|
|
||||||
ss.private_header_files = 'iOS/FlipperKit/FKPortForwarding/FKPortForwarding{Server,Common}.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
|
|
||||||
spec.subspec "Core" do |ss|
|
|
||||||
ss.dependency 'FlipperKit/FBDefines'
|
|
||||||
ss.dependency 'FlipperKit/FBCxxUtils'
|
|
||||||
ss.dependency 'FlipperKit/CppBridge'
|
|
||||||
ss.dependency 'FlipperKit/FKPortForwarding'
|
|
||||||
ss.dependency 'Folly', '~>1.1'
|
|
||||||
ss.dependency 'Flipper', '~>'+flipperkit_version
|
|
||||||
ss.dependency 'OpenSSL-Static', '1.0.2.c1'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/FBDefines/*.{h,cpp,m,mm}', 'iOS/FlipperKit/CppBridge/*.{h,mm}', 'iOS/FlipperKit/FBCxxUtils/*.{h,mm}', 'iOS/FlipperKit/*.{h,m,mm}'
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKSubDescriptor.h',
|
|
||||||
'iOS/FBDefines/FBMacros.h',
|
|
||||||
'iOS/Plugins/FlipperKitExamplePlugin/FlipperKitExamplePlugin/FlipperKitExamplePlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitCrashReporterPlugin/FlipperKitCrashReporterPlugin/FlipperKitCrashReporterPlugin.h',
|
|
||||||
'iOS/FlipperKit/**/{FlipperDiagnosticsViewController,FlipperStateUpdateListener,FlipperClient,FlipperPlugin,FlipperConnection,FlipperResponder,SKMacros}.h'
|
|
||||||
header_search_paths = "\"$(PODS_ROOT)/FlipperKit/iOS/FlipperKit\" \"$(PODS_ROOT)\"/Headers/Private/FlipperKit/** \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/PeerTalkSonar\""
|
|
||||||
ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"DEFINES_MODULE" => "YES",
|
|
||||||
"HEADER_SEARCH_PATHS" => header_search_paths }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitLayoutPlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitLayoutPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.dependency 'Yoga', yoga_version
|
|
||||||
ss.dependency 'YogaKit', yogakit_version
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h'
|
|
||||||
ss.private_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTouch.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNodeDescriptor.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNamed.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKObject.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKHighlightOverlay.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/UIColor+SKSonarValueCoder.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKObjectHash.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKSwizzle.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKYogaKitHelper.h'
|
|
||||||
ss.source_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/**/*.{h,cpp,m,mm}'
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitLayoutComponentKitSupport" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitLayoutComponentKitSupport"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.dependency 'Yoga', yoga_version
|
|
||||||
ss.dependency 'ComponentKit'
|
|
||||||
ss.dependency 'FlipperKit/FlipperKitLayoutPlugin'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.dependency 'FlipperKit/FlipperKitLayoutPlugin'
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKSubDescriptor.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/**/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitNetworkPlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitNetworkPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "SKIOSNetworkPlugin" do |ss|
|
|
||||||
ss.header_dir = "SKIOSNetworkPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.dependency 'FlipperKit/FlipperKitNetworkPlugin'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/**/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitUserDefaultsPlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitUserDefaultsPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitUserDefaultsPlugin/**/*.{h,m}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitExamplePlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitExamplePlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitExamplePlugin/FlipperKitExamplePlugin.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitExamplePlugin/**/*.{h,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
end
|
|
||||||
@@ -1,174 +0,0 @@
|
|||||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
||||||
#
|
|
||||||
# This source code is licensed under the MIT license found in the
|
|
||||||
# LICENSE file in the root directory of this source tree.
|
|
||||||
|
|
||||||
folly_compiler_flags = '-DFLIPPER_OSS=1 -DFB_SONARKIT_ENABLED=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'
|
|
||||||
yoga_version = '~> 1.9'
|
|
||||||
yogakit_version = '~>1.8'
|
|
||||||
flipperkit_version = '0.14.1'
|
|
||||||
Pod::Spec.new do |spec|
|
|
||||||
spec.name = 'FlipperKit'
|
|
||||||
spec.version = flipperkit_version
|
|
||||||
spec.license = { :type => 'MIT' }
|
|
||||||
spec.homepage = 'https://github.com/facebook/Sonar'
|
|
||||||
spec.summary = 'Sonar iOS podspec'
|
|
||||||
spec.authors = 'Facebook'
|
|
||||||
spec.static_framework = true
|
|
||||||
spec.source = { :git => 'https://github.com/facebook/Sonar.git',
|
|
||||||
:tag=> "v"+flipperkit_version }
|
|
||||||
spec.module_name = 'FlipperKit'
|
|
||||||
spec.platforms = { :ios => "8.4" }
|
|
||||||
spec.default_subspecs = "Core"
|
|
||||||
|
|
||||||
# This subspec is necessary since FBMacros.h is imported as <FBDefines/FBMacros.h>
|
|
||||||
# inside SKMacros.h, which is a public header file. Defining this directory as a
|
|
||||||
# subspec with header_dir = 'FBDefines' allows this to work, even though it wouldn't
|
|
||||||
# generally (you would need to import <FlipperKit/t/FBDefines/FBMacros.h>)
|
|
||||||
spec.subspec 'FBDefines' do |ss|
|
|
||||||
ss.header_dir = 'FBDefines'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FBDefines/**/*.h'
|
|
||||||
ss.public_header_files = 'iOS/FBDefines/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec 'CppBridge' do |ss|
|
|
||||||
ss.header_dir = 'CppBridge'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/CppBridge/**/*.{h,mm}'
|
|
||||||
# We set these files as private headers since they only need to be accessed
|
|
||||||
# by other FlipperKit source files
|
|
||||||
ss.private_header_files = 'iOS/FlipperKit/CppBridge/**/*.h'
|
|
||||||
ss.preserve_path = 'FlipperKit/CppBridge/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec 'FBCxxUtils' do |ss|
|
|
||||||
ss.header_dir = 'FBCxxUtils'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/FBCxxUtils/**/*.{h,mm}'
|
|
||||||
# We set these files as private headers since they only need to be accessed
|
|
||||||
# by other FlipperKit source files
|
|
||||||
ss.private_header_files = 'iOS/FlipperKit/FBCxxUtils/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FKPortForwarding" do |ss|
|
|
||||||
ss.header_dir = "FKPortForwarding"
|
|
||||||
ss.dependency 'CocoaAsyncSocket', '~> 7.6'
|
|
||||||
ss.dependency 'PeerTalk', '~>0.0.2'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/FKPortForwarding/FKPortForwarding{Server,Common}.{h,m}'
|
|
||||||
ss.private_header_files = 'iOS/FlipperKit/FKPortForwarding/FKPortForwarding{Server,Common}.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
|
|
||||||
spec.subspec "Core" do |ss|
|
|
||||||
ss.dependency 'FlipperKit/FBDefines'
|
|
||||||
ss.dependency 'FlipperKit/FBCxxUtils'
|
|
||||||
ss.dependency 'FlipperKit/CppBridge'
|
|
||||||
ss.dependency 'FlipperKit/FKPortForwarding'
|
|
||||||
ss.dependency 'Folly', '~>1.1'
|
|
||||||
ss.dependency 'Flipper', '~>'+flipperkit_version
|
|
||||||
ss.dependency 'OpenSSL-Static', '1.0.2.c1'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/FBDefines/*.{h,cpp,m,mm}', 'iOS/FlipperKit/CppBridge/*.{h,mm}', 'iOS/FlipperKit/FBCxxUtils/*.{h,mm}', 'iOS/FlipperKit/*.{h,m,mm}'
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKSubDescriptor.h',
|
|
||||||
'iOS/FBDefines/FBMacros.h',
|
|
||||||
'iOS/Plugins/FlipperKitExamplePlugin/FlipperKitExamplePlugin/FlipperKitExamplePlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitCrashReporterPlugin/FlipperKitCrashReporterPlugin/FlipperKitCrashReporterPlugin.h',
|
|
||||||
'iOS/FlipperKit/**/{FlipperDiagnosticsViewController,FlipperStateUpdateListener,FlipperClient,FlipperPlugin,FlipperConnection,FlipperResponder,SKMacros}.h'
|
|
||||||
header_search_paths = "\"$(PODS_ROOT)/FlipperKit/iOS/FlipperKit\" \"$(PODS_ROOT)\"/Headers/Private/FlipperKit/** \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/PeerTalkSonar\""
|
|
||||||
ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"DEFINES_MODULE" => "YES",
|
|
||||||
"HEADER_SEARCH_PATHS" => header_search_paths }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitLayoutPlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitLayoutPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.dependency 'Yoga', yoga_version
|
|
||||||
ss.dependency 'YogaKit', yogakit_version
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h'
|
|
||||||
ss.private_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTouch.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNodeDescriptor.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNamed.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKObject.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKHighlightOverlay.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/UIColor+SKSonarValueCoder.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKObjectHash.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKSwizzle.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKYogaKitHelper.h'
|
|
||||||
ss.source_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/**/*.{h,cpp,m,mm}'
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitLayoutComponentKitSupport" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitLayoutComponentKitSupport"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.dependency 'Yoga', yoga_version
|
|
||||||
ss.dependency 'ComponentKit'
|
|
||||||
ss.dependency 'FlipperKit/FlipperKitLayoutPlugin'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.dependency 'FlipperKit/FlipperKitLayoutPlugin'
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKSubDescriptor.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/**/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitNetworkPlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitNetworkPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "SKIOSNetworkPlugin" do |ss|
|
|
||||||
ss.header_dir = "SKIOSNetworkPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.dependency 'FlipperKit/FlipperKitNetworkPlugin'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/**/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitUserDefaultsPlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitUserDefaultsPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitUserDefaultsPlugin/**/*.{h,m}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitExamplePlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitExamplePlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitExamplePlugin/FlipperKitExamplePlugin.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitExamplePlugin/**/*.{h,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
end
|
|
||||||
@@ -1,174 +0,0 @@
|
|||||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
||||||
#
|
|
||||||
# This source code is licensed under the MIT license found in the
|
|
||||||
# LICENSE file in the root directory of this source tree.
|
|
||||||
|
|
||||||
folly_compiler_flags = '-DFLIPPER_OSS=1 -DFB_SONARKIT_ENABLED=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'
|
|
||||||
yoga_version = '~> 1.9'
|
|
||||||
yogakit_version = '~>1.8'
|
|
||||||
flipperkit_version = '0.14.2'
|
|
||||||
Pod::Spec.new do |spec|
|
|
||||||
spec.name = 'FlipperKit'
|
|
||||||
spec.version = flipperkit_version
|
|
||||||
spec.license = { :type => 'MIT' }
|
|
||||||
spec.homepage = 'https://github.com/facebook/Sonar'
|
|
||||||
spec.summary = 'Sonar iOS podspec'
|
|
||||||
spec.authors = 'Facebook'
|
|
||||||
spec.static_framework = true
|
|
||||||
spec.source = { :git => 'https://github.com/facebook/Sonar.git',
|
|
||||||
:tag=> "v"+flipperkit_version }
|
|
||||||
spec.module_name = 'FlipperKit'
|
|
||||||
spec.platforms = { :ios => "8.4" }
|
|
||||||
spec.default_subspecs = "Core"
|
|
||||||
|
|
||||||
# This subspec is necessary since FBMacros.h is imported as <FBDefines/FBMacros.h>
|
|
||||||
# inside SKMacros.h, which is a public header file. Defining this directory as a
|
|
||||||
# subspec with header_dir = 'FBDefines' allows this to work, even though it wouldn't
|
|
||||||
# generally (you would need to import <FlipperKit/t/FBDefines/FBMacros.h>)
|
|
||||||
spec.subspec 'FBDefines' do |ss|
|
|
||||||
ss.header_dir = 'FBDefines'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FBDefines/**/*.h'
|
|
||||||
ss.public_header_files = 'iOS/FBDefines/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec 'CppBridge' do |ss|
|
|
||||||
ss.header_dir = 'CppBridge'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/CppBridge/**/*.{h,mm}'
|
|
||||||
# We set these files as private headers since they only need to be accessed
|
|
||||||
# by other FlipperKit source files
|
|
||||||
ss.private_header_files = 'iOS/FlipperKit/CppBridge/**/*.h'
|
|
||||||
ss.preserve_path = 'FlipperKit/CppBridge/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec 'FBCxxUtils' do |ss|
|
|
||||||
ss.header_dir = 'FBCxxUtils'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/FBCxxUtils/**/*.{h,mm}'
|
|
||||||
# We set these files as private headers since they only need to be accessed
|
|
||||||
# by other FlipperKit source files
|
|
||||||
ss.private_header_files = 'iOS/FlipperKit/FBCxxUtils/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FKPortForwarding" do |ss|
|
|
||||||
ss.header_dir = "FKPortForwarding"
|
|
||||||
ss.dependency 'CocoaAsyncSocket', '~> 7.6'
|
|
||||||
ss.dependency 'PeerTalk', '~>0.0.2'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/FKPortForwarding/FKPortForwarding{Server,Common}.{h,m}'
|
|
||||||
ss.private_header_files = 'iOS/FlipperKit/FKPortForwarding/FKPortForwarding{Server,Common}.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
|
|
||||||
spec.subspec "Core" do |ss|
|
|
||||||
ss.dependency 'FlipperKit/FBDefines'
|
|
||||||
ss.dependency 'FlipperKit/FBCxxUtils'
|
|
||||||
ss.dependency 'FlipperKit/CppBridge'
|
|
||||||
ss.dependency 'FlipperKit/FKPortForwarding'
|
|
||||||
ss.dependency 'Folly', '~>1.2'
|
|
||||||
ss.dependency 'Flipper', '~>'+flipperkit_version
|
|
||||||
ss.dependency 'OpenSSL-Static', '1.0.2.c1'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/FBDefines/*.{h,cpp,m,mm}', 'iOS/FlipperKit/CppBridge/*.{h,mm}', 'iOS/FlipperKit/FBCxxUtils/*.{h,mm}', 'iOS/FlipperKit/*.{h,m,mm}'
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKSubDescriptor.h',
|
|
||||||
'iOS/FBDefines/FBMacros.h',
|
|
||||||
'iOS/Plugins/FlipperKitExamplePlugin/FlipperKitExamplePlugin/FlipperKitExamplePlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitCrashReporterPlugin/FlipperKitCrashReporterPlugin/FlipperKitCrashReporterPlugin.h',
|
|
||||||
'iOS/FlipperKit/**/{FlipperDiagnosticsViewController,FlipperStateUpdateListener,FlipperClient,FlipperPlugin,FlipperConnection,FlipperResponder,SKMacros}.h'
|
|
||||||
header_search_paths = "\"$(PODS_ROOT)/FlipperKit/iOS/FlipperKit\" \"$(PODS_ROOT)\"/Headers/Private/FlipperKit/** \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/PeerTalkSonar\""
|
|
||||||
ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"DEFINES_MODULE" => "YES",
|
|
||||||
"HEADER_SEARCH_PATHS" => header_search_paths }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitLayoutPlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitLayoutPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.dependency 'Yoga', yoga_version
|
|
||||||
ss.dependency 'YogaKit', yogakit_version
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h'
|
|
||||||
ss.private_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTouch.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNodeDescriptor.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNamed.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKObject.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKHighlightOverlay.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/UIColor+SKSonarValueCoder.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKObjectHash.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKSwizzle.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKYogaKitHelper.h'
|
|
||||||
ss.source_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/**/*.{h,cpp,m,mm}'
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitLayoutComponentKitSupport" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitLayoutComponentKitSupport"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.dependency 'Yoga', yoga_version
|
|
||||||
ss.dependency 'ComponentKit'
|
|
||||||
ss.dependency 'FlipperKit/FlipperKitLayoutPlugin'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.dependency 'FlipperKit/FlipperKitLayoutPlugin'
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKSubDescriptor.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/**/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitNetworkPlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitNetworkPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "SKIOSNetworkPlugin" do |ss|
|
|
||||||
ss.header_dir = "SKIOSNetworkPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.dependency 'FlipperKit/FlipperKitNetworkPlugin'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/**/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitUserDefaultsPlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitUserDefaultsPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitUserDefaultsPlugin/**/*.{h,m}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitExamplePlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitExamplePlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitExamplePlugin/FlipperKitExamplePlugin.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitExamplePlugin/**/*.{h,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
end
|
|
||||||
@@ -1,174 +0,0 @@
|
|||||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
||||||
#
|
|
||||||
# This source code is licensed under the MIT license found in the
|
|
||||||
# LICENSE file in the root directory of this source tree.
|
|
||||||
|
|
||||||
folly_compiler_flags = '-DFLIPPER_OSS=1 -DFB_SONARKIT_ENABLED=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'
|
|
||||||
yoga_version = '~> 1.9'
|
|
||||||
yogakit_version = '~>1.8'
|
|
||||||
flipperkit_version = '0.15.0'
|
|
||||||
Pod::Spec.new do |spec|
|
|
||||||
spec.name = 'FlipperKit'
|
|
||||||
spec.version = flipperkit_version
|
|
||||||
spec.license = { :type => 'MIT' }
|
|
||||||
spec.homepage = 'https://github.com/facebook/Sonar'
|
|
||||||
spec.summary = 'Sonar iOS podspec'
|
|
||||||
spec.authors = 'Facebook'
|
|
||||||
spec.static_framework = true
|
|
||||||
spec.source = { :git => 'https://github.com/facebook/Sonar.git',
|
|
||||||
:tag=> "v"+flipperkit_version }
|
|
||||||
spec.module_name = 'FlipperKit'
|
|
||||||
spec.platforms = { :ios => "8.4" }
|
|
||||||
spec.default_subspecs = "Core"
|
|
||||||
|
|
||||||
# This subspec is necessary since FBMacros.h is imported as <FBDefines/FBMacros.h>
|
|
||||||
# inside SKMacros.h, which is a public header file. Defining this directory as a
|
|
||||||
# subspec with header_dir = 'FBDefines' allows this to work, even though it wouldn't
|
|
||||||
# generally (you would need to import <FlipperKit/t/FBDefines/FBMacros.h>)
|
|
||||||
spec.subspec 'FBDefines' do |ss|
|
|
||||||
ss.header_dir = 'FBDefines'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FBDefines/**/*.h'
|
|
||||||
ss.public_header_files = 'iOS/FBDefines/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec 'CppBridge' do |ss|
|
|
||||||
ss.header_dir = 'CppBridge'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/CppBridge/**/*.{h,mm}'
|
|
||||||
# We set these files as private headers since they only need to be accessed
|
|
||||||
# by other FlipperKit source files
|
|
||||||
ss.private_header_files = 'iOS/FlipperKit/CppBridge/**/*.h'
|
|
||||||
ss.preserve_path = 'FlipperKit/CppBridge/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec 'FBCxxUtils' do |ss|
|
|
||||||
ss.header_dir = 'FBCxxUtils'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/FBCxxUtils/**/*.{h,mm}'
|
|
||||||
# We set these files as private headers since they only need to be accessed
|
|
||||||
# by other FlipperKit source files
|
|
||||||
ss.private_header_files = 'iOS/FlipperKit/FBCxxUtils/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FKPortForwarding" do |ss|
|
|
||||||
ss.header_dir = "FKPortForwarding"
|
|
||||||
ss.dependency 'CocoaAsyncSocket', '~> 7.6'
|
|
||||||
ss.dependency 'PeerTalk', '~>0.0.2'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/FKPortForwarding/FKPortForwarding{Server,Common}.{h,m}'
|
|
||||||
ss.private_header_files = 'iOS/FlipperKit/FKPortForwarding/FKPortForwarding{Server,Common}.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
|
|
||||||
spec.subspec "Core" do |ss|
|
|
||||||
ss.dependency 'FlipperKit/FBDefines'
|
|
||||||
ss.dependency 'FlipperKit/FBCxxUtils'
|
|
||||||
ss.dependency 'FlipperKit/CppBridge'
|
|
||||||
ss.dependency 'FlipperKit/FKPortForwarding'
|
|
||||||
ss.dependency 'Folly', '~>1.2'
|
|
||||||
ss.dependency 'Flipper', '~>'+flipperkit_version
|
|
||||||
ss.dependency 'OpenSSL-Static', '1.0.2.c1'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/FBDefines/*.{h,cpp,m,mm}', 'iOS/FlipperKit/CppBridge/*.{h,mm}', 'iOS/FlipperKit/FBCxxUtils/*.{h,mm}', 'iOS/FlipperKit/*.{h,m,mm}'
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKSubDescriptor.h',
|
|
||||||
'iOS/FBDefines/FBMacros.h',
|
|
||||||
'iOS/Plugins/FlipperKitExamplePlugin/FlipperKitExamplePlugin/FlipperKitExamplePlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitCrashReporterPlugin/FlipperKitCrashReporterPlugin/FlipperKitCrashReporterPlugin.h',
|
|
||||||
'iOS/FlipperKit/**/{FlipperDiagnosticsViewController,FlipperStateUpdateListener,FlipperClient,FlipperPlugin,FlipperConnection,FlipperResponder,SKMacros}.h'
|
|
||||||
header_search_paths = "\"$(PODS_ROOT)/FlipperKit/iOS/FlipperKit\" \"$(PODS_ROOT)\"/Headers/Private/FlipperKit/** \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/PeerTalkSonar\""
|
|
||||||
ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"DEFINES_MODULE" => "YES",
|
|
||||||
"HEADER_SEARCH_PATHS" => header_search_paths }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitLayoutPlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitLayoutPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.dependency 'Yoga', yoga_version
|
|
||||||
ss.dependency 'YogaKit', yogakit_version
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h'
|
|
||||||
ss.private_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTouch.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNodeDescriptor.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNamed.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKObject.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKHighlightOverlay.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/UIColor+SKSonarValueCoder.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKObjectHash.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKSwizzle.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKYogaKitHelper.h'
|
|
||||||
ss.source_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/**/*.{h,cpp,m,mm}'
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitLayoutComponentKitSupport" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitLayoutComponentKitSupport"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.dependency 'Yoga', yoga_version
|
|
||||||
ss.dependency 'ComponentKit'
|
|
||||||
ss.dependency 'FlipperKit/FlipperKitLayoutPlugin'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.dependency 'FlipperKit/FlipperKitLayoutPlugin'
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKSubDescriptor.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/**/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitNetworkPlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitNetworkPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "SKIOSNetworkPlugin" do |ss|
|
|
||||||
ss.header_dir = "SKIOSNetworkPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.dependency 'FlipperKit/FlipperKitNetworkPlugin'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/**/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitUserDefaultsPlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitUserDefaultsPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitUserDefaultsPlugin/**/*.{h,m}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitExamplePlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitExamplePlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitExamplePlugin/FlipperKitExamplePlugin.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitExamplePlugin/**/*.{h,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
end
|
|
||||||
@@ -1,174 +0,0 @@
|
|||||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
||||||
#
|
|
||||||
# This source code is licensed under the MIT license found in the
|
|
||||||
# LICENSE file in the root directory of this source tree.
|
|
||||||
|
|
||||||
folly_compiler_flags = '-DFLIPPER_OSS=1 -DFB_SONARKIT_ENABLED=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'
|
|
||||||
yoga_version = '~> 1.9'
|
|
||||||
yogakit_version = '~>1.10'
|
|
||||||
flipperkit_version = '0.16.0'
|
|
||||||
Pod::Spec.new do |spec|
|
|
||||||
spec.name = 'FlipperKit'
|
|
||||||
spec.version = flipperkit_version
|
|
||||||
spec.license = { :type => 'MIT' }
|
|
||||||
spec.homepage = 'https://github.com/facebook/Sonar'
|
|
||||||
spec.summary = 'Sonar iOS podspec'
|
|
||||||
spec.authors = 'Facebook'
|
|
||||||
spec.static_framework = true
|
|
||||||
spec.source = { :git => 'https://github.com/facebook/Sonar.git',
|
|
||||||
:tag=> "v"+flipperkit_version }
|
|
||||||
spec.module_name = 'FlipperKit'
|
|
||||||
spec.platforms = { :ios => "8.4" }
|
|
||||||
spec.default_subspecs = "Core"
|
|
||||||
|
|
||||||
# This subspec is necessary since FBDefines.h is imported as <FBDefines/FBDefines.h>
|
|
||||||
# inside SKMacros.h, which is a public header file. Defining this directory as a
|
|
||||||
# subspec with header_dir = 'FBDefines' allows this to work, even though it wouldn't
|
|
||||||
# generally (you would need to import <FlipperKit/t/FBDefines/FBDefines.h>)
|
|
||||||
spec.subspec 'FBDefines' do |ss|
|
|
||||||
ss.header_dir = 'FBDefines'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FBDefines/**/*.h'
|
|
||||||
ss.public_header_files = 'iOS/FBDefines/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec 'CppBridge' do |ss|
|
|
||||||
ss.header_dir = 'CppBridge'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/CppBridge/**/*.{h,mm}'
|
|
||||||
# We set these files as private headers since they only need to be accessed
|
|
||||||
# by other FlipperKit source files
|
|
||||||
ss.private_header_files = 'iOS/FlipperKit/CppBridge/**/*.h'
|
|
||||||
ss.preserve_path = 'FlipperKit/CppBridge/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec 'FBCxxUtils' do |ss|
|
|
||||||
ss.header_dir = 'FBCxxUtils'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/FBCxxUtils/**/*.{h,mm}'
|
|
||||||
# We set these files as private headers since they only need to be accessed
|
|
||||||
# by other FlipperKit source files
|
|
||||||
ss.private_header_files = 'iOS/FlipperKit/FBCxxUtils/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FKPortForwarding" do |ss|
|
|
||||||
ss.header_dir = "FKPortForwarding"
|
|
||||||
ss.dependency 'CocoaAsyncSocket', '~> 7.6'
|
|
||||||
ss.dependency 'PeerTalk', '~>0.0.2'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/FKPortForwarding/FKPortForwarding{Server,Common}.{h,m}'
|
|
||||||
ss.private_header_files = 'iOS/FlipperKit/FKPortForwarding/FKPortForwarding{Server,Common}.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
|
|
||||||
spec.subspec "Core" do |ss|
|
|
||||||
ss.dependency 'FlipperKit/FBDefines'
|
|
||||||
ss.dependency 'FlipperKit/FBCxxUtils'
|
|
||||||
ss.dependency 'FlipperKit/CppBridge'
|
|
||||||
ss.dependency 'FlipperKit/FKPortForwarding'
|
|
||||||
ss.dependency 'Folly', '~>1.2'
|
|
||||||
ss.dependency 'Flipper', '~>'+flipperkit_version
|
|
||||||
ss.dependency 'OpenSSL-Static', '1.0.2.c1'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/FBDefines/*.{h,cpp,m,mm}', 'iOS/FlipperKit/CppBridge/*.{h,mm}', 'iOS/FlipperKit/FBCxxUtils/*.{h,mm}', 'iOS/FlipperKit/*.{h,m,mm}'
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKSubDescriptor.h',
|
|
||||||
'iOS/FBDefines/FBDefines.h',
|
|
||||||
'iOS/Plugins/FlipperKitExamplePlugin/FlipperKitExamplePlugin/FlipperKitExamplePlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitCrashReporterPlugin/FlipperKitCrashReporterPlugin/FlipperKitCrashReporterPlugin.h',
|
|
||||||
'iOS/FlipperKit/**/{FlipperDiagnosticsViewController,FlipperStateUpdateListener,FlipperClient,FlipperPlugin,FlipperConnection,FlipperResponder,SKMacros}.h'
|
|
||||||
header_search_paths = "\"$(PODS_ROOT)/FlipperKit/iOS/FlipperKit\" \"$(PODS_ROOT)\"/Headers/Private/FlipperKit/** \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/PeerTalkSonar\""
|
|
||||||
ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"DEFINES_MODULE" => "YES",
|
|
||||||
"HEADER_SEARCH_PATHS" => header_search_paths }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitLayoutPlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitLayoutPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.dependency 'Yoga', yoga_version
|
|
||||||
ss.dependency 'YogaKit', yogakit_version
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h'
|
|
||||||
ss.private_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTouch.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNodeDescriptor.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNamed.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKObject.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKHighlightOverlay.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/UIColor+SKSonarValueCoder.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKObjectHash.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKSwizzle.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKYogaKitHelper.h'
|
|
||||||
ss.source_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/**/*.{h,cpp,m,mm}'
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitLayoutComponentKitSupport" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitLayoutComponentKitSupport"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.dependency 'Yoga', yoga_version
|
|
||||||
ss.dependency 'ComponentKit'
|
|
||||||
ss.dependency 'FlipperKit/FlipperKitLayoutPlugin'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.dependency 'FlipperKit/FlipperKitLayoutPlugin'
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKSubDescriptor.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/**/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitNetworkPlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitNetworkPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "SKIOSNetworkPlugin" do |ss|
|
|
||||||
ss.header_dir = "SKIOSNetworkPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.dependency 'FlipperKit/FlipperKitNetworkPlugin'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/**/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitUserDefaultsPlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitUserDefaultsPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitUserDefaultsPlugin/**/*.{h,m}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitExamplePlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitExamplePlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitExamplePlugin/FlipperKitExamplePlugin.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitExamplePlugin/**/*.{h,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
end
|
|
||||||
@@ -1,174 +0,0 @@
|
|||||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
||||||
#
|
|
||||||
# This source code is licensed under the MIT license found in the
|
|
||||||
# LICENSE file in the root directory of this source tree.
|
|
||||||
|
|
||||||
folly_compiler_flags = '-DFLIPPER_OSS=1 -DFB_SONARKIT_ENABLED=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'
|
|
||||||
yoga_version = '~> 1.9'
|
|
||||||
yogakit_version = '~>1.10'
|
|
||||||
flipperkit_version = '0.16.1'
|
|
||||||
Pod::Spec.new do |spec|
|
|
||||||
spec.name = 'FlipperKit'
|
|
||||||
spec.version = flipperkit_version
|
|
||||||
spec.license = { :type => 'MIT' }
|
|
||||||
spec.homepage = 'https://github.com/facebook/Sonar'
|
|
||||||
spec.summary = 'Sonar iOS podspec'
|
|
||||||
spec.authors = 'Facebook'
|
|
||||||
spec.static_framework = true
|
|
||||||
spec.source = { :git => 'https://github.com/facebook/Sonar.git',
|
|
||||||
:tag=> "v"+flipperkit_version }
|
|
||||||
spec.module_name = 'FlipperKit'
|
|
||||||
spec.platforms = { :ios => "8.4" }
|
|
||||||
spec.default_subspecs = "Core"
|
|
||||||
|
|
||||||
# This subspec is necessary since FBDefines.h is imported as <FBDefines/FBDefines.h>
|
|
||||||
# inside SKMacros.h, which is a public header file. Defining this directory as a
|
|
||||||
# subspec with header_dir = 'FBDefines' allows this to work, even though it wouldn't
|
|
||||||
# generally (you would need to import <FlipperKit/t/FBDefines/FBDefines.h>)
|
|
||||||
spec.subspec 'FBDefines' do |ss|
|
|
||||||
ss.header_dir = 'FBDefines'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FBDefines/**/*.h'
|
|
||||||
ss.public_header_files = 'iOS/FBDefines/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec 'CppBridge' do |ss|
|
|
||||||
ss.header_dir = 'CppBridge'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/CppBridge/**/*.{h,mm}'
|
|
||||||
# We set these files as private headers since they only need to be accessed
|
|
||||||
# by other FlipperKit source files
|
|
||||||
ss.private_header_files = 'iOS/FlipperKit/CppBridge/**/*.h'
|
|
||||||
ss.preserve_path = 'FlipperKit/CppBridge/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec 'FBCxxUtils' do |ss|
|
|
||||||
ss.header_dir = 'FBCxxUtils'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/FBCxxUtils/**/*.{h,mm}'
|
|
||||||
# We set these files as private headers since they only need to be accessed
|
|
||||||
# by other FlipperKit source files
|
|
||||||
ss.private_header_files = 'iOS/FlipperKit/FBCxxUtils/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FKPortForwarding" do |ss|
|
|
||||||
ss.header_dir = "FKPortForwarding"
|
|
||||||
ss.dependency 'CocoaAsyncSocket', '~> 7.6'
|
|
||||||
ss.dependency 'PeerTalk', '~>0.0.2'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/FKPortForwarding/FKPortForwarding{Server,Common}.{h,m}'
|
|
||||||
ss.private_header_files = 'iOS/FlipperKit/FKPortForwarding/FKPortForwarding{Server,Common}.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
|
|
||||||
spec.subspec "Core" do |ss|
|
|
||||||
ss.dependency 'FlipperKit/FBDefines'
|
|
||||||
ss.dependency 'FlipperKit/FBCxxUtils'
|
|
||||||
ss.dependency 'FlipperKit/CppBridge'
|
|
||||||
ss.dependency 'FlipperKit/FKPortForwarding'
|
|
||||||
ss.dependency 'Folly', '~>1.2'
|
|
||||||
ss.dependency 'Flipper', '~>'+flipperkit_version
|
|
||||||
ss.dependency 'OpenSSL-Static', '1.0.2.c1'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/FBDefines/*.{h,cpp,m,mm}', 'iOS/FlipperKit/CppBridge/*.{h,mm}', 'iOS/FlipperKit/FBCxxUtils/*.{h,mm}', 'iOS/FlipperKit/*.{h,m,mm}'
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKSubDescriptor.h',
|
|
||||||
'iOS/FBDefines/FBDefines.h',
|
|
||||||
'iOS/Plugins/FlipperKitExamplePlugin/FlipperKitExamplePlugin/FlipperKitExamplePlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitCrashReporterPlugin/FlipperKitCrashReporterPlugin/FlipperKitCrashReporterPlugin.h',
|
|
||||||
'iOS/FlipperKit/**/{FlipperDiagnosticsViewController,FlipperStateUpdateListener,FlipperClient,FlipperPlugin,FlipperConnection,FlipperResponder,SKMacros}.h'
|
|
||||||
header_search_paths = "\"$(PODS_ROOT)/FlipperKit/iOS/FlipperKit\" \"$(PODS_ROOT)\"/Headers/Private/FlipperKit/** \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/PeerTalkSonar\""
|
|
||||||
ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"DEFINES_MODULE" => "YES",
|
|
||||||
"HEADER_SEARCH_PATHS" => header_search_paths }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitLayoutPlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitLayoutPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.dependency 'Yoga', yoga_version
|
|
||||||
ss.dependency 'YogaKit', yogakit_version
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h'
|
|
||||||
ss.private_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTouch.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNodeDescriptor.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNamed.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKObject.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKHighlightOverlay.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/UIColor+SKSonarValueCoder.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKObjectHash.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKSwizzle.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKYogaKitHelper.h'
|
|
||||||
ss.source_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/**/*.{h,cpp,m,mm}'
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitLayoutComponentKitSupport" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitLayoutComponentKitSupport"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.dependency 'Yoga', yoga_version
|
|
||||||
ss.dependency 'ComponentKit'
|
|
||||||
ss.dependency 'FlipperKit/FlipperKitLayoutPlugin'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.dependency 'FlipperKit/FlipperKitLayoutPlugin'
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKSubDescriptor.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/**/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitNetworkPlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitNetworkPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "SKIOSNetworkPlugin" do |ss|
|
|
||||||
ss.header_dir = "SKIOSNetworkPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.dependency 'FlipperKit/FlipperKitNetworkPlugin'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/**/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitUserDefaultsPlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitUserDefaultsPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitUserDefaultsPlugin/**/*.{h,m}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitExamplePlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitExamplePlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitExamplePlugin/FlipperKitExamplePlugin.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitExamplePlugin/**/*.{h,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
end
|
|
||||||
@@ -1,174 +0,0 @@
|
|||||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
||||||
#
|
|
||||||
# This source code is licensed under the MIT license found in the
|
|
||||||
# LICENSE file in the root directory of this source tree.
|
|
||||||
|
|
||||||
folly_compiler_flags = '-DFLIPPER_OSS=1 -DFB_SONARKIT_ENABLED=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'
|
|
||||||
yoga_version = '~> 1.9'
|
|
||||||
yogakit_version = '~>1.10'
|
|
||||||
flipperkit_version = '0.16.2'
|
|
||||||
Pod::Spec.new do |spec|
|
|
||||||
spec.name = 'FlipperKit'
|
|
||||||
spec.version = flipperkit_version
|
|
||||||
spec.license = { :type => 'MIT' }
|
|
||||||
spec.homepage = 'https://github.com/facebook/Sonar'
|
|
||||||
spec.summary = 'Sonar iOS podspec'
|
|
||||||
spec.authors = 'Facebook'
|
|
||||||
spec.static_framework = true
|
|
||||||
spec.source = { :git => 'https://github.com/facebook/Sonar.git',
|
|
||||||
:tag=> "v"+flipperkit_version }
|
|
||||||
spec.module_name = 'FlipperKit'
|
|
||||||
spec.platforms = { :ios => "8.4" }
|
|
||||||
spec.default_subspecs = "Core"
|
|
||||||
|
|
||||||
# This subspec is necessary since FBDefines.h is imported as <FBDefines/FBDefines.h>
|
|
||||||
# inside SKMacros.h, which is a public header file. Defining this directory as a
|
|
||||||
# subspec with header_dir = 'FBDefines' allows this to work, even though it wouldn't
|
|
||||||
# generally (you would need to import <FlipperKit/t/FBDefines/FBDefines.h>)
|
|
||||||
spec.subspec 'FBDefines' do |ss|
|
|
||||||
ss.header_dir = 'FBDefines'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FBDefines/**/*.h'
|
|
||||||
ss.public_header_files = 'iOS/FBDefines/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec 'CppBridge' do |ss|
|
|
||||||
ss.header_dir = 'CppBridge'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/CppBridge/**/*.{h,mm}'
|
|
||||||
# We set these files as private headers since they only need to be accessed
|
|
||||||
# by other FlipperKit source files
|
|
||||||
ss.private_header_files = 'iOS/FlipperKit/CppBridge/**/*.h'
|
|
||||||
ss.preserve_path = 'FlipperKit/CppBridge/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec 'FBCxxUtils' do |ss|
|
|
||||||
ss.header_dir = 'FBCxxUtils'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/FBCxxUtils/**/*.{h,mm}'
|
|
||||||
# We set these files as private headers since they only need to be accessed
|
|
||||||
# by other FlipperKit source files
|
|
||||||
ss.private_header_files = 'iOS/FlipperKit/FBCxxUtils/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FKPortForwarding" do |ss|
|
|
||||||
ss.header_dir = "FKPortForwarding"
|
|
||||||
ss.dependency 'CocoaAsyncSocket', '~> 7.6'
|
|
||||||
ss.dependency 'PeerTalk', '~>0.0.2'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/FKPortForwarding/FKPortForwarding{Server,Common}.{h,m}'
|
|
||||||
ss.private_header_files = 'iOS/FlipperKit/FKPortForwarding/FKPortForwarding{Server,Common}.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
|
|
||||||
spec.subspec "Core" do |ss|
|
|
||||||
ss.dependency 'FlipperKit/FBDefines'
|
|
||||||
ss.dependency 'FlipperKit/FBCxxUtils'
|
|
||||||
ss.dependency 'FlipperKit/CppBridge'
|
|
||||||
ss.dependency 'FlipperKit/FKPortForwarding'
|
|
||||||
ss.dependency 'Folly', '~>1.2'
|
|
||||||
ss.dependency 'Flipper', '~>'+flipperkit_version
|
|
||||||
ss.dependency 'OpenSSL-Static', '1.0.2.c1'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/FBDefines/*.{h,cpp,m,mm}', 'iOS/FlipperKit/CppBridge/*.{h,mm}', 'iOS/FlipperKit/FBCxxUtils/*.{h,mm}', 'iOS/FlipperKit/*.{h,m,mm}'
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKSubDescriptor.h',
|
|
||||||
'iOS/FBDefines/FBDefines.h',
|
|
||||||
'iOS/Plugins/FlipperKitExamplePlugin/FlipperKitExamplePlugin/FlipperKitExamplePlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitCrashReporterPlugin/FlipperKitCrashReporterPlugin/FlipperKitCrashReporterPlugin.h',
|
|
||||||
'iOS/FlipperKit/**/{FlipperDiagnosticsViewController,FlipperStateUpdateListener,FlipperClient,FlipperPlugin,FlipperConnection,FlipperResponder,SKMacros}.h'
|
|
||||||
header_search_paths = "\"$(PODS_ROOT)/FlipperKit/iOS/FlipperKit\" \"$(PODS_ROOT)\"/Headers/Private/FlipperKit/** \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/PeerTalkSonar\""
|
|
||||||
ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"DEFINES_MODULE" => "YES",
|
|
||||||
"HEADER_SEARCH_PATHS" => header_search_paths }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitLayoutPlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitLayoutPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.dependency 'Yoga', yoga_version
|
|
||||||
ss.dependency 'YogaKit', yogakit_version
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h'
|
|
||||||
ss.private_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTouch.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNodeDescriptor.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNamed.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKObject.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKHighlightOverlay.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/UIColor+SKSonarValueCoder.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKObjectHash.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKSwizzle.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKYogaKitHelper.h'
|
|
||||||
ss.source_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/**/*.{h,cpp,m,mm}'
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitLayoutComponentKitSupport" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitLayoutComponentKitSupport"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.dependency 'Yoga', yoga_version
|
|
||||||
ss.dependency 'ComponentKit'
|
|
||||||
ss.dependency 'FlipperKit/FlipperKitLayoutPlugin'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.dependency 'FlipperKit/FlipperKitLayoutPlugin'
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKSubDescriptor.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/**/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitNetworkPlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitNetworkPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "SKIOSNetworkPlugin" do |ss|
|
|
||||||
ss.header_dir = "SKIOSNetworkPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.dependency 'FlipperKit/FlipperKitNetworkPlugin'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/**/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitUserDefaultsPlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitUserDefaultsPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitUserDefaultsPlugin/**/*.{h,m}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitExamplePlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitExamplePlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitExamplePlugin/FlipperKitExamplePlugin.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitExamplePlugin/**/*.{h,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
end
|
|
||||||
@@ -1,174 +0,0 @@
|
|||||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
||||||
#
|
|
||||||
# This source code is licensed under the MIT license found in the
|
|
||||||
# LICENSE file in the root directory of this source tree.
|
|
||||||
|
|
||||||
folly_compiler_flags = '-DFLIPPER_OSS=1 -DFB_SONARKIT_ENABLED=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'
|
|
||||||
yoga_version = '~> 1.9'
|
|
||||||
yogakit_version = '~>1.10'
|
|
||||||
flipperkit_version = '0.17.0'
|
|
||||||
Pod::Spec.new do |spec|
|
|
||||||
spec.name = 'FlipperKit'
|
|
||||||
spec.version = flipperkit_version
|
|
||||||
spec.license = { :type => 'MIT' }
|
|
||||||
spec.homepage = 'https://github.com/facebook/Sonar'
|
|
||||||
spec.summary = 'Sonar iOS podspec'
|
|
||||||
spec.authors = 'Facebook'
|
|
||||||
spec.static_framework = true
|
|
||||||
spec.source = { :git => 'https://github.com/facebook/Sonar.git',
|
|
||||||
:tag=> "v"+flipperkit_version }
|
|
||||||
spec.module_name = 'FlipperKit'
|
|
||||||
spec.platforms = { :ios => "8.4" }
|
|
||||||
spec.default_subspecs = "Core"
|
|
||||||
|
|
||||||
# This subspec is necessary since FBDefines.h is imported as <FBDefines/FBDefines.h>
|
|
||||||
# inside SKMacros.h, which is a public header file. Defining this directory as a
|
|
||||||
# subspec with header_dir = 'FBDefines' allows this to work, even though it wouldn't
|
|
||||||
# generally (you would need to import <FlipperKit/t/FBDefines/FBDefines.h>)
|
|
||||||
spec.subspec 'FBDefines' do |ss|
|
|
||||||
ss.header_dir = 'FBDefines'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FBDefines/**/*.h'
|
|
||||||
ss.public_header_files = 'iOS/FBDefines/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec 'CppBridge' do |ss|
|
|
||||||
ss.header_dir = 'CppBridge'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/CppBridge/**/*.{h,mm}'
|
|
||||||
# We set these files as private headers since they only need to be accessed
|
|
||||||
# by other FlipperKit source files
|
|
||||||
ss.private_header_files = 'iOS/FlipperKit/CppBridge/**/*.h'
|
|
||||||
ss.preserve_path = 'FlipperKit/CppBridge/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec 'FBCxxUtils' do |ss|
|
|
||||||
ss.header_dir = 'FBCxxUtils'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/FBCxxUtils/**/*.{h,mm}'
|
|
||||||
# We set these files as private headers since they only need to be accessed
|
|
||||||
# by other FlipperKit source files
|
|
||||||
ss.private_header_files = 'iOS/FlipperKit/FBCxxUtils/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FKPortForwarding" do |ss|
|
|
||||||
ss.header_dir = "FKPortForwarding"
|
|
||||||
ss.dependency 'CocoaAsyncSocket', '~> 7.6'
|
|
||||||
ss.dependency 'PeerTalk', '~>0.0.2'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/FKPortForwarding/FKPortForwarding{Server,Common}.{h,m}'
|
|
||||||
ss.private_header_files = 'iOS/FlipperKit/FKPortForwarding/FKPortForwarding{Server,Common}.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
|
|
||||||
spec.subspec "Core" do |ss|
|
|
||||||
ss.dependency 'FlipperKit/FBDefines'
|
|
||||||
ss.dependency 'FlipperKit/FBCxxUtils'
|
|
||||||
ss.dependency 'FlipperKit/CppBridge'
|
|
||||||
ss.dependency 'FlipperKit/FKPortForwarding'
|
|
||||||
ss.dependency 'Flipper-Folly', '~>1.2'
|
|
||||||
ss.dependency 'Flipper', '~>'+flipperkit_version
|
|
||||||
ss.dependency 'OpenSSL-Static', '1.0.2.c1'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/FBDefines/*.{h,cpp,m,mm}', 'iOS/FlipperKit/CppBridge/*.{h,mm}', 'iOS/FlipperKit/FBCxxUtils/*.{h,mm}', 'iOS/FlipperKit/*.{h,m,mm}'
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKSubDescriptor.h',
|
|
||||||
'iOS/FBDefines/FBDefines.h',
|
|
||||||
'iOS/Plugins/FlipperKitExamplePlugin/FlipperKitExamplePlugin/FlipperKitExamplePlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitCrashReporterPlugin/FlipperKitCrashReporterPlugin/FlipperKitCrashReporterPlugin.h',
|
|
||||||
'iOS/FlipperKit/**/{FlipperDiagnosticsViewController,FlipperStateUpdateListener,FlipperClient,FlipperPlugin,FlipperConnection,FlipperResponder,SKMacros}.h'
|
|
||||||
header_search_paths = "\"$(PODS_ROOT)/FlipperKit/iOS/FlipperKit\" \"$(PODS_ROOT)\"/Headers/Private/FlipperKit/** \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/PeerTalkSonar\""
|
|
||||||
ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"DEFINES_MODULE" => "YES",
|
|
||||||
"HEADER_SEARCH_PATHS" => header_search_paths }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitLayoutPlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitLayoutPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.dependency 'Yoga', yoga_version
|
|
||||||
ss.dependency 'YogaKit', yogakit_version
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h'
|
|
||||||
ss.private_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTouch.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNodeDescriptor.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNamed.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKObject.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKHighlightOverlay.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/UIColor+SKSonarValueCoder.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKObjectHash.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKSwizzle.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKYogaKitHelper.h'
|
|
||||||
ss.source_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/**/*.{h,cpp,m,mm}'
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitLayoutComponentKitSupport" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitLayoutComponentKitSupport"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.dependency 'Yoga', yoga_version
|
|
||||||
ss.dependency 'ComponentKit'
|
|
||||||
ss.dependency 'FlipperKit/FlipperKitLayoutPlugin'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.dependency 'FlipperKit/FlipperKitLayoutPlugin'
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKSubDescriptor.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/**/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitNetworkPlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitNetworkPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "SKIOSNetworkPlugin" do |ss|
|
|
||||||
ss.header_dir = "SKIOSNetworkPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.dependency 'FlipperKit/FlipperKitNetworkPlugin'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/**/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitUserDefaultsPlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitUserDefaultsPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitUserDefaultsPlugin/**/*.{h,m}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitExamplePlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitExamplePlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitExamplePlugin/FlipperKitExamplePlugin.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitExamplePlugin/**/*.{h,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
end
|
|
||||||
@@ -1,174 +0,0 @@
|
|||||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
||||||
#
|
|
||||||
# This source code is licensed under the MIT license found in the
|
|
||||||
# LICENSE file in the root directory of this source tree.
|
|
||||||
|
|
||||||
folly_compiler_flags = '-DFLIPPER_OSS=1 -DFB_SONARKIT_ENABLED=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'
|
|
||||||
yoga_version = '~> 1.9'
|
|
||||||
yogakit_version = '~>1.10'
|
|
||||||
flipperkit_version = '0.17.1'
|
|
||||||
Pod::Spec.new do |spec|
|
|
||||||
spec.name = 'FlipperKit'
|
|
||||||
spec.version = flipperkit_version
|
|
||||||
spec.license = { :type => 'MIT' }
|
|
||||||
spec.homepage = 'https://github.com/facebook/Sonar'
|
|
||||||
spec.summary = 'Sonar iOS podspec'
|
|
||||||
spec.authors = 'Facebook'
|
|
||||||
spec.static_framework = true
|
|
||||||
spec.source = { :git => 'https://github.com/facebook/Sonar.git',
|
|
||||||
:tag=> "v"+flipperkit_version }
|
|
||||||
spec.module_name = 'FlipperKit'
|
|
||||||
spec.platforms = { :ios => "8.4" }
|
|
||||||
spec.default_subspecs = "Core"
|
|
||||||
|
|
||||||
# This subspec is necessary since FBDefines.h is imported as <FBDefines/FBDefines.h>
|
|
||||||
# inside SKMacros.h, which is a public header file. Defining this directory as a
|
|
||||||
# subspec with header_dir = 'FBDefines' allows this to work, even though it wouldn't
|
|
||||||
# generally (you would need to import <FlipperKit/t/FBDefines/FBDefines.h>)
|
|
||||||
spec.subspec 'FBDefines' do |ss|
|
|
||||||
ss.header_dir = 'FBDefines'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FBDefines/**/*.h'
|
|
||||||
ss.public_header_files = 'iOS/FBDefines/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec 'CppBridge' do |ss|
|
|
||||||
ss.header_dir = 'CppBridge'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/CppBridge/**/*.{h,mm}'
|
|
||||||
# We set these files as private headers since they only need to be accessed
|
|
||||||
# by other FlipperKit source files
|
|
||||||
ss.private_header_files = 'iOS/FlipperKit/CppBridge/**/*.h'
|
|
||||||
ss.preserve_path = 'FlipperKit/CppBridge/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec 'FBCxxUtils' do |ss|
|
|
||||||
ss.header_dir = 'FBCxxUtils'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/FBCxxUtils/**/*.{h,mm}'
|
|
||||||
# We set these files as private headers since they only need to be accessed
|
|
||||||
# by other FlipperKit source files
|
|
||||||
ss.private_header_files = 'iOS/FlipperKit/FBCxxUtils/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FKPortForwarding" do |ss|
|
|
||||||
ss.header_dir = "FKPortForwarding"
|
|
||||||
ss.dependency 'CocoaAsyncSocket', '~> 7.6'
|
|
||||||
ss.dependency 'PeerTalk', '~>0.0.2'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/FKPortForwarding/FKPortForwarding{Server,Common}.{h,m}'
|
|
||||||
ss.private_header_files = 'iOS/FlipperKit/FKPortForwarding/FKPortForwarding{Server,Common}.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
|
|
||||||
spec.subspec "Core" do |ss|
|
|
||||||
ss.dependency 'FlipperKit/FBDefines'
|
|
||||||
ss.dependency 'FlipperKit/FBCxxUtils'
|
|
||||||
ss.dependency 'FlipperKit/CppBridge'
|
|
||||||
ss.dependency 'FlipperKit/FKPortForwarding'
|
|
||||||
ss.dependency 'Flipper-Folly', '~>1.2'
|
|
||||||
ss.dependency 'Flipper', '~>'+flipperkit_version
|
|
||||||
ss.dependency 'OpenSSL-Static', '1.0.2.c1'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/FBDefines/*.{h,cpp,m,mm}', 'iOS/FlipperKit/CppBridge/*.{h,mm}', 'iOS/FlipperKit/FBCxxUtils/*.{h,mm}', 'iOS/FlipperKit/*.{h,m,mm}'
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKSubDescriptor.h',
|
|
||||||
'iOS/FBDefines/FBDefines.h',
|
|
||||||
'iOS/Plugins/FlipperKitExamplePlugin/FlipperKitExamplePlugin/FlipperKitExamplePlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitCrashReporterPlugin/FlipperKitCrashReporterPlugin/FlipperKitCrashReporterPlugin.h',
|
|
||||||
'iOS/FlipperKit/**/{FlipperDiagnosticsViewController,FlipperStateUpdateListener,FlipperClient,FlipperPlugin,FlipperConnection,FlipperResponder,SKMacros}.h'
|
|
||||||
header_search_paths = "\"$(PODS_ROOT)/FlipperKit/iOS/FlipperKit\" \"$(PODS_ROOT)\"/Headers/Private/FlipperKit/** \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/PeerTalkSonar\""
|
|
||||||
ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"DEFINES_MODULE" => "YES",
|
|
||||||
"HEADER_SEARCH_PATHS" => header_search_paths }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitLayoutPlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitLayoutPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.dependency 'Yoga', yoga_version
|
|
||||||
ss.dependency 'YogaKit', yogakit_version
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h'
|
|
||||||
ss.private_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTouch.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNodeDescriptor.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNamed.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKObject.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKHighlightOverlay.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/UIColor+SKSonarValueCoder.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKObjectHash.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKSwizzle.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKYogaKitHelper.h'
|
|
||||||
ss.source_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/**/*.{h,cpp,m,mm}'
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitLayoutComponentKitSupport" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitLayoutComponentKitSupport"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.dependency 'Yoga', yoga_version
|
|
||||||
ss.dependency 'ComponentKit'
|
|
||||||
ss.dependency 'FlipperKit/FlipperKitLayoutPlugin'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.dependency 'FlipperKit/FlipperKitLayoutPlugin'
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKSubDescriptor.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/**/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitNetworkPlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitNetworkPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "SKIOSNetworkPlugin" do |ss|
|
|
||||||
ss.header_dir = "SKIOSNetworkPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.dependency 'FlipperKit/FlipperKitNetworkPlugin'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/**/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitUserDefaultsPlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitUserDefaultsPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitUserDefaultsPlugin/**/*.{h,m}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitExamplePlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitExamplePlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitExamplePlugin/FlipperKitExamplePlugin.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitExamplePlugin/**/*.{h,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
end
|
|
||||||
@@ -1,174 +0,0 @@
|
|||||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
||||||
#
|
|
||||||
# This source code is licensed under the MIT license found in the
|
|
||||||
# LICENSE file in the root directory of this source tree.
|
|
||||||
|
|
||||||
folly_compiler_flags = '-DFLIPPER_OSS=1 -DFB_SONARKIT_ENABLED=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'
|
|
||||||
yoga_version = '~> 1.9'
|
|
||||||
yogakit_version = '~>1.10'
|
|
||||||
flipperkit_version = '0.18.0'
|
|
||||||
Pod::Spec.new do |spec|
|
|
||||||
spec.name = 'FlipperKit'
|
|
||||||
spec.version = flipperkit_version
|
|
||||||
spec.license = { :type => 'MIT' }
|
|
||||||
spec.homepage = 'https://github.com/facebook/Sonar'
|
|
||||||
spec.summary = 'Sonar iOS podspec'
|
|
||||||
spec.authors = 'Facebook'
|
|
||||||
spec.static_framework = true
|
|
||||||
spec.source = { :git => 'https://github.com/facebook/Sonar.git',
|
|
||||||
:tag=> "v"+flipperkit_version }
|
|
||||||
spec.module_name = 'FlipperKit'
|
|
||||||
spec.platforms = { :ios => "8.4" }
|
|
||||||
spec.default_subspecs = "Core"
|
|
||||||
|
|
||||||
# This subspec is necessary since FBDefines.h is imported as <FBDefines/FBDefines.h>
|
|
||||||
# inside SKMacros.h, which is a public header file. Defining this directory as a
|
|
||||||
# subspec with header_dir = 'FBDefines' allows this to work, even though it wouldn't
|
|
||||||
# generally (you would need to import <FlipperKit/t/FBDefines/FBDefines.h>)
|
|
||||||
spec.subspec 'FBDefines' do |ss|
|
|
||||||
ss.header_dir = 'FBDefines'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FBDefines/**/*.h'
|
|
||||||
ss.public_header_files = 'iOS/FBDefines/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec 'CppBridge' do |ss|
|
|
||||||
ss.header_dir = 'CppBridge'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/CppBridge/**/*.{h,mm}'
|
|
||||||
# We set these files as private headers since they only need to be accessed
|
|
||||||
# by other FlipperKit source files
|
|
||||||
ss.private_header_files = 'iOS/FlipperKit/CppBridge/**/*.h'
|
|
||||||
ss.preserve_path = 'FlipperKit/CppBridge/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec 'FBCxxUtils' do |ss|
|
|
||||||
ss.header_dir = 'FBCxxUtils'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/FBCxxUtils/**/*.{h,mm}'
|
|
||||||
# We set these files as private headers since they only need to be accessed
|
|
||||||
# by other FlipperKit source files
|
|
||||||
ss.private_header_files = 'iOS/FlipperKit/FBCxxUtils/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FKPortForwarding" do |ss|
|
|
||||||
ss.header_dir = "FKPortForwarding"
|
|
||||||
ss.dependency 'CocoaAsyncSocket', '~> 7.6'
|
|
||||||
ss.dependency 'PeerTalk', '~>0.0.2'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/FKPortForwarding/FKPortForwarding{Server,Common}.{h,m}'
|
|
||||||
ss.private_header_files = 'iOS/FlipperKit/FKPortForwarding/FKPortForwarding{Server,Common}.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
|
|
||||||
spec.subspec "Core" do |ss|
|
|
||||||
ss.dependency 'FlipperKit/FBDefines'
|
|
||||||
ss.dependency 'FlipperKit/FBCxxUtils'
|
|
||||||
ss.dependency 'FlipperKit/CppBridge'
|
|
||||||
ss.dependency 'FlipperKit/FKPortForwarding'
|
|
||||||
ss.dependency 'Flipper-Folly', '~>1.2'
|
|
||||||
ss.dependency 'Flipper', '~>'+flipperkit_version
|
|
||||||
ss.dependency 'OpenSSL-Static', '1.0.2.c1'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/FBDefines/*.{h,cpp,m,mm}', 'iOS/FlipperKit/CppBridge/*.{h,mm}', 'iOS/FlipperKit/FBCxxUtils/*.{h,mm}', 'iOS/FlipperKit/*.{h,m,mm}'
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKSubDescriptor.h',
|
|
||||||
'iOS/FBDefines/FBDefines.h',
|
|
||||||
'iOS/Plugins/FlipperKitExamplePlugin/FlipperKitExamplePlugin/FlipperKitExamplePlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitCrashReporterPlugin/FlipperKitCrashReporterPlugin/FlipperKitCrashReporterPlugin.h',
|
|
||||||
'iOS/FlipperKit/**/{FlipperDiagnosticsViewController,FlipperStateUpdateListener,FlipperClient,FlipperPlugin,FlipperConnection,FlipperResponder,SKMacros}.h'
|
|
||||||
header_search_paths = "\"$(PODS_ROOT)/FlipperKit/iOS/FlipperKit\" \"$(PODS_ROOT)\"/Headers/Private/FlipperKit/** \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/PeerTalkSonar\""
|
|
||||||
ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"DEFINES_MODULE" => "YES",
|
|
||||||
"HEADER_SEARCH_PATHS" => header_search_paths }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitLayoutPlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitLayoutPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.dependency 'Yoga', yoga_version
|
|
||||||
ss.dependency 'YogaKit', yogakit_version
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h'
|
|
||||||
ss.private_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTouch.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNodeDescriptor.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNamed.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKObject.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKHighlightOverlay.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/UIColor+SKSonarValueCoder.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKObjectHash.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKSwizzle.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKYogaKitHelper.h'
|
|
||||||
ss.source_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/**/*.{h,cpp,m,mm}'
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitLayoutComponentKitSupport" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitLayoutComponentKitSupport"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.dependency 'Yoga', yoga_version
|
|
||||||
ss.dependency 'ComponentKit'
|
|
||||||
ss.dependency 'FlipperKit/FlipperKitLayoutPlugin'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.dependency 'FlipperKit/FlipperKitLayoutPlugin'
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKSubDescriptor.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/**/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitNetworkPlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitNetworkPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "SKIOSNetworkPlugin" do |ss|
|
|
||||||
ss.header_dir = "SKIOSNetworkPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.dependency 'FlipperKit/FlipperKitNetworkPlugin'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/**/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitUserDefaultsPlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitUserDefaultsPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitUserDefaultsPlugin/**/*.{h,m}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitExamplePlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitExamplePlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitExamplePlugin/FlipperKitExamplePlugin.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitExamplePlugin/**/*.{h,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
end
|
|
||||||
@@ -1,174 +0,0 @@
|
|||||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
||||||
#
|
|
||||||
# This source code is licensed under the MIT license found in the
|
|
||||||
# LICENSE file in the root directory of this source tree.
|
|
||||||
|
|
||||||
folly_compiler_flags = '-DFLIPPER_OSS=1 -DFB_SONARKIT_ENABLED=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'
|
|
||||||
yoga_version = '~> 1.9'
|
|
||||||
yogakit_version = '~>1.10'
|
|
||||||
flipperkit_version = '0.19.0'
|
|
||||||
Pod::Spec.new do |spec|
|
|
||||||
spec.name = 'FlipperKit'
|
|
||||||
spec.version = flipperkit_version
|
|
||||||
spec.license = { :type => 'MIT' }
|
|
||||||
spec.homepage = 'https://github.com/facebook/Sonar'
|
|
||||||
spec.summary = 'Sonar iOS podspec'
|
|
||||||
spec.authors = 'Facebook'
|
|
||||||
spec.static_framework = true
|
|
||||||
spec.source = { :git => 'https://github.com/facebook/Sonar.git',
|
|
||||||
:tag=> "v"+flipperkit_version }
|
|
||||||
spec.module_name = 'FlipperKit'
|
|
||||||
spec.platforms = { :ios => "8.4" }
|
|
||||||
spec.default_subspecs = "Core"
|
|
||||||
|
|
||||||
# This subspec is necessary since FBDefines.h is imported as <FBDefines/FBDefines.h>
|
|
||||||
# inside SKMacros.h, which is a public header file. Defining this directory as a
|
|
||||||
# subspec with header_dir = 'FBDefines' allows this to work, even though it wouldn't
|
|
||||||
# generally (you would need to import <FlipperKit/t/FBDefines/FBDefines.h>)
|
|
||||||
spec.subspec 'FBDefines' do |ss|
|
|
||||||
ss.header_dir = 'FBDefines'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FBDefines/**/*.h'
|
|
||||||
ss.public_header_files = 'iOS/FBDefines/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec 'CppBridge' do |ss|
|
|
||||||
ss.header_dir = 'CppBridge'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/CppBridge/**/*.{h,mm}'
|
|
||||||
# We set these files as private headers since they only need to be accessed
|
|
||||||
# by other FlipperKit source files
|
|
||||||
ss.private_header_files = 'iOS/FlipperKit/CppBridge/**/*.h'
|
|
||||||
ss.preserve_path = 'FlipperKit/CppBridge/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec 'FBCxxUtils' do |ss|
|
|
||||||
ss.header_dir = 'FBCxxUtils'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/FBCxxUtils/**/*.{h,mm}'
|
|
||||||
# We set these files as private headers since they only need to be accessed
|
|
||||||
# by other FlipperKit source files
|
|
||||||
ss.private_header_files = 'iOS/FlipperKit/FBCxxUtils/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FKPortForwarding" do |ss|
|
|
||||||
ss.header_dir = "FKPortForwarding"
|
|
||||||
ss.dependency 'CocoaAsyncSocket', '~> 7.6'
|
|
||||||
ss.dependency 'PeerTalk', '~>0.0.2'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/FKPortForwarding/FKPortForwarding{Server,Common}.{h,m}'
|
|
||||||
ss.private_header_files = 'iOS/FlipperKit/FKPortForwarding/FKPortForwarding{Server,Common}.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
|
|
||||||
spec.subspec "Core" do |ss|
|
|
||||||
ss.dependency 'FlipperKit/FBDefines'
|
|
||||||
ss.dependency 'FlipperKit/FBCxxUtils'
|
|
||||||
ss.dependency 'FlipperKit/CppBridge'
|
|
||||||
ss.dependency 'FlipperKit/FKPortForwarding'
|
|
||||||
ss.dependency 'Flipper-Folly', '~>1.2'
|
|
||||||
ss.dependency 'Flipper', '~>'+flipperkit_version
|
|
||||||
ss.dependency 'OpenSSL-Static', '1.0.2.c1'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/FBDefines/*.{h,cpp,m,mm}', 'iOS/FlipperKit/CppBridge/*.{h,mm}', 'iOS/FlipperKit/FBCxxUtils/*.{h,mm}', 'iOS/FlipperKit/*.{h,m,mm}'
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKSubDescriptor.h',
|
|
||||||
'iOS/FBDefines/FBDefines.h',
|
|
||||||
'iOS/Plugins/FlipperKitExamplePlugin/FlipperKitExamplePlugin/FlipperKitExamplePlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitCrashReporterPlugin/FlipperKitCrashReporterPlugin/FlipperKitCrashReporterPlugin.h',
|
|
||||||
'iOS/FlipperKit/**/{FlipperDiagnosticsViewController,FlipperStateUpdateListener,FlipperClient,FlipperPlugin,FlipperConnection,FlipperResponder,SKMacros}.h'
|
|
||||||
header_search_paths = "\"$(PODS_ROOT)/FlipperKit/iOS/FlipperKit\" \"$(PODS_ROOT)\"/Headers/Private/FlipperKit/** \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/PeerTalkSonar\""
|
|
||||||
ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"DEFINES_MODULE" => "YES",
|
|
||||||
"HEADER_SEARCH_PATHS" => header_search_paths }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitLayoutPlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitLayoutPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.dependency 'Yoga', yoga_version
|
|
||||||
ss.dependency 'YogaKit', yogakit_version
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h'
|
|
||||||
ss.private_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTouch.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNodeDescriptor.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNamed.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKObject.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKHighlightOverlay.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/UIColor+SKSonarValueCoder.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKObjectHash.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKSwizzle.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKYogaKitHelper.h'
|
|
||||||
ss.source_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/**/*.{h,cpp,m,mm}'
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitLayoutComponentKitSupport" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitLayoutComponentKitSupport"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.dependency 'Yoga', yoga_version
|
|
||||||
ss.dependency 'ComponentKit'
|
|
||||||
ss.dependency 'FlipperKit/FlipperKitLayoutPlugin'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.dependency 'FlipperKit/FlipperKitLayoutPlugin'
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKSubDescriptor.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/**/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitNetworkPlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitNetworkPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "SKIOSNetworkPlugin" do |ss|
|
|
||||||
ss.header_dir = "SKIOSNetworkPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.dependency 'FlipperKit/FlipperKitNetworkPlugin'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/**/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitUserDefaultsPlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitUserDefaultsPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitUserDefaultsPlugin/**/*.{h,m}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitExamplePlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitExamplePlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitExamplePlugin/FlipperKitExamplePlugin.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitExamplePlugin/**/*.{h,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
end
|
|
||||||
@@ -1,174 +0,0 @@
|
|||||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
||||||
#
|
|
||||||
# This source code is licensed under the MIT license found in the
|
|
||||||
# LICENSE file in the root directory of this source tree.
|
|
||||||
|
|
||||||
folly_compiler_flags = '-DFLIPPER_OSS=1 -DFB_SONARKIT_ENABLED=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'
|
|
||||||
yoga_version = '~> 1.12.0-pre.1'
|
|
||||||
yogakit_version = '~> 1.12.0-pre.1'
|
|
||||||
flipperkit_version = '0.20.0'
|
|
||||||
Pod::Spec.new do |spec|
|
|
||||||
spec.name = 'FlipperKit'
|
|
||||||
spec.version = flipperkit_version
|
|
||||||
spec.license = { :type => 'MIT' }
|
|
||||||
spec.homepage = 'https://github.com/facebook/Sonar'
|
|
||||||
spec.summary = 'Sonar iOS podspec'
|
|
||||||
spec.authors = 'Facebook'
|
|
||||||
spec.static_framework = true
|
|
||||||
spec.source = { :git => 'https://github.com/facebook/Sonar.git',
|
|
||||||
:tag=> "v"+flipperkit_version }
|
|
||||||
spec.module_name = 'FlipperKit'
|
|
||||||
spec.platforms = { :ios => "8.4" }
|
|
||||||
spec.default_subspecs = "Core"
|
|
||||||
|
|
||||||
# This subspec is necessary since FBDefines.h is imported as <FBDefines/FBDefines.h>
|
|
||||||
# inside SKMacros.h, which is a public header file. Defining this directory as a
|
|
||||||
# subspec with header_dir = 'FBDefines' allows this to work, even though it wouldn't
|
|
||||||
# generally (you would need to import <FlipperKit/t/FBDefines/FBDefines.h>)
|
|
||||||
spec.subspec 'FBDefines' do |ss|
|
|
||||||
ss.header_dir = 'FBDefines'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FBDefines/**/*.h'
|
|
||||||
ss.public_header_files = 'iOS/FBDefines/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec 'CppBridge' do |ss|
|
|
||||||
ss.header_dir = 'CppBridge'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/CppBridge/**/*.{h,mm}'
|
|
||||||
# We set these files as private headers since they only need to be accessed
|
|
||||||
# by other FlipperKit source files
|
|
||||||
ss.private_header_files = 'iOS/FlipperKit/CppBridge/**/*.h'
|
|
||||||
ss.preserve_path = 'FlipperKit/CppBridge/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec 'FBCxxUtils' do |ss|
|
|
||||||
ss.header_dir = 'FBCxxUtils'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/FBCxxUtils/**/*.{h,mm}'
|
|
||||||
# We set these files as private headers since they only need to be accessed
|
|
||||||
# by other FlipperKit source files
|
|
||||||
ss.private_header_files = 'iOS/FlipperKit/FBCxxUtils/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FKPortForwarding" do |ss|
|
|
||||||
ss.header_dir = "FKPortForwarding"
|
|
||||||
ss.dependency 'CocoaAsyncSocket', '~> 7.6'
|
|
||||||
ss.dependency 'Flipper-PeerTalk', '~>0.0.4'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/FKPortForwarding/FKPortForwarding{Server,Common}.{h,m}'
|
|
||||||
ss.private_header_files = 'iOS/FlipperKit/FKPortForwarding/FKPortForwarding{Server,Common}.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
|
|
||||||
spec.subspec "Core" do |ss|
|
|
||||||
ss.dependency 'FlipperKit/FBDefines'
|
|
||||||
ss.dependency 'FlipperKit/FBCxxUtils'
|
|
||||||
ss.dependency 'FlipperKit/CppBridge'
|
|
||||||
ss.dependency 'FlipperKit/FKPortForwarding'
|
|
||||||
ss.dependency 'Flipper-Folly', '1.3.0'
|
|
||||||
ss.dependency 'Flipper', '~>'+flipperkit_version
|
|
||||||
ss.dependency 'OpenSSL-Static', '1.0.2.c1'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/FBDefines/*.{h,cpp,m,mm}', 'iOS/FlipperKit/CppBridge/*.{h,mm}', 'iOS/FlipperKit/FBCxxUtils/*.{h,mm}', 'iOS/FlipperKit/*.{h,m,mm}'
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKSubDescriptor.h',
|
|
||||||
'iOS/FBDefines/FBDefines.h',
|
|
||||||
'iOS/Plugins/FlipperKitExamplePlugin/FlipperKitExamplePlugin/FlipperKitExamplePlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitCrashReporterPlugin/FlipperKitCrashReporterPlugin/FlipperKitCrashReporterPlugin.h',
|
|
||||||
'iOS/FlipperKit/**/{FlipperDiagnosticsViewController,FlipperStateUpdateListener,FlipperClient,FlipperPlugin,FlipperConnection,FlipperResponder,SKMacros}.h'
|
|
||||||
header_search_paths = "\"$(PODS_ROOT)/FlipperKit/iOS/FlipperKit\" \"$(PODS_ROOT)\"/Headers/Private/FlipperKit/** \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\""
|
|
||||||
ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"DEFINES_MODULE" => "YES",
|
|
||||||
"HEADER_SEARCH_PATHS" => header_search_paths }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitLayoutPlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitLayoutPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.dependency 'Yoga', yoga_version
|
|
||||||
ss.dependency 'YogaKit', yogakit_version
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h'
|
|
||||||
ss.private_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTouch.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNodeDescriptor.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNamed.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKObject.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKHighlightOverlay.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/UIColor+SKSonarValueCoder.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKObjectHash.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKSwizzle.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKYogaKitHelper.h'
|
|
||||||
ss.source_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/**/*.{h,cpp,m,mm}'
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitLayoutComponentKitSupport" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitLayoutComponentKitSupport"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.dependency 'Yoga', yoga_version
|
|
||||||
ss.dependency 'ComponentKit', '~> 0.25'
|
|
||||||
ss.dependency 'FlipperKit/FlipperKitLayoutPlugin'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.dependency 'FlipperKit/FlipperKitLayoutPlugin'
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKSubDescriptor.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/**/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitNetworkPlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitNetworkPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "SKIOSNetworkPlugin" do |ss|
|
|
||||||
ss.header_dir = "SKIOSNetworkPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.dependency 'FlipperKit/FlipperKitNetworkPlugin'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/**/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitUserDefaultsPlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitUserDefaultsPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitUserDefaultsPlugin/**/*.{h,m}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitExamplePlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitExamplePlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitExamplePlugin/FlipperKitExamplePlugin.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitExamplePlugin/**/*.{h,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
end
|
|
||||||
@@ -1,139 +0,0 @@
|
|||||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
||||||
#
|
|
||||||
# This source code is licensed under the MIT license found in the
|
|
||||||
# LICENSE file in the root directory of this source tree.
|
|
||||||
|
|
||||||
folly_compiler_flags = '-DFB_SONARKIT_ENABLED=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'
|
|
||||||
yoga_version = '~> 1.9'
|
|
||||||
yogakit_version = '~>1.8'
|
|
||||||
flipperkit_version = '0.8.0'
|
|
||||||
Pod::Spec.new do |spec|
|
|
||||||
spec.name = 'FlipperKit'
|
|
||||||
spec.version = flipperkit_version
|
|
||||||
spec.license = { :type => 'MIT' }
|
|
||||||
spec.homepage = 'https://github.com/facebook/Sonar'
|
|
||||||
spec.summary = 'Sonar iOS podspec'
|
|
||||||
spec.authors = 'Facebook'
|
|
||||||
spec.static_framework = true
|
|
||||||
spec.source = { :git => 'https://github.com/facebook/Sonar.git',
|
|
||||||
:tag=> "v"+flipperkit_version }
|
|
||||||
spec.module_name = 'FlipperKit'
|
|
||||||
spec.platforms = { :ios => "8.4" }
|
|
||||||
spec.default_subspecs = "Core"
|
|
||||||
|
|
||||||
# This subspec is necessary since FBMacros.h is imported as <FBDefines/FBMacros.h>
|
|
||||||
# inside SKMacros.h, which is a public header file. Defining this directory as a
|
|
||||||
# subspec with header_dir = 'FBDefines' allows this to work, even though it wouldn't
|
|
||||||
# generally (you would need to import <FlipperKit/t/FBDefines/FBMacros.h>)
|
|
||||||
spec.subspec 'FBDefines' do |ss|
|
|
||||||
ss.header_dir = 'FBDefines'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FBDefines/**/*.h'
|
|
||||||
ss.public_header_files = 'iOS/FBDefines/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec 'CppBridge' do |ss|
|
|
||||||
ss.header_dir = 'CppBridge'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/CppBridge/**/*.{h,mm}'
|
|
||||||
# We set these files as private headers since they only need to be accessed
|
|
||||||
# by other SonarKit source files
|
|
||||||
ss.private_header_files = 'iOS/FlipperKit/CppBridge/**/*.h'
|
|
||||||
ss.preserve_path = 'FlipperKit/CppBridge/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec 'FBCxxUtils' do |ss|
|
|
||||||
ss.header_dir = 'FBCxxUtils'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/FBCxxUtils/**/*.{h,mm}'
|
|
||||||
# We set these files as private headers since they only need to be accessed
|
|
||||||
# by other SonarKit source files
|
|
||||||
ss.private_header_files = 'iOS/FlipperKit/FBCxxUtils/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "Core" do |ss|
|
|
||||||
ss.dependency 'FlipperKit/FBDefines'
|
|
||||||
ss.dependency 'FlipperKit/FBCxxUtils'
|
|
||||||
ss.dependency 'FlipperKit/CppBridge'
|
|
||||||
ss.dependency 'Folly', '~>1.1'
|
|
||||||
ss.dependency 'Flipper', '~>'+flipperkit_version
|
|
||||||
ss.dependency 'CocoaAsyncSocket', '~> 7.6'
|
|
||||||
ss.dependency 'PeerTalk', '~>0.0.2'
|
|
||||||
ss.dependency 'OpenSSL-Static', '1.0.2.c1'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/FBDefines/*.{h,cpp,m,mm}', 'iOS/FlipperKit/CppBridge/*.{h,mm}', 'iOS/FlipperKit/FBCxxUtils/*.{h,mm}', 'iOS/FlipperKit/Utilities/**/*.{h,m}', 'iOS/FlipperKit/*.{h,m,mm}'
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h',
|
|
||||||
'iOS/FBDefines/FBMacros.h',
|
|
||||||
'iOS/FlipperKit/**/{FlipperStateUpdateListener,FlipperClient,FlipperPlugin,FlipperConnection,FlipperResponder,SKMacros}.h'
|
|
||||||
header_search_paths = "\"$(PODS_ROOT)/FlipperKit/iOS/FlipperKit\" \"$(PODS_ROOT)\"/Headers/Private/FlipperKit/** \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/PeerTalkSonar\""
|
|
||||||
ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"DEFINES_MODULE" => "YES",
|
|
||||||
"HEADER_SEARCH_PATHS" => header_search_paths }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitLayoutPlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitLayoutPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.dependency 'Yoga', yoga_version
|
|
||||||
ss.dependency 'YogaKit', yogakit_version
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTouch.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNodeDescriptor.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNamed.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKObject.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKHighlightOverlay.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/UIColor+SKSonarValueCoder.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKObjectHash.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKSwizzle.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKYogaKitHelper.h'
|
|
||||||
ss.source_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/**/*.{h,cpp,m,mm}'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitLayoutComponentKitSupport" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitLayoutComponentKitSupport"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.dependency 'Yoga', yoga_version
|
|
||||||
ss.dependency 'ComponentKit'
|
|
||||||
ss.dependency 'FlipperKit/FlipperKitLayoutPlugin'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.dependency 'FlipperKit/FlipperKitLayoutPlugin'
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKComponentLayoutWrapper.h'
|
|
||||||
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/**/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitNetworkPlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitNetworkPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "SKIOSNetworkPlugin" do |ss|
|
|
||||||
ss.header_dir = "SKIOSNetworkPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.dependency 'FlipperKit/FlipperKitNetworkPlugin'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/**/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
end
|
|
||||||
@@ -1,139 +0,0 @@
|
|||||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
||||||
#
|
|
||||||
# This source code is licensed under the MIT license found in the
|
|
||||||
# LICENSE file in the root directory of this source tree.
|
|
||||||
|
|
||||||
folly_compiler_flags = '-DFB_SONARKIT_ENABLED=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'
|
|
||||||
yoga_version = '~> 1.9'
|
|
||||||
yogakit_version = '~>1.8'
|
|
||||||
flipperkit_version = '0.8.1'
|
|
||||||
Pod::Spec.new do |spec|
|
|
||||||
spec.name = 'FlipperKit'
|
|
||||||
spec.version = flipperkit_version
|
|
||||||
spec.license = { :type => 'MIT' }
|
|
||||||
spec.homepage = 'https://github.com/facebook/Sonar'
|
|
||||||
spec.summary = 'Sonar iOS podspec'
|
|
||||||
spec.authors = 'Facebook'
|
|
||||||
spec.static_framework = true
|
|
||||||
spec.source = { :git => 'https://github.com/facebook/Sonar.git',
|
|
||||||
:tag=> "v"+flipperkit_version }
|
|
||||||
spec.module_name = 'FlipperKit'
|
|
||||||
spec.platforms = { :ios => "8.4" }
|
|
||||||
spec.default_subspecs = "Core"
|
|
||||||
|
|
||||||
# This subspec is necessary since FBMacros.h is imported as <FBDefines/FBMacros.h>
|
|
||||||
# inside SKMacros.h, which is a public header file. Defining this directory as a
|
|
||||||
# subspec with header_dir = 'FBDefines' allows this to work, even though it wouldn't
|
|
||||||
# generally (you would need to import <FlipperKit/t/FBDefines/FBMacros.h>)
|
|
||||||
spec.subspec 'FBDefines' do |ss|
|
|
||||||
ss.header_dir = 'FBDefines'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FBDefines/**/*.h'
|
|
||||||
ss.public_header_files = 'iOS/FBDefines/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec 'CppBridge' do |ss|
|
|
||||||
ss.header_dir = 'CppBridge'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/CppBridge/**/*.{h,mm}'
|
|
||||||
# We set these files as private headers since they only need to be accessed
|
|
||||||
# by other SonarKit source files
|
|
||||||
ss.private_header_files = 'iOS/FlipperKit/CppBridge/**/*.h'
|
|
||||||
ss.preserve_path = 'FlipperKit/CppBridge/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec 'FBCxxUtils' do |ss|
|
|
||||||
ss.header_dir = 'FBCxxUtils'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/FBCxxUtils/**/*.{h,mm}'
|
|
||||||
# We set these files as private headers since they only need to be accessed
|
|
||||||
# by other SonarKit source files
|
|
||||||
ss.private_header_files = 'iOS/FlipperKit/FBCxxUtils/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "Core" do |ss|
|
|
||||||
ss.dependency 'FlipperKit/FBDefines'
|
|
||||||
ss.dependency 'FlipperKit/FBCxxUtils'
|
|
||||||
ss.dependency 'FlipperKit/CppBridge'
|
|
||||||
ss.dependency 'Folly', '~>1.1'
|
|
||||||
ss.dependency 'Flipper', '~>'+flipperkit_version
|
|
||||||
ss.dependency 'CocoaAsyncSocket', '~> 7.6'
|
|
||||||
ss.dependency 'PeerTalk', '~>0.0.2'
|
|
||||||
ss.dependency 'OpenSSL-Static', '1.0.2.c1'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/FBDefines/*.{h,cpp,m,mm}', 'iOS/FlipperKit/CppBridge/*.{h,mm}', 'iOS/FlipperKit/FBCxxUtils/*.{h,mm}', 'iOS/FlipperKit/Utilities/**/*.{h,m}', 'iOS/FlipperKit/*.{h,m,mm}'
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h',
|
|
||||||
'iOS/FBDefines/FBMacros.h',
|
|
||||||
'iOS/FlipperKit/**/{FlipperStateUpdateListener,FlipperClient,FlipperPlugin,FlipperConnection,FlipperResponder,SKMacros}.h'
|
|
||||||
header_search_paths = "\"$(PODS_ROOT)/FlipperKit/iOS/FlipperKit\" \"$(PODS_ROOT)\"/Headers/Private/FlipperKit/** \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/PeerTalkSonar\""
|
|
||||||
ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"DEFINES_MODULE" => "YES",
|
|
||||||
"HEADER_SEARCH_PATHS" => header_search_paths }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitLayoutPlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitLayoutPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.dependency 'Yoga', yoga_version
|
|
||||||
ss.dependency 'YogaKit', yogakit_version
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTouch.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNodeDescriptor.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNamed.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKObject.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKHighlightOverlay.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/UIColor+SKSonarValueCoder.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKObjectHash.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKSwizzle.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKYogaKitHelper.h'
|
|
||||||
ss.source_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/**/*.{h,cpp,m,mm}'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitLayoutComponentKitSupport" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitLayoutComponentKitSupport"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.dependency 'Yoga', yoga_version
|
|
||||||
ss.dependency 'ComponentKit'
|
|
||||||
ss.dependency 'FlipperKit/FlipperKitLayoutPlugin'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.dependency 'FlipperKit/FlipperKitLayoutPlugin'
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKComponentLayoutWrapper.h'
|
|
||||||
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/**/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitNetworkPlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitNetworkPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "SKIOSNetworkPlugin" do |ss|
|
|
||||||
ss.header_dir = "SKIOSNetworkPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.dependency 'FlipperKit/FlipperKitNetworkPlugin'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/**/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
end
|
|
||||||
@@ -1,149 +0,0 @@
|
|||||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
||||||
#
|
|
||||||
# This source code is licensed under the MIT license found in the
|
|
||||||
# LICENSE file in the root directory of this source tree.
|
|
||||||
|
|
||||||
folly_compiler_flags = '-DFB_SONARKIT_ENABLED=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'
|
|
||||||
yoga_version = '~> 1.9'
|
|
||||||
yogakit_version = '~>1.8'
|
|
||||||
flipperkit_version = '0.9.0'
|
|
||||||
Pod::Spec.new do |spec|
|
|
||||||
spec.name = 'FlipperKit'
|
|
||||||
spec.version = flipperkit_version
|
|
||||||
spec.license = { :type => 'MIT' }
|
|
||||||
spec.homepage = 'https://github.com/facebook/Sonar'
|
|
||||||
spec.summary = 'Sonar iOS podspec'
|
|
||||||
spec.authors = 'Facebook'
|
|
||||||
spec.static_framework = true
|
|
||||||
spec.source = { :git => 'https://github.com/facebook/Sonar.git',
|
|
||||||
:tag=> "v"+flipperkit_version }
|
|
||||||
spec.module_name = 'FlipperKit'
|
|
||||||
spec.platforms = { :ios => "8.4" }
|
|
||||||
spec.default_subspecs = "Core"
|
|
||||||
|
|
||||||
# This subspec is necessary since FBMacros.h is imported as <FBDefines/FBMacros.h>
|
|
||||||
# inside SKMacros.h, which is a public header file. Defining this directory as a
|
|
||||||
# subspec with header_dir = 'FBDefines' allows this to work, even though it wouldn't
|
|
||||||
# generally (you would need to import <FlipperKit/t/FBDefines/FBMacros.h>)
|
|
||||||
spec.subspec 'FBDefines' do |ss|
|
|
||||||
ss.header_dir = 'FBDefines'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FBDefines/**/*.h'
|
|
||||||
ss.public_header_files = 'iOS/FBDefines/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec 'CppBridge' do |ss|
|
|
||||||
ss.header_dir = 'CppBridge'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/CppBridge/**/*.{h,mm}'
|
|
||||||
# We set these files as private headers since they only need to be accessed
|
|
||||||
# by other SonarKit source files
|
|
||||||
ss.private_header_files = 'iOS/FlipperKit/CppBridge/**/*.h'
|
|
||||||
ss.preserve_path = 'FlipperKit/CppBridge/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec 'FBCxxUtils' do |ss|
|
|
||||||
ss.header_dir = 'FBCxxUtils'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/FBCxxUtils/**/*.{h,mm}'
|
|
||||||
# We set these files as private headers since they only need to be accessed
|
|
||||||
# by other SonarKit source files
|
|
||||||
ss.private_header_files = 'iOS/FlipperKit/FBCxxUtils/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "Core" do |ss|
|
|
||||||
ss.dependency 'FlipperKit/FBDefines'
|
|
||||||
ss.dependency 'FlipperKit/FBCxxUtils'
|
|
||||||
ss.dependency 'FlipperKit/CppBridge'
|
|
||||||
ss.dependency 'Folly', '~>1.1'
|
|
||||||
ss.dependency 'Flipper', '~>'+flipperkit_version
|
|
||||||
ss.dependency 'CocoaAsyncSocket', '~> 7.6'
|
|
||||||
ss.dependency 'PeerTalk', '~>0.0.2'
|
|
||||||
ss.dependency 'OpenSSL-Static', '1.0.2.c1'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FlipperKit/FBDefines/*.{h,cpp,m,mm}', 'iOS/FlipperKit/CppBridge/*.{h,mm}', 'iOS/FlipperKit/FBCxxUtils/*.{h,mm}', 'iOS/FlipperKit/Utilities/**/*.{h,m}', 'iOS/FlipperKit/*.{h,m,mm}'
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h',
|
|
||||||
'iOS/FBDefines/FBMacros.h',
|
|
||||||
'iOS/FlipperKit/**/{FlipperStateUpdateListener,FlipperClient,FlipperPlugin,FlipperConnection,FlipperResponder,SKMacros}.h'
|
|
||||||
header_search_paths = "\"$(PODS_ROOT)/FlipperKit/iOS/FlipperKit\" \"$(PODS_ROOT)\"/Headers/Private/FlipperKit/** \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/PeerTalkSonar\""
|
|
||||||
ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"DEFINES_MODULE" => "YES",
|
|
||||||
"HEADER_SEARCH_PATHS" => header_search_paths }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitLayoutPlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitLayoutPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.dependency 'Yoga', yoga_version
|
|
||||||
ss.dependency 'YogaKit', yogakit_version
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTouch.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKDescriptorMapper.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNodeDescriptor.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKInvalidation.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKNamed.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKTapListener.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKObject.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/SKHighlightOverlay.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/UIColor+SKSonarValueCoder.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKObjectHash.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKSwizzle.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/utils/SKYogaKitHelper.h'
|
|
||||||
ss.source_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutPlugin/**/*.{h,cpp,m,mm}'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitLayoutComponentKitSupport" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitLayoutComponentKitSupport"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.dependency 'Yoga', yoga_version
|
|
||||||
ss.dependency 'ComponentKit'
|
|
||||||
ss.dependency 'FlipperKit/FlipperKitLayoutPlugin'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.dependency 'FlipperKit/FlipperKitLayoutPlugin'
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/FlipperKitLayoutComponentKitSupport.h',
|
|
||||||
'iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/SKComponentLayoutWrapper.h'
|
|
||||||
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitLayoutPlugin/FlipperKitLayoutComponentKitSupport/**/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitNetworkPlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitNetworkPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKBufferingPlugin.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKNetworkReporter.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKRequestInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/SKResponseInfo.h',
|
|
||||||
'iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/FlipperKitNetworkPlugin/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "SKIOSNetworkPlugin" do |ss|
|
|
||||||
ss.header_dir = "SKIOSNetworkPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.dependency 'FlipperKit/FlipperKitNetworkPlugin'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitNetworkPlugin/SKIOSNetworkPlugin/**/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "FlipperKitUserDefaultsPlugin" do |ss|
|
|
||||||
ss.header_dir = "FlipperKitUserDefaultsPlugin"
|
|
||||||
ss.dependency 'FlipperKit/Core'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/FlipperKitUserDefaultsPlugin/FKUserDefaultsPlugin.h'
|
|
||||||
ss.source_files = "iOS/Plugins/FlipperKitUserDefaultsPlugin/**/*.{h,m}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/FlipperKit/**" }
|
|
||||||
end
|
|
||||||
end
|
|
||||||
@@ -1,175 +0,0 @@
|
|||||||
{
|
|
||||||
"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"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,176 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "Folly",
|
|
||||||
"version": "1.1.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",
|
|
||||||
"tag": "v2018.08.06.00"
|
|
||||||
},
|
|
||||||
"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",
|
|
||||||
"folly/container/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"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,177 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "Folly",
|
|
||||||
"version": "1.2.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",
|
|
||||||
"tag": "v2019.01.14.00"
|
|
||||||
},
|
|
||||||
"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/net/*.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",
|
|
||||||
"folly/container/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"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
||||||
#
|
|
||||||
# This source code is licensed under the MIT license found in the
|
|
||||||
# LICENSE file in the root directory of this source tree.
|
|
||||||
|
|
||||||
Pod::Spec.new do |spec|
|
|
||||||
spec.name = 'PeerTalk'
|
|
||||||
spec.version = '0.0.2'
|
|
||||||
spec.license = { :type => 'MIT' }
|
|
||||||
spec.homepage = 'http://rsms.me/peertalk/'
|
|
||||||
spec.authors = { 'Rasmus Andersson' => 'rasmus@notion.se' }
|
|
||||||
spec.summary = 'iOS and OS X Cocoa library for communicating over USB and TCP.'
|
|
||||||
|
|
||||||
spec.source = { :git => "https://github.com/rsms/peertalk.git" }
|
|
||||||
spec.source_files = 'peertalk/*.{h,m}'
|
|
||||||
spec.requires_arc = true
|
|
||||||
spec.ios.deployment_target = '8.4'
|
|
||||||
spec.osx.deployment_target = '10.10'
|
|
||||||
|
|
||||||
spec.description = " PeerTalk is a iOS and OS X Cocoa library for communicating over USB and TCP.\n\n Highlights:\n\n * Provides you with USB device attach/detach events and attached device's info\n * Can connect to TCP services on supported attached devices (e.g. an iPhone), bridging the communication over USB transport\n * Offers a higher-level API (PTChannel and PTProtocol) for convenient implementations.\n * Tested and designed for libdispatch (aka Grand Central Dispatch).\n"
|
|
||||||
end
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
# cocoapods-private-repo
|
|
||||||
A private CocoaPods repository to host podspecs like SonarKit or any of its dependencies.
|
|
||||||
In order to publish new podspecs to this private repository you must run `pod repo push` command:
|
|
||||||
`pod repo push [REPO] [NAME.podspec]`. Please refer to the `pod repo push --help` command in case you need to pass any specific flags to the command.
|
|
||||||
@@ -1,59 +0,0 @@
|
|||||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
||||||
#
|
|
||||||
# This source code is licensed under the MIT license found in the
|
|
||||||
# LICENSE file in the root directory of this source tree.
|
|
||||||
|
|
||||||
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.static_framework = 'true'
|
|
||||||
spec.source_files = 'rsocket/benchmarks/*.{h,cpp,m,mm}',
|
|
||||||
'rsocket/framing/*.{h,cpp,m,mm}',
|
|
||||||
'rsocket/internal/*.{h,cpp,m,mm}',
|
|
||||||
'rsocket/statemachine/*.{h,cpp,m,mm}',
|
|
||||||
'rsocket/transports/*.{h,cpp,m,mm}',
|
|
||||||
'rsocket/transports/**/*.{h,cpp,m,mm}',
|
|
||||||
'yarpl/observable/*.{h,cpp,m,mm}',
|
|
||||||
'yarpl/flowable/*.{h,cpp,m,mm}',
|
|
||||||
'rsocket/*.{h,cpp,m,mm}'
|
|
||||||
|
|
||||||
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',
|
|
||||||
'yarpl/flowable/*.h',
|
|
||||||
'yarpl/observable/*.h',
|
|
||||||
'yarpl/perf/*.h',
|
|
||||||
'yarpl/single/*.h',
|
|
||||||
'yarpl/utils/*.h',
|
|
||||||
'yarpl/*.h',
|
|
||||||
'**/*.h'
|
|
||||||
spec.header_mappings_dir = 'rsocket'
|
|
||||||
spec.header_dir = 'rsocket'
|
|
||||||
spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"CLANG_CXX_LANGUAGE_STANDARD" => "c++14",
|
|
||||||
"HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\"/** \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/glog\" \"$(PODS_ROOT)/DoubleConversion\"/**" }
|
|
||||||
spec.platforms = { :ios => "8.0" }
|
|
||||||
|
|
||||||
end
|
|
||||||
@@ -1,31 +0,0 @@
|
|||||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
||||||
#
|
|
||||||
# This source code is licensed under the MIT license found in the
|
|
||||||
# LICENSE file in the root directory of this source tree.
|
|
||||||
|
|
||||||
Pod::Spec.new do |spec|
|
|
||||||
spec.name = 'Sonar'
|
|
||||||
spec.version = '0.0.1'
|
|
||||||
spec.license = { :type => 'MIT' }
|
|
||||||
spec.homepage = 'https://github.com/facebook/sonar'
|
|
||||||
spec.summary = 'SonarKit core cpp code with network implementation'
|
|
||||||
spec.authors = 'Facebook'
|
|
||||||
spec.static_framework = 'true'
|
|
||||||
spec.source = { :git => 'https://github.com/facebook/Sonar.git',
|
|
||||||
:branch => 'master' }
|
|
||||||
spec.module_name = 'Sonar'
|
|
||||||
spec.header_dir = 'Sonar'
|
|
||||||
spec.header_mappings_dir = 'xplat/Sonar'
|
|
||||||
spec.public_header_files = 'xplat/Sonar/*.h'
|
|
||||||
spec.source_files = 'xplat/Sonar/*.{h,cpp,m,mm}'
|
|
||||||
spec.libraries = "stdc++"
|
|
||||||
spec.dependency 'Folly'
|
|
||||||
spec.dependency 'RSocket'
|
|
||||||
spec.compiler_flags = '-DFB_SONARKIT_ENABLED=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 -Wall
|
|
||||||
-std=c++14
|
|
||||||
-Wno-global-constructors'
|
|
||||||
spec.platforms = { :ios => "8.0" }
|
|
||||||
spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"CLANG_CXX_LANGUAGE_STANDARD" => "c++14",
|
|
||||||
"HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/RSocket\" \"$(PODS_ROOT)/DoubleConversion\"" }
|
|
||||||
end
|
|
||||||
@@ -1,28 +0,0 @@
|
|||||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
||||||
#
|
|
||||||
# This source code is licensed under the MIT license found in the
|
|
||||||
# LICENSE file in the root directory of this source tree.
|
|
||||||
|
|
||||||
Pod::Spec.new do |spec|
|
|
||||||
spec.name = 'Sonar'
|
|
||||||
spec.version = '0.6.12'
|
|
||||||
spec.license = { :type => 'MIT' }
|
|
||||||
spec.homepage = 'https://github.com/facebook/sonar'
|
|
||||||
spec.summary = 'SonarKit core cpp code with network implementation'
|
|
||||||
spec.authors = 'Facebook'
|
|
||||||
spec.source = { :git => 'https://github.com/facebook/Sonar.git',
|
|
||||||
:tag => 'v0.6.12' }
|
|
||||||
spec.module_name = 'Sonar'
|
|
||||||
spec.public_header_files = 'xplat/Sonar/*.h'
|
|
||||||
spec.source_files = 'xplat/Sonar/*.{h,cpp,m,mm}'
|
|
||||||
spec.libraries = "stdc++"
|
|
||||||
spec.dependency 'Folly', '~>1.0'
|
|
||||||
spec.dependency 'RSocket', '~>0.10'
|
|
||||||
spec.compiler_flags = '-DFB_SONARKIT_ENABLED=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 -Wall
|
|
||||||
-std=c++14
|
|
||||||
-Wno-global-constructors'
|
|
||||||
spec.platforms = { :ios => "8.0" }
|
|
||||||
spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"CLANG_CXX_LANGUAGE_STANDARD" => "c++14",
|
|
||||||
"HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/RSocket\" \"$(PODS_ROOT)/DoubleConversion\"" }
|
|
||||||
end
|
|
||||||
@@ -1,29 +0,0 @@
|
|||||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
||||||
#
|
|
||||||
# This source code is licensed under the MIT license found in the
|
|
||||||
# LICENSE file in the root directory of this source tree.
|
|
||||||
|
|
||||||
sonarkit_version = '0.6.13'
|
|
||||||
Pod::Spec.new do |spec|
|
|
||||||
spec.name = 'Sonar'
|
|
||||||
spec.version = sonarkit_version
|
|
||||||
spec.license = { :type => 'MIT' }
|
|
||||||
spec.homepage = 'https://github.com/facebook/sonar'
|
|
||||||
spec.summary = 'SonarKit core cpp code with network implementation'
|
|
||||||
spec.authors = 'Facebook'
|
|
||||||
spec.source = { :git => 'https://github.com/facebook/Sonar.git',
|
|
||||||
:tag => 'v'+sonarkit_version }
|
|
||||||
spec.module_name = 'Sonar'
|
|
||||||
spec.public_header_files = 'xplat/Sonar/*.h'
|
|
||||||
spec.source_files = 'xplat/Sonar/*.{h,cpp,m,mm}'
|
|
||||||
spec.libraries = "stdc++"
|
|
||||||
spec.dependency 'Folly', '~>1.0'
|
|
||||||
spec.dependency 'RSocket', '~>0.10'
|
|
||||||
spec.compiler_flags = '-DFB_SONARKIT_ENABLED=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 -Wall
|
|
||||||
-std=c++14
|
|
||||||
-Wno-global-constructors'
|
|
||||||
spec.platforms = { :ios => "8.0" }
|
|
||||||
spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"CLANG_CXX_LANGUAGE_STANDARD" => "c++14",
|
|
||||||
"HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/RSocket\" \"$(PODS_ROOT)/DoubleConversion\"" }
|
|
||||||
end
|
|
||||||
@@ -1,29 +0,0 @@
|
|||||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
||||||
#
|
|
||||||
# This source code is licensed under the MIT license found in the
|
|
||||||
# LICENSE file in the root directory of this source tree.
|
|
||||||
|
|
||||||
sonarkit_version = '0.6.14'
|
|
||||||
Pod::Spec.new do |spec|
|
|
||||||
spec.name = 'Sonar'
|
|
||||||
spec.version = sonarkit_version
|
|
||||||
spec.license = { :type => 'MIT' }
|
|
||||||
spec.homepage = 'https://github.com/facebook/sonar'
|
|
||||||
spec.summary = 'SonarKit core cpp code with network implementation'
|
|
||||||
spec.authors = 'Facebook'
|
|
||||||
spec.source = { :git => 'https://github.com/facebook/Sonar.git',
|
|
||||||
:tag => 'v'+sonarkit_version }
|
|
||||||
spec.module_name = 'Sonar'
|
|
||||||
spec.public_header_files = 'xplat/Sonar/*.h'
|
|
||||||
spec.source_files = 'xplat/Sonar/*.{h,cpp,m,mm}'
|
|
||||||
spec.libraries = "stdc++"
|
|
||||||
spec.dependency 'Folly', '~>1.0'
|
|
||||||
spec.dependency 'RSocket', '~>0.10'
|
|
||||||
spec.compiler_flags = '-DFB_SONARKIT_ENABLED=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 -Wall
|
|
||||||
-std=c++14
|
|
||||||
-Wno-global-constructors'
|
|
||||||
spec.platforms = { :ios => "8.0" }
|
|
||||||
spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"CLANG_CXX_LANGUAGE_STANDARD" => "c++14",
|
|
||||||
"HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/RSocket\" \"$(PODS_ROOT)/DoubleConversion\"" }
|
|
||||||
end
|
|
||||||
@@ -1,29 +0,0 @@
|
|||||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
||||||
#
|
|
||||||
# This source code is licensed under the MIT license found in the
|
|
||||||
# LICENSE file in the root directory of this source tree.
|
|
||||||
|
|
||||||
sonarkit_version = '0.6.15'
|
|
||||||
Pod::Spec.new do |spec|
|
|
||||||
spec.name = 'Sonar'
|
|
||||||
spec.version = sonarkit_version
|
|
||||||
spec.license = { :type => 'MIT' }
|
|
||||||
spec.homepage = 'https://github.com/facebook/sonar'
|
|
||||||
spec.summary = 'SonarKit core cpp code with network implementation'
|
|
||||||
spec.authors = 'Facebook'
|
|
||||||
spec.source = { :git => 'https://github.com/facebook/Sonar.git',
|
|
||||||
:tag => 'v'+sonarkit_version }
|
|
||||||
spec.module_name = 'Sonar'
|
|
||||||
spec.public_header_files = 'xplat/Sonar/*.h'
|
|
||||||
spec.source_files = 'xplat/Sonar/*.{h,cpp,m,mm}'
|
|
||||||
spec.libraries = "stdc++"
|
|
||||||
spec.dependency 'Folly', '~>1.0'
|
|
||||||
spec.dependency 'RSocket', '~>0.10'
|
|
||||||
spec.compiler_flags = '-DFB_SONARKIT_ENABLED=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 -Wall
|
|
||||||
-std=c++14
|
|
||||||
-Wno-global-constructors'
|
|
||||||
spec.platforms = { :ios => "8.0" }
|
|
||||||
spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"CLANG_CXX_LANGUAGE_STANDARD" => "c++14",
|
|
||||||
"HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/RSocket\" \"$(PODS_ROOT)/DoubleConversion\"" }
|
|
||||||
end
|
|
||||||
@@ -1,29 +0,0 @@
|
|||||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
||||||
#
|
|
||||||
# This source code is licensed under the MIT license found in the
|
|
||||||
# LICENSE file in the root directory of this source tree.
|
|
||||||
|
|
||||||
sonarkit_version = '0.6.16'
|
|
||||||
Pod::Spec.new do |spec|
|
|
||||||
spec.name = 'Sonar'
|
|
||||||
spec.version = sonarkit_version
|
|
||||||
spec.license = { :type => 'MIT' }
|
|
||||||
spec.homepage = 'https://github.com/facebook/sonar'
|
|
||||||
spec.summary = 'SonarKit core cpp code with network implementation'
|
|
||||||
spec.authors = 'Facebook'
|
|
||||||
spec.source = { :git => 'https://github.com/facebook/Sonar.git',
|
|
||||||
:tag => 'v'+sonarkit_version }
|
|
||||||
spec.module_name = 'Sonar'
|
|
||||||
spec.public_header_files = 'xplat/Sonar/*.h'
|
|
||||||
spec.source_files = 'xplat/Sonar/*.{h,cpp,m,mm}'
|
|
||||||
spec.libraries = "stdc++"
|
|
||||||
spec.dependency 'Folly', '~>1.1'
|
|
||||||
spec.dependency 'RSocket', '~>0.10'
|
|
||||||
spec.compiler_flags = '-DFB_SONARKIT_ENABLED=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 -Wall
|
|
||||||
-std=c++14
|
|
||||||
-Wno-global-constructors'
|
|
||||||
spec.platforms = { :ios => "8.0" }
|
|
||||||
spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"CLANG_CXX_LANGUAGE_STANDARD" => "c++14",
|
|
||||||
"HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/RSocket\" \"$(PODS_ROOT)/DoubleConversion\"" }
|
|
||||||
end
|
|
||||||
@@ -1,29 +0,0 @@
|
|||||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
||||||
#
|
|
||||||
# This source code is licensed under the MIT license found in the
|
|
||||||
# LICENSE file in the root directory of this source tree.
|
|
||||||
|
|
||||||
sonarkit_version = '0.7.0'
|
|
||||||
Pod::Spec.new do |spec|
|
|
||||||
spec.name = 'Sonar'
|
|
||||||
spec.version = sonarkit_version
|
|
||||||
spec.license = { :type => 'MIT' }
|
|
||||||
spec.homepage = 'https://github.com/facebook/sonar'
|
|
||||||
spec.summary = 'SonarKit core cpp code with network implementation'
|
|
||||||
spec.authors = 'Facebook'
|
|
||||||
spec.source = { :git => 'https://github.com/facebook/Sonar.git',
|
|
||||||
:tag => 'v'+sonarkit_version }
|
|
||||||
spec.module_name = 'Sonar'
|
|
||||||
spec.public_header_files = 'xplat/Sonar/*.h'
|
|
||||||
spec.source_files = 'xplat/Sonar/*.{h,cpp,m,mm}'
|
|
||||||
spec.libraries = "stdc++"
|
|
||||||
spec.dependency 'Folly', '~>1.1'
|
|
||||||
spec.dependency 'RSocket', '~>0.10'
|
|
||||||
spec.compiler_flags = '-DFB_SONARKIT_ENABLED=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 -Wall
|
|
||||||
-std=c++14
|
|
||||||
-Wno-global-constructors'
|
|
||||||
spec.platforms = { :ios => "8.0" }
|
|
||||||
spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"CLANG_CXX_LANGUAGE_STANDARD" => "c++14",
|
|
||||||
"HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/RSocket\" \"$(PODS_ROOT)/DoubleConversion\"" }
|
|
||||||
end
|
|
||||||
@@ -1,29 +0,0 @@
|
|||||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
||||||
#
|
|
||||||
# This source code is licensed under the MIT license found in the
|
|
||||||
# LICENSE file in the root directory of this source tree.
|
|
||||||
|
|
||||||
sonarkit_version = '0.7.1'
|
|
||||||
Pod::Spec.new do |spec|
|
|
||||||
spec.name = 'Sonar'
|
|
||||||
spec.version = sonarkit_version
|
|
||||||
spec.license = { :type => 'MIT' }
|
|
||||||
spec.homepage = 'https://github.com/facebook/sonar'
|
|
||||||
spec.summary = 'SonarKit core cpp code with network implementation'
|
|
||||||
spec.authors = 'Facebook'
|
|
||||||
spec.source = { :git => 'https://github.com/facebook/Sonar.git',
|
|
||||||
:tag => 'v'+sonarkit_version }
|
|
||||||
spec.module_name = 'Sonar'
|
|
||||||
spec.public_header_files = 'xplat/Sonar/*.h'
|
|
||||||
spec.source_files = 'xplat/Sonar/*.{h,cpp,m,mm}'
|
|
||||||
spec.libraries = "stdc++"
|
|
||||||
spec.dependency 'Folly', '~>1.1'
|
|
||||||
spec.dependency 'RSocket', '~>0.10'
|
|
||||||
spec.compiler_flags = '-DFB_SONARKIT_ENABLED=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 -Wall
|
|
||||||
-std=c++14
|
|
||||||
-Wno-global-constructors'
|
|
||||||
spec.platforms = { :ios => "8.0" }
|
|
||||||
spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"CLANG_CXX_LANGUAGE_STANDARD" => "c++14",
|
|
||||||
"HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/RSocket\" \"$(PODS_ROOT)/DoubleConversion\"" }
|
|
||||||
end
|
|
||||||
@@ -1,29 +0,0 @@
|
|||||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
||||||
#
|
|
||||||
# This source code is licensed under the MIT license found in the
|
|
||||||
# LICENSE file in the root directory of this source tree.
|
|
||||||
|
|
||||||
sonarkit_version = '0.7.2'
|
|
||||||
Pod::Spec.new do |spec|
|
|
||||||
spec.name = 'Sonar'
|
|
||||||
spec.version = sonarkit_version
|
|
||||||
spec.license = { :type => 'MIT' }
|
|
||||||
spec.homepage = 'https://github.com/facebook/sonar'
|
|
||||||
spec.summary = 'SonarKit core cpp code with network implementation'
|
|
||||||
spec.authors = 'Facebook'
|
|
||||||
spec.source = { :git => 'https://github.com/facebook/Sonar.git',
|
|
||||||
:tag => 'v'+sonarkit_version }
|
|
||||||
spec.module_name = 'Sonar'
|
|
||||||
spec.public_header_files = 'xplat/Sonar/*.h'
|
|
||||||
spec.source_files = 'xplat/Sonar/*.{h,cpp,m,mm}'
|
|
||||||
spec.libraries = "stdc++"
|
|
||||||
spec.dependency 'Folly', '~>1.1'
|
|
||||||
spec.dependency 'RSocket', '~>0.10'
|
|
||||||
spec.compiler_flags = '-DFB_SONARKIT_ENABLED=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 -Wall
|
|
||||||
-std=c++14
|
|
||||||
-Wno-global-constructors'
|
|
||||||
spec.platforms = { :ios => "8.0" }
|
|
||||||
spec.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"CLANG_CXX_LANGUAGE_STANDARD" => "c++14",
|
|
||||||
"HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\" \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/RSocket\" \"$(PODS_ROOT)/DoubleConversion\"" }
|
|
||||||
end
|
|
||||||
@@ -1,99 +0,0 @@
|
|||||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
||||||
#
|
|
||||||
# This source code is licensed under the MIT license found in the
|
|
||||||
# LICENSE file in the root directory of this source tree.
|
|
||||||
|
|
||||||
folly_compiler_flags = '-DFB_SONARKIT_ENABLED=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'
|
|
||||||
yoga_version = '~> 1.9'
|
|
||||||
yogakit_version = '~>1.8'
|
|
||||||
|
|
||||||
Pod::Spec.new do |spec|
|
|
||||||
spec.name = 'SonarKit'
|
|
||||||
spec.version = '0.0.1'
|
|
||||||
spec.license = { :type => 'MIT' }
|
|
||||||
spec.homepage = 'https://github.com/facebook/Sonar'
|
|
||||||
spec.summary = 'Sonar iOS podspec'
|
|
||||||
spec.authors = 'Facebook'
|
|
||||||
spec.static_framework = true
|
|
||||||
spec.source = { :git => 'https://github.com/facebook/Sonar.git',
|
|
||||||
:branch=> "master" }
|
|
||||||
spec.module_name = 'SonarKit'
|
|
||||||
spec.platforms = { :ios => "8.0" }
|
|
||||||
|
|
||||||
spec.subspec "Core" do |ss|
|
|
||||||
ss.dependency 'Folly', '~>1.0'
|
|
||||||
ss.dependency 'Sonar', '~>0.0.1'
|
|
||||||
ss.dependency 'CocoaAsyncSocket', '~> 7.6'
|
|
||||||
ss.dependency 'PeerTalk', '~>0.0.2'
|
|
||||||
ss.dependency 'OpenSSL-Static', '1.0.2.c1'
|
|
||||||
ss.source_files = 'iOS/FBDefines/*.{h,cpp,m,mm}', 'iOS/SonarKit/**/*.{h,cpp,m,mm}', 'iOS/SonarKit/FBCxxUtils/*.{h, mm}'
|
|
||||||
ss.public_header_files = 'iOS/SonarKit/CppBridge/*.{h}',
|
|
||||||
'iOS/SonarKit/SonarClient.h',
|
|
||||||
'iOS/SonarKit/SonarDeviceData.h',
|
|
||||||
'iOS/SonarKit/SonarPlugin.h',
|
|
||||||
'iOS/SonarKit/SonarResponder.h',
|
|
||||||
'iOS/SonarKit/SonarConnection.h',
|
|
||||||
'iOS/SonarKit/SKMacros.h'
|
|
||||||
|
|
||||||
ss.compiler_flags = '-DFB_SONARKIT_ENABLED=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'
|
|
||||||
ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\"/** \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/PeerTalkSonar\" \"$(PODS_ROOT)/ComponentKit\"/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "SonarKitLayoutPlugin" do |ss|
|
|
||||||
ss.dependency 'SonarKit/Core'
|
|
||||||
ss.dependency 'Yoga', yoga_version
|
|
||||||
ss.dependency 'YogaKit', yogakit_version
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SonarKitLayoutPlugin.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKTouch.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKDescriptorMapper.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKNodeDescriptor.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKInvalidation.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKNamed.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKTapListener.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKObject.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKHighlightOverlay.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/UIColor+SKSonarValueCoder.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/utils/SKObjectHash.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/utils/SKSwizzle.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/utils/SKYogaKitHelper.h'
|
|
||||||
ss.source_files = 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/**/*.{h,cpp,m,mm}'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "SonarKitLayoutComponentKitSupport" do |ss|
|
|
||||||
ss.dependency 'SonarKit/Core'
|
|
||||||
ss.dependency 'Yoga', yoga_version
|
|
||||||
ss.dependency 'ComponentKit'
|
|
||||||
ss.dependency 'SonarKit/SonarKitLayoutPlugin'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutComponentKitSupport/SonarKitLayoutComponentKitSupport.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutComponentKitSupport/SKComponentLayoutWrapper.h'
|
|
||||||
|
|
||||||
ss.source_files = "iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutComponentKitSupport/**/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\"" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "SonarKitNetworkPlugin" do |ss|
|
|
||||||
ss.dependency 'SonarKit/Core'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SonarKitNetworkPlugin.h',
|
|
||||||
'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKBufferingPlugin.h',
|
|
||||||
'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKDispatchQueue.h',
|
|
||||||
'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKNetworkReporter.h'
|
|
||||||
ss.source_files = "iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\"" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "SKIOSNetworkPlugin" do |ss|
|
|
||||||
ss.dependency 'SonarKit/Core'
|
|
||||||
ss.dependency 'SonarKit/SonarKitNetworkPlugin'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/SonarKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h'
|
|
||||||
ss.source_files = "iOS/Plugins/SonarKitNetworkPlugin/SKIOSNetworkPlugin/**/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\"" }
|
|
||||||
end
|
|
||||||
end
|
|
||||||
@@ -1,99 +0,0 @@
|
|||||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
||||||
#
|
|
||||||
# This source code is licensed under the MIT license found in the
|
|
||||||
# LICENSE file in the root directory of this source tree.
|
|
||||||
|
|
||||||
folly_compiler_flags = '-DFB_SONARKIT_ENABLED=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'
|
|
||||||
yoga_version = '~> 1.9'
|
|
||||||
yogakit_version = '~>1.8'
|
|
||||||
|
|
||||||
Pod::Spec.new do |spec|
|
|
||||||
spec.name = 'SonarKit'
|
|
||||||
spec.version = '0.6.12'
|
|
||||||
spec.license = { :type => 'MIT' }
|
|
||||||
spec.homepage = 'https://github.com/facebook/Sonar'
|
|
||||||
spec.summary = 'Sonar iOS podspec'
|
|
||||||
spec.authors = 'Facebook'
|
|
||||||
spec.static_framework = true
|
|
||||||
spec.source = { :git => 'https://github.com/facebook/Sonar.git',
|
|
||||||
:tag=> "v0.6.12" }
|
|
||||||
spec.module_name = 'SonarKit'
|
|
||||||
spec.platforms = { :ios => "8.4" }
|
|
||||||
|
|
||||||
spec.subspec "Core" do |ss|
|
|
||||||
ss.dependency 'Folly', '~>1.0'
|
|
||||||
ss.dependency 'Sonar', '~>0.6'
|
|
||||||
ss.dependency 'CocoaAsyncSocket', '~> 7.6'
|
|
||||||
ss.dependency 'PeerTalk', '~>0.0.2'
|
|
||||||
ss.dependency 'OpenSSL-Static', '1.0.2.c1'
|
|
||||||
ss.source_files = 'iOS/FBDefines/*.{h,cpp,m,mm}', 'iOS/SonarKit/**/*.{h,cpp,m,mm}', 'iOS/SonarKit/FBCxxUtils/*.{h, mm}'
|
|
||||||
ss.public_header_files = 'iOS/SonarKit/CppBridge/*.{h}',
|
|
||||||
'iOS/SonarKit/SonarClient.h',
|
|
||||||
'iOS/SonarKit/SonarDeviceData.h',
|
|
||||||
'iOS/SonarKit/SonarPlugin.h',
|
|
||||||
'iOS/SonarKit/SonarResponder.h',
|
|
||||||
'iOS/SonarKit/SonarConnection.h',
|
|
||||||
'iOS/SonarKit/SKMacros.h'
|
|
||||||
|
|
||||||
ss.compiler_flags = '-DFB_SONARKIT_ENABLED=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'
|
|
||||||
ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\"/** \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/PeerTalkSonar\" \"$(PODS_ROOT)/ComponentKit\"/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "SonarKitLayoutPlugin" do |ss|
|
|
||||||
ss.dependency 'SonarKit/Core'
|
|
||||||
ss.dependency 'Yoga', yoga_version
|
|
||||||
ss.dependency 'YogaKit', yogakit_version
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SonarKitLayoutPlugin.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKTouch.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKDescriptorMapper.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKNodeDescriptor.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKInvalidation.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKNamed.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKTapListener.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKObject.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKHighlightOverlay.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/UIColor+SKSonarValueCoder.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/utils/SKObjectHash.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/utils/SKSwizzle.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/utils/SKYogaKitHelper.h'
|
|
||||||
ss.source_files = 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/**/*.{h,cpp,m,mm}'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "SonarKitLayoutComponentKitSupport" do |ss|
|
|
||||||
ss.dependency 'SonarKit/Core'
|
|
||||||
ss.dependency 'Yoga', yoga_version
|
|
||||||
ss.dependency 'ComponentKit'
|
|
||||||
ss.dependency 'SonarKit/SonarKitLayoutPlugin'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutComponentKitSupport/SonarKitLayoutComponentKitSupport.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutComponentKitSupport/SKComponentLayoutWrapper.h'
|
|
||||||
|
|
||||||
ss.source_files = "iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutComponentKitSupport/**/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\"" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "SonarKitNetworkPlugin" do |ss|
|
|
||||||
ss.dependency 'SonarKit/Core'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SonarKitNetworkPlugin.h',
|
|
||||||
'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKBufferingPlugin.h',
|
|
||||||
'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKDispatchQueue.h',
|
|
||||||
'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKNetworkReporter.h'
|
|
||||||
ss.source_files = "iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\"" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "SKIOSNetworkPlugin" do |ss|
|
|
||||||
ss.dependency 'SonarKit/Core'
|
|
||||||
ss.dependency 'SonarKit/SonarKitNetworkPlugin'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/SonarKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h'
|
|
||||||
ss.source_files = "iOS/Plugins/SonarKitNetworkPlugin/SKIOSNetworkPlugin/**/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"HEADER_SEARCH_PATHS" => "\"$(PODS_TARGET_SRCROOT)\"" }
|
|
||||||
end
|
|
||||||
end
|
|
||||||
@@ -1,131 +0,0 @@
|
|||||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
||||||
#
|
|
||||||
# This source code is licensed under the MIT license found in the
|
|
||||||
# LICENSE file in the root directory of this source tree.
|
|
||||||
|
|
||||||
folly_compiler_flags = '-DFB_SONARKIT_ENABLED=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'
|
|
||||||
yoga_version = '~> 1.9'
|
|
||||||
yogakit_version = '~>1.8'
|
|
||||||
sonarkit_version = '0.6.13'
|
|
||||||
Pod::Spec.new do |spec|
|
|
||||||
spec.name = 'SonarKit'
|
|
||||||
spec.version = sonarkit_version
|
|
||||||
spec.license = { :type => 'MIT' }
|
|
||||||
spec.homepage = 'https://github.com/facebook/Sonar'
|
|
||||||
spec.summary = 'Sonar iOS podspec'
|
|
||||||
spec.authors = 'Facebook'
|
|
||||||
spec.static_framework = true
|
|
||||||
spec.source = { :git => 'https://github.com/facebook/Sonar.git',
|
|
||||||
:tag=> "v"+sonarkit_version }
|
|
||||||
spec.module_name = 'SonarKit'
|
|
||||||
spec.platforms = { :ios => "8.4" }
|
|
||||||
spec.default_subspecs = "Core"
|
|
||||||
|
|
||||||
# This subspec is necessary since FBMacros.h is imported as <FBDefines/FBMacros.h>
|
|
||||||
# inside SKMacros.h, which is a public header file. Defining this directory as a
|
|
||||||
# subspec with header_dir = 'FBDefines' allows this to work, even though it wouldn't
|
|
||||||
# generally (you would need to import <SonarKit/FBDefines/FBMacros.h>)
|
|
||||||
spec.subspec 'FBDefines' do |ss|
|
|
||||||
ss.header_dir = 'FBDefines'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FBDefines/**/*.h'
|
|
||||||
ss.public_header_files = 'iOS/FBDefines/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec 'CppBridge' do |ss|
|
|
||||||
ss.header_dir = 'CppBridge'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/SonarKit/CppBridge/**/*.{h,mm}'
|
|
||||||
ss.public_header_files = 'iOS/SonarKit/CppBridge/**/*.h'
|
|
||||||
ss.preserve_path = 'SonarKit/CppBridge/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec 'FBCxxUtils' do |ss|
|
|
||||||
ss.header_dir = 'FBCxxUtils'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/SonarKit/FBCxxUtils/**/*.{h,mm}'
|
|
||||||
# We set these files as private headers since they only need to be accessed
|
|
||||||
# by other SonarKit source files
|
|
||||||
ss.private_header_files = 'iOS/SonarKit/FBCxxUtils/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "Core" do |ss|
|
|
||||||
ss.dependency 'SonarKit/FBDefines'
|
|
||||||
ss.dependency 'SonarKit/FBCxxUtils'
|
|
||||||
ss.dependency 'SonarKit/CppBridge'
|
|
||||||
ss.dependency 'Folly', '~>1.0'
|
|
||||||
ss.dependency 'Sonar', '~>'+sonarkit_version
|
|
||||||
ss.dependency 'CocoaAsyncSocket', '~> 7.6'
|
|
||||||
ss.dependency 'PeerTalk', '~>0.0.2'
|
|
||||||
ss.dependency 'OpenSSL-Static', '1.0.2.c1'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/SonarKit/FBDefines/*.{h,cpp,m,mm}', 'iOS/SonarKit/CppBridge/*.{h,mm}', 'iOS/SonarKit/FBCxxUtils/*.{h,mm}', 'iOS/SonarKit/Utilities/**/*.{h,m}', 'iOS/SonarKit/*.{h,m,mm}'
|
|
||||||
ss.public_header_files = 'iOS/SonarKit/**/{SonarClient,SonarPlugin,SonarConnection,SonarResponder,SKMacros}.h'
|
|
||||||
header_search_paths = "\"$(PODS_ROOT)/SonarKit/iOS/SonarKit\" \"$(PODS_ROOT)\"/Headers/Private/SonarKit/** \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/PeerTalkSonar\""
|
|
||||||
ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"DEFINES_MODULE" => "YES",
|
|
||||||
"HEADER_SEARCH_PATHS" => header_search_paths }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "SonarKitLayoutPlugin" do |ss|
|
|
||||||
ss.header_dir = "SonarKitLayoutPlugin"
|
|
||||||
ss.dependency 'SonarKit/Core'
|
|
||||||
ss.dependency 'Yoga', yoga_version
|
|
||||||
ss.dependency 'YogaKit', yogakit_version
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SonarKitLayoutPlugin.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKTouch.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKDescriptorMapper.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKNodeDescriptor.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKInvalidation.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKNamed.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKTapListener.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKObject.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKHighlightOverlay.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/UIColor+SKSonarValueCoder.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/utils/SKObjectHash.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/utils/SKSwizzle.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/utils/SKYogaKitHelper.h'
|
|
||||||
ss.source_files = 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/**/*.{h,cpp,m,mm}'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "SonarKitLayoutComponentKitSupport" do |ss|
|
|
||||||
ss.header_dir = "SonarKitLayoutComponentKitSupport"
|
|
||||||
ss.dependency 'SonarKit/Core'
|
|
||||||
ss.dependency 'Yoga', yoga_version
|
|
||||||
ss.dependency 'ComponentKit'
|
|
||||||
ss.dependency 'SonarKit/SonarKitLayoutPlugin'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.dependency 'SonarKit/SonarKitLayoutPlugin'
|
|
||||||
ss.public_header_files = 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutComponentKitSupport/SonarKitLayoutComponentKitSupport.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutComponentKitSupport/SKComponentLayoutWrapper.h'
|
|
||||||
|
|
||||||
ss.source_files = "iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutComponentKitSupport/**/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/SonarKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "SonarKitNetworkPlugin" do |ss|
|
|
||||||
ss.header_dir = "SonarKitNetworkPlugin"
|
|
||||||
ss.dependency 'SonarKit/Core'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SonarKitNetworkPlugin.h',
|
|
||||||
'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKBufferingPlugin.h',
|
|
||||||
'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKDispatchQueue.h',
|
|
||||||
'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKNetworkReporter.h'
|
|
||||||
ss.source_files = "iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/SonarKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "SKIOSNetworkPlugin" do |ss|
|
|
||||||
ss.header_dir = "SKIOSNetworkPlugin"
|
|
||||||
ss.dependency 'SonarKit/Core'
|
|
||||||
ss.dependency 'SonarKit/SonarKitNetworkPlugin'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/SonarKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h'
|
|
||||||
ss.source_files = "iOS/Plugins/SonarKitNetworkPlugin/SKIOSNetworkPlugin/**/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/SonarKit/**" }
|
|
||||||
end
|
|
||||||
end
|
|
||||||
@@ -1,133 +0,0 @@
|
|||||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
||||||
#
|
|
||||||
# This source code is licensed under the MIT license found in the
|
|
||||||
# LICENSE file in the root directory of this source tree.
|
|
||||||
|
|
||||||
folly_compiler_flags = '-DFB_SONARKIT_ENABLED=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'
|
|
||||||
yoga_version = '~> 1.9'
|
|
||||||
yogakit_version = '~>1.8'
|
|
||||||
sonarkit_version = '0.6.14'
|
|
||||||
Pod::Spec.new do |spec|
|
|
||||||
spec.name = 'SonarKit'
|
|
||||||
spec.version = sonarkit_version
|
|
||||||
spec.license = { :type => 'MIT' }
|
|
||||||
spec.homepage = 'https://github.com/facebook/Sonar'
|
|
||||||
spec.summary = 'Sonar iOS podspec'
|
|
||||||
spec.authors = 'Facebook'
|
|
||||||
spec.static_framework = true
|
|
||||||
spec.source = { :git => 'https://github.com/facebook/Sonar.git',
|
|
||||||
:tag=> "v"+sonarkit_version }
|
|
||||||
spec.module_name = 'SonarKit'
|
|
||||||
spec.platforms = { :ios => "8.4" }
|
|
||||||
spec.default_subspecs = "Core"
|
|
||||||
|
|
||||||
# This subspec is necessary since FBMacros.h is imported as <FBDefines/FBMacros.h>
|
|
||||||
# inside SKMacros.h, which is a public header file. Defining this directory as a
|
|
||||||
# subspec with header_dir = 'FBDefines' allows this to work, even though it wouldn't
|
|
||||||
# generally (you would need to import <SonarKit/FBDefines/FBMacros.h>)
|
|
||||||
spec.subspec 'FBDefines' do |ss|
|
|
||||||
ss.header_dir = 'FBDefines'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FBDefines/**/*.h'
|
|
||||||
ss.public_header_files = 'iOS/FBDefines/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec 'CppBridge' do |ss|
|
|
||||||
ss.header_dir = 'CppBridge'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/SonarKit/CppBridge/**/*.{h,mm}'
|
|
||||||
# We set these files as private headers since they only need to be accessed
|
|
||||||
# by other SonarKit source files
|
|
||||||
ss.private_header_files = 'iOS/SonarKit/CppBridge/**/*.h'
|
|
||||||
ss.preserve_path = 'SonarKit/CppBridge/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec 'FBCxxUtils' do |ss|
|
|
||||||
ss.header_dir = 'FBCxxUtils'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/SonarKit/FBCxxUtils/**/*.{h,mm}'
|
|
||||||
# We set these files as private headers since they only need to be accessed
|
|
||||||
# by other SonarKit source files
|
|
||||||
ss.private_header_files = 'iOS/SonarKit/FBCxxUtils/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "Core" do |ss|
|
|
||||||
ss.dependency 'SonarKit/FBDefines'
|
|
||||||
ss.dependency 'SonarKit/FBCxxUtils'
|
|
||||||
ss.dependency 'SonarKit/CppBridge'
|
|
||||||
ss.dependency 'Folly', '~>1.0'
|
|
||||||
ss.dependency 'Sonar', '~>'+sonarkit_version
|
|
||||||
ss.dependency 'CocoaAsyncSocket', '~> 7.6'
|
|
||||||
ss.dependency 'PeerTalk', '~>0.0.2'
|
|
||||||
ss.dependency 'OpenSSL-Static', '1.0.2.c1'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/SonarKit/FBDefines/*.{h,cpp,m,mm}', 'iOS/SonarKit/CppBridge/*.{h,mm}', 'iOS/SonarKit/FBCxxUtils/*.{h,mm}', 'iOS/SonarKit/Utilities/**/*.{h,m}', 'iOS/SonarKit/*.{h,m,mm}'
|
|
||||||
ss.public_header_files = 'iOS/SonarKit/**/{SonarClient,SonarPlugin,SonarConnection,SonarResponder,SKMacros}.h'
|
|
||||||
header_search_paths = "\"$(PODS_ROOT)/SonarKit/iOS/SonarKit\" \"$(PODS_ROOT)\"/Headers/Private/SonarKit/** \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/PeerTalkSonar\""
|
|
||||||
ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"DEFINES_MODULE" => "YES",
|
|
||||||
"HEADER_SEARCH_PATHS" => header_search_paths }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "SonarKitLayoutPlugin" do |ss|
|
|
||||||
ss.header_dir = "SonarKitLayoutPlugin"
|
|
||||||
ss.dependency 'SonarKit/Core'
|
|
||||||
ss.dependency 'Yoga', yoga_version
|
|
||||||
ss.dependency 'YogaKit', yogakit_version
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SonarKitLayoutPlugin.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKTouch.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKDescriptorMapper.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKNodeDescriptor.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKInvalidation.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKNamed.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKTapListener.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKObject.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKHighlightOverlay.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/UIColor+SKSonarValueCoder.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/utils/SKObjectHash.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/utils/SKSwizzle.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/utils/SKYogaKitHelper.h'
|
|
||||||
ss.source_files = 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/**/*.{h,cpp,m,mm}'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "SonarKitLayoutComponentKitSupport" do |ss|
|
|
||||||
ss.header_dir = "SonarKitLayoutComponentKitSupport"
|
|
||||||
ss.dependency 'SonarKit/Core'
|
|
||||||
ss.dependency 'Yoga', yoga_version
|
|
||||||
ss.dependency 'ComponentKit'
|
|
||||||
ss.dependency 'SonarKit/SonarKitLayoutPlugin'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.dependency 'SonarKit/SonarKitLayoutPlugin'
|
|
||||||
ss.public_header_files = 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutComponentKitSupport/SonarKitLayoutComponentKitSupport.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutComponentKitSupport/SKComponentLayoutWrapper.h'
|
|
||||||
|
|
||||||
ss.source_files = "iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutComponentKitSupport/**/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/SonarKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "SonarKitNetworkPlugin" do |ss|
|
|
||||||
ss.header_dir = "SonarKitNetworkPlugin"
|
|
||||||
ss.dependency 'SonarKit/Core'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SonarKitNetworkPlugin.h',
|
|
||||||
'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKBufferingPlugin.h',
|
|
||||||
'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKDispatchQueue.h',
|
|
||||||
'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKNetworkReporter.h'
|
|
||||||
ss.source_files = "iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/SonarKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "SKIOSNetworkPlugin" do |ss|
|
|
||||||
ss.header_dir = "SKIOSNetworkPlugin"
|
|
||||||
ss.dependency 'SonarKit/Core'
|
|
||||||
ss.dependency 'SonarKit/SonarKitNetworkPlugin'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/SonarKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h'
|
|
||||||
ss.source_files = "iOS/Plugins/SonarKitNetworkPlugin/SKIOSNetworkPlugin/**/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/SonarKit/**" }
|
|
||||||
end
|
|
||||||
end
|
|
||||||
@@ -1,133 +0,0 @@
|
|||||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
||||||
#
|
|
||||||
# This source code is licensed under the MIT license found in the
|
|
||||||
# LICENSE file in the root directory of this source tree.
|
|
||||||
|
|
||||||
folly_compiler_flags = '-DFB_SONARKIT_ENABLED=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'
|
|
||||||
yoga_version = '~> 1.9'
|
|
||||||
yogakit_version = '~>1.8'
|
|
||||||
sonarkit_version = '0.6.15'
|
|
||||||
Pod::Spec.new do |spec|
|
|
||||||
spec.name = 'SonarKit'
|
|
||||||
spec.version = sonarkit_version
|
|
||||||
spec.license = { :type => 'MIT' }
|
|
||||||
spec.homepage = 'https://github.com/facebook/Sonar'
|
|
||||||
spec.summary = 'Sonar iOS podspec'
|
|
||||||
spec.authors = 'Facebook'
|
|
||||||
spec.static_framework = true
|
|
||||||
spec.source = { :git => 'https://github.com/facebook/Sonar.git',
|
|
||||||
:tag=> "v"+sonarkit_version }
|
|
||||||
spec.module_name = 'SonarKit'
|
|
||||||
spec.platforms = { :ios => "8.4" }
|
|
||||||
spec.default_subspecs = "Core"
|
|
||||||
|
|
||||||
# This subspec is necessary since FBMacros.h is imported as <FBDefines/FBMacros.h>
|
|
||||||
# inside SKMacros.h, which is a public header file. Defining this directory as a
|
|
||||||
# subspec with header_dir = 'FBDefines' allows this to work, even though it wouldn't
|
|
||||||
# generally (you would need to import <SonarKit/FBDefines/FBMacros.h>)
|
|
||||||
spec.subspec 'FBDefines' do |ss|
|
|
||||||
ss.header_dir = 'FBDefines'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FBDefines/**/*.h'
|
|
||||||
ss.public_header_files = 'iOS/FBDefines/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec 'CppBridge' do |ss|
|
|
||||||
ss.header_dir = 'CppBridge'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/SonarKit/CppBridge/**/*.{h,mm}'
|
|
||||||
# We set these files as private headers since they only need to be accessed
|
|
||||||
# by other SonarKit source files
|
|
||||||
ss.private_header_files = 'iOS/SonarKit/CppBridge/**/*.h'
|
|
||||||
ss.preserve_path = 'SonarKit/CppBridge/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec 'FBCxxUtils' do |ss|
|
|
||||||
ss.header_dir = 'FBCxxUtils'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/SonarKit/FBCxxUtils/**/*.{h,mm}'
|
|
||||||
# We set these files as private headers since they only need to be accessed
|
|
||||||
# by other SonarKit source files
|
|
||||||
ss.private_header_files = 'iOS/SonarKit/FBCxxUtils/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "Core" do |ss|
|
|
||||||
ss.dependency 'SonarKit/FBDefines'
|
|
||||||
ss.dependency 'SonarKit/FBCxxUtils'
|
|
||||||
ss.dependency 'SonarKit/CppBridge'
|
|
||||||
ss.dependency 'Folly', '~>1.0'
|
|
||||||
ss.dependency 'Sonar', '~>'+sonarkit_version
|
|
||||||
ss.dependency 'CocoaAsyncSocket', '~> 7.6'
|
|
||||||
ss.dependency 'PeerTalk', '~>0.0.2'
|
|
||||||
ss.dependency 'OpenSSL-Static', '1.0.2.c1'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/SonarKit/FBDefines/*.{h,cpp,m,mm}', 'iOS/SonarKit/CppBridge/*.{h,mm}', 'iOS/SonarKit/FBCxxUtils/*.{h,mm}', 'iOS/SonarKit/Utilities/**/*.{h,m}', 'iOS/SonarKit/*.{h,m,mm}'
|
|
||||||
ss.public_header_files = 'iOS/FBDefines/FBMacros.h', 'iOS/SonarKit/**/{SonarClient,SonarPlugin,SonarConnection,SonarResponder,SKMacros}.h'
|
|
||||||
header_search_paths = "\"$(PODS_ROOT)/SonarKit/iOS/SonarKit\" \"$(PODS_ROOT)\"/Headers/Private/SonarKit/** \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/PeerTalkSonar\""
|
|
||||||
ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"DEFINES_MODULE" => "YES",
|
|
||||||
"HEADER_SEARCH_PATHS" => header_search_paths }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "SonarKitLayoutPlugin" do |ss|
|
|
||||||
ss.header_dir = "SonarKitLayoutPlugin"
|
|
||||||
ss.dependency 'SonarKit/Core'
|
|
||||||
ss.dependency 'Yoga', yoga_version
|
|
||||||
ss.dependency 'YogaKit', yogakit_version
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SonarKitLayoutPlugin.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKTouch.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKDescriptorMapper.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKNodeDescriptor.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKInvalidation.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKNamed.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKTapListener.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKObject.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKHighlightOverlay.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/UIColor+SKSonarValueCoder.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/utils/SKObjectHash.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/utils/SKSwizzle.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/utils/SKYogaKitHelper.h'
|
|
||||||
ss.source_files = 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/**/*.{h,cpp,m,mm}'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "SonarKitLayoutComponentKitSupport" do |ss|
|
|
||||||
ss.header_dir = "SonarKitLayoutComponentKitSupport"
|
|
||||||
ss.dependency 'SonarKit/Core'
|
|
||||||
ss.dependency 'Yoga', yoga_version
|
|
||||||
ss.dependency 'ComponentKit'
|
|
||||||
ss.dependency 'SonarKit/SonarKitLayoutPlugin'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.dependency 'SonarKit/SonarKitLayoutPlugin'
|
|
||||||
ss.public_header_files = 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutComponentKitSupport/SonarKitLayoutComponentKitSupport.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutComponentKitSupport/SKComponentLayoutWrapper.h'
|
|
||||||
|
|
||||||
ss.source_files = "iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutComponentKitSupport/**/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/SonarKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "SonarKitNetworkPlugin" do |ss|
|
|
||||||
ss.header_dir = "SonarKitNetworkPlugin"
|
|
||||||
ss.dependency 'SonarKit/Core'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SonarKitNetworkPlugin.h',
|
|
||||||
'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKBufferingPlugin.h',
|
|
||||||
'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKDispatchQueue.h',
|
|
||||||
'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKNetworkReporter.h'
|
|
||||||
ss.source_files = "iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/SonarKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "SKIOSNetworkPlugin" do |ss|
|
|
||||||
ss.header_dir = "SKIOSNetworkPlugin"
|
|
||||||
ss.dependency 'SonarKit/Core'
|
|
||||||
ss.dependency 'SonarKit/SonarKitNetworkPlugin'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/SonarKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h'
|
|
||||||
ss.source_files = "iOS/Plugins/SonarKitNetworkPlugin/SKIOSNetworkPlugin/**/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/SonarKit/**" }
|
|
||||||
end
|
|
||||||
end
|
|
||||||
@@ -1,139 +0,0 @@
|
|||||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
||||||
#
|
|
||||||
# This source code is licensed under the MIT license found in the
|
|
||||||
# LICENSE file in the root directory of this source tree.
|
|
||||||
|
|
||||||
folly_compiler_flags = '-DFB_SONARKIT_ENABLED=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'
|
|
||||||
yoga_version = '~> 1.9'
|
|
||||||
yogakit_version = '~>1.8'
|
|
||||||
sonarkit_version = '0.6.16'
|
|
||||||
Pod::Spec.new do |spec|
|
|
||||||
spec.name = 'SonarKit'
|
|
||||||
spec.version = sonarkit_version
|
|
||||||
spec.license = { :type => 'MIT' }
|
|
||||||
spec.homepage = 'https://github.com/facebook/Sonar'
|
|
||||||
spec.summary = 'Sonar iOS podspec'
|
|
||||||
spec.authors = 'Facebook'
|
|
||||||
spec.static_framework = true
|
|
||||||
spec.source = { :git => 'https://github.com/facebook/Sonar.git',
|
|
||||||
:tag=> "v"+sonarkit_version }
|
|
||||||
spec.module_name = 'SonarKit'
|
|
||||||
spec.platforms = { :ios => "8.4" }
|
|
||||||
spec.default_subspecs = "Core"
|
|
||||||
|
|
||||||
# This subspec is necessary since FBMacros.h is imported as <FBDefines/FBMacros.h>
|
|
||||||
# inside SKMacros.h, which is a public header file. Defining this directory as a
|
|
||||||
# subspec with header_dir = 'FBDefines' allows this to work, even though it wouldn't
|
|
||||||
# generally (you would need to import <SonarKit/FBDefines/FBMacros.h>)
|
|
||||||
spec.subspec 'FBDefines' do |ss|
|
|
||||||
ss.header_dir = 'FBDefines'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FBDefines/**/*.h'
|
|
||||||
ss.public_header_files = 'iOS/FBDefines/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec 'CppBridge' do |ss|
|
|
||||||
ss.header_dir = 'CppBridge'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/SonarKit/CppBridge/**/*.{h,mm}'
|
|
||||||
# We set these files as private headers since they only need to be accessed
|
|
||||||
# by other SonarKit source files
|
|
||||||
ss.private_header_files = 'iOS/SonarKit/CppBridge/**/*.h'
|
|
||||||
ss.preserve_path = 'SonarKit/CppBridge/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec 'FBCxxUtils' do |ss|
|
|
||||||
ss.header_dir = 'FBCxxUtils'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/SonarKit/FBCxxUtils/**/*.{h,mm}'
|
|
||||||
# We set these files as private headers since they only need to be accessed
|
|
||||||
# by other SonarKit source files
|
|
||||||
ss.private_header_files = 'iOS/SonarKit/FBCxxUtils/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "Core" do |ss|
|
|
||||||
ss.dependency 'SonarKit/FBDefines'
|
|
||||||
ss.dependency 'SonarKit/FBCxxUtils'
|
|
||||||
ss.dependency 'SonarKit/CppBridge'
|
|
||||||
ss.dependency 'Folly', '~>1.1'
|
|
||||||
ss.dependency 'Sonar', '~>'+sonarkit_version
|
|
||||||
ss.dependency 'CocoaAsyncSocket', '~> 7.6'
|
|
||||||
ss.dependency 'PeerTalk', '~>0.0.2'
|
|
||||||
ss.dependency 'OpenSSL-Static', '1.0.2.c1'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/SonarKit/FBDefines/*.{h,cpp,m,mm}', 'iOS/SonarKit/CppBridge/*.{h,mm}', 'iOS/SonarKit/FBCxxUtils/*.{h,mm}', 'iOS/SonarKit/Utilities/**/*.{h,m}', 'iOS/SonarKit/*.{h,m,mm}'
|
|
||||||
ss.public_header_files = 'iOS/Plugins/SonarKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h',
|
|
||||||
'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKBufferingPlugin.h',
|
|
||||||
'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKNetworkReporter.h',
|
|
||||||
'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKRequestInfo.h',
|
|
||||||
'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKResponseInfo.h',
|
|
||||||
'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SonarKitNetworkPlugin.h',
|
|
||||||
'iOS/FBDefines/FBMacros.h',
|
|
||||||
'iOS/SonarKit/**/{SonarClient,SonarPlugin,SonarConnection,SonarResponder,SKMacros}.h'
|
|
||||||
header_search_paths = "\"$(PODS_ROOT)/SonarKit/iOS/SonarKit\" \"$(PODS_ROOT)\"/Headers/Private/SonarKit/** \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/PeerTalkSonar\""
|
|
||||||
ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"DEFINES_MODULE" => "YES",
|
|
||||||
"HEADER_SEARCH_PATHS" => header_search_paths }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "SonarKitLayoutPlugin" do |ss|
|
|
||||||
ss.header_dir = "SonarKitLayoutPlugin"
|
|
||||||
ss.dependency 'SonarKit/Core'
|
|
||||||
ss.dependency 'Yoga', yoga_version
|
|
||||||
ss.dependency 'YogaKit', yogakit_version
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SonarKitLayoutPlugin.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKTouch.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKDescriptorMapper.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKNodeDescriptor.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKInvalidation.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKNamed.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKTapListener.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKObject.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKHighlightOverlay.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/UIColor+SKSonarValueCoder.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/utils/SKObjectHash.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/utils/SKSwizzle.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/utils/SKYogaKitHelper.h'
|
|
||||||
ss.source_files = 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/**/*.{h,cpp,m,mm}'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "SonarKitLayoutComponentKitSupport" do |ss|
|
|
||||||
ss.header_dir = "SonarKitLayoutComponentKitSupport"
|
|
||||||
ss.dependency 'SonarKit/Core'
|
|
||||||
ss.dependency 'Yoga', yoga_version
|
|
||||||
ss.dependency 'ComponentKit'
|
|
||||||
ss.dependency 'SonarKit/SonarKitLayoutPlugin'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.dependency 'SonarKit/SonarKitLayoutPlugin'
|
|
||||||
ss.public_header_files = 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutComponentKitSupport/SonarKitLayoutComponentKitSupport.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutComponentKitSupport/SKComponentLayoutWrapper.h'
|
|
||||||
|
|
||||||
ss.source_files = "iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutComponentKitSupport/**/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/SonarKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "SonarKitNetworkPlugin" do |ss|
|
|
||||||
ss.header_dir = "SonarKitNetworkPlugin"
|
|
||||||
ss.dependency 'SonarKit/Core'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKBufferingPlugin.h',
|
|
||||||
'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKNetworkReporter.h',
|
|
||||||
'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKRequestInfo.h',
|
|
||||||
'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKResponseInfo.h',
|
|
||||||
'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SonarKitNetworkPlugin.h'
|
|
||||||
ss.source_files = "iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/SonarKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "SKIOSNetworkPlugin" do |ss|
|
|
||||||
ss.header_dir = "SKIOSNetworkPlugin"
|
|
||||||
ss.dependency 'SonarKit/Core'
|
|
||||||
ss.dependency 'SonarKit/SonarKitNetworkPlugin'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/SonarKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h'
|
|
||||||
ss.source_files = "iOS/Plugins/SonarKitNetworkPlugin/SKIOSNetworkPlugin/**/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/SonarKit/**" }
|
|
||||||
end
|
|
||||||
end
|
|
||||||
@@ -1,139 +0,0 @@
|
|||||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
||||||
#
|
|
||||||
# This source code is licensed under the MIT license found in the
|
|
||||||
# LICENSE file in the root directory of this source tree.
|
|
||||||
|
|
||||||
folly_compiler_flags = '-DFB_SONARKIT_ENABLED=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'
|
|
||||||
yoga_version = '~> 1.9'
|
|
||||||
yogakit_version = '~>1.8'
|
|
||||||
sonarkit_version = '0.7.0'
|
|
||||||
Pod::Spec.new do |spec|
|
|
||||||
spec.name = 'SonarKit'
|
|
||||||
spec.version = sonarkit_version
|
|
||||||
spec.license = { :type => 'MIT' }
|
|
||||||
spec.homepage = 'https://github.com/facebook/Sonar'
|
|
||||||
spec.summary = 'Sonar iOS podspec'
|
|
||||||
spec.authors = 'Facebook'
|
|
||||||
spec.static_framework = true
|
|
||||||
spec.source = { :git => 'https://github.com/facebook/Sonar.git',
|
|
||||||
:tag=> "v"+sonarkit_version }
|
|
||||||
spec.module_name = 'SonarKit'
|
|
||||||
spec.platforms = { :ios => "8.4" }
|
|
||||||
spec.default_subspecs = "Core"
|
|
||||||
|
|
||||||
# This subspec is necessary since FBMacros.h is imported as <FBDefines/FBMacros.h>
|
|
||||||
# inside SKMacros.h, which is a public header file. Defining this directory as a
|
|
||||||
# subspec with header_dir = 'FBDefines' allows this to work, even though it wouldn't
|
|
||||||
# generally (you would need to import <SonarKit/FBDefines/FBMacros.h>)
|
|
||||||
spec.subspec 'FBDefines' do |ss|
|
|
||||||
ss.header_dir = 'FBDefines'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FBDefines/**/*.h'
|
|
||||||
ss.public_header_files = 'iOS/FBDefines/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec 'CppBridge' do |ss|
|
|
||||||
ss.header_dir = 'CppBridge'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/SonarKit/CppBridge/**/*.{h,mm}'
|
|
||||||
# We set these files as private headers since they only need to be accessed
|
|
||||||
# by other SonarKit source files
|
|
||||||
ss.private_header_files = 'iOS/SonarKit/CppBridge/**/*.h'
|
|
||||||
ss.preserve_path = 'SonarKit/CppBridge/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec 'FBCxxUtils' do |ss|
|
|
||||||
ss.header_dir = 'FBCxxUtils'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/SonarKit/FBCxxUtils/**/*.{h,mm}'
|
|
||||||
# We set these files as private headers since they only need to be accessed
|
|
||||||
# by other SonarKit source files
|
|
||||||
ss.private_header_files = 'iOS/SonarKit/FBCxxUtils/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "Core" do |ss|
|
|
||||||
ss.dependency 'SonarKit/FBDefines'
|
|
||||||
ss.dependency 'SonarKit/FBCxxUtils'
|
|
||||||
ss.dependency 'SonarKit/CppBridge'
|
|
||||||
ss.dependency 'Folly', '~>1.1'
|
|
||||||
ss.dependency 'Sonar', '~>'+sonarkit_version
|
|
||||||
ss.dependency 'CocoaAsyncSocket', '~> 7.6'
|
|
||||||
ss.dependency 'PeerTalk', '~>0.0.2'
|
|
||||||
ss.dependency 'OpenSSL-Static', '1.0.2.c1'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/SonarKit/FBDefines/*.{h,cpp,m,mm}', 'iOS/SonarKit/CppBridge/*.{h,mm}', 'iOS/SonarKit/FBCxxUtils/*.{h,mm}', 'iOS/SonarKit/Utilities/**/*.{h,m}', 'iOS/SonarKit/*.{h,m,mm}'
|
|
||||||
ss.public_header_files = 'iOS/Plugins/SonarKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h',
|
|
||||||
'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKBufferingPlugin.h',
|
|
||||||
'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKNetworkReporter.h',
|
|
||||||
'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKRequestInfo.h',
|
|
||||||
'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKResponseInfo.h',
|
|
||||||
'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SonarKitNetworkPlugin.h',
|
|
||||||
'iOS/FBDefines/FBMacros.h',
|
|
||||||
'iOS/SonarKit/**/{FlipperStateUpdateListener,SonarClient,SonarPlugin,SonarConnection,SonarResponder,SKMacros}.h'
|
|
||||||
header_search_paths = "\"$(PODS_ROOT)/SonarKit/iOS/SonarKit\" \"$(PODS_ROOT)\"/Headers/Private/SonarKit/** \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/PeerTalkSonar\""
|
|
||||||
ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"DEFINES_MODULE" => "YES",
|
|
||||||
"HEADER_SEARCH_PATHS" => header_search_paths }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "SonarKitLayoutPlugin" do |ss|
|
|
||||||
ss.header_dir = "SonarKitLayoutPlugin"
|
|
||||||
ss.dependency 'SonarKit/Core'
|
|
||||||
ss.dependency 'Yoga', yoga_version
|
|
||||||
ss.dependency 'YogaKit', yogakit_version
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SonarKitLayoutPlugin.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKTouch.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKDescriptorMapper.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKNodeDescriptor.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKInvalidation.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKNamed.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKTapListener.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKObject.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKHighlightOverlay.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/UIColor+SKSonarValueCoder.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/utils/SKObjectHash.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/utils/SKSwizzle.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/utils/SKYogaKitHelper.h'
|
|
||||||
ss.source_files = 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/**/*.{h,cpp,m,mm}'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "SonarKitLayoutComponentKitSupport" do |ss|
|
|
||||||
ss.header_dir = "SonarKitLayoutComponentKitSupport"
|
|
||||||
ss.dependency 'SonarKit/Core'
|
|
||||||
ss.dependency 'Yoga', yoga_version
|
|
||||||
ss.dependency 'ComponentKit'
|
|
||||||
ss.dependency 'SonarKit/SonarKitLayoutPlugin'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.dependency 'SonarKit/SonarKitLayoutPlugin'
|
|
||||||
ss.public_header_files = 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutComponentKitSupport/SonarKitLayoutComponentKitSupport.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutComponentKitSupport/SKComponentLayoutWrapper.h'
|
|
||||||
|
|
||||||
ss.source_files = "iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutComponentKitSupport/**/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/SonarKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "SonarKitNetworkPlugin" do |ss|
|
|
||||||
ss.header_dir = "SonarKitNetworkPlugin"
|
|
||||||
ss.dependency 'SonarKit/Core'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKBufferingPlugin.h',
|
|
||||||
'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKNetworkReporter.h',
|
|
||||||
'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKRequestInfo.h',
|
|
||||||
'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKResponseInfo.h',
|
|
||||||
'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SonarKitNetworkPlugin.h'
|
|
||||||
ss.source_files = "iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/SonarKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "SKIOSNetworkPlugin" do |ss|
|
|
||||||
ss.header_dir = "SKIOSNetworkPlugin"
|
|
||||||
ss.dependency 'SonarKit/Core'
|
|
||||||
ss.dependency 'SonarKit/SonarKitNetworkPlugin'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/SonarKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h'
|
|
||||||
ss.source_files = "iOS/Plugins/SonarKitNetworkPlugin/SKIOSNetworkPlugin/**/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/SonarKit/**" }
|
|
||||||
end
|
|
||||||
end
|
|
||||||
@@ -1,139 +0,0 @@
|
|||||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
||||||
#
|
|
||||||
# This source code is licensed under the MIT license found in the
|
|
||||||
# LICENSE file in the root directory of this source tree.
|
|
||||||
|
|
||||||
folly_compiler_flags = '-DFB_SONARKIT_ENABLED=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'
|
|
||||||
yoga_version = '~> 1.9'
|
|
||||||
yogakit_version = '~>1.8'
|
|
||||||
sonarkit_version = '0.7.1'
|
|
||||||
Pod::Spec.new do |spec|
|
|
||||||
spec.name = 'SonarKit'
|
|
||||||
spec.version = sonarkit_version
|
|
||||||
spec.license = { :type => 'MIT' }
|
|
||||||
spec.homepage = 'https://github.com/facebook/Sonar'
|
|
||||||
spec.summary = 'Sonar iOS podspec'
|
|
||||||
spec.authors = 'Facebook'
|
|
||||||
spec.static_framework = true
|
|
||||||
spec.source = { :git => 'https://github.com/facebook/Sonar.git',
|
|
||||||
:tag=> "v"+sonarkit_version }
|
|
||||||
spec.module_name = 'SonarKit'
|
|
||||||
spec.platforms = { :ios => "8.4" }
|
|
||||||
spec.default_subspecs = "Core"
|
|
||||||
|
|
||||||
# This subspec is necessary since FBMacros.h is imported as <FBDefines/FBMacros.h>
|
|
||||||
# inside SKMacros.h, which is a public header file. Defining this directory as a
|
|
||||||
# subspec with header_dir = 'FBDefines' allows this to work, even though it wouldn't
|
|
||||||
# generally (you would need to import <SonarKit/FBDefines/FBMacros.h>)
|
|
||||||
spec.subspec 'FBDefines' do |ss|
|
|
||||||
ss.header_dir = 'FBDefines'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FBDefines/**/*.h'
|
|
||||||
ss.public_header_files = 'iOS/FBDefines/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec 'CppBridge' do |ss|
|
|
||||||
ss.header_dir = 'CppBridge'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/SonarKit/CppBridge/**/*.{h,mm}'
|
|
||||||
# We set these files as private headers since they only need to be accessed
|
|
||||||
# by other SonarKit source files
|
|
||||||
ss.private_header_files = 'iOS/SonarKit/CppBridge/**/*.h'
|
|
||||||
ss.preserve_path = 'SonarKit/CppBridge/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec 'FBCxxUtils' do |ss|
|
|
||||||
ss.header_dir = 'FBCxxUtils'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/SonarKit/FBCxxUtils/**/*.{h,mm}'
|
|
||||||
# We set these files as private headers since they only need to be accessed
|
|
||||||
# by other SonarKit source files
|
|
||||||
ss.private_header_files = 'iOS/SonarKit/FBCxxUtils/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "Core" do |ss|
|
|
||||||
ss.dependency 'SonarKit/FBDefines'
|
|
||||||
ss.dependency 'SonarKit/FBCxxUtils'
|
|
||||||
ss.dependency 'SonarKit/CppBridge'
|
|
||||||
ss.dependency 'Folly', '~>1.1'
|
|
||||||
ss.dependency 'Sonar', '~>'+sonarkit_version
|
|
||||||
ss.dependency 'CocoaAsyncSocket', '~> 7.6'
|
|
||||||
ss.dependency 'PeerTalk', '~>0.0.2'
|
|
||||||
ss.dependency 'OpenSSL-Static', '1.0.2.c1'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/SonarKit/FBDefines/*.{h,cpp,m,mm}', 'iOS/SonarKit/CppBridge/*.{h,mm}', 'iOS/SonarKit/FBCxxUtils/*.{h,mm}', 'iOS/SonarKit/Utilities/**/*.{h,m}', 'iOS/SonarKit/*.{h,m,mm}'
|
|
||||||
ss.public_header_files = 'iOS/Plugins/SonarKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h',
|
|
||||||
'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKBufferingPlugin.h',
|
|
||||||
'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKNetworkReporter.h',
|
|
||||||
'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKRequestInfo.h',
|
|
||||||
'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKResponseInfo.h',
|
|
||||||
'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SonarKitNetworkPlugin.h',
|
|
||||||
'iOS/FBDefines/FBMacros.h',
|
|
||||||
'iOS/SonarKit/**/{FlipperStateUpdateListener,SonarClient,SonarPlugin,SonarConnection,SonarResponder,SKMacros}.h'
|
|
||||||
header_search_paths = "\"$(PODS_ROOT)/SonarKit/iOS/SonarKit\" \"$(PODS_ROOT)\"/Headers/Private/SonarKit/** \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/PeerTalkSonar\""
|
|
||||||
ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"DEFINES_MODULE" => "YES",
|
|
||||||
"HEADER_SEARCH_PATHS" => header_search_paths }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "SonarKitLayoutPlugin" do |ss|
|
|
||||||
ss.header_dir = "SonarKitLayoutPlugin"
|
|
||||||
ss.dependency 'SonarKit/Core'
|
|
||||||
ss.dependency 'Yoga', yoga_version
|
|
||||||
ss.dependency 'YogaKit', yogakit_version
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SonarKitLayoutPlugin.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKTouch.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKDescriptorMapper.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKNodeDescriptor.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKInvalidation.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKNamed.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKTapListener.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKObject.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKHighlightOverlay.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/UIColor+SKSonarValueCoder.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/utils/SKObjectHash.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/utils/SKSwizzle.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/utils/SKYogaKitHelper.h'
|
|
||||||
ss.source_files = 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/**/*.{h,cpp,m,mm}'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "SonarKitLayoutComponentKitSupport" do |ss|
|
|
||||||
ss.header_dir = "SonarKitLayoutComponentKitSupport"
|
|
||||||
ss.dependency 'SonarKit/Core'
|
|
||||||
ss.dependency 'Yoga', yoga_version
|
|
||||||
ss.dependency 'ComponentKit'
|
|
||||||
ss.dependency 'SonarKit/SonarKitLayoutPlugin'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.dependency 'SonarKit/SonarKitLayoutPlugin'
|
|
||||||
ss.public_header_files = 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutComponentKitSupport/SonarKitLayoutComponentKitSupport.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutComponentKitSupport/SKComponentLayoutWrapper.h'
|
|
||||||
|
|
||||||
ss.source_files = "iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutComponentKitSupport/**/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/SonarKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "SonarKitNetworkPlugin" do |ss|
|
|
||||||
ss.header_dir = "SonarKitNetworkPlugin"
|
|
||||||
ss.dependency 'SonarKit/Core'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKBufferingPlugin.h',
|
|
||||||
'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKNetworkReporter.h',
|
|
||||||
'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKRequestInfo.h',
|
|
||||||
'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKResponseInfo.h',
|
|
||||||
'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SonarKitNetworkPlugin.h'
|
|
||||||
ss.source_files = "iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/SonarKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "SKIOSNetworkPlugin" do |ss|
|
|
||||||
ss.header_dir = "SKIOSNetworkPlugin"
|
|
||||||
ss.dependency 'SonarKit/Core'
|
|
||||||
ss.dependency 'SonarKit/SonarKitNetworkPlugin'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/SonarKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h'
|
|
||||||
ss.source_files = "iOS/Plugins/SonarKitNetworkPlugin/SKIOSNetworkPlugin/**/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/SonarKit/**" }
|
|
||||||
end
|
|
||||||
end
|
|
||||||
@@ -1,139 +0,0 @@
|
|||||||
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
||||||
#
|
|
||||||
# This source code is licensed under the MIT license found in the
|
|
||||||
# LICENSE file in the root directory of this source tree.
|
|
||||||
|
|
||||||
folly_compiler_flags = '-DFB_SONARKIT_ENABLED=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'
|
|
||||||
yoga_version = '~> 1.9'
|
|
||||||
yogakit_version = '~>1.8'
|
|
||||||
sonarkit_version = '0.7.2'
|
|
||||||
Pod::Spec.new do |spec|
|
|
||||||
spec.name = 'SonarKit'
|
|
||||||
spec.version = sonarkit_version
|
|
||||||
spec.license = { :type => 'MIT' }
|
|
||||||
spec.homepage = 'https://github.com/facebook/Sonar'
|
|
||||||
spec.summary = 'Sonar iOS podspec'
|
|
||||||
spec.authors = 'Facebook'
|
|
||||||
spec.static_framework = true
|
|
||||||
spec.source = { :git => 'https://github.com/facebook/Sonar.git',
|
|
||||||
:tag=> "v"+sonarkit_version }
|
|
||||||
spec.module_name = 'SonarKit'
|
|
||||||
spec.platforms = { :ios => "8.4" }
|
|
||||||
spec.default_subspecs = "Core"
|
|
||||||
|
|
||||||
# This subspec is necessary since FBMacros.h is imported as <FBDefines/FBMacros.h>
|
|
||||||
# inside SKMacros.h, which is a public header file. Defining this directory as a
|
|
||||||
# subspec with header_dir = 'FBDefines' allows this to work, even though it wouldn't
|
|
||||||
# generally (you would need to import <SonarKit/FBDefines/FBMacros.h>)
|
|
||||||
spec.subspec 'FBDefines' do |ss|
|
|
||||||
ss.header_dir = 'FBDefines'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/FBDefines/**/*.h'
|
|
||||||
ss.public_header_files = 'iOS/FBDefines/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec 'CppBridge' do |ss|
|
|
||||||
ss.header_dir = 'CppBridge'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/SonarKit/CppBridge/**/*.{h,mm}'
|
|
||||||
# We set these files as private headers since they only need to be accessed
|
|
||||||
# by other SonarKit source files
|
|
||||||
ss.private_header_files = 'iOS/SonarKit/CppBridge/**/*.h'
|
|
||||||
ss.preserve_path = 'SonarKit/CppBridge/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec 'FBCxxUtils' do |ss|
|
|
||||||
ss.header_dir = 'FBCxxUtils'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/SonarKit/FBCxxUtils/**/*.{h,mm}'
|
|
||||||
# We set these files as private headers since they only need to be accessed
|
|
||||||
# by other SonarKit source files
|
|
||||||
ss.private_header_files = 'iOS/SonarKit/FBCxxUtils/**/*.h'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "Core" do |ss|
|
|
||||||
ss.dependency 'SonarKit/FBDefines'
|
|
||||||
ss.dependency 'SonarKit/FBCxxUtils'
|
|
||||||
ss.dependency 'SonarKit/CppBridge'
|
|
||||||
ss.dependency 'Folly', '~>1.1'
|
|
||||||
ss.dependency 'Sonar', '~>'+sonarkit_version
|
|
||||||
ss.dependency 'CocoaAsyncSocket', '~> 7.6'
|
|
||||||
ss.dependency 'PeerTalk', '~>0.0.2'
|
|
||||||
ss.dependency 'OpenSSL-Static', '1.0.2.c1'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.source_files = 'iOS/SonarKit/FBDefines/*.{h,cpp,m,mm}', 'iOS/SonarKit/CppBridge/*.{h,mm}', 'iOS/SonarKit/FBCxxUtils/*.{h,mm}', 'iOS/SonarKit/Utilities/**/*.{h,m}', 'iOS/SonarKit/*.{h,m,mm}'
|
|
||||||
ss.public_header_files = 'iOS/Plugins/SonarKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h',
|
|
||||||
'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKBufferingPlugin.h',
|
|
||||||
'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKNetworkReporter.h',
|
|
||||||
'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKRequestInfo.h',
|
|
||||||
'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKResponseInfo.h',
|
|
||||||
'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SonarKitNetworkPlugin.h',
|
|
||||||
'iOS/FBDefines/FBMacros.h',
|
|
||||||
'iOS/SonarKit/**/{FlipperStateUpdateListener,SonarClient,SonarPlugin,SonarConnection,SonarResponder,SKMacros}.h'
|
|
||||||
header_search_paths = "\"$(PODS_ROOT)/SonarKit/iOS/SonarKit\" \"$(PODS_ROOT)\"/Headers/Private/SonarKit/** \"$(PODS_ROOT)/boost-for-react-native\" \"$(PODS_ROOT)/DoubleConversion\" \"$(PODS_ROOT)/PeerTalkSonar\""
|
|
||||||
ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"DEFINES_MODULE" => "YES",
|
|
||||||
"HEADER_SEARCH_PATHS" => header_search_paths }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "SonarKitLayoutPlugin" do |ss|
|
|
||||||
ss.header_dir = "SonarKitLayoutPlugin"
|
|
||||||
ss.dependency 'SonarKit/Core'
|
|
||||||
ss.dependency 'Yoga', yoga_version
|
|
||||||
ss.dependency 'YogaKit', yogakit_version
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SonarKitLayoutPlugin.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKTouch.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKDescriptorMapper.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKNodeDescriptor.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKInvalidation.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKNamed.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKTapListener.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKObject.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/SKHighlightOverlay.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/UIColor+SKSonarValueCoder.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/utils/SKObjectHash.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/utils/SKSwizzle.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/utils/SKYogaKitHelper.h'
|
|
||||||
ss.source_files = 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutPlugin/**/*.{h,cpp,m,mm}'
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "SonarKitLayoutComponentKitSupport" do |ss|
|
|
||||||
ss.header_dir = "SonarKitLayoutComponentKitSupport"
|
|
||||||
ss.dependency 'SonarKit/Core'
|
|
||||||
ss.dependency 'Yoga', yoga_version
|
|
||||||
ss.dependency 'ComponentKit'
|
|
||||||
ss.dependency 'SonarKit/SonarKitLayoutPlugin'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.dependency 'SonarKit/SonarKitLayoutPlugin'
|
|
||||||
ss.public_header_files = 'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutComponentKitSupport/SonarKitLayoutComponentKitSupport.h',
|
|
||||||
'iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutComponentKitSupport/SKComponentLayoutWrapper.h'
|
|
||||||
|
|
||||||
ss.source_files = "iOS/Plugins/SonarKitLayoutPlugin/SonarKitLayoutComponentKitSupport/**/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "USE_HEADERMAP" => "NO",
|
|
||||||
"HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/SonarKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "SonarKitNetworkPlugin" do |ss|
|
|
||||||
ss.header_dir = "SonarKitNetworkPlugin"
|
|
||||||
ss.dependency 'SonarKit/Core'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKBufferingPlugin.h',
|
|
||||||
'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKNetworkReporter.h',
|
|
||||||
'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKRequestInfo.h',
|
|
||||||
'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SKResponseInfo.h',
|
|
||||||
'iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/SonarKitNetworkPlugin.h'
|
|
||||||
ss.source_files = "iOS/Plugins/SonarKitNetworkPlugin/SonarKitNetworkPlugin/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/SonarKit/**" }
|
|
||||||
end
|
|
||||||
|
|
||||||
spec.subspec "SKIOSNetworkPlugin" do |ss|
|
|
||||||
ss.header_dir = "SKIOSNetworkPlugin"
|
|
||||||
ss.dependency 'SonarKit/Core'
|
|
||||||
ss.dependency 'SonarKit/SonarKitNetworkPlugin'
|
|
||||||
ss.compiler_flags = folly_compiler_flags
|
|
||||||
ss.public_header_files = 'iOS/Plugins/SonarKitNetworkPlugin/SKIOSNetworkPlugin/SKIOSNetworkAdapter.h'
|
|
||||||
ss.source_files = "iOS/Plugins/SonarKitNetworkPlugin/SKIOSNetworkPlugin/**/*.{h,cpp,m,mm}"
|
|
||||||
ss.pod_target_xcconfig = { "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)\"/Headers/Private/SonarKit/**" }
|
|
||||||
end
|
|
||||||
end
|
|
||||||
Reference in New Issue
Block a user