Closed
Bug 1053071
Opened 10 years ago
Closed 10 years ago
Simplify EXTERNAL_SOURCE_DIR handling
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla34
People
(Reporter: glandium, Assigned: glandium)
References
Details
Attachments
(1 file)
7.85 KB,
patch
|
gps
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•10 years ago
|
||
As handled in configure.in, EXTERNAL_SOURCE_DIR is a single directory for external sources, and more specifically, comm-central. There is no need to handle it as a list in the moz.build emitter. At the same time, avoid checking the external sources for every moz.build, and bind it to a config environment.
Attachment #8472166 -
Flags: review?(gps)
Comment 2•10 years ago
|
||
Comment on attachment 8472166 [details] [diff] [review] Simplify EXTERNAL_SOURCE_DIR handling Review of attachment 8472166 [details] [diff] [review]: ----------------------------------------------------------------- ::: python/mozbuild/mozbuild/frontend/reader.py @@ +181,5 @@ > if filesystem_absolute: > return path > + roots = [self.topsrcdir] > + if self.config.external_source_dir: > + roots += [self.config.external_source_dir] Nit: The convention is |l.append(x)|, since += forces the creation of extra garbage.
Attachment #8472166 -
Flags: review?(gps) → review+
Assignee | ||
Comment 3•10 years ago
|
||
Landed with a fixup in python/mozbuild/mozbuild/test/common.py for Windows tests. https://hg.mozilla.org/integration/fx-team/rev/0ae7262449d8
Whiteboard: [fixed-in-fx-team]
Comment 4•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/0ae7262449d8
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → mozilla34
Updated•10 years ago
|
QA Whiteboard: [qa-]
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
•