mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 804792 Part 4: Select alsa/pulse/v4l depending on the OS, define WEBRTC_POSIX on BSD r=jesup
This commit is contained in:
parent
c0984e8be6
commit
2eadaff337
@ -124,6 +124,21 @@
|
||||
# and Java Implementation
|
||||
'enable_android_opensl%': 0,
|
||||
}],
|
||||
['OS=="linux"', {
|
||||
'include_alsa_audio%': 1,
|
||||
}, {
|
||||
'include_alsa_audio%': 0,
|
||||
}],
|
||||
['OS=="solaris" or os_bsd==1', {
|
||||
'include_pulse_audio%': 1,
|
||||
}, {
|
||||
'include_pulse_audio%': 0,
|
||||
}],
|
||||
['OS=="linux" or OS=="solaris" or os_bsd==1', {
|
||||
'include_v4l2_video_capture%': 1,
|
||||
}, {
|
||||
'include_v4l2_video_capture%': 0,
|
||||
}],
|
||||
['OS=="ios"', {
|
||||
'enable_video%': 0,
|
||||
'enable_protobuf%': 0,
|
||||
@ -215,6 +230,18 @@
|
||||
}],
|
||||
],
|
||||
}],
|
||||
['os_bsd==1', {
|
||||
'defines': [
|
||||
'WEBRTC_BSD',
|
||||
'WEBRTC_THREAD_RR',
|
||||
],
|
||||
}],
|
||||
['OS=="dragonfly" or OS=="netbsd"', {
|
||||
'defines': [
|
||||
# doesn't support pthread_condattr_setclock
|
||||
'WEBRTC_CLOCK_TYPE_REALTIME',
|
||||
],
|
||||
}],
|
||||
['OS=="ios"', {
|
||||
'defines': [
|
||||
'WEBRTC_MAC',
|
||||
|
@ -21,7 +21,7 @@
|
||||
// For access to standard POSIXish features, use WEBRTC_POSIX instead of a
|
||||
// more specific macro.
|
||||
#if defined(WEBRTC_MAC) || defined(WEBRTC_LINUX) || \
|
||||
defined(WEBRTC_ANDROID)
|
||||
defined(WEBRTC_ANDROID) || defined(WEBRTC_BSD)
|
||||
#define WEBRTC_POSIX
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user