Changeset 223454 in webkit


Ignore:
Timestamp:
Oct 16, 2017 7:30:58 PM (7 years ago)
Author:
commit-queue@webkit.org
Message:

[Win] Webkit should still be able to build when unable to check if libraries are up to date
https://bugs.webkit.org/show_bug.cgi?id=178367

Adding a option to skip the check to see if windows libraries are up to date.
This option is useful when testing modified libraries. This option also allows
building webkit when GitHub blocks requests to verify the latest library version.

Patch by Christopher Reid <chris.reid@sony.com> on 2017-10-16
Reviewed by Per Arne Vollan.

  • Scripts/build-webkit:
Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r223451 r223454  
     12017-10-16  Christopher Reid  <chris.reid@sony.com>
     2
     3        [Win] Webkit should still be able to build when unable to check if libraries are up to date
     4        https://bugs.webkit.org/show_bug.cgi?id=178367
     5
     6        Adding a option to skip the check to see if windows libraries are up to date.
     7        This option is useful when testing modified libraries. This option also allows
     8        building webkit when GitHub blocks requests to verify the latest library version.
     9
     10
     11        Reviewed by Per Arne Vollan.
     12
     13        * Scripts/build-webkit:
     14
    1152017-10-12  Matt Rajca  <mrajca@apple.com>
    216
  • trunk/Tools/Scripts/build-webkit

    r222538 r223454  
    6666my $startTime = time();
    6767my $archs32bit = 0;
     68my $skipLibraryUpdate = 0;
    6869
    6970my @features = getFeatureOptionList();
     
    118119  --only-webkit                     Build only the WebKit project
    119120
     121  --skip-library-update             Skip the check to see if windows libraries are up to date
     122
    120123EOF
    121124
     
    134137    'analyze' => \$shouldRunStaticAnalyzer,
    135138    'default-cmake-features' => \$defaultCMakeFeatures,
     139    'skip-library-update' => \$skipLibraryUpdate
    136140);
    137141
     
    224228    push @projects, ("Tools/DumpRenderTree", "Tools/WebKitTestRunner", "Source/ThirdParty/gtest", "Tools/TestWebKitAPI");
    225229
    226 } elsif (isWinCairo()) {
     230} elsif (isWinCairo() && !$skipLibraryUpdate) {
    227231    (system("python Tools/Scripts/update-webkit-wincairo-libs.py") == 0) or die;
    228 } elsif (isAppleWinWebKit()) {
     232} elsif (isAppleWinWebKit() && !$skipLibraryUpdate) {
    229233    # Copy WebKitSupportLibrary to the correct location in WebKitLibraries so it can be found.
    230234    # Will fail if WebKitSupportLibrary.zip is not in source root.
Note: See TracChangeset for help on using the changeset viewer.