Looking for saved searches? click on "Search Bugs" above.

NSS headers should end up in dist/include and dist/sdk

RESOLVED FIXED in mozilla1.9alpha8

Status

()

Core
Build Config
P2
normal
RESOLVED FIXED
11 years ago
11 years ago

People

(Reporter: Benjamin Smedberg, Assigned: Benjamin Smedberg)

Tracking

unspecified
mozilla1.9alpha8
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Assignee)

Description

11 years ago
Created attachment 274192 [details] [diff] [review]
Use dist/include for NSS, rev. 1

The NSS headers are currently shipped to dist/public/nss for reasons that elude me. But rather than trying to fix the NSS build system, I'd like to just copy these files over to dist/include/nss and dist/sdk/include so that they show up properly in the eventual libxul SDK.
Attachment #274192 - Flags: review?(ted.mielczarek)
(Assignee)

Comment 1

11 years ago
Created attachment 274630 [details] [diff] [review]
Alternate patch: make NSS headers go to dist/include in coreconf, rev. 1
Attachment #274630 - Flags: review?(nelson)
ted: the reason for the "public" directory is not "lost in the mists of time".
"public" contrasts with "private", a peer directory of headers private to 
the various modules.  

Benjamin: NSS will not be giving up on dist/public.  So the choices are
a) copy the public files to include (best done outside of NSS's makefiles),
or 
b) use the usual "ifdef MOZILLA_CLIENT" in NSS Makefiles. In the latter case,
rather than putting an ifdef every place in the Makefiles that now contains "public", I would suggest conditionally defining a new gmake symbol, once,
and using that make symbol everywhere instead of "public".  BTW, if you 
propose this to change NSS makefiles, this should be an NSS bug.

I suggest that you propose your change in mozilla.dev.tech.crypto and let 
it be discussed there.  Things are slow there.  Expect a day or two for 
it to be discussed.
(Assignee)

Comment 3

11 years ago
The first patch here implements option a)
(Assignee)

Updated

11 years ago
Blocks: 389673
Priority: -- → P2
Comment on attachment 274630 [details] [diff] [review]
Alternate patch: make NSS headers go to dist/include in coreconf, rev. 1

This patch appears to unconditionally change "public" to "include". 
That's just not going to be acceptable.  Sorry.
Attachment #274630 - Flags: review?(nelson) → review-
Attachment #274192 - Flags: review?(ted.mielczarek) → review+
(Assignee)

Comment 5

11 years ago
First patch landed on trunk.
Status: NEW → RESOLVED
Last Resolved: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.