webengine/osswebengine/WebKitTools/Scripts/find-included-framework-headers
author tahirm@symbian.org
Tue, 29 Sep 2009 14:16:06 +0100
branchRCL_1
changeset 9 9cbc205f4c45
parent 0 dd21522fd290
permissions -rw-r--r--
Created branch for release codeline RCL_1, for maintenance changes to the Symbian^2 platform

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