Fix gtest build to not rebuild xul.dll when not necessary

NEW
Unassigned

Status

Firefox Build System
General
a year ago
2 months ago

People

(Reporter: mayhemer, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

a year ago
+++ This bug was initially created as a clone of Bug #1337012 +++

I observe that when running ./mach gtest Pattern, it builds both the gtest xul and the regular xul, even though the whole tree has just been fully built.  

Also, on first gtest run (after the full build) it doesn't do incremental linking (on debug builds) of xul.dll (taking then two minutes!).  Following runs (after a xul-linked code modification) I think do incremental linking, which is surprising.
(Reporter)

Updated

a year ago
No longer depends on: 1337012
There's bug 1341504 on incremental linking in general, although that says it's only opt builds. Can you run this with `REBUILD_CHECK=1` set? That will cause the build system to print info about why it's rebuilding each target.

Updated

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