Changeset 139689 in webkit


Ignore:
Timestamp:
Jan 14, 2013 5:00:42 PM (11 years ago)
Author:
thakis@chromium.org
Message:

[chromium] Enable update-webkit --chromium --ninja on windows
https://bugs.webkit.org/show_bug.cgi?id=106836

Reviewed by Eric Seidel.

After running this, build-webkit --chromium will use ninja to build.
Apparently there are some minor issues with that still, so it's
not quite ready for use yet.

  • Scripts/webkitdirs.pm:

(determineIsChromiumNinja):
(buildChromium):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r139679 r139689  
     12013-01-14  Nico Weber  <thakis@chromium.org>
     2
     3        [chromium] Enable `update-webkit --chromium --ninja` on windows
     4        https://bugs.webkit.org/show_bug.cgi?id=106836
     5
     6        Reviewed by Eric Seidel.
     7
     8        After running this, build-webkit --chromium will use ninja to build.
     9        Apparently there are some minor issues with that still, so it's
     10        not quite ready for use yet.
     11
     12        * Scripts/webkitdirs.pm:
     13        (determineIsChromiumNinja):
     14        (buildChromium):
     15
    1162013-01-14  Dirk Pranke  <dpranke@chromium.org>
    217
  • trunk/Tools/Scripts/webkitdirs.pm

    r139431 r139689  
    12211221        }
    12221222
    1223         $hasUpToDateNinjabuild = $statNinja > $statXcode && $statNinja > $statMake;
     1223        my $statVisualStudio = 0;
     1224        if (-e 'Source/WebKit/chromium/All.sln') {
     1225          $statVisualStudio = stat('Source/WebKit/chromium/All.sln')->mtime;
     1226        }
     1227
     1228        $hasUpToDateNinjabuild = $statNinja > $statXcode && $statNinja > $statMake && $statNinja > $statVisualStudio;
    12241229    }
    12251230    $isChromiumNinja = $hasUpToDateNinjabuild;
     
    25532558        # Mac build - builds the root xcode project.
    25542559        $result = buildXCodeProject("Source/WebKit/chromium/All", $clean, "-configuration", configuration(), @options);
    2555     } elsif (isCygwin() || isWindows()) {
     2560    } elsif ((isCygwin() || isWindows()) && !isChromiumNinja()) {
    25562561        # Windows build - builds the root visual studio solution.
    25572562        $result = buildChromiumVisualStudioProject("Source/WebKit/chromium/All.sln", $clean);
Note: See TracChangeset for help on using the changeset viewer.