Closed
Bug 1063414
Opened 10 years ago
Closed 10 years ago
Make DIRS relative to the file they were added from, instead of from the main moz.build in case of includes
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla35
People
(Reporter: glandium, Assigned: glandium)
References
Details
Attachments
(3 files, 1 obsolete file)
8.63 KB,
patch
|
gps
:
review+
|
Details | Diff | Splinter Review |
10.83 KB,
patch
|
gps
:
review+
|
Details | Diff | Splinter Review |
19.01 KB,
patch
|
gps
:
review+
|
Details | Diff | Splinter Review |
I think it's not entirely obvious, when one looks at included mozbuild files that the DIRS that are in them are relative to wherever the mozbuild was included from, as opposed to relative to the included mozbuild. More generally, this should be true for other variables than DIRS, but baby steps. With bug 1062221, DIRS is the only variable that has automatic handling of this.
Assignee | ||
Comment 1•10 years ago
|
||
Attachment #8484855 -
Flags: review?(gps)
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → mh+mozilla
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•10 years ago
|
||
Previous title was wrong.
Attachment #8484857 -
Flags: review?(gps)
Assignee | ||
Updated•10 years ago
|
Attachment #8484855 -
Attachment is obsolete: true
Attachment #8484855 -
Flags: review?(gps)
Assignee | ||
Comment 3•10 years ago
|
||
Attachment #8484859 -
Flags: review?(gps)
Assignee | ||
Comment 4•10 years ago
|
||
Attachment #8484860 -
Flags: review?(gps)
Comment 5•10 years ago
|
||
Comment on attachment 8484857 [details] [diff] [review] Add infrastructure to follow what the current file being processed is in a Context Review of attachment 8484857 [details] [diff] [review]: ----------------------------------------------------------------- ::: python/mozbuild/mozbuild/test/frontend/test_context.py @@ +100,5 @@ > + test = Context() > + > + # Newly created context has no paths. > + self.assertEqual(test.main_path, None) > + self.assertEqual(test.current_path, None) I believe there is an self.assertIsNone()
Attachment #8484857 -
Flags: review?(gps) → review+
Updated•10 years ago
|
Attachment #8484859 -
Flags: review?(gps) → review+
Comment 6•10 years ago
|
||
Comment on attachment 8484860 [details] [diff] [review] Make DIRS relative to the file they were added from Review of attachment 8484860 [details] [diff] [review]: ----------------------------------------------------------------- I love how app.mozbuild and toolkit.mozbuild are much clearer now. The inclusion of these files and the weird semantics that brought with always bothered me.
Attachment #8484860 -
Flags: review?(gps) → review+
Assignee | ||
Comment 7•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/4ac3369095af https://hg.mozilla.org/integration/mozilla-inbound/rev/8ed602393f8d https://hg.mozilla.org/integration/mozilla-inbound/rev/6986ab0f163e
Comment 8•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/4ac3369095af https://hg.mozilla.org/mozilla-central/rev/8ed602393f8d https://hg.mozilla.org/mozilla-central/rev/6986ab0f163e
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
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
•