Closed Bug 476163 Opened 16 years ago Closed 16 years ago

consolidate makefile cruft for generating automation.py

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.9.2a1

People

(Reporter: ted, Assigned: ted)

References

Details

(Keywords: fixed1.9.1)

Attachments

(1 file, 1 obsolete file)

Attached patch create and use build/automation-build.mk (obsolete) (deleted) — Splinter Review
Currently we have three consumers of automation.py in the tree, and they all copy-paste the Makefile logic needed to preprocess it. This is pretty awful. I'd like to make this a lot better, but right now I'll settle for making it not awful. This patch just creates build/automation-build.mk which the various Makefiles can include to generate automation.py. At least this keeps the Makefile cruft in one central location. Oh, also, it moves automation.py.in from build/pgo to build/, because although it's used in the pgo script, that's not its sole purpose.
Attachment #359755 - Flags: review?(benjamin)
Attached patch a slight change (deleted) — Splinter Review
Instead of using $(DIST) at all in the preprocessor bits, make consumers specify a TARGET_DEPTH variable, so they can indicate the depth at which automation.py will get installed to in the objdir.
Assignee: nobody → ted.mielczarek
Attachment #359755 - Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #359762 - Flags: review?(benjamin)
Attachment #359755 - Flags: review?(benjamin)
Blocks: 468913
Attachment #359762 - Flags: review?(benjamin) → review+
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Whiteboard: [needs 1.9.1 landing]
Target Milestone: --- → mozilla1.9.2a1
Version: unspecified → Trunk
Whiteboard: [needs 1.9.1 landing] → [needs 1.9.1 landing: after bug 472706]
Keywords: fixed1.9.1
Whiteboard: [needs 1.9.1 landing: after bug 472706]
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: