Open Bug 715776 Opened 13 years ago Updated 2 years ago

Stop shipping import libraries for our DLLs in the Gecko SDK

Categories

(Firefox Build System :: General, defect)

defect

Tracking

(Not tracked)

People

(Reporter: khuey, Unassigned)

Details

Attachments

(1 file)

We ship import libraries for DLLs like xul, mozjs, mozalloc, etc.  We should stop.
What's the motivation for this? One of the points of the SDK is to have import libraries for libxul/mozjs/nss because binary components sometimes use them. We should continue to do this as long as we want to allow binary components at all.
To stop binary components from using libxul/mozjs.  See bug 715693 for some examples of the problems.
Comment on attachment 586392 [details] [diff] [review]
Patch

if we're going to support binary components at all (which is something we've said we want to continue to support), then they need to be able to link against libxul. Maybe not sqlite or mozjs (see comment in bug 715693), but this is a too-farreaching change.
Attachment #586392 - Flags: review?(benjamin) → review-
(In reply to Benjamin Smedberg from comment #2)
> What's the motivation for this? One of the points of the SDK is to have
> import libraries for libxul/mozjs/nss because binary components sometimes
> use them.
Sometimes involuntarily; some headers refer (I think) to JS_Assert for example.
mozilla/Assertions.h does that, and that really should be changed. But note that JS_Assert is a public API.
Product: Core → Firefox Build System
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: