Added a simple shell script to find all the headers from a specified
framework or frameworks that are included by files beneath the working
directory.
* Scripts/find-included-framework-headers: Added.
git-svn-id: svn://svn.chromium.org/blink/trunk@20928 bbb929c8-8fbe-4397-9dbb-9b2b20218538
diff --git a/third_party/WebKit/WebKitTools/Scripts/find-included-framework-headers b/third_party/WebKit/WebKitTools/Scripts/find-included-framework-headers
new file mode 100755
index 0000000..1aced26
--- /dev/null
+++ b/third_party/WebKit/WebKitTools/Scripts/find-included-framework-headers
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+for framework in $*; do
+ echo -e "\n$framework\n=================="
+ for ext in cpp h; do
+ find . -name "*.$ext" -exec grep $framework {} ';' | grep include | sed -e 's|.*/\(.*\.h\).*|\1|'
+ done | sort | uniq
+done