mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Make RCTLinkingManager TurboModule-compatible
Summary: See title. Changelog: [iOS][Added] - Make RCTLinkingManager TurboModule-compatible Reviewed By: PeteTheHeat Differential Revision: D18331085 fbshipit-source-id: 5b4482affbf647bd96043ef9a27e715856bc25f1
This commit is contained in:
committed by
Facebook Github Bot
parent
525703de5b
commit
1b2992e8b3
@@ -16,6 +16,9 @@ else
|
||||
source[:tag] = "v#{version}"
|
||||
end
|
||||
|
||||
folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32'
|
||||
folly_version = '2018.10.22.00'
|
||||
|
||||
Pod::Spec.new do |s|
|
||||
s.name = "React-RCTLinking"
|
||||
s.version = version
|
||||
@@ -25,10 +28,18 @@ Pod::Spec.new do |s|
|
||||
s.license = package["license"]
|
||||
s.author = "Facebook, Inc. and its affiliates"
|
||||
s.platforms = { :ios => "9.0", :tvos => "9.2" }
|
||||
s.compiler_flags = folly_compiler_flags + ' -Wno-nullability-completeness'
|
||||
s.source = source
|
||||
s.source_files = "*.{m}"
|
||||
s.source_files = "*.{m,mm}"
|
||||
s.preserve_paths = "package.json", "LICENSE", "LICENSE-docs"
|
||||
s.header_dir = "RCTLinking"
|
||||
s.pod_target_xcconfig = {
|
||||
"USE_HEADERMAP" => "YES",
|
||||
"CLANG_CXX_LANGUAGE_STANDARD" => "c++14",
|
||||
"HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/Folly\""
|
||||
}
|
||||
|
||||
s.dependency "FBReactNativeSpec", version
|
||||
s.dependency "React-Core/RCTLinkingHeaders", version
|
||||
s.dependency "ReactCommon/turbomodule/core", version
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user