Closed Bug 708966 Opened 14 years ago Closed 13 years ago

dist/include/mozilla is filled late

Categories

(Core :: MFBT, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: glandium, Assigned: glandium)

Details

Attachments

(1 file)

Files under mfbt/ are currently installed in dist/include from js/src. This means that anything that is built before can't #include "mozilla/something.h".
Later than what? js/src is built before almost everything else in the system, and we wanted to avoid spidermonkey having an outside dependency on mozilla code.
tier_base is the main thing that builds before js/src and it is going to grow. It would be nice to be able to use mfbt there.
In what way is it going to grow requiring stuff in mfbt? I think we should avoid this if possible.
At the very least, being able to use StdInt.h would be good.
As a matter of fact, instead of implementing my own refcounting class, I'd rather use mfbt's.
Component: Build Config → MFBT
QA Contact: build-config → mfbt
Assignee: nobody → mh+mozilla
This is enough for me to use mozilla/RefPtr.h in bug 683127, though I also need to add LOCAL_INCLUDES in my Makefiles so as to add js/src, which is kind of okay as long as I don't need extra symbols, which seems to be the case on non-debug builds. I expect debug builds to be broken by the requirement of JS_Assert.
Attachment #582762 - Flags: review?(ted.mielczarek)
This was actually solved separately in bug 711775
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
Attachment #582762 - Flags: review?(ted.mielczarek)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: