Changeset 116088 in webkit
- Timestamp:
- May 4, 2012 6:16:56 AM (12 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r116085 r116088 1 2012-05-04 Allan Sandfeld Jensen <allan.jensen@nokia.com> 2 3 REGRESSION(r116008) old-run-webkit-tests broken 4 https://bugs.webkit.org/show_bug.cgi?id=85597 5 6 Reviewed by Simon Hausmann. 7 8 Reinstate libraryContainsSymbol. 9 10 * Scripts/webkitperl/features.pm: 11 (libraryContainsSymbol): 12 1 13 2012-05-04 Zoltan Horvath <zoltan@webkit.org> 2 14 -
trunk/Tools/Scripts/webkitperl/features.pm
r116008 r116088 46 46 } 47 47 48 sub libraryContainsSymbol($$) 49 { 50 my ($path, $symbol) = @_; 51 52 if (isCygwin() or isWindows()) { 53 # FIXME: Implement this for Windows. 54 return 0; 55 } 56 57 my $foundSymbol = 0; 58 if (-e $path) { 59 open NM, "-|", nmPath(), $path or die; 60 while (<NM>) { 61 $foundSymbol = 1 if /$symbol/; # FIXME: This should probably check for word boundaries before/after the symbol name. 62 } 63 close NM; 64 } 65 return $foundSymbol; 66 } 67 48 68 sub hasFeature($$) 49 69 {
Note: See TracChangeset
for help on using the changeset viewer.