mirror of
https://github.com/electron/electron.git
synced 2026-01-28 00:38:35 -05:00
Add WebRTC related defines to the build config
This commit is contained in:
committed by
Cheng Zhao
parent
68cbfd9f40
commit
fe431a9e58
@@ -126,11 +126,17 @@
|
||||
'USE_NSS', # deprecated after Chrome 45.
|
||||
],
|
||||
}],
|
||||
['OS in ["linux", "mac"]', {
|
||||
'defines': [
|
||||
'WEBRTC_POSIX',
|
||||
],
|
||||
}],
|
||||
['OS=="linux"', {
|
||||
'defines': [
|
||||
'_LARGEFILE_SOURCE',
|
||||
'_LARGEFILE64_SOURCE',
|
||||
'_FILE_OFFSET_BITS=64',
|
||||
'WEBRTC_LINUX',
|
||||
],
|
||||
'cflags_cc': [
|
||||
'-D__STRICT_ANSI__',
|
||||
|
||||
Reference in New Issue
Block a user