webengine/osswebengine/WebKitTools/Scripts/find-included-framework-headers
author asimpson@symbian.org
Thu, 15 Oct 2009 18:00:25 +0100
branchRCL_1
changeset 21 c1bc4bcc930c
parent 0 dd21522fd290
permissions -rw-r--r--
Added tag PDK_2.0.0 for changeset 9cbc205f4c45

#!/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