Bug 48184 - build-webkit: reformat support variables for better maintainability
Summary: build-webkit: reformat support variables for better maintainability
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other OS X 10.5
: P2 Normal
Assignee: David Kilzer (:ddkilzer)
URL:
Keywords:
Depends on:
Blocks: 48185
  Show dependency treegraph
 
Reported: 2010-10-23 06:29 PDT by David Kilzer (:ddkilzer)
Modified: 2010-10-24 06:53 PDT (History)
3 users (show)

See Also:


Attachments
Patch v1 (8.36 KB, patch)
2010-10-23 06:32 PDT, David Kilzer (:ddkilzer)
dbates: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Kilzer (:ddkilzer) 2010-10-23 06:29:39 PDT
build-webkit: reformat support variables for better maintainability
Comment 1 David Kilzer (:ddkilzer) 2010-10-23 06:32:53 PDT
Created attachment 71638 [details]
Patch v1
Comment 2 Daniel Bates 2010-10-23 22:08:37 PDT
Comment on attachment 71638 [details]
Patch v1

Looks good to me.

r=me
Comment 3 Daniel Bates 2010-10-23 22:11:56 PDT
Comment on attachment 71638 [details]
Patch v1

View in context: https://bugs.webkit.org/attachment.cgi?id=71638&action=review

> WebKitTools/Scripts/build-webkit:62
> +    $threeDCanvasSupport,
> +    $threeDRenderingSupport,

These are not in alphabetical order. I take it you were ordering these assuming "threeD" is interpreted as "3D"?
Comment 4 Daniel Bates 2010-10-23 22:15:08 PDT
Comment on attachment 71638 [details]
Patch v1

View in context: https://bugs.webkit.org/attachment.cgi?id=71638&action=review

> WebKitTools/Scripts/build-webkit:90
> +    $svgSupport,

This is also not in the correct place if we are alphabetically ordering this list.
Comment 5 David Kilzer (:ddkilzer) 2010-10-24 06:52:48 PDT
(In reply to comment #3)
> > WebKitTools/Scripts/build-webkit:62
> > +    $threeDCanvasSupport,
> > +    $threeDRenderingSupport,
> 
> These are not in alphabetical order. I take it you were ordering these assuming "threeD" is interpreted as "3D"?

(In reply to comment #4)
> > WebKitTools/Scripts/build-webkit:90
> > +    $svgSupport,
> 
> This is also not in the correct place if we are alphabetically ordering this list.

I reworded the ChangeLog.  What I did was to alphabetize @features by the name of the feature, then declare the support variables in the same order.  Because variables can't start with a number ("3d"), the $threeD* variables appear at the top of the list.   Also because "Support" is added to the end of all the variable names, $svgSupport is technically out of alphabetical order in the list compared to the other variable names, but it matches the order in @features.

Thanks!
Comment 6 David Kilzer (:ddkilzer) 2010-10-24 06:53:30 PDT
Committed r70412: <http://trac.webkit.org/changeset/70412>