Changeset 59646 in webkit


Ignore:
Timestamp:
May 17, 2010 9:04:50 PM (14 years ago)
Author:
tkent@chromium.org
Message:

Chromium Windows build system does not rebuild correctly when
enabling/disabling a feature
https://bugs.webkit.org/show_bug.cgi?id=38926

Reviewed by David Levin.

Add a workaround of this issue.

  • Scripts/update-webkit: Chromium-Windows only: If WebKit/chromium/features.gyp has been updated, remove WebKit/chromium/Debug and WebKit/chromium/Release.
Location:
trunk/WebKitTools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r59636 r59646  
     12010-05-17  Kent Tamura  <tkent@chromium.org>
     2
     3        Reviewed by David Levin.
     4
     5        Chromium Windows build system does not rebuild correctly when
     6        enabling/disabling a feature
     7        https://bugs.webkit.org/show_bug.cgi?id=38926
     8
     9        Add a workaround of this issue.
     10
     11        * Scripts/update-webkit:
     12          Chromium-Windows only: If WebKit/chromium/features.gyp has been
     13          updated, remove WebKit/chromium/Debug and WebKit/chromium/Release.
     14
    1152010-05-17  Sheriff Bot  <webkit.review.bot@gmail.com>
    216
  • trunk/WebKitTools/Scripts/update-webkit

    r51932 r59646  
    3434use lib $FindBin::Bin;
    3535use File::Basename;
     36use File::Path;
    3637use File::Spec;
    3738use Getopt::Long;
     
    6869}
    6970
     71my $startTime = time();
     72
    7073my @svnOptions = ();
    7174push @svnOptions, '-q' if $quiet;
     
    8487    runGitUpdate() if $isGit;
    8588} elsif (isChromium()) {
     89    # Workaround for https://bugs.webkit.org/show_bug.cgi?id=38926
     90    # We should remove the following "if" block when we find a right fix.
     91    if ((isCygwin() || isWindows()) && (stat("WebKit/chromium/features.gypi"))[9] >= $startTime) {
     92        print "features.gypi has been updated. Cleaning the build directories.\n";
     93        rmtree(["WebKit/chromium/Debug", "WebKit/chromium/Release"]);
     94    }
     95
    8696    system("perl", "WebKitTools/Scripts/update-webkit-chromium") == 0 or die $!;
    8797} elsif (isAppleWinWebKit()) {
Note: See TracChangeset for help on using the changeset viewer.