webengine/osswebengine/WebKitTools/Scripts/find-included-framework-headers
author Chetan Kapoor <chetank@symbian.org>
Mon, 26 Oct 2009 14:44:08 +0000
branchCompilerCompatibility
changeset 24 9993978961bf
parent 0 dd21522fd290
permissions -rw-r--r--
Bug 648 - declaration of CHttpDownloadManagerServerEngine::ActiveDownloads() should be IMPORT_C not EXPORT_C

#!/bin/sh

FILE_EXTENSIONS_TO_SEARCH="cpp h m mm"

for framework in $*; do
    echo -e "\n$framework\n=================="
    for ext in ${FILE_EXTENSIONS_TO_SEARCH}; do
        find . -name "*.$ext" -exec grep $framework {} ';' | grep '\(include\|import\)' | sed -e 's|.*/\(.*\.h\).*|\1|'
    done | sort | uniq
done