Change how sources are emitted to build backends

NEW
Unassigned

Status

3 years ago
20 days ago

People

(Reporter: glandium, Unassigned, NeedInfo)

Tracking

(Depends on: 1 bug)

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

3 years ago
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.
(Reporter)

Updated

3 years ago
No longer blocks: 1224450
Depends on: 1224450
(Reporter)

Updated

3 years ago
Depends on: 1241743
Could you expand on this? What specifically should change, and what should things in the new design look like?
Flags: needinfo?(mh+mozilla)

Updated

8 months ago
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.