Closed
Bug 892861
Opened 11 years ago
Closed 11 years ago
Remove useless -D flags 'IMPL_THEBES,_IMPL_NS_GFX,...'
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla25
People
(Reporter: BenWa, Assigned: BenWa)
Details
Attachments
(1 file, 2 obsolete files)
33.29 KB,
patch
|
BenWa
:
review+
|
Details | Diff | Splinter Review |
Some (all?) of these are now useless and they clutter our build arguments. Should be an easy clean up: http://mxr.mozilla.org/mozilla-central/source/config/config.mk#338
Comment 1•11 years ago
|
||
Off that list, only _IMPL_NS_COM, IMPL_XREAPI and IMPL_NS_NET are used in m-c.
Comment 2•11 years ago
|
||
Those three could be replaced by a single IMPL_LIBXUL or something.
Assignee | ||
Comment 3•11 years ago
|
||
Since you've already looked at this I'm tentatively asking you to review bug feel free to delegate.
Comment 4•11 years ago
|
||
Comment on attachment 774500 [details] [diff] [review] patch Review of attachment 774500 [details] [diff] [review]: ----------------------------------------------------------------- Most of the files where you're adding DEFINES += -DIMPL_LIBXUL would most probably be fine without it, but with LIBXUL_LIBRARY = 1 in the Makefile instead. ::: netwerk/mime/Makefile.in @@ +17,5 @@ > FORCE_STATIC_LIB = 1 > > include $(topsrcdir)/config/rules.mk > > +DEFINES += -DIMPL_LIBXUL This file contains LIBXUL_LIBRARY=1, no need for this. ::: widget/windows/Makefile.in @@ +17,5 @@ > RESFILE = widget.res > MODULE_NAME = nsWidgetWinModule > LIBXUL_LIBRARY = 1 > > +DEFINES += -DMOZ_UNICODE Remove the trailing whitespace while you're here. ::: xpcom/build/Makefile.in @@ +74,5 @@ > include $(topsrcdir)/ipc/chromium/chromium-config.mk > include $(topsrcdir)/config/rules.mk > > DEFINES += \ > + -DIMPL_LIBXUL \ This file contains LIBXUL_LIBRARY=1, no need for this. ::: xpcom/io/Makefile.in @@ +39,5 @@ > > include $(topsrcdir)/config/rules.mk > include $(topsrcdir)/ipc/chromium/chromium-config.mk > > +DEFINES += -DIMPL_LIBXUL Likewise. ::: xpcom/threads/Makefile.in @@ +21,5 @@ > > > include $(topsrcdir)/config/rules.mk > > +DEFINES += -DIMPL_LIBXUL Likewise.
Attachment #774500 -
Flags: review?(mh+mozilla) → review+
Assignee | ||
Comment 5•11 years ago
|
||
Attachment #774500 -
Attachment is obsolete: true
Attachment #774602 -
Flags: review+
Assignee | ||
Comment 6•11 years ago
|
||
Fixed 16 conflicts
Attachment #774602 -
Attachment is obsolete: true
Attachment #774604 -
Flags: review+
Assignee | ||
Updated•11 years ago
|
Attachment #774604 -
Attachment is patch: true
Assignee | ||
Comment 7•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/e6ebdb6069c7
Comment 8•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/e6ebdb6069c7
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla25
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
•