Toggle navigation
Toggle navigation
This project
Loading...
Sign in
mobile
/
react
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
hongyong.zhao
6 years ago
Commit
c1c74dfdddda4b6ed05916b2e29255808209ea62
1 parent
f664f3c4
修改pod文件
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
131 additions
and
4 deletions
React.podspec
React.podspec
View file @
c1c74df
...
...
@@ -4,6 +4,7 @@ require "json"
package
=
JSON
.
parse
(
File
.
read
(
File
.
join
(
__dir__
,
"package.json"
)))
folly_compiler_flags
=
'-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1'
folly_version
=
'2018.10.22.00'
Pod
::
Spec
.
new
do
|
s
|
s
.
name
=
"React"
...
...
@@ -44,6 +45,7 @@ Pod::Spec.new do |s|
"React/Inspector/*"
,
"ReactCommon/yoga/*"
,
"React/Cxx*/*"
,
"React/Fabric/**/*"
ss
.
ios
.
exclude_files
=
"React/**/RCTTV*.*"
ss
.
tvos
.
exclude_files
=
"React/Modules/RCTClipboard*"
,
"React/Views/RCTDatePicker*"
,
...
...
@@ -59,9 +61,10 @@ Pod::Spec.new do |s|
end
s
.
subspec
"CxxBridge"
do
|
ss
|
ss
.
dependency
"Folly"
,
"2016.09.26.00"
ss
.
dependency
"Folly"
,
folly_version
ss
.
dependency
"React/Core"
ss
.
dependency
"React/cxxreact"
ss
.
dependency
"React/jsiexecutor"
ss
.
compiler_flags
=
folly_compiler_flags
ss
.
private_header_files
=
"React/Cxx*/*.h"
ss
.
source_files
=
"React/Cxx*/*.{h,m,mm}"
...
...
@@ -75,6 +78,18 @@ Pod::Spec.new do |s|
"React/Inspector/*"
end
s
.
subspec
"RCTFabric"
do
|
ss
|
ss
.
dependency
"Folly"
,
folly_version
ss
.
dependency
"React/Core"
ss
.
dependency
"React/fabric"
ss
.
compiler_flags
=
folly_compiler_flags
ss
.
source_files
=
"React/Fabric/**/*.{c,h,m,mm,S,cpp}"
ss
.
exclude_files
=
"**/tests/*"
ss
.
header_dir
=
"React"
ss
.
framework
=
"JavaScriptCore"
ss
.
pod_target_xcconfig
=
{
"HEADER_SEARCH_PATHS"
=>
"
\"
$(PODS_TARGET_SRCROOT)/ReactCommon
\"
"
}
end
s
.
subspec
"jschelpers"
do
|
ss
|
ss
.
dependency
"Folly"
,
"2016.09.26.00"
ss
.
dependency
"React/PrivateDatabase"
...
...
@@ -91,6 +106,26 @@ Pod::Spec.new do |s|
ss
.
pod_target_xcconfig
=
{
"HEADER_SEARCH_PATHS"
=>
"
\"
$(PODS_TARGET_SRCROOT)/ReactCommon
\"
"
}
end
s
.
subspec
"jsiexecutor"
do
|
ss
|
ss
.
dependency
"React/cxxreact"
ss
.
dependency
"React/jsi"
ss
.
dependency
"Folly"
,
folly_version
ss
.
compiler_flags
=
folly_compiler_flags
ss
.
source_files
=
"ReactCommon/jsiexecutor/jsireact/*.{cpp,h}"
ss
.
private_header_files
=
"ReactCommon/jsiexecutor/jsireact/*.h"
ss
.
header_dir
=
"jsireact"
ss
.
pod_target_xcconfig
=
{
"HEADER_SEARCH_PATHS"
=>
"
\"
$(PODS_TARGET_SRCROOT)/ReactCommon
\"
,
\"
$(PODS_TARGET_SRCROOT)/ReactCommon/jsiexecutor
\"
"
}
end
s
.
subspec
"jsi"
do
|
ss
|
ss
.
dependency
"Folly"
,
folly_version
ss
.
compiler_flags
=
folly_compiler_flags
ss
.
source_files
=
"ReactCommon/jsi/*.{cpp,h}"
ss
.
private_header_files
=
"ReactCommon/jsi/*.h"
ss
.
framework
=
"JavaScriptCore"
ss
.
pod_target_xcconfig
=
{
"HEADER_SEARCH_PATHS"
=>
"
\"
$(PODS_TARGET_SRCROOT)/ReactCommon
\"
"
}
end
s
.
subspec
"PrivateDatabase"
do
|
ss
|
ss
.
source_files
=
"ReactCommon/privatedata/*.{cpp,h}"
ss
.
private_header_files
=
"ReactCommon/privatedata/*.h"
...
...
@@ -98,10 +133,9 @@ Pod::Spec.new do |s|
end
s
.
subspec
"cxxreact"
do
|
ss
|
ss
.
dependency
"React/jschelpers"
ss
.
dependency
"React/jsinspector"
ss
.
dependency
"Boost"
,
"1.63.0"
ss
.
dependency
"Folly"
,
"2016.09.26.00"
ss
.
dependency
"boost-for-react-native"
,
"1.63.0"
ss
.
dependency
"Folly"
,
folly_version
ss
.
compiler_flags
=
folly_compiler_flags
ss
.
source_files
=
"ReactCommon/cxxreact/*.{cpp,h}"
ss
.
exclude_files
=
"ReactCommon/cxxreact/SampleCxxModule.*"
...
...
@@ -109,6 +143,99 @@ Pod::Spec.new do |s|
ss
.
pod_target_xcconfig
=
{
"HEADER_SEARCH_PATHS"
=>
"
\"
$(PODS_TARGET_SRCROOT)/ReactCommon
\"
\"
$(PODS_ROOT)/Boost
\"
\"
$(PODS_ROOT)/DoubleConversion
\"
\"
$(PODS_ROOT)/Folly
\"
"
}
end
s
.
subspec
"fabric"
do
|
ss
|
ss
.
subspec
"activityindicator"
do
|
sss
|
sss
.
dependency
"Folly"
,
folly_version
sss
.
compiler_flags
=
folly_compiler_flags
sss
.
source_files
=
"ReactCommon/fabric/activityindicator/**/*.{cpp,h}"
sss
.
exclude_files
=
"**/tests/*"
sss
.
header_dir
=
"fabric/activityindicator"
sss
.
pod_target_xcconfig
=
{
"HEADER_SEARCH_PATHS"
=>
"
\"
$(PODS_TARGET_SRCROOT)/ReactCommon
\"
\"
$(PODS_ROOT)/Folly
\"
"
}
end
ss
.
subspec
"attributedstring"
do
|
sss
|
sss
.
dependency
"Folly"
,
folly_version
sss
.
compiler_flags
=
folly_compiler_flags
sss
.
source_files
=
"ReactCommon/fabric/attributedstring/**/*.{cpp,h}"
sss
.
exclude_files
=
"**/tests/*"
sss
.
header_dir
=
"fabric/attributedstring"
sss
.
pod_target_xcconfig
=
{
"HEADER_SEARCH_PATHS"
=>
"
\"
$(PODS_TARGET_SRCROOT)/ReactCommon
\"
\"
$(PODS_ROOT)/Folly
\"
"
}
end
ss
.
subspec
"core"
do
|
sss
|
sss
.
dependency
"Folly"
,
folly_version
sss
.
compiler_flags
=
folly_compiler_flags
sss
.
source_files
=
"ReactCommon/fabric/core/**/*.{cpp,h}"
sss
.
exclude_files
=
"**/tests/*"
sss
.
header_dir
=
"fabric/core"
sss
.
pod_target_xcconfig
=
{
"HEADER_SEARCH_PATHS"
=>
"
\"
$(PODS_TARGET_SRCROOT)/ReactCommon
\"
\"
$(PODS_ROOT)/Folly
\"
"
}
end
ss
.
subspec
"debug"
do
|
sss
|
sss
.
dependency
"Folly"
,
folly_version
sss
.
compiler_flags
=
folly_compiler_flags
sss
.
source_files
=
"ReactCommon/fabric/debug/**/*.{cpp,h}"
sss
.
exclude_files
=
"**/tests/*"
sss
.
header_dir
=
"fabric/debug"
sss
.
pod_target_xcconfig
=
{
"HEADER_SEARCH_PATHS"
=>
"
\"
$(PODS_TARGET_SRCROOT)/ReactCommon
\"
\"
$(PODS_ROOT)/Folly
\"
"
}
end
ss
.
subspec
"graphics"
do
|
sss
|
sss
.
dependency
"Folly"
,
folly_version
sss
.
compiler_flags
=
folly_compiler_flags
sss
.
source_files
=
"ReactCommon/fabric/graphics/**/*.{cpp,h}"
sss
.
exclude_files
=
"**/tests/*"
sss
.
header_dir
=
"fabric/graphics"
sss
.
pod_target_xcconfig
=
{
"HEADER_SEARCH_PATHS"
=>
"
\"
$(PODS_TARGET_SRCROOT)/ReactCommon
\"
\"
$(PODS_ROOT)/Folly
\"
"
}
end
ss
.
subspec
"scrollview"
do
|
sss
|
sss
.
dependency
"Folly"
,
folly_version
sss
.
compiler_flags
=
folly_compiler_flags
sss
.
source_files
=
"ReactCommon/fabric/scrollview/**/*.{cpp,h}"
sss
.
exclude_files
=
"**/tests/*"
sss
.
header_dir
=
"fabric/scrollview"
sss
.
pod_target_xcconfig
=
{
"HEADER_SEARCH_PATHS"
=>
"
\"
$(PODS_TARGET_SRCROOT)/ReactCommon
\"
\"
$(PODS_ROOT)/Folly
\"
"
}
end
ss
.
subspec
"text"
do
|
sss
|
sss
.
dependency
"Folly"
,
folly_version
sss
.
compiler_flags
=
folly_compiler_flags
sss
.
source_files
=
"ReactCommon/fabric/text/**/*.{cpp,h}"
sss
.
exclude_files
=
"**/tests/*"
sss
.
header_dir
=
"fabric/text"
sss
.
pod_target_xcconfig
=
{
"HEADER_SEARCH_PATHS"
=>
"
\"
$(PODS_TARGET_SRCROOT)/ReactCommon
\"
\"
$(PODS_ROOT)/Folly
\"
"
}
end
ss
.
subspec
"textlayoutmanager"
do
|
sss
|
sss
.
dependency
"Folly"
,
folly_version
sss
.
compiler_flags
=
folly_compiler_flags
sss
.
source_files
=
"ReactCommon/fabric/textlayoutmanager/**/*.{cpp,h,mm}"
sss
.
exclude_files
=
"**/tests/*"
sss
.
header_dir
=
"fabric/textlayoutmanager"
sss
.
pod_target_xcconfig
=
{
"HEADER_SEARCH_PATHS"
=>
"
\"
$(PODS_TARGET_SRCROOT)/ReactCommon
\"
\"
$(PODS_ROOT)/Folly
\"
"
}
end
ss
.
subspec
"uimanager"
do
|
sss
|
sss
.
dependency
"Folly"
,
folly_version
sss
.
compiler_flags
=
folly_compiler_flags
sss
.
source_files
=
"ReactCommon/fabric/uimanager/**/*.{cpp,h}"
sss
.
exclude_files
=
"**/tests/*"
sss
.
header_dir
=
"fabric/uimanager"
sss
.
pod_target_xcconfig
=
{
"HEADER_SEARCH_PATHS"
=>
"
\"
$(PODS_TARGET_SRCROOT)/ReactCommon
\"
\"
$(PODS_ROOT)/Folly
\"
"
}
end
ss
.
subspec
"view"
do
|
sss
|
sss
.
dependency
"Folly"
,
folly_version
sss
.
dependency
"yoga"
sss
.
compiler_flags
=
folly_compiler_flags
sss
.
source_files
=
"ReactCommon/fabric/view/**/*.{cpp,h}"
sss
.
exclude_files
=
"**/tests/*"
sss
.
header_dir
=
"fabric/view"
sss
.
pod_target_xcconfig
=
{
"HEADER_SEARCH_PATHS"
=>
"
\"
$(PODS_TARGET_SRCROOT)/ReactCommon
\"
\"
$(PODS_ROOT)/Folly
\"
"
}
end
end
s
.
subspec
"ART"
do
|
ss
|
ss
.
dependency
"React/Core"
ss
.
source_files
=
"Libraries/ART/**/*.{h,m}"
...
...
Please
register
or
login
to post a comment