Add WebRTC related defines to the build config
This commit is contained in:
parent
68cbfd9f40
commit
fe431a9e58
1 changed files with 6 additions and 0 deletions
|
@ -126,11 +126,17 @@
|
||||||
'USE_NSS', # deprecated after Chrome 45.
|
'USE_NSS', # deprecated after Chrome 45.
|
||||||
],
|
],
|
||||||
}],
|
}],
|
||||||
|
['OS in ["linux", "mac"]', {
|
||||||
|
'defines': [
|
||||||
|
'WEBRTC_POSIX',
|
||||||
|
],
|
||||||
|
}],
|
||||||
['OS=="linux"', {
|
['OS=="linux"', {
|
||||||
'defines': [
|
'defines': [
|
||||||
'_LARGEFILE_SOURCE',
|
'_LARGEFILE_SOURCE',
|
||||||
'_LARGEFILE64_SOURCE',
|
'_LARGEFILE64_SOURCE',
|
||||||
'_FILE_OFFSET_BITS=64',
|
'_FILE_OFFSET_BITS=64',
|
||||||
|
'WEBRTC_LINUX',
|
||||||
],
|
],
|
||||||
'cflags_cc': [
|
'cflags_cc': [
|
||||||
'-D__STRICT_ANSI__',
|
'-D__STRICT_ANSI__',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue