blob: cfc2cfeaff806c0bb6d2178af19d46ac00ad0a47 [file] [log] [blame] [edit]
#!/bin/sh
set -e
ARGS=("$@")
cd $SRCROOT
if [ -z "${BUILD_SCRIPTS_DIR}" ]; then
BUILD_SCRIPTS_DIR="${WTF_BUILD_SCRIPTS_DIR}"
fi
UnifiedSourceCppFileCount=5
UnifiedSourceCFileCount=0
UnifiedSourceMmFileCount=0
UnifiedSourceNonARCMmFileCount=21
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/WebKitLegacy" --source-tree-path "${SRCROOT}" --max-cpp-bundle-count ${UnifiedSourceCppFileCount} --max-c-bundle-count ${UnifiedSourceCFileCount} --max-obj-c-bundle-count ${UnifiedSourceMmFileCount} --max-non-arc-obj-c-bundle-count ${UnifiedSourceNonARCMmFileCount} Sources.txt SourcesCocoa.txt "${ARGS[@]}" > /dev/null