Changeset 73985 in webkit


Ignore:
Timestamp:
Dec 13, 2010 4:55:03 PM (13 years ago)
Author:
mihaip@chromium.org
Message:

2010-12-13 Mihai Parparita <mihaip@chromium.org>

Reviewed by James Robinson.

Add option to build-webkit to not build WebKit2
https://bugs.webkit.org/show_bug.cgi?id=50988

Add support for a --no-webkit2 option to build-webkit. It seems to save
~1 minute from clean builds and ~10 seconds from no-op builds.

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

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r73982 r73985  
     12010-12-13  Mihai Parparita  <mihaip@chromium.org>
     2
     3        Reviewed by James Robinson.
     4
     5        Add option to build-webkit to not build WebKit2
     6        https://bugs.webkit.org/show_bug.cgi?id=50988
     7       
     8        Add support for a --no-webkit2 option to build-webkit. It seems to save
     9        ~1 minute from clean builds and ~10 seconds from no-op builds.
     10
     11        * Scripts/build-webkit:
     12
    1132010-12-13  Lucas Forschler  <lforschler@apple.com>
    214
  • trunk/WebKitTools/Scripts/build-webkit

    r73624 r73985  
    5656my $prefixPath;
    5757my $makeArgs;
     58my $noWebKit2 = 0;
    5859my $startTime = time();
    5960
     
    326327    'minimal' => \$minimal,
    327328    'v8' => \$v8,
     329    'no-webkit2' => \$noWebKit2,
    328330);
    329331
     
    404406
    405407    # WebKit2 is only supported in SnowLeopard and later at present.
    406     push @projects, ("WebKit2", "WebKitTools/MiniBrowser") if osXVersion()->{"minor"} >= 6;
     408    push @projects, ("WebKit2", "WebKitTools/MiniBrowser") if osXVersion()->{"minor"} >= 6 and !$noWebKit2;
    407409
    408410    # Copy library and header from WebKitLibraries to a findable place in the product directory.
Note: See TracChangeset for help on using the changeset viewer.