mirror of
https://github.com/darlinghq/darling-JavaScriptCore.git
synced 2024-11-23 04:09:40 +00:00
25 lines
837 B
Bash
Executable File
25 lines
837 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
ARGS=("$@")
|
|
|
|
cd $SRCROOT
|
|
|
|
if [ -z "${BUILD_SCRIPTS_DIR}" ]; then
|
|
if [ "${DEPLOYMENT_LOCATION}" == "YES" ]; then
|
|
BUILD_SCRIPTS_DIR="${SDKROOT}${WK_ALTERNATE_WEBKIT_SDK_PATH}/usr/local/include/wtf/Scripts"
|
|
else
|
|
BUILD_SCRIPTS_DIR="${BUILT_PRODUCTS_DIR}/usr/local/include/wtf/Scripts"
|
|
fi
|
|
fi
|
|
|
|
UnifiedSourceCppFileCount=145
|
|
UnifiedSourceMmFileCount=5
|
|
|
|
if [ $# -eq 0 ]; then
|
|
echo "Using unified source list files: Sources.txt, SourcesCocoa.txt"
|
|
fi
|
|
|
|
/usr/bin/env ruby "${BUILD_SCRIPTS_DIR}/generate-unified-source-bundles.rb" --derived-sources-path "${BUILT_PRODUCTS_DIR}/DerivedSources/JavaScriptCore" --source-tree-path "${SRCROOT}" --max-cpp-bundle-count ${UnifiedSourceCppFileCount} --max-obj-c-bundle-count ${UnifiedSourceMmFileCount} Sources.txt SourcesCocoa.txt "${ARGS[@]}" > /dev/null
|