Changeset 56918 in webkit


Ignore:
Timestamp:
Apr 1, 2010 9:54:53 AM (14 years ago)
Author:
eric@webkit.org
Message:

2010-04-01 Adam Barth <abarth@webkit.org>

Reviewed by Dimitri Glazkov.

Let Chromium Windows build with Visual Studio Express
https://bugs.webkit.org/show_bug.cgi?id=36919

This is horrible, horrible copy/paste code, but that seems to be the
way of webkitdirs.pm. :(

Someone needs to go through an cleanup this code, but I don't have the
heart to do it in this patch.

  • Scripts/webkitdirs.pm:
Location:
trunk/WebKitTools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r56913 r56918  
     12010-04-01  Adam Barth  <abarth@webkit.org>
     2
     3        Reviewed by Dimitri Glazkov.
     4
     5        Let Chromium Windows build with Visual Studio Express
     6        https://bugs.webkit.org/show_bug.cgi?id=36919
     7
     8        This is horrible, horrible copy/paste code, but that seems to be the
     9        way of webkitdirs.pm.  :(
     10
     11        Someone needs to go through an cleanup this code, but I don't have the
     12        heart to do it in this patch.
     13
     14        * Scripts/webkitdirs.pm:
     15
    1162010-04-01  Ilya Tikhonovsky  <loislo@chromium.org>
    217
  • trunk/WebKitTools/Scripts/webkitdirs.pm

    r56419 r56918  
    14521452    chomp $vsInstallDir;
    14531453    $vcBuildPath = "$vsInstallDir/Common7/IDE/devenv.com";
     1454    if (-e $vcBuildPath) {
     1455        # Visual Studio is installed; we can use pdevenv to build.
     1456        $vcBuildPath = File::Spec->catfile(sourceDir(), qw(WebKitTools Scripts pdevenv));
     1457    } else {
     1458        # Visual Studio not found, try VC++ Express
     1459        $vcBuildPath = "$vsInstallDir/Common7/IDE/VCExpress.exe";
     1460        if (! -e $vcBuildPath) {
     1461            print "*************************************************************\n";
     1462            print "Cannot find '$vcBuildPath'\n";
     1463            print "Please execute the file 'vcvars32.bat' from\n";
     1464            print "'$programFilesPath\\Microsoft Visual Studio 8\\VC\\bin\\'\n";
     1465            print "to setup the necessary environment variables.\n";
     1466            print "*************************************************************\n";
     1467            die;
     1468        }
     1469    }
    14541470
    14551471    # Create command line and execute it.
Note: See TracChangeset for help on using the changeset viewer.