Closed Bug 915642 Opened 11 years ago Closed 11 years ago

Allow simple variable references in includedeps files

Categories

(Firefox Build System :: General, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla26

People

(Reporter: glandium, Assigned: glandium)

References

Details

Attachments

(1 file)

I'm going to need this in bug 907365 (not really directly, but its future-proofing is requiring it).
Comment on attachment 803662 [details] [diff] [review]
Allow simple variable references in includedeps files

Review of attachment 803662 [details] [diff] [review]:
-----------------------------------------------------------------

I wonder at what point includedeps will have reinvented include :)

::: build/pymake/pymake/parser.py
@@ +409,5 @@
> +                    expansion.appendfunc(functions.VariableRef(None,
> +                        data.StringExpansion(element, None)))
> +                elif element:
> +                    expansion.appendstr(element)
> +                i += 1

Nit: Use enumerate() instead of tracking i explicitly.
Attachment #803662 - Flags: review?(gps) → review+
https://hg.mozilla.org/mozilla-central/rev/b86d7ce8d1eb
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: