12bde8e466a4451c7319e3a072d118917957d6554Steve Block#!/bin/sh 22bde8e466a4451c7319e3a072d118917957d6554Steve Block 32bde8e466a4451c7319e3a072d118917957d6554Steve Block# Copy all the Inspector front-end resources. 42bde8e466a4451c7319e3a072d118917957d6554Steve Blockditto "${SRCROOT}/../inspector/front-end" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/inspector" 52bde8e466a4451c7319e3a072d118917957d6554Steve Blockditto "${BUILT_PRODUCTS_DIR}/DerivedSources/WebCore/InspectorBackendStub.js" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/inspector" 62bde8e466a4451c7319e3a072d118917957d6554Steve Block 72bde8e466a4451c7319e3a072d118917957d6554Steve Block# Remove the WebKit.qrc file since it is not used on the Mac (this file is for Qt). 82bde8e466a4451c7319e3a072d118917957d6554Steve Blockrm -f "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/inspector/WebKit.qrc" 92bde8e466a4451c7319e3a072d118917957d6554Steve Block 102bde8e466a4451c7319e3a072d118917957d6554Steve Block# Remove *.re2js files, they are only used to generate some .js files. 112bde8e466a4451c7319e3a072d118917957d6554Steve Blockrm -f "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/inspector/"*.re2js 122bde8e466a4451c7319e3a072d118917957d6554Steve Block 132bde8e466a4451c7319e3a072d118917957d6554Steve Block# Remove any .svn directories that may have been copied over. 142bde8e466a4451c7319e3a072d118917957d6554Steve Blockfind "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/inspector" -name ".svn" -type d | xargs rm -rf 15