Closed
Bug 769801
Opened 13 years ago
Closed 13 years ago
Signaling code needs separate build for linking with C++ tests.
Categories
(Core :: WebRTC: Signaling, defect)
Core
WebRTC: Signaling
Tracking
()
RESOLVED
DUPLICATE
of bug 792188
People
(Reporter: ehugg, Unassigned)
Details
(Whiteboard: [WebRTC], [blocking-webrtc-])
Attachments
(1 file)
3.42 KB,
patch
|
ekr
:
review+
jesup
:
feedback+
|
Details | Diff | Splinter Review |
Signaling code needs to be built twice. Once for inclusion is the browser and differently for the test harness. In particular MOZILLA_INTERNAL_API should only be defined in the first case.
Reporter | ||
Comment 1•13 years ago
|
||
Reporter | ||
Comment 2•13 years ago
|
||
Here's the patch that should make signaling twice.
The makes differ by the define of MOZILLA_INTERNAL_API:
ehugg@ehugg-linux:~/mozilla/alder/alder/obj-x86_64-unknown-linux-gnu/media/webrtc$ grep INTERNAL signaling/signaling_ecc/Makefile
-DMOZILLA_INTERNAL_API \
-DMOZILLA_INTERNAL_API \
ehugg@ehugg-linux:~/mozilla/alder/alder/obj-x86_64-unknown-linux-gnu/media/webrtc$ grep INTERNAL signalingtest/signaling_ecc/Makefile
ehugg@ehugg-linux:~/mozilla/alder/alder/obj-x86_64-unknown-linux-gnu/media/webrtc$
Which makes the objs differ like this:
ehugg@ehugg-linux:~/mozilla/alder/alder/obj-x86_64-unknown-linux-gnu/media/webrtc$ nm signaling/signaling_ecc/src/peerconnection/PeerConnectionImpl.o | grep NS_DebugBreak
U NS_DebugBreak_P
ehugg@ehugg-linux:~/mozilla/alder/alder/obj-x86_64-unknown-linux-gnu/media/webrtc$ nm signalingtest/signaling_ecc/src/peerconnection/PeerConnectionImpl.o | grep NS_DebugBreak
U NS_DebugBreak
f=EKR - to check if this give what we need
f=RJesup - to check if this is the best way to do this.
Reporter | ||
Updated•13 years ago
|
Attachment #638021 -
Flags: feedback?(rjesup)
Attachment #638021 -
Flags: feedback?(ekr)
Updated•13 years ago
|
Attachment #638021 -
Flags: review+
Comment 3•13 years ago
|
||
Comment on attachment 638021 [details] [diff] [review]
Build signaling twice for FF and Test
+ ['build_for_test==1', {
+ 'defines' : [
+ ],
+ }],
This doesn't do anything; remove.
Attachment #638021 -
Flags: feedback?(rjesup) → feedback+
Comment 4•13 years ago
|
||
Funny you should mention that, since I just added a clause here.
Updated•13 years ago
|
QA Contact: jsmith
Updated•13 years ago
|
Whiteboard: [WebRTC], [blocking-webrtc-]
Updated•13 years ago
|
Attachment #638021 -
Flags: feedback?(ekr)
Reporter | ||
Comment 5•13 years ago
|
||
This was put into M-C as part of the Alder merge - Bug 792188
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•