Closed
Bug 204255
Opened 22 years ago
Closed 22 years ago
ipcd builds tests even when --disable-tests is given
Categories
(Core :: IPC, defect, P3)
Core
IPC
Tracking
()
RESOLVED
FIXED
mozilla1.4final
People
(Reporter: ccarlen, Assigned: darin.moz)
References
Details
(Keywords: memory-footprint)
Attachments
(1 file, 1 obsolete file)
75.69 KB,
patch
|
darin.moz
:
review+
alecf
:
superreview+
sspitzer
:
approval1.4+
|
Details | Diff | Splinter Review |
Something like this:
ifdef ENABLE_TESTS
DIRS += tests
endif
needs to be added to ipc/ipcd/Makefile.in
Updated•22 years ago
|
Component: Networking → IPC
Assignee | ||
Updated•22 years ago
|
Assignee | ||
Comment 2•22 years ago
|
||
this patch fixes/cleans-up several things:
1- honor ENABLE_TESTS build var
2- don't export intermediate static libs (bug 205025)
3- tmITransactionService should be ipcITransactionService
4- transaction service should not be a separate xpcom component library
plus some minor changes:
5- separate interfaces out into individual IDL file
6- get rid of *CID.h files (move CID/ContractID into IDL).. i think *CID.h
files are just overkill in this case. there should either be just one ipcCID.h
file for all IDs or none.
Assignee | ||
Updated•22 years ago
|
Attachment #122978 -
Flags: review?(ccarlen)
Reporter | ||
Comment 3•22 years ago
|
||
Comment on attachment 122978 [details] [diff] [review]
v1 patch
>Index: ipc/ipcd/client/src/Makefile.in
>===================================================================
>
> SHARED_LIBRARY_LIBS = \
>- $(DIST)/lib/$(LIB_PREFIX)ipcdshared_s.$(LIB_SUFFIX) \
>- $(DIST)/lib/$(LIB_PREFIX)ipcdlock_s.$(LIB_SUFFIX) \
>+ ../../shared/src/$(LIB_PREFIX)ipcdshared_s.$(LIB_SUFFIX) \
>+ ../../extensions/lock/src/$(LIB_PREFIX)ipcdlock_s.$(LIB_SUFFIX) \
>+ ../../extensions/transmngr/src/$(LIB_PREFIX)transmngr_s.$(LIB_SUFFIX) \
>+ ../../extensions/transmngr/common/$(LIB_PREFIX)transmngrcom_s.$(LIB_SUFFIX) \
> $(NULL)
Despite what I thought before, even if these static libs don't use
EXPORT_LIBRARY, they still end up in $(DIST)/lib so you don't need to use
relative paths. Fix that and r=ccarlen.
There's now another thing which will need change in mozilla: the manifests in
embedding/config. I had to, just today, include the ipc deamon and dlls (of
which there will be 1 less) in the manifests for windows and mach-o.
Attachment #122978 -
Flags: review?(ccarlen) → review+
Assignee | ||
Comment 4•22 years ago
|
||
thanks conrad.. i'll fix up that Makefile as well as the manifests.
Assignee | ||
Comment 5•22 years ago
|
||
Attachment #122978 -
Attachment is obsolete: true
Assignee | ||
Comment 6•22 years ago
|
||
Comment on attachment 123481 [details] [diff] [review]
v1.1 patch
carrying forward r=ccarlen.
alecf: can you please sr= these changes. please see comment #2 for a summary
of these changes. the patch is only large because i'm moving interfaces into
individual IDL files. should be a quick review... thanks!
Attachment #123481 -
Flags: superreview?(alecf)
Attachment #123481 -
Flags: review+
Comment 7•22 years ago
|
||
Comment on attachment 123481 [details] [diff] [review]
v1.1 patch
sr=alecf
Attachment #123481 -
Flags: superreview?(alecf) → superreview+
Assignee | ||
Comment 8•22 years ago
|
||
Comment on attachment 123481 [details] [diff] [review]
v1.1 patch
requesting approval for 1.4 final. this change is mostly organizational, but i
would like very much to have these changes in place before we branch. thx!
Attachment #123481 -
Flags: approval1.4?
Comment 9•22 years ago
|
||
Comment on attachment 123481 [details] [diff] [review]
v1.1 patch
a=sspitzer, assuming there are no packaging issues (for the trunk or embedding)
that are going to bite us.
Attachment #123481 -
Flags: approval1.4? → approval1.4+
Assignee | ||
Comment 10•22 years ago
|
||
fixed
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Updated•16 years ago
|
QA Contact: carosendahl → ipc
You need to log in
before you can comment on or make changes to this bug.
Description
•