webengine/osswebengine/WebKitTools/Scripts/find-included-framework-headers
author William Roberts <williamr@symbian.org>
Sun, 14 Mar 2010 13:13:51 +0000
branchCompilerCompatibility
changeset 57 5e70f2223398
parent 0 dd21522fd290
permissions -rw-r--r--
Automatic merge from PDK_3.0.h

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