mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Hermes: Copy build scripts to RN
Summary: Copy Hermes build scripts to React Native repository for greater control over the build pipeline when used in RN. Changelog: [Internal] Reviewed By: neildhar Differential Revision: D36295406 fbshipit-source-id: 54bf4173b6c75db35de828378e6f5782a248ed2e
This commit is contained in:
@@ -689,8 +689,9 @@ def downloadAndConfigureHermesSource(react_native_path)
|
||||
Pod::UI.puts "[Hermes] Extracting Hermes tarball (#{hermes_tag_sha.slice(0,6)})"
|
||||
system("tar -zxf #{hermes_tarball_path} --strip-components=1 --directory #{hermes_dir}")
|
||||
|
||||
# TODO: Integrate this temporary hermes-engine.podspec into the actual one located in facebook/hermes
|
||||
system("cp #{sdks_dir}/hermes-engine.podspec #{hermes_dir}/hermes-engine.podspec")
|
||||
# Use React Native's own scripts to build Hermes
|
||||
system("cp #{sdks_dir}/hermes-engine/hermes-engine.podspec #{hermes_dir}/hermes-engine.podspec")
|
||||
system("cp #{sdks_dir}/hermes-engine/utils/* #{hermes_dir}/utils/.")
|
||||
|
||||
hermes_dir
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user