Closed
Bug 735561
Opened 14 years ago
Closed 13 years ago
Bugs in webrtc drop gyp files exposed by building on linux builders
Categories
(Core :: WebRTC, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: jesup, Unassigned)
References
Details
(Whiteboard: [qa-])
Attachments
(1 file)
|
2.43 KB,
patch
|
ted
:
feedback+
derf
:
feedback+
|
Details | Diff | Splinter Review |
Two bugs in webrtc's latest drop:
1) ISOC99 needs to be set for C files (it is already for Mac/Xcode)
2) the expat include library path in libjingle was wrong and it would pick up system expat includes.
Attachment #605643 -
Flags: feedback?(ted.mielczarek)
| Reporter | ||
Updated•14 years ago
|
Attachment #605643 -
Flags: feedback?(tterribe)
Comment 1•14 years ago
|
||
Comment on attachment 605643 [details] [diff] [review]
Fix two bugs in webrtc gyp files
Review of attachment 605643 [details] [diff] [review]:
-----------------------------------------------------------------
f+ with one nit.
::: media/webrtc/trunk/build/common.gypi
@@ +1073,5 @@
> 'defines': ['_GLIBCXX_DEBUG=1',],
> 'cflags_cc!': ['-fno-rtti'],
> 'cflags_cc+': ['-frtti', '-g'],
> }],
> + ['OS=="linux"', {
You should probably add a comment saying why this is needed.
Attachment #605643 -
Flags: feedback?(tterribe) → feedback+
Comment 2•14 years ago
|
||
Comment on attachment 605643 [details] [diff] [review]
Fix two bugs in webrtc gyp files
Review of attachment 605643 [details] [diff] [review]:
-----------------------------------------------------------------
::: media/webrtc/trunk/build/common.gypi
@@ +1074,5 @@
> 'cflags_cc!': ['-fno-rtti'],
> 'cflags_cc+': ['-frtti', '-g'],
> }],
> + ['OS=="linux"', {
> + 'defines': ['_ISOC99_SOURCE=1'],
I would feel better if we had any idea why this was needed, but I can deal with it.
::: media/webrtc/trunk/third_party/libjingle/libjingle.gyp
@@ +118,5 @@
> 'include_dirs': [
> '<(overrides)',
> 'source',
> '../..', # the third_party folder for webrtc includes
> + '../../third_party/expat/files/lib',
Did this get shuffled around in the source?
Attachment #605643 -
Flags: feedback?(ted.mielczarek) → feedback+
| Reporter | ||
Comment 3•14 years ago
|
||
C99 is needed so get get lrint() on the builders; the gyp files specify C99 for Mac but not for linux (and it appears to default to C99, or at least expose lrint(), for most of our desktop linux machines).
I haven't checked if the expat files moved; it doesn't really matter. That's where they are now.
Updated•14 years ago
|
Updated•13 years ago
|
QA Contact: jsmith
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•13 years ago
|
Whiteboard: [qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•