<commit_before>#!/usr/bin/bash

# Convert the DOS WebKitOutputDir variable to a unix path.
WebKitOutputDirUnix=`cygpath -a -u "$2"`
WebKitOutputConfigDirUnix="${WebKitOutputDirUnix}/$1"

SRCROOT="`pwd`/../.."
SRCROOT=`realpath "$SRCROOT"`
# Do a little dance to get the path into 8.3 form to make it safe for gnu make
# http://bugzilla.opendarwin.org/show_bug.cgi?id=8173
SRCROOT=`cygpath -m -s "$SRCROOT"`
SRCROOT=`cygpath -u "$SRCROOT"`
export SRCROOT

# FIXME: Eventually win32 might wish to generate to the Debug/Release output directories.
export BUILT_PRODUCTS_DIR="$SRCROOT"
export CREATE_HASH_TABLE="$SRCROOT/../JavaScriptCore/kjs/create_hash_table"

mkdir -p "${BUILT_PRODUCTS_DIR}/DerivedSources/WebCore"
cd "${BUILT_PRODUCTS_DIR}/DerivedSources/WebCore"

export WebCore="${SRCROOT}"
export ENCODINGS_FILE="${WebCore}/platform/win/win-encodings.txt";
export ENCODINGS_PREFIX=""
make -f "$WebCore/DerivedSources.make" || exit 1

cd "$SRCROOT"<commit_msg>Fix build bustage caused by broken XPath feature support checking on win32.<commit_after>#!/usr/bin/bash

# Convert the DOS WebKitOutputDir variable to a unix path.
WebKitOutputDirUnix=`cygpath -a -u "$2"`
WebKitOutputConfigDirUnix="${WebKitOutputDirUnix}/$1"

SRCROOT="`pwd`/../.."
SRCROOT=`realpath "$SRCROOT"`
# Do a little dance to get the path into 8.3 form to make it safe for gnu make
# http://bugzilla.opendarwin.org/show_bug.cgi?id=8173
SRCROOT=`cygpath -m -s "$SRCROOT"`
SRCROOT=`cygpath -u "$SRCROOT"`
export SRCROOT

# FIXME: Eventually win32 might wish to generate to the Debug/Release output directories.
export BUILT_PRODUCTS_DIR="$SRCROOT"
export CREATE_HASH_TABLE="$SRCROOT/../JavaScriptCore/kjs/create_hash_table"

mkdir -p "${BUILT_PRODUCTS_DIR}/DerivedSources/WebCore"
cd "${BUILT_PRODUCTS_DIR}/DerivedSources/WebCore"

export WebCore="${SRCROOT}"
export ENCODINGS_FILE="${WebCore}/platform/win/win-encodings.txt";
export ENCODINGS_PREFIX=""
# FIXME: Should make XPath Support configurable someday on Win32.
export FEATURE_DEFINES="XPATH_SUPPORT"
make -f "$WebCore/DerivedSources.make" || exit 1

cd "$SRCROOT"
{'fraction_non_alphanumeric': 0.1323459149546106, 'fraction_numerical': 0.012422360248447204, 'mean_word_length': 6.122448979591836, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '976280', 'n_tokens_mistral': 767, 'n_tokens_neox': 742, 'n_words': 181}