Closed
Bug 702178
Opened 13 years ago
Closed 13 years ago
Remove libxul-rules.mk and libxul-config.mk
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla11
People
(Reporter: gps, Assigned: gps)
Details
Attachments
(1 file, 1 obsolete file)
17.70 KB,
patch
|
ted
:
review+
|
Details | Diff | Splinter Review |
This is a cleanup/low-priority request to remove toolkit/library/libxul-rules.mk.
This file is only included once, by toolkit/library/Makefile.in. Therefore, it makes no sense to exist as a separate file. The contents can easily be rolled into the aforementioned Makefile.
Assignee | ||
Comment 1•13 years ago
|
||
Looks like libxul-config.mk in the same directory has the same behavior.
Summary: Remove libxul-rules.mk → Remove libxul-rules.mk and libxul-config.mk
Comment 2•13 years ago
|
||
I think these files may have been more useful at one point, but we could definitely just fold them in now.
Assignee | ||
Comment 3•13 years ago
|
||
This patch simply moves the contents of the extra .mk files inline to toolkit/library/Makefile.in.
There are certainly bits that could be consolidated. I purposefully kept it simple. I can submit a part 2 to perform sanitizing, if requested.
Assignee | ||
Comment 4•13 years ago
|
||
Comment on attachment 574364 [details] [diff] [review]
Move libxul-config.mk and libxul-rules.mk into Makefile, v1
Build failed on my local machine. Looking into it now...
Attachment #574364 -
Flags: review?(ted.mielczarek)
Assignee | ||
Comment 5•13 years ago
|
||
Same as last except I removed references to the deleted .mk files from EXTRA_DEPS. Tree compiles fine now.
Attachment #574364 -
Attachment is obsolete: true
Attachment #574382 -
Flags: review?(ted.mielczarek)
Comment 6•13 years ago
|
||
Comment on attachment 574382 [details] [diff] [review]
Move libxul-config.mk and libxul-rules.mk into Makefile, v2
Review of attachment 574382 [details] [diff] [review]:
-----------------------------------------------------------------
::: toolkit/library/Makefile.in
@@ +86,5 @@
> $(NULL)
>
> +CPPSRCS += \
> + nsStaticXULComponents.cpp \
> + $(NULL)
While you're here, can you at least change the formatting on lines you're changing to two-space indent? You don't have to do a ton of cleanup, but that would be nice.
Attachment #574382 -
Flags: review?(ted.mielczarek) → review+
Assignee | ||
Comment 7•13 years ago
|
||
https://hg.mozilla.org/projects/build-system/rev/6f76da3f5e2f
Whitespace changes were made post-review. `hg qdiff -w` had no output. Ted declined additional review on IRC.
Assignee | ||
Comment 8•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla11
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
•