Changeset 116036 in webkit
- Timestamp:
- May 3, 2012 4:09:41 PM (12 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r116034 r116036 1 2012-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 1 23 2012-05-03 Eric Seidel <eric@webkit.org> 2 24 -
trunk/Tools/Scripts/build-webkit
r116034 r116036 62 62 my $onlyWebKitProject = 0; 63 63 my $noWebKit2 = 0; 64 my $coverageSupport = 0; 64 65 my $startTime = time(); 65 66 … … 73 74 $blobSupport, 74 75 $channelMessagingSupport, 75 $coverageSupport,76 76 $cssFiltersSupport, 77 77 $cssGridLayoutSupport, … … 143 143 $workersSupport, 144 144 $xsltSupport, 145 $wtfURL,146 145 ); 147 146 … … 183 182 define => "ENABLE_CSS_SHADERS", default => 0, value => \$cssShadersSupport }, 184 183 185 { option => "coverage", desc => "Toggle code coverage support",186 define => "", default => 0, value => \$coverageSupport },187 188 184 { option => "sql-database", desc => "Toggle SQL Database Support", 189 185 define => "ENABLE_SQL_DATABASE", default => 1, value => \$sqlDatabaseSupport }, … … 374 370 { option => "workers", desc => "Toggle Web Workers support", 375 371 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 },379 372 380 373 { option => "xslt", desc => "Toggle XSLT support", … … 428 421 --debug Compile in debug mode 429 422 --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) 431 424 432 425 --blackberry Build the BlackBerry port on Mac/Linux … … 470 463 'only-webkit' => \$onlyWebKitProject, 471 464 'no-webkit2' => \$noWebKit2, 465 'coverage' => \$coverageSupport, 472 466 ); 473 467 … … 548 542 549 543 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 ""; 554 546 } 555 547 … … 719 711 my @local_options = @options; 720 712 push @local_options, XcodeCoverageSupportOptions() if $coverageSupport && $project ne "ANGLE"; 721 push @local_options, "OTHER_CFLAGS= \$(OTHER_CFLAGS) -DWTF_USE_WTFURL=1" if $wtfURL;722 713 my $useGYPProject = $useGYP && ($project =~ "WebCore|JavaScriptCore"); 723 714 my $projectPath = $useGYPProject ? "gyp/$project" : $project;
Note: See TracChangeset
for help on using the changeset viewer.