Closed Bug 1519603 Opened 5 years ago Closed 5 years ago

Some configure cleanup, mostly related to subconfigure

Categories

(Firefox Build System :: General, enhancement)

enhancement
Not set
normal

Tracking

(firefox66 fixed)

RESOLVED FIXED
mozilla66
Tracking Status
firefox66 --- fixed

People

(Reporter: glandium, Assigned: glandium)

References

Details

Attachments

(7 files)

No description provided.
We only run it for js/src now, so get_config_files always returns empty lists.

Depends on D16378
There aren't any anymore.

Depends on D16379
Because we only ever run one subconfigure, the machinery to execute
several is not useful anymore. Inlining it allows to simplify the code
too, because it doesn't need to be generic anymore. This also removes
the last remaining bits of acwinpaths.m4.

Also remove now unused support for --list in build/subconfigure.py.

Depends on D16380
It was useful to run the prepare phase and the actual subconfigure
separately, but it's not anymore after all the recent simplications.

Depends on D16381
Because subconfigure.py is only used for js/src and we're not going to
add any more subconfigures, we can hardcode js/src into the script, and
remove the branches that aren't taken as a consequence.

Depends on D16382
The File class is now used only in one place, only for its mtime
property, which can be replaced with os.path.getmtime.

Depends on D16402
Pushed by mh@glandium.org:
https://hg.mozilla.org/integration/autoland/rev/9386709aeec0
Remove unused autoconf macros. r=froydnj
https://hg.mozilla.org/integration/autoland/rev/c8f92004fdfb
Remove dead code in build/subconfigure.py. r=nalexander
https://hg.mozilla.org/integration/autoland/rev/78ac28070bad
Don't run subconfigure from js/src. r=nalexander
https://hg.mozilla.org/integration/autoland/rev/129e9f6b6295
Manually inline AC_OUTPUT_SUBDIRS and MOZ_RUN_ALL_SUBCONFIGURES. r=nalexander
https://hg.mozilla.org/integration/autoland/rev/8688b128061b
Run build/subconfigure.py in one pass. r=nalexander
https://hg.mozilla.org/integration/autoland/rev/94f3932b2f95
Hardcode js/src into subconfigure.py. r=nalexander
https://hg.mozilla.org/integration/autoland/rev/2809c756574d
Remove the File class in subconfigure.py. r=nalexander
Blocks: 1520340
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: