mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
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
15 lines
488 B
Bash
Executable File
15 lines
488 B
Bash
Executable File
#!/bin/bash
|
|
# Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
#
|
|
# This source code is licensed under the MIT license found in the
|
|
# LICENSE file in the root directory of this source tree.
|
|
|
|
. ./utils/build-apple-framework.sh
|
|
if [ ! -d destroot/Library/Frameworks/macosx/hermes.framework ]; then
|
|
mac_deployment_target=$(get_mac_deployment_target)
|
|
|
|
build_apple_framework "macosx" "x86_64;arm64" "$mac_deployment_target"
|
|
else
|
|
echo "Skipping; Clean \"destroot\" to rebuild".
|
|
fi
|