Open Bug 688665 Opened 13 years ago Updated 2 years ago

automation.py.in should not be interpolated

Categories

(Firefox Build System :: General, defect)

defect

Tracking

(Not tracked)

People

(Reporter: k0scist, Unassigned)

References

Details

(Whiteboard: [mozbase])

Having automation.py.in interpolated makes it less modular and more difficult to develop.  Most of the information from its interpolation is available elsewhere:

66 #expand _IS_WIN32 = len("__WIN32__") != 0
67 #expand _IS_MAC = __IS_MAC__ != 0
68 #expand _IS_LINUX = __IS_LINUX__ != 0
69 #ifdef IS_CYGWIN
70 #expand _IS_CYGWIN = __IS_CYGWIN__ == 1

^ These are available from mozinfo / writemozinfo.

76 #expand _PERL = __PERL__

^ This isn't used at all

The rest of the information can also be supplied.
Blocks: 688667
_IS_CYGWIN is no longer used and should be removed. We should be pulling everything from mozinfo. The only thing we don't have currently is the default path to the binary, but we can provide that either in mozinfo or in some other fashion.
Blocks: 775756
Product: Core → Firefox Build System
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.