Fix Bug 15532: run-safari fails if Safari is installed in a non-default location
authoraroben <aroben@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 17 Oct 2007 20:11:24 +0000 (20:11 +0000)
committeraroben <aroben@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 17 Oct 2007 20:11:24 +0000 (20:11 +0000)
commit7084f25112409006045fd1ebb1d9d49599a3fdbe
tree9a90ecda572a73b6b2c9765d89868fdfca00eaaa
parent77db9a38d89c8013c4af90a37ffc96940bfef716
 Fix Bug 15532: run-safari fails if Safari is installed in a non-default location

 WebKitTools:

         Fix Bug 15532: run-safari fails if Safari is installed in a non-default location

         http://bugs.webkit.org/show_bug.cgi?id=15532

         FindSafari simply prints the location of an installed Safari.exe on
         stdout.

         Reviewed by Darin.

         * FindSafari/FindSafari.cpp: Copied from WebKitTools/WebKitInitializer/WebKitInitializer.cpp.
         (getStringValue):
         (getWebViewCLSID):
         (getInstalledWebKitDirectory):
         (_tmain):
         * FindSafari/FindSafari.vcproj: Added.
         * Scripts/webkitdirs.pm:
         (sub installedSafariPath): Added. Calls FindSafari on Windows.

 WebKit/win:

         Add FindSafari

         Reviewed by Darin.

         * WebKit.vcproj/WebKit.sln:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@26706 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKit/win/ChangeLog
WebKit/win/WebKit.vcproj/WebKit.sln
WebKitTools/ChangeLog
WebKitTools/FindSafari/FindSafari.cpp [new file with mode: 0644]
WebKitTools/FindSafari/FindSafari.vcproj [new file with mode: 0644]
WebKitTools/Scripts/webkitdirs.pm