Open Bug 1224463 Opened 8 years ago Updated 1 year ago

Change how sources are emitted to build backends


(Firefox Build System :: General, defect)



(Not tracked)


(Reporter: glandium, Unassigned, NeedInfo)


(Depends on 1 open bug)


With the way things are currently emitted, every backend that wants to process compilation needs its own sauce to correlate per-file flags, per-directory flags, global flags, defines, local includes, etc.

Both CompileDB and FasterMake would need essentially the same kind of code to handle those, as well as hypothetical ninja or tup backends.

It's an awful lot of duplication, so I think everything should be done on the emitter end.

This work may be further split in smaller bugs.
No longer blocks: fast-compiledb
Depends on: fast-compiledb
Depends on: fastermake
Could you expand on this? What specifically should change, and what should things in the new design look like?
Flags: needinfo?(mh+mozilla)
Product: Core → Firefox Build System
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.