Closed
Bug 585451
Opened 14 years ago
Closed 14 years ago
Quickstub of nsIDOMSVGStylable.* breaks build with SVG disabled
Categories
(Core :: SVG, defect)
Core
SVG
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: mounir, Unassigned)
References
Details
js/src/xpconnect/src/dom_quickstubs.qsconf now contains reference to nsIDOMSVGStylable thus need the related IDL file and building gecko with SVG disabled do not provide this file in dist/idl which breaks the build. Unfortunately, pre-processor instructions do not work in dom_quickstubs.qsconf so, I only see two options: do not quickstub nsIDOMSVGStylable or do not let Gecko to be built without SVG support (see bug 585020).
Comment 1•14 years ago
|
||
> Unfortunately, pre-processor instructions do not work in dom_quickstubs.qsconf
Can we fix that?
Comment 2•14 years ago
|
||
Simpler just to have the necessary files in dist/idl always build I think. A subset of bug 585020.
Comment 3•14 years ago
|
||
dist/idl may not be good enough, since the quickstub code uses nsSVGStylableElement directly.
Comment 4•14 years ago
|
||
Ahh. Someone's picked up bug 585020 so if that lands this will come out in the wash.
Reporter | ||
Comment 5•14 years ago
|
||
(In reply to comment #1) > > Unfortunately, pre-processor instructions do not work in dom_quickstubs.qsconf > > Can we fix that? I'm wondering if we could fix that by checking for MOZ_SVG in the Makefile and call qsgen.py with --with-svg/--without-svg which will add a variable (like 'svgEnabled':true) to |config| passed to |execfile(filename, config)|. Then, in dom_quickstubs.qsconf we could add svg related stuff to the arrays only if svgEnabled is true.
Comment 6•14 years ago
|
||
That seems plausible, if we decide to keep the build option.
Comment 7•14 years ago
|
||
bug 585020 has a patch that I think we'll take, so should we just wontfix this?
Updated•14 years ago
|
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•