Closed Bug 538371 Opened 15 years ago Closed 15 years ago

support loading a .mozconfig-extra in the build system

Categories

(Firefox Build System :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: bhearsum, Unassigned)

Details

We were just discussing how to support uploaded mozconfigs on the try server in #build and came to the conclusion that if we supported loading a second mozconfig file in the build system, this would become pretty trivial. We'd first load $MOZCONFIG, as normal, and then load some other (probably hardcoded) file if it exists. I think we talked about .mozconfig-extra in the root of the srcdir for this.
I don't think we need any build system changes for this, really. Just in your tryserver mozconfig, do something like:

if [ -f $topsrcdir/.mozconfig-extra ]; then
  . $topsrcdir/.mozconfig-extra
fi

Or instead of $topsrcdir, perhaps $(dirname $0)/.mozconfig-extra.
WONTFIX based on bsmedberg's comment. I filed bug 541364 on implementing that suggestion.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WONTFIX
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.