This repository has been archived by the owner on Jun 3, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [Core] Refector code, make jsengine can run on multi thread environ…
…ment (#1510) * Make jsengine can run on multi thread environment * iOS uses WeexCore
- Loading branch information
Showing
345 changed files
with
28,742 additions
and
12,517 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,29 +19,41 @@ Pod::Spec.new do |s| | |
LICENSE | ||
} | ||
s.authors = { "cxfeng1" => "[email protected]", | ||
"boboning" => "[email protected]", | ||
"yangshengtao" => "[email protected]", | ||
"kfeagle" => "[email protected]", | ||
"acton393" => "[email protected]" | ||
"kfeagle" => "[email protected]" | ||
} | ||
s.platform = :ios | ||
s.ios.deployment_target = '8.0' | ||
s.source = { :path => '.' } | ||
s.source_files = 'ios/sdk/WeexSDK/Sources/**/*.{h,m,mm,c,cpp}' | ||
s.source_files = 'ios/sdk/WeexSDK/Sources/**/*.{h,m,mm,c,cpp,cc}' | ||
s.resources = 'pre-build/*.js','ios/sdk/WeexSDK/Resources/[email protected]' | ||
|
||
s.user_target_xcconfig = { 'FRAMEWORK_SEARCH_PATHS' => "'$(PODS_ROOT)/WeexSDK'" } | ||
s.requires_arc = true | ||
s.prefix_header_file = 'ios/sdk/WeexSDK/Sources/Supporting Files/WeexSDK-Prefix.pch' | ||
|
||
# s.xcconfig = { "GCC_PREPROCESSOR_DEFINITIONS" => '$(inherited) DEBUG=1' } | ||
|
||
s.private_header_files = 'ios/sdk/WeexSDK/Sources/Component/RecycleList/WXJSASTParser.h', | ||
'ios/sdk/WeexSDK/Sources/Layout/WXScrollerComponent+Layout.h' | ||
'ios/sdk/WeexSDK/Sources/Layout/WXScrollerComponent+Layout.h', | ||
'weex_core/Source/**/*.{h,hpp}' | ||
|
||
s.xcconfig = { "OTHER_LINK_FLAG" => '$(inherited) -ObjC', 'GCC_PREPROCESSOR_DEFINITIONS' => 'OS_IOS=1' } | ||
|
||
s.frameworks = 'CoreMedia','MediaPlayer','AVFoundation','AVKit','JavaScriptCore','GLKit','OpenGLES','CoreText','QuartzCore','CoreGraphics' | ||
|
||
s.default_subspec='WeexCore' | ||
|
||
s.subspec 'WeexCore' do |w| | ||
w.source_files = 'weex_core/Source/base/**/*.{h,hpp,m,mm,c,cpp,cc}', | ||
'weex_core/Source/core/**/*.{h,hpp,m,mm,c,cpp,cc}', | ||
'weex_core/Source/wson/**/*.{h,hpp,m,mm,c,cpp,cc}', | ||
'weex_core/Source/third_party/**/*.{h,hpp,m,mm,c,cpp,cc}', | ||
'weex_core/Source/include/**/*.{h,hpp,m,mm,c,cpp,cc}' | ||
w.exclude_files = 'weex_core/Source/**/*android.{h,hpp,m,mm,c,cpp,cc}' | ||
|
||
s.xcconfig = { "OTHER_LINK_FLAG" => '$(inherited) -ObjC'} | ||
w.xcconfig = { 'USER_HEADER_SEARCH_PATHS' => ['${PODS_ROOT}/Headers/Public/WeexSDK/core/**'] } | ||
w.header_mappings_dir = 'weex_core/Source' | ||
|
||
s.frameworks = 'CoreMedia','MediaPlayer','AVFoundation','AVKit','JavaScriptCore', 'GLKit', 'OpenGLES', 'CoreText', 'QuartzCore', 'CoreGraphics' | ||
s.libraries = "stdc++" | ||
w.libraries = "stdc++" | ||
end | ||
|
||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.