Closed
Bug 933320
Opened 11 years ago
Closed 11 years ago
properly cross-compile WebRTC
Categories
(Core :: WebRTC, defect)
Tracking
()
RESOLVED
FIXED
mozilla28
People
(Reporter: froydnj, Assigned: froydnj)
References
Details
(Whiteboard: [qa-])
Attachments
(2 files, 3 obsolete files)
4.06 KB,
patch
|
ted
:
review+
|
Details | Diff | Splinter Review |
1.93 KB,
patch
|
froydnj
:
review+
|
Details | Diff | Splinter Review |
Over in bug 921040, we're trying to compile Firefox for Mac on a Linux host. There's no special logic in the Mozilla build system to tell WebRTC that we're cross-compiling. I think I have this nailed for the darwin-cross case; I'll have to make the patch more general before it's ready, though.
Assignee | ||
Comment 1•11 years ago
|
||
This part doesn't work if you don't specify --with-macos-sdk on the configure line. I'm not sure how to deal with that, and I am seeking feedback for how to bend gyp to my will. Nominating Ted, because he might understand gyp.
Attachment #825389 -
Flags: feedback?(ted)
Assignee | ||
Comment 2•11 years ago
|
||
Let's not assume host==target when compiling WebRTC.
Attachment #825390 -
Flags: review?(ted)
Assignee | ||
Comment 3•11 years ago
|
||
Let's not assume host==target and let's not assume we know where our sdk is.
Attachment #825390 -
Attachment is obsolete: true
Attachment #825390 -
Flags: review?(ted)
Attachment #825391 -
Flags: review?(ted)
Updated•11 years ago
|
Attachment #825391 -
Flags: review?(ted) → review+
Assignee | ||
Comment 4•11 years ago
|
||
Turns out we don't have to do any violence to the gyp files. We just have to make find_sdk.py not complain and silently return a bogus valuein such cases. People compiling for OS X and not setting --with-macos-sdk get what they deserve.
Attachment #825389 -
Attachment is obsolete: true
Attachment #825389 -
Flags: feedback?(ted)
Attachment #828708 -
Flags: review?(ted)
Assignee | ||
Comment 5•11 years ago
|
||
Same patch as before, but using the "correct" mac_sdk_path gyp variable, rather than the subtly different mac_sdk gyp variable. No functional change.
Attachment #825391 -
Attachment is obsolete: true
Attachment #828709 -
Flags: review?(ted)
Assignee | ||
Comment 6•11 years ago
|
||
Comment on attachment 828709 [details] [diff] [review] part 2 - inform WebRTC of our chosen target when invoking gyp Whoops, meant to carry over ted's r+ on this one.
Attachment #828709 -
Flags: review?(ted) → review+
Comment 7•11 years ago
|
||
Comment on attachment 828708 [details] [diff] [review] part 1 - make find_sdk.py silently comply if we're not running on a Mac host Review of attachment 828708 [details] [diff] [review]: ----------------------------------------------------------------- This probably needs to go upstream.
Attachment #828708 -
Flags: review?(ted) → review+
Updated•11 years ago
|
Assignee: nobody → nfroyd
Assignee | ||
Comment 8•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/332629e90914 https://hg.mozilla.org/integration/mozilla-inbound/rev/8661635e53c2
Flags: in-testsuite-
Comment 9•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/332629e90914 https://hg.mozilla.org/mozilla-central/rev/8661635e53c2
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla28
Comment 10•11 years ago
|
||
hmm this broke webrtc compilation on linux arm target... is anything need to be done to make it works back?
Updated•10 years ago
|
Whiteboard: [qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•