Open Bug 1654407 Opened 4 years ago Updated 2 years ago

Migrate `gn` logic to the `mozbuild` build system proper

Categories

(Firefox Build System :: General, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: rstewart, Unassigned)

References

Details

No description provided.
Assignee: nobody → rstewart
Type: task → enhancement
Summary: Investigate migrating `gn` logic to the `mozbuild` build system proper → Migrate `gn` logic to the `mozbuild` build system proper
Depends on: 1654112

The plan is to augment the existing ad-hoc gn support with in-build support, so that while we're building the RecursiveMake backend we'll run gn to dynamically compute the compile arguments/etc., and then apply those immediately without requiring the current manual one-time work of running GnConfigGen and GnMozbuildWriter on a bunch of OS'es and checking those in as a mega-patch.

We're blocked on doing that now because gn gen requires Python 2, and requiring Python 2 to build Firefox again would be a huge regression. The next version seems to have better Python 3 support so we'll postpone this work until the current update is done.

See Also: → 1658397
Assignee: rstewart → nobody
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.