Closed
Bug 1049981
Opened 11 years ago
Closed 11 years ago
Make error for non-existent files listed in SOURCES less ambiguous
Categories
(Firefox Build System :: Mach Core, enhancement)
Firefox Build System
Mach Core
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla34
People
(Reporter: poiru, Assigned: poiru)
Details
Attachments
(1 file)
1.50 KB,
patch
|
ted
:
review+
|
Details | Diff | Splinter Review |
"Reference to a file that doesn't exist in UNIFIED_SOURCES (Foo.cpp)" is quite easy to mistread.
Assignee | ||
Comment 1•11 years ago
|
||
The new message is similar to the equivalent error for EXPORTS.
Attachment #8468921 -
Flags: review?(ted)
Comment 2•11 years ago
|
||
Comment on attachment 8468921 [details] [diff] [review]
Make error for non-existent files listed in SOURCES less ambiguous
Review of attachment 8468921 [details] [diff] [review]:
-----------------------------------------------------------------
::: python/mozbuild/mozbuild/frontend/emitter.py
@@ +357,5 @@
> for symbol in ('SOURCES', 'HOST_SOURCES', 'UNIFIED_SOURCES'):
> for src in (sandbox[symbol] or []):
> if not os.path.exists(mozpath.join(sandbox['SRCDIR'], src)):
> + raise SandboxValidationError('File listed in %s does not '
> + 'exist: %s' % (symbol, src), sandbox)
You could probably stand a set of quotes around the %s for the filename just for extra clarity.
Attachment #8468921 -
Flags: review?(ted) → review+
Assignee | ||
Comment 3•11 years ago
|
||
Comment 4•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
Updated•7 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•