Closed
Bug 1287924
Opened 7 years ago
Closed 7 years ago
Find a better solution for conditionally including moz.configure files
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(firefox50 fixed)
RESOLVED
FIXED
mozilla50
Tracking | Status | |
---|---|---|
firefox50 | --- | fixed |
People
(Reporter: chmanchester, Assigned: chmanchester)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Currently we have quite a few moz.configure files being conditionally included by the root moz.configure, based on whether we're building with --disable-compile-environment. We should templatize this to avoid duplication or find another way to handle the proliferation.
Comment 1•7 years ago
|
||
Following a recent pattern, we could have a include_when() template.
Assignee | ||
Comment 2•7 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/66978/diff/#index_header See other reviews: https://reviewboard.mozilla.org/r/66978/
Attachment #8774541 -
Flags: review?(mh+mozilla)
Comment 3•7 years ago
|
||
Comment on attachment 8774541 [details] Bug 1287924 - Add a template for conditionally including moz.configure files. https://reviewboard.mozilla.org/r/66978/#review63936 You could also change android_ndk_include ::: moz.configure:97 (Diff revision 1) > > add_old_configure_assignment('MOZ_DEBUG', > depends('--enable-debug')(lambda v: bool(v))) > > -@depends('--disable-compile-environment', '--help') > -def toolchain_include(compile_env, help): > +include_when('build/moz.configure/toolchain.configure', > + '--enable-compile-environment') An explicit when= might make it a little clearer.
Attachment #8774541 -
Flags: review?(mh+mozilla) → review+
Pushed by cmanchester@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/83db605b772e Add a template for conditionally including moz.configure files. r=glandium
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → cmanchester
Comment 5•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/83db605b772e
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox50:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
Updated•6 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•