mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Add the DoubleConversion dependency to third-party libraries (#41972)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/41972 This diff adds the `DoubleConversion` dependency to the `install_modules_dependencies` function, that installs all the dependencies that third-party libraries might need. The libraries will need the `DoubleConversion` pod if they include the generated Fabric files. Changelog: [Internal] Reviewed By: cipolleschi Differential Revision: D51848314 fbshipit-source-id: ae2ce022c6f51ce392852494c61e26ff810d30d0
This commit is contained in:
committed by
Facebook GitHub Bot
parent
a5ee029cd0
commit
32dab7a63f
@@ -163,6 +163,7 @@ class NewArchitectureTests < Test::Unit::TestCase
|
||||
{ :dependency_name => "React-debug" },
|
||||
{ :dependency_name => "React-ImageManager" },
|
||||
{ :dependency_name => "React-rendererdebug" },
|
||||
{ :dependency_name => "DoubleConversion" },
|
||||
{ :dependency_name => "hermes-engine" }
|
||||
])
|
||||
end
|
||||
@@ -203,6 +204,7 @@ class NewArchitectureTests < Test::Unit::TestCase
|
||||
{ :dependency_name => "React-debug" },
|
||||
{ :dependency_name => "React-ImageManager" },
|
||||
{ :dependency_name => "React-rendererdebug" },
|
||||
{ :dependency_name => "DoubleConversion" },
|
||||
{ :dependency_name => "hermes-engine" }
|
||||
]
|
||||
)
|
||||
|
||||
@@ -128,6 +128,8 @@ class NewArchitectureHelper
|
||||
spec.dependency "React-debug"
|
||||
spec.dependency "React-ImageManager"
|
||||
spec.dependency "React-rendererdebug"
|
||||
# This dependency is required for the cases when the pod includes generated sources, specifically Props.cpp.
|
||||
spec.dependency "DoubleConversion"
|
||||
|
||||
if ENV["USE_HERMES"] == nil || ENV["USE_HERMES"] == "1"
|
||||
spec.dependency "hermes-engine"
|
||||
|
||||
Reference in New Issue
Block a user