Re-enable generate-xcfilelists
[WebKit-https.git] / Tools / WebKitTestRunner / Scripts / check-xcfilelists.sh
1 #!/bin/sh
2
3 [ "${WK_DISABLE_CHECK_XCFILELISTS}" == "1" ] && { echo "### Not running because WK_DISABLE_CHECK_XCFILELISTS is set"; exit 0; }
4 [ "${DEPLOYMENT_LOCATION}" == "YES" ] && { echo "### Not running because DEPLOYMENT_LOCATION is YES"; exit 0; }
5 [ "${USE_INTERNAL_SDK}" == "YES" ] || { echo "### Not running because USE_INTERNAL_SDK is not YES"; exit 0; }
6
7 SCRIPT="${BUILD_SCRIPTS_DIR}/generate-xcfilelists"
8 [ -f "${SCRIPT}" ] || SCRIPT="${PROJECT_DIR}/../../../${WK_ADDITIONAL_SCRIPTS_DIR}/generate-xcfilelists"
9 [ -f "${SCRIPT}" ] || SCRIPT="${PROJECT_DIR}/../../Tools/Scripts/generate-xcfilelists"
10 [ -f "${SCRIPT}" ] || { echo "### Cannot find generate-xcfilelists script"; exit 1; }
11
12 "${SCRIPT}" generate-xcode --project WebKitTestRunner --platform "${PLATFORM_NAME}" --configuration "${CONFIGURATION}"