Changeset 116034 in webkit
- Timestamp:
- May 3, 2012 3:54:55 PM (12 years ago)
- Location:
- trunk/Tools
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r116029 r116034 1 2012-05-03 Eric Seidel <eric@webkit.org> 2 3 Remove the last bits of Leopard support from our perl scripts 4 https://bugs.webkit.org/show_bug.cgi?id=85545 5 6 Reviewed by Daniel Bates. 7 8 Chromium still supports Leopard (for a little while yet), but AppleMacWebKit dropped 9 Leopard support several months ago. Remove the last bits of isLeopard() branching 10 in our Perl scripts, since no one is using this (Chromium has never used this Perl code). 11 12 * Scripts/build-webkit: 13 * Scripts/old-run-webkit-tests: 14 (countAndPrintLeaks): 15 (captureSavedCrashLog): 16 * Scripts/webkitdirs.pm: 17 (determineArchitecture): 18 (argumentsForRunAndDebugMacWebKitApp): 19 1 20 2012-05-03 Ojan Vafai <ojan@chromium.org> 2 21 -
trunk/Tools/Scripts/build-webkit
r116008 r116034 154 154 155 155 { option => "3d-canvas", desc => "Toggle 3D canvas (WebGL) support", 156 define => "ENABLE_WEBGL", default => (isAppleMacWebKit() && !isLeopard()), value => \$threeDCanvasSupport },156 define => "ENABLE_WEBGL", default => isAppleMacWebKit(), value => \$threeDCanvasSupport }, 157 157 158 158 { option => "3d-rendering", desc => "Toggle 3D rendering support", -
trunk/Tools/Scripts/old-run-webkit-tests
r110273 r116034 220 220 221 221 if (isAppleMacWebKit()) { 222 if (isLeopard()) { 223 $platform = "mac-leopard"; 224 $tolerance = 0.1; 225 } elsif (isSnowLeopard()) { 222 if (isSnowLeopard()) { 226 223 $platform = "mac-snowleopard"; 227 224 $tolerance = 0.1; … … 1246 1243 ); 1247 1244 1248 if (isLeopard()) {1249 # Leak list for the version of Leopard used on the build bot.1250 push @callStacksToExclude, (1251 "CFHTTPMessageAppendBytes", # leak in CFNetwork, rdar://problem/54359121252 "sendDidReceiveDataCallback", # leak in CFNetwork, rdar://problem/54416191253 "_CFHTTPReadStreamReadMark", # leak in CFNetwork, rdar://problem/54414681254 "httpProtocolStart", # leak in CFNetwork, rdar://problem/54688371255 "_CFURLConnectionSendCallbacks", # leak in CFNetwork, rdar://problem/54416001256 "DispatchQTMsg", # leak in QuickTime, PPC only, rdar://problem/56671321257 "QTMovieContentView createVisualContext", # leak in QuickTime, PPC only, rdar://problem/56671321258 "_CopyArchitecturesForJVMVersion", # leak in Java, rdar://problem/59108231259 );1260 }1261 1262 1245 if (isSnowLeopard()) { 1263 1246 push @callStacksToExclude, ( … … 1800 1783 $glob = File::Spec->catfile($testResultsDirectory, $windowsCrashLogFilePrefix . "*.txt"); 1801 1784 } elsif (isAppleMacWebKit()) { 1802 my $crashLogDirectoryName; 1803 if (isLeopard()) { 1804 $crashLogDirectoryName = "CrashReporter"; 1805 } else { 1806 $crashLogDirectoryName = "DiagnosticReports"; 1807 } 1808 1809 $glob = File::Spec->catfile("~", "Library", "Logs", $crashLogDirectoryName, ($webProcessCrashed ? "WebProcess" : $dumpToolName) . "_*.crash"); 1785 $glob = File::Spec->catfile("~", "Library", "Logs", "DiagnosticReports", ($webProcessCrashed ? "WebProcess" : $dumpToolName) . "_*.crash"); 1810 1786 1811 1787 # Even though the dump tool has exited, CrashReporter might still be running. We need to -
trunk/Tools/Scripts/webkitdirs.pm
r115978 r116034 314 314 chomp $architecture; 315 315 } else { 316 if (isLeopard()) { 317 $architecture = `arch`; 318 } else { 319 my $supports64Bit = `sysctl -n hw.optional.x86_64`; 320 chomp $supports64Bit; 321 $architecture = $supports64Bit ? 'x86_64' : `arch`; 322 } 316 my $supports64Bit = `sysctl -n hw.optional.x86_64`; 317 chomp $supports64Bit; 318 $architecture = $supports64Bit ? 'x86_64' : `arch`; 323 319 chomp $architecture; 324 320 } … … 1353 1349 determineOSXVersion(); 1354 1350 return $osXVersion; 1355 }1356 1357 sub isLeopard()1358 {1359 return isDarwin() && osXVersion()->{"minor"} == 5;1360 1351 } 1361 1352 … … 2489 2480 { 2490 2481 my @args = @ARGV; 2491 push @args, ("-ApplePersistenceIgnoreState", "YES") if !is Leopard() && !isSnowLeopard() && checkForArgumentAndRemoveFromArrayRef("--no-saved-state", \@args);2482 push @args, ("-ApplePersistenceIgnoreState", "YES") if !isSnowLeopard() && checkForArgumentAndRemoveFromArrayRef("--no-saved-state", \@args); 2492 2483 return @args; 2493 2484 }
Note: See TracChangeset
for help on using the changeset viewer.