| Summary: | copy-webkitlibraries-to-product-directory uses wrong SDK when called from build-webkit | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Daniel Bates <dbates> | ||||||
| Component: | Tools / Tests | Assignee: | Daniel Bates <dbates> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | ddkilzer, lforschler, mrowe, simon.fraser | ||||||
| Priority: | P2 | ||||||||
| Version: | 528+ (Nightly build) | ||||||||
| Hardware: | Mac | ||||||||
| OS: | All | ||||||||
| Bug Depends on: | |||||||||
| Bug Blocks: | 139831 | ||||||||
| Attachments: |
|
||||||||
|
Description
Daniel Bates
2014-12-19 12:37:32 PST
Created attachment 243565 [details]
Patch
Created attachment 243567 [details]
Patch
Comment on attachment 243567 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=243567&action=review > Tools/Scripts/copy-webkitlibraries-to-product-directory:-76 > - 'sdk-name=s' => \$sdkName, I think that you should also remove this line above: my $sdkName = ""; # Ideally we only use this for build commands, rather than deciding policies about what needs to get copied or built and where it needs to be placed. > Tools/Scripts/copy-webkitlibraries-to-product-directory:103 > +sub ranLib($) This function name lacks a verb. Maybe executeRanlib? Or if there is a more helpful explanation of what this function does, that should be in the name. (In reply to comment #3) > > Tools/Scripts/copy-webkitlibraries-to-product-directory:-76 > > - 'sdk-name=s' => \$sdkName, > > I think that you should also remove this line above: > > my $sdkName = ""; # Ideally we only use this for build commands, rather than > deciding policies about what needs to get copied or built and where it needs > to be placed. Will remove. > > > Tools/Scripts/copy-webkitlibraries-to-product-directory:103 > > +sub ranLib($) > > This function name lacks a verb. Maybe executeRanlib? Or if there is a more > helpful explanation of what this function does, that should be in the name. Will rename to updateTableOfContentsForLibrary. (In reply to comment #4) > > > > > Tools/Scripts/copy-webkitlibraries-to-product-directory:103 > > > +sub ranLib($) > > > > This function name lacks a verb. Maybe executeRanlib? Or if there is a more > > helpful explanation of what this function does, that should be in the name. > > Will rename to updateTableOfContentsForLibrary. Actually, there are many references through out this script to ranlib. For now, I'm going to go with your suggestion and rename the function to executeRanlib() for consistency. I suggest we look to update the terminology used in this script in another patch. Committed r177602: <http://trac.webkit.org/changeset/177602> |