Changeset 116036 in webkit


Ignore:
Timestamp:
May 3, 2012 4:09:41 PM (12 years ago)
Author:
eric@webkit.org
Message:

--coverage should not not use the "feature" options system in build-webkit, similarly remove special-casing for WTF_URL
https://bugs.webkit.org/show_bug.cgi?id=85542

Reviewed by Daniel Bates.

Remove these last two odd-men-out, so that we can generate the default feature options
for build-webkit using the new generate-feature-files command.
The Mac build system has some special casing for ENABLE_ defines which gets them
defined as -D on the build command, even though initially they start out as
environment variables ENABLE_FOO = ENABLE_FOO. The Feature options in build-webkit
depend on this support, but it doesn't work for WTF_USE_ defines like WTF_USE_WTF_URL.
I'm told that WTF_URL is not actively being worked on, so just removing it for now.
It should probably come back to life as an ENABLE_, or build-webkit or the Xcode projects
should be made generically smarter about these USE_WTF defines.
(There is still WTF_USE_TILED_BACKING_STORE in the feature list, but it only seems
used by Qt. If someone tried build-webkit --tiled-backing-store on Mac today it
would not work!)

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

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r116034 r116036  
     12012-05-03  Eric Seidel  <eric@webkit.org>
     2
     3        --coverage should not not use the "feature" options system in build-webkit, similarly remove special-casing for WTF_URL
     4        https://bugs.webkit.org/show_bug.cgi?id=85542
     5
     6        Reviewed by Daniel Bates.
     7
     8        Remove these last two odd-men-out, so that we can generate the default feature options
     9        for build-webkit using the new generate-feature-files command.
     10        The Mac build system has some special casing for ENABLE_ defines which gets them
     11        defined as -D on the build command, even though initially they start out as
     12        environment variables ENABLE_FOO = ENABLE_FOO.  The Feature options in build-webkit
     13        depend on this support, but it doesn't work for WTF_USE_ defines like WTF_USE_WTF_URL.
     14        I'm told that WTF_URL is not actively being worked on, so just removing it for now.
     15        It should probably come back to life as an ENABLE_, or build-webkit or the Xcode projects
     16        should be made generically smarter about these USE_WTF defines.
     17        (There is still WTF_USE_TILED_BACKING_STORE in the feature list, but it only seems
     18        used by Qt.  If someone tried build-webkit --tiled-backing-store on Mac today it
     19        would not work!)
     20
     21        * Scripts/build-webkit:
     22
    1232012-05-03  Eric Seidel  <eric@webkit.org>
    224
  • trunk/Tools/Scripts/build-webkit

    r116034 r116036  
    6262my $onlyWebKitProject = 0;
    6363my $noWebKit2 = 0;
     64my $coverageSupport = 0;
    6465my $startTime = time();
    6566
     
    7374    $blobSupport,
    7475    $channelMessagingSupport,
    75     $coverageSupport,
    7676    $cssFiltersSupport,
    7777    $cssGridLayoutSupport,
     
    143143    $workersSupport,
    144144    $xsltSupport,
    145     $wtfURL,
    146145);
    147146
     
    183182      define => "ENABLE_CSS_SHADERS", default => 0, value => \$cssShadersSupport },
    184183
    185     { option => "coverage", desc => "Toggle code coverage support",
    186       define => "", default => 0, value => \$coverageSupport },
    187 
    188184    { option => "sql-database", desc => "Toggle SQL Database Support",
    189185      define => "ENABLE_SQL_DATABASE", default => 1, value => \$sqlDatabaseSupport },
     
    374370    { option => "workers", desc => "Toggle Web Workers support",
    375371      define => "ENABLE_WORKERS", default => (isAppleWebKit() || isGtk() || isBlackBerry() || isEfl()), value => \$workersSupport },
    376 
    377     { option => "wtfurl", desc => "Toogle the use of WTFURL for URL parsing",
    378       define => "WTF_USE_WTFURL", default => 0, value => \$wtfURL },
    379372
    380373    { option => "xslt", desc => "Toggle XSLT support",
     
    428421  --debug                           Compile in debug mode
    429422  --gyp                             Use GYP-generated project files
    430   --dsym                            Change debugging format to dwarf-with-dsym (Mac only)
     423  --coverage                        Enable Code Coverage support (Mac only)
    431424
    432425  --blackberry                      Build the BlackBerry port on Mac/Linux
     
    470463    'only-webkit' => \$onlyWebKitProject,
    471464    'no-webkit2' => \$noWebKit2,
     465    'coverage' => \$coverageSupport,
    472466);
    473467
     
    548542
    549543    foreach (@features) {
    550         if ($_->{option} ne "coverage" && $_->{option} ne "wtfurl") {
    551             my $option = option($_->{define}, ${$_->{value}}, $_->{default});
    552             push @options, $option unless $option eq "";
    553         }
     544        my $option = option($_->{define}, ${$_->{value}}, $_->{default});
     545        push @options, $option unless $option eq "";
    554546    }
    555547
     
    719711        my @local_options = @options;
    720712        push @local_options, XcodeCoverageSupportOptions() if $coverageSupport && $project ne "ANGLE";
    721         push @local_options, "OTHER_CFLAGS= \$(OTHER_CFLAGS) -DWTF_USE_WTFURL=1" if $wtfURL;
    722713        my $useGYPProject = $useGYP && ($project =~ "WebCore|JavaScriptCore");
    723714        my $projectPath = $useGYPProject ? "gyp/$project" : $project;
Note: See TracChangeset for help on using the changeset viewer.