From 563af33bc48281d19dce701398dbb88cb54fd7ec Mon Sep 17 00:00:00 2001 From: Cary Clark <> Date: Tue, 14 Apr 2009 06:33:00 -0700 Subject: AI 146110: add missing files to webkit brings it in sync with webkit svn cl 42046 Automated import of CL 146110 --- WebKitTools/Scripts/find-included-framework-headers | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 WebKitTools/Scripts/find-included-framework-headers (limited to 'WebKitTools/Scripts/find-included-framework-headers') diff --git a/WebKitTools/Scripts/find-included-framework-headers b/WebKitTools/Scripts/find-included-framework-headers new file mode 100755 index 0000000..3e7aaf6 --- /dev/null +++ b/WebKitTools/Scripts/find-included-framework-headers @@ -0,0 +1,10 @@ +#!/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 -- cgit v1.1